1 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4 __makecontext_ret to ...
5 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6 ... here and call exit if uc_link is NULL. New file.
7 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10 __makecontext_ret to ...
11 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12 ... here and call exit if uc_link is NULL. New file.
13 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18 * elf/elf.h (R_390_IRELATIVE): New definition.
19 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23 (elf_machine_lazy_rel): Likewise.
24 * sysdeps/s390/dl-irel.h: New file.
25 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26 * sysdeps/s390/s390-64/memset.S: New asm code.
27 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39 * sysdeps/s390/s390-32/memset.S: New asm code.
40 * sysdeps/s390/s390-32/memcmp.S: New asm code.
42 2012-07-17 Marek Polacek <polacek@redhat.com>
45 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46 * sysdeps/s390/s390-64/configure.in: Likewise.
47 * sysdeps/sparc/configure.in: Likewise.
48 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
50 * sysdeps/i386/configure.in: Likewise.
51 * sysdeps/x86_64/configure.in: Likewise.
52 * sysdeps/sh/configure.in: Likewise.
53 * sysdeps/s390/s390-32/configure: Regenerated.
54 * sysdeps/s390/s390-64/configure: Likewise.
55 * sysdeps/x86_64/configure: Likewise.
56 * sysdeps/sh/configure: Likewise.
57 * sysdeps/powerpc/powerpc64/configure: Likewise.
58 * sysdeps/powerpc/powerpc32/configure: Likewise.
59 * sysdeps/sparc/configure: Likwise.
60 * sysdeps/i386/configure: Likewise.
62 * elf/dl-open.c: Comment fixes.
64 2012-07-17 Joseph Myers <joseph@codesourcery.com>
66 * Makefile [CXX] (check-data): Remove.
67 [CXX] (c++-types.data): New vpath directive.
68 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
69 vpath. Do not allow for C++ type data being missing.
70 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
71 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
72 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
74 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
75 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
76 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
77 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
80 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
82 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
83 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
85 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
86 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
88 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
89 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
91 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
92 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
94 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
95 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
97 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
98 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
100 * elf/tls-macros.h (TLS_LE): Move architecture-specific
101 definitions to architecture-specific files.
105 * sysdeps/i386/tls-macros.h: New file.
106 * sysdeps/powerpc/tls-macros.h: Likewise.
107 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
108 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
109 * sysdeps/sh/tls-macros.h: Likewise.
110 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
111 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
112 * sysdeps/x86_64/tls-macros.h: Likewise.
114 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
116 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
117 zero value for regular exit case.
119 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
120 (__start_context): Preserve zero value for regular exit case.
122 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
123 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
125 * manual/setjmp.texi (setcontext): Clarify normal process
126 termination when uc_link is the null pointer.
127 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
130 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
132 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
133 preprocessor. Test for each exception mask separately.
135 2012-07-16 Andreas Jaeger <aj@suse.de>
137 * po/ru.po: Update from translation team.
139 2012-07-15 Joseph Myers <joseph@codesourcery.com>
141 * conform/data/string.h-data (NULL): Use macro-constant. Require
143 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
144 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
145 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
146 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
147 [ISO || ISO99 || ISO11] (*_t): Do not allow.
149 2012-07-13 Andreas Jaeger <aj@suse.de>
151 * po/fr.po: Update from translation team.
153 2012-07-12 Marek Polacek <polacek@redhat.com>
156 * math/libm-test.inc (yn_test): Add test for BZ #14173.
157 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
160 2012-07-12 Joseph Myers <joseph@codesourcery.com>
163 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
164 Change to 2.4.1 where previously 2.4.0.
165 * sysdeps/unix/sysv/linux/configure: Regenerated.
166 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
167 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
169 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
170 (__ASSUME_AT_CLKTCK): Remove.
171 (__ASSUME_AT_PAGESIZE): Likewise.
172 (__ASSUME_AT_XID): Likewise.
173 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
174 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
175 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
177 (HAVE_AUX_PAGESIZE): Likewise.
178 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
179 [__ASSUME_AT_CLKTCK]: Make code unconditional.
180 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
182 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
186 the temporary buffer used to invoke __gethostbyname2_r,
187 __gethostbyaddr_r and gethostbyname4_r to make room for struct
188 host_data / struct gaih_addrtuple.
189 * resolv/nss_dns/dns-host.c (global scope): Move definition of
190 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
191 header file nss/nsswitch.h.
192 * nss/nsswitch.h (global scope): Add definition of implementation
193 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
194 resolv/nss_dns/dns-host.c).
196 2012-07-11 Andreas Jaeger <aj@suse.de>
198 * po/fr.po: Update from translation team.
200 * po/sv.po: Update from translation team
201 * po/fr.po: Another update from translation team.
203 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
205 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
206 for subnormals or multiply small sinh result by itself.
207 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
210 2012-07-11 David S. Miller <davem@davemloft.net>
212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
214 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
217 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
218 (INTERNAL_MARK): Shift it here.
220 2012-07-10 Marek Polacek <polacek@redhat.com>
223 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
224 libc_cv_asm_global_directive with .globl.
225 * configure: Regenerated.
226 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
228 * sysdeps/i386/configure: Regenerated.
229 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
231 * sysdeps/x86_64/configure: Regenerated.
232 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
233 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
234 * elf/tst-unique2mod2.c: Likewise.
235 * elf/tst-unique2mod1.c: Likewise.
236 * elf/tst-unique1mod2.c: Likewise.
237 * elf/tst-unique1mod1.c: Likewise.
238 * sysdeps/s390/s390-32/sysdep.h: Likewise.
239 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
240 * sysdeps/s390/s390-64/sysdep.h: Likewise.
241 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
242 * sysdeps/mach/sysdep.h: Likewise.
243 * sysdeps/i386/sysdep.h: Likewise.
244 * sysdeps/i386/i386-mcount.S: Likewise.
245 * sysdeps/x86_64/_mcount.S: Likewise.
246 * sysdeps/x86_64/sysdep.h: Likewise.
247 * sysdeps/sh/_mcount.S: Likewise.
248 * sysdeps/sh/sysdep.h: Likewise.
249 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
250 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
251 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
252 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
253 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
254 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
255 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
256 * locale/localeinfo.h: Likewise.
257 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
258 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
260 2012-07-09 Roland McGrath <roland@hack.frob.com>
263 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
265 * manual/message.texi (The Uniforum approach): Likewise.
266 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
267 (glibc iconv Implementation): Likewise.
269 2012-07-09 Joseph Myers <joseph@codesourcery.com>
272 * math/s_clog.c (__clog): Avoid scaling a value down where that
273 could result in underflow.
274 * math/s_clog10.c (__clog10): Likewise.
275 * math/s_clog10f.c (__clog10f): Likewise.
276 * math/s_clog10l.c (__clog10l): Likewise.
277 * math/s_clogf.c (__clogf): Likewise.
278 * math/s_clogl.c (__clogl): Likewise.
279 * math/libm-test.inc (clog_test): Add more tests.
280 (clog10_test): Likewise.
281 * sysdeps/i386/fpu/libm-test-ulps: Update.
282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
284 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
287 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
288 by 7 not 8 to examine high bit of fractional part.
291 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
292 for call to __mcount_internal.
293 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
294 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
295 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
297 2012-07-06 Joseph Myers <joseph@codesourcery.com>
300 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
301 approximation for values within 0x1p-13f of an odd multiple of
303 * math/libm-test.inc (tan_test): Do not allow spurious underflow
304 exception. Add more tests.
305 * sysdeps/i386/fpu/libm-test-ulps: Update.
308 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
309 inputs and return -1 for them. Do not check for +Inf in case not
311 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
312 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
313 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
314 and return -1 for them. Do not check for +Inf in case not
316 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
318 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
319 and return -1 for them. Do not check for +Inf in case not
321 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
323 * sysdeps/i386/fpu/libm-test-ulps: Update.
324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
326 2012-07-06 Mike Frysinger <vapier@gentoo.org>
328 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
330 2012-07-05 Joseph Myers <joseph@codesourcery.com>
334 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
335 could result in spurious underflow. Scale down values above
336 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
337 * math/s_csqrtf.c (__csqrtf): Likewise.
338 * math/s_csqrtl.c (__csqrtl): Likewise.
339 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
341 * sysdeps/i386/fpu/libm-test-ulps: Update.
342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
344 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
346 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
348 * catgets/xopen-msg.awk: New file.
349 * catgets/xopen-msg.sed: Removed.
351 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
353 * intl/po2test.awk: New file.
354 * intl/po2test.sed: Removed.
356 2012-07-04 Joseph Myers <joseph@codesourcery.com>
359 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
360 or multiply small sinh result by itself.
361 * math/s_ctanf.c (__ctanf): Likewise.
362 * math/s_ctanh.c (__ctanh): Likewise.
363 * math/s_ctanhf.c (__ctanhf): Likewise.
364 * math/s_ctanhl.c (__ctanhl): Likewise.
365 * math/s_ctanl.c (__ctanl): Likewise.
366 * math/libm-test.inc (ctan_test_tonearest): New function.
367 (ctan_test_towardzero): Likewise.
368 (ctan_test_downward): Likewise.
369 (ctan_test_upward): Likewise.
370 (ctanh_test_tonearest): Likewise.
371 (ctanh_test_towardzero): Likewise.
372 (ctanh_test_downward): Likewise.
373 (ctanh_test_upward): Likewise.
374 (main): Call these new functions.
375 * sysdeps/i386/fpu/libm-test-ulps: Update.
376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
378 2012-07-03 Mike Frysinger <vapier@gentoo.org>
380 * .gitignore: Delete /ports entry.
382 2012-07-03 Andreas Jaeger <aj@suse.de>
384 * po/bg.po: Update from translation team.
385 * po/cs.po: Likewise.
386 * po/de.po: Likewise.
387 * po/hr.po: Likewise.
388 * po/nl.pl: Likewise.
389 * po/pl.po: Likewise.
390 * po/vi.po: Likewise.
392 2012-07-03 Joseph Myers <joseph@codesourcery.com>
394 * Makeconfig [!+link] (+link-before-libc): New variable.
395 [!+link] (+link-after-libc): Likewise.
396 [!+link] (+link-tests): Likewise.
397 [!+link] (+link): Define in terms of $(+link-before-libc) and
399 [!+link-static] (+link-static-before-libc): New variable.
400 [!+link-static] (+link-static-after-libc): Likewise.
401 [!+link-static] (+link-static-tests): Likewise.
402 [!+link-static] (+link-static): Define in terms of
403 $(+link-static-before-libc) and $(+link-static-after-libc).
404 [build-shared] (link-libc-before-gnulib): New variable.
405 [build-shared] (link-libc-tests): Likewise.
406 [build-shared] (link-libc): Define in terms of
407 $(link-libc-before-gnulib).
408 [!build-shared] (link-libc-tests): New variable.
409 (link-libc-static-tests): New variable.
410 [!gnulib] (gnulib-arch): New variable.
411 [!gnulib] (gnulib-tests): Likewise.
412 [!gnulib] (static-gnulib-arch): Likewise.
413 [!gnulib] (static-gnulib-tests): Likewise.
414 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
415 Define with "=" instead of ":=".
416 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
417 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
418 * Rules (binaries-all-notests): New variable.
419 (binaries-all-tests): Likewise.
420 (binaries-static-notests): Likewise.
421 (binaries-static-tests): Likewise.
422 (binaries-all): Define using $(binaries-all-notests) and
423 $(binaries-all-tests).
424 (binaries-static): Define using $(binaries-static-notests) and
425 $(binaries-static-tests).
426 (binaries-shared-tests): New variable.
427 (binaries-shared-notests): Likewise.
428 (binaries-shared): Remove variable.
429 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
430 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
431 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
432 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
433 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
434 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
435 * elf/Makefile (sln-modules): New variable.
436 (extra-objs): Add $(sln-modules:=.o).
437 (ldconfig-modules): Add static-stubs.
438 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
439 * elf/static-stubs.c: New file.
442 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
443 by 7 not 8 to examine high bit of fractional part. Use volatile
444 variables when splitting into final array of floats if
445 __FLT_EVAL_METHOD__ != 0.
446 * math/libm-test.inc (cos_test): Add another test.
447 (sin_test): Likewise.
448 * sysdeps/i386/fpu/libm-test-ulps: Update.
451 * math/libm-test.inc (cosh_test): Add more tests.
453 * version.h (RELEASE): Set to "development".
454 (VERSION): Set to "2.16.90".
456 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
458 * NEWS: Update copyright. Remove last-updated date.
459 Mention math library bug fixes and timezone data changes.
460 * README: Mention GNU/Hurd, x32, and HPPA support status.
462 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
464 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
466 2012-06-27 Andreas Jaeger <aj@suse.de>
468 * manual/contrib.texi (Contributors): Add Samuel Thibault.
470 2012-06-25 Andreas Jaeger <aj@suse.de>
472 * sysdeps/s390/fpu/libm-test-ulps: Update.
474 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
475 Thomas Schwinge <thomas@codesourcery.com>
477 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
478 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
479 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
482 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
484 * sysdeps/mach/start.c: Remove file.
485 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
486 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
487 * sysdeps/sh/init-first.c: Likewise.
489 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
490 registers for frame unwinding purposes, add CFI directives.
491 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
492 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
493 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
496 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
497 __fortify_fail returning.
498 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
500 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
501 sysdeps/sh/____longjmp_chk.S.
502 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
503 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
504 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
505 (gen-as-const-headers): Append sigaltstack-offsets.sym.
507 * sysdeps/sh/abort-instr.h: New file.
508 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
509 process in case exit returns.
511 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
512 initialize the GOT register before use.
514 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
515 calculation of ARGC > 4.
517 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
518 meaningful names to some local labels.
520 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
521 Kaz Kojima <kkojima@rr.iij4u.or.jp>
523 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
524 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
525 (__arch_compare_and_exchange_val_16_acq): Likewise.
526 (__arch_compare_and_exchange_val_32_acq): Likewise.
527 (atomic_exchange_and_add): Fix gUSA sequence.
528 (atomic_add): Likewise.
529 (atomic_add_negative): Likewise.
530 (atomic_add_zero): Likewise.
531 (atomic_bit_test_set): Likewise.
533 2012-06-22 Andreas Schwab <schwab@redhat.com>
536 * include/link.h (struct link_map): Add l_free_initfini.
537 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
539 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
540 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
541 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
544 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
546 * configure.in: Use AC_LANG_SOURCE.
547 * configure: Regenerate.
549 2012-06-22 Roland McGrath <roland@hack.frob.com>
551 * configure.in (libc_cv_localstatedir): New substituted variable.
552 * configure: Regenerated.
553 * config.make.in (localstatedir): New variable, substituted from
554 libc_cv_localstatedir.
555 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
556 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
557 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
558 * sysdeps/gnu/configure: Regenerated.
560 2012-06-21 Jeff Law <law@redhat.com>
563 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
564 free. Simplify list management for _LIBC case.
566 2012-06-21 Joseph Myers <joseph@codesourcery.com>
569 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
570 Clear sign bit of 64-bit integer value before comparing against
573 * sysdeps/mach/configure: Regenerated.
575 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
578 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
580 2012-06-21 Jeff Law <law@redhat.com>
583 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
584 uint16_t for elements in the "seen" array to avoid char overflows.
585 * elf/dl-fini.c (_dl_sort_fini): Likewise.
586 * elf/dl-open.c (dl_open_worker): Likewise.
588 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
590 * scripts/list-sources.sh: Scan PORTS for translations.
591 * po/libc.pot: Regenerated.
593 2012-06-21 Andreas Jaeger <aj@suse.de>
596 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
598 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
599 * bits/byteswap-16.h (__bswap_16): Likewise.
600 * bits/byteswap.h (__bswap_constant_16): Likewise.
602 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
605 * sysdeps/i386/fpu_control.h: Removed.
606 * sysdeps/x86_64/fpu_control.h: Moved to ...
607 * sysdeps/x86/fpu_control.h: Here.
609 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
610 (_FPU_SETCW): Likewise.
612 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
615 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
616 * sysdeps/x86/fpu/bits/mathinline.h: This.
617 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
621 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
622 functions if __x86_64__ is defined.
624 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
626 * string/endian.h: Add !__ASSEMBLER__ condition for including
627 conversion interfaces.
629 2012-06-15 Joseph Myers <joseph@codesourcery.com>
632 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
633 of ABS(x) in calculating zero to negative powers other than odd
635 * math/libm-test.inc (pow_test): Add more tests.
637 2012-06-15 Andreas Jaeger <aj@suse.de>
639 * manual/contrib.texi (Contributors): Update entry of Liubov
640 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
643 2012-06-15 Cyril Hrubis <metan@ucw.cz>
645 * string/string.h: Add __wur to GNU version of strerror_r.
647 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
650 * string/Makefile (tests): Add tst-strtok_r.
651 * string/tst-strtok_r.c: New file.
652 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
653 RAX_LP/RDX_LP on SAVE_PTR.
655 2012-06-14 Roland McGrath <roland@hack.frob.com>
657 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
659 2012-06-14 Joseph Myers <joseph@codesourcery.com>
661 * libm_test.inc (csqrt_test): Allow more spurious underflow
668 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
670 * po/Makefile (libc.pot): Use UTF-8 charset.
672 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
675 Suppress sign-conversion warning from FD_SET.
676 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
677 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
678 not unsigned long int.
679 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
681 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
685 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
686 __extern_always_inline instead of __extern_inline.
687 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
688 (__signbit): Likewise.
689 (__signbitl): Support C++ namespace.
690 (lrintf): New inline function.
704 (nearbyint): Likewise.
705 (nearbyintf): Likewise.
707 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
709 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
710 non-default versions.
712 2012-06-11 Roland McGrath <roland@hack.frob.com>
715 * manual/argp.texi (Argp): Reword argp_parse description slightly.
717 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
719 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
720 (FE_UPWARD, FE_DOWNWARD): Don't define.
721 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
722 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
724 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
726 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
727 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
729 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
731 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
732 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
733 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
734 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
736 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
739 * sysdeps/i386/fpu/bits/fenv.h: Removed.
740 * sysdeps/i386/fpu/Implies: New file.
741 * sysdeps/x86_64/fpu/Implies: Likewise.
742 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
743 * sysdeps/x86/fpu/bits/fenv.h: This.
745 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
748 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
751 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
752 character 0xffff that matches the last element of the
755 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
757 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
760 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
762 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
763 values higher than 25.6283.
765 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
767 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
768 subnormal exponent extraction and add some __builtin_expect.
769 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
770 Fix for subnormal mantissa calculation.
772 2012-06-04 Mike Frysinger <vapier@gentoo.org>
774 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
775 cpu2 is -1 and errno is not ENOSYS.
777 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
780 * sysdeps/i386/i486/bits/string.h: Renamed to ...
781 * sysdeps/x86/bits/string.h: This.
782 * sysdeps/x86_64/bits/string.h: Removed.
784 * sysdeps/i386/i486/bits/string.h: Define inline functions only
785 if not compiling for x86-64, but compiling for >= i486.
787 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
788 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
790 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
791 New macro from Linux kernel 3.4.0.
792 (FP_XSTATE_MAGIC2): Likewise.
793 (FP_XSTATE_MAGIC2_SIZE): Likewise.
794 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
795 (struct _fpx_sw_bytes): New struct.
796 (struct _xsave_hdr): Likewise.
797 (struct _ymmh_state): Likewise.
798 (struct _xstate): Likewise.
800 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
801 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
802 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
803 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
804 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
805 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
807 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
808 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
809 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
810 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
811 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
812 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
814 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
817 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
818 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
819 (sysdep_headers): Include sys/platform/ppc.h.
820 * sysdeps/powerpc/test-gettimebase.c: Test for
821 __ppc_get_timebase() to catch future ISA opcode/insn changes.
822 * manual/Makefile (appendices): Include platform.texi.
823 * manual/contrib.texi (Contributors): Update @node pointers.
824 * manual/maint.texi (Maintenance): Likewise.
825 (Platform): New node.
826 * manual/platform.texi: New file. Document the new features.
828 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
829 Jakub Jelinek <jakub@redhat.com>
832 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
833 where __builtin_expect is unavailable.
835 2012-06-03 David S. Miller <davem@davemloft.net>
837 * stdlib/longlong.h: Updated from GCC.
839 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
842 * sysdeps/powerpc/powerpc32/mcount.c: New file.
843 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
846 (GLIBC_2.16): Likewise.
848 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
850 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
852 2012-06-01 Joseph Myers <joseph@codesourcery.com>
854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
855 (default-abi): New variable.
856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
857 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
859 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
861 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
863 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
866 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
867 definition. Document in comment.
869 2012-06-01 David S. Miller <davem@davemloft.net>
871 * stdlib/longlong.h: Updated from GCC.
873 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
876 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
877 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
878 sys/debugreg.h sys/io.h here.
879 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
880 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
882 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
883 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
884 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
885 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
886 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
887 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
889 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
890 Define only if __x86_64__ is defined.
892 2012-06-01 Joseph Myers <joseph@codesourcery.com>
895 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
896 Use int64_t for variable i.
897 * math/libm-test.inc (fmod_test): Add more tests.
899 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
900 z computation is not scheduled after fetestexcept.
901 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
902 Use math_force_eval instead of asm to ensure calculation scheduled
903 before exception test.
904 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
905 Ensure a1 + u.d computation is not scheduled after fetestexcept.
907 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
910 computation is not scheduled after fetestexcept.
912 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
915 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
916 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
918 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
920 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
921 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
923 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
926 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
928 (__WCHAR_MIN): Support __WORDSIZE == 64.
929 (__WCHAR_MAX): Likewise.
931 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
932 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
935 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
936 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
939 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
940 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
942 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
943 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
945 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
946 Defined to 1 if __x86_64__ isn't defined.
947 (_STAT_VER_LINUX_OLD): New.
948 (st_atime): Remove duplicate.
949 (st_mtime): Likewise.
950 (st_ctime): Likewise.
952 2012-05-31 David S. Miller <davem@davemloft.net>
954 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
957 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
959 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
963 * elf/dl-reloc.c: Include <_itoa.h>.
964 (_dl_reloc_bad_type): Remove use of INTUSE.
965 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
966 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
967 * stdio-common/psiginfo.c (psiginfo): Likewise.
968 * stdio-common/psignal.c (psignal): Likewise.
969 * string/strsignal.c (strsignal): Likewise.
970 * include/signal.h (_sys_siglist): Declare hidden proto.
971 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
972 INTVARDEF with libc_hidden_data_def.
973 * stdio-common/itoa-udigits.c: Likewise.
974 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
975 (_itoa_lower_digits_internal): Remove declaration.
976 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
977 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
978 (_sys_sigabbrev_internal): Remove aliases.
979 (_sys_siglist): Define hidden alias.
981 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
986 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
989 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
990 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
992 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
993 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
994 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
995 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
996 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
997 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
999 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1000 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1001 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1003 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1011 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1012 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1013 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1015 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1016 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1017 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1018 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1019 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1020 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1022 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1023 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1025 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1026 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1028 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1029 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1030 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1032 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1033 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1035 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1037 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1038 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1039 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1041 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1043 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1045 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1047 * math/math.h (M_El): Use two more decimal places.
1048 (M_LOG2El): Likewise.
1049 (M_LOG10El): Likewise.
1051 (M_LN10l): Likewise.
1053 (M_PI_2l): Likewise.
1054 (M_PI_4l): Likewise.
1055 (M_1_PIl): Likewise.
1056 (M_2_PIl): Likewise.
1057 (M_2_SQRTPIl): Likewise.
1058 (M_SQRT2l): Likewise.
1059 (M_SQRT1_2l): Likewise.
1061 2012-05-31 David S. Miller <davem@davemloft.net>
1063 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1064 values between float registers.
1065 * sysdeps/sparc/sparc64/memset.S: Likewise.
1066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1068 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1070 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1071 -D_FORTIFY_SOURCE=1.
1072 (CPPFLAGS-tst-longjmp_chk.c): Define.
1073 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1074 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1075 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1076 CFLAGS-tst-wchar-h.c.
1078 2012-05-31 Marek Polacek <polacek@redhat.com>
1081 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1082 __endmntent_internal): Remove declaration.
1083 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1084 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1085 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1087 2012-05-30 David S. Miller <davem@davemloft.net>
1089 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1090 (___Q_simulate_exceptions): Use real FP ops rather than writing
1092 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1095 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1098 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1099 * sysdeps/x86/bits/xtitypes.h: This.
1101 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1102 * sysdeps/x86/bits/wordsize.h: This.
1104 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1105 * sysdeps/x86/bits/huge_vall.h: This.
1107 * sysdeps/i386/bits/select.h: Removed.
1108 * sysdeps/x86_64/bits/select.h: Renamed to ...
1109 * sysdeps/x86/bits/select.h: This.
1111 * sysdeps/i386/bits/setjmp.h: Removed.
1112 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1113 * sysdeps/x86/bits/setjmp.h: This.
1115 * sysdeps/i386/bits/mathdef.h: Removed.
1116 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1117 * sysdeps/x86/bits/mathdef.h: This.
1119 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1122 * include/sys/socket.h (__connect_internal)
1123 (__libc_sa_len_internal): Remove declaration.
1124 (__connect, __libc_sa_len): Declare hidden_proto.
1125 (SA_LEN): Remove use of INTUSE.
1126 * socket/connect.c: Add libc_hidden_def.
1127 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1128 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1129 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1131 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1132 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1133 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1134 of adding _internal alias.
1136 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1139 * sysdeps/i386/bits/link.h: Removed.
1140 * sysdeps/i386/bits/linkmap.h: Likewise.
1141 * sysdeps/x86_64/bits/link.h: Renamed to ...
1142 * sysdeps/x86/bits/link.h: This.
1143 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1144 * sysdeps/x86/bits/linkmap.h: This.
1146 * sysdeps/i386/bits/endian.h: Removed.
1147 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1148 * sysdeps/x86/bits/endian.h: This.
1150 * sysdeps/i386/bits/byteswap.h: Removed.
1151 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1152 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1153 * sysdeps/x86/bits/byteswap.h: This.
1154 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1155 * sysdeps/x86/bits/byteswap-16.h: This.
1156 * sysdeps/i386/Implies: Add x86.
1157 * sysdeps/x86_64/Implies: Likewise.
1159 2012-05-30 David S. Miller <davem@davemloft.net>
1161 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1162 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1163 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1164 (FP_TRAPPING_EXCEPTIONS): Define.
1165 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1166 (FP_TRAPPING_EXCEPTIONS): Define.
1167 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1168 subnormals only when inexact has been signalled or underflow
1169 exceptions are enabled.
1170 (_FP_PACK_CANONICAL): Likewise.
1172 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1175 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1176 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1178 2012-05-30 Richard Henderson <rth@twiddle.net>
1180 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1181 with #ifndef NOT_IN_libc.
1183 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1184 marked to avoid plt entry.
1186 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1189 * Makeconfig (default-abi): New macro.
1190 (abi-includes): Likewise.
1191 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1192 $(abi-$(default-abi)-lib-soname) for soname if defined.
1193 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1195 * Makefile (installed-stubs): Likewise.
1196 * include/stubs-biarch.h: Removed.
1197 * scripts/lib-names.awk: Only handle one library at a time.
1198 * scripts/soversions.awk: Remove WORDSIZE support.
1199 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1201 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1203 (syscall-list-default-condition): Likewise.
1204 (syscall-list-default-condition): Likewise.
1205 (syscall-list-includes): Likewise.
1206 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1207 syscall-list-* with abi-*. Handle undefined abi-variants.
1208 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1209 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1210 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1211 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1212 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1213 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1215 (syscall-list-32-options): Likewise.
1216 (syscall-list-32-condition): Likewise.
1217 (syscall-list-64-options): Likewise.
1218 (syscall-list-64-condition): Likewise.
1219 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1221 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1224 (abi-64-ld-soname): New macro.
1225 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1226 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1229 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1230 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1232 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1234 * sysdeps/unix/sysv/linux/kernel-features.h
1235 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1236 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1237 include <kernel-features.h>.
1238 [!__NR_ftruncate64]: Remove conditional code.
1239 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1240 [__NR_ftruncate64]: Make code unconditional.
1241 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1242 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1243 include <kernel-features.h>.
1244 [!__NR_ftruncate64]: Remove conditional code.
1245 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1246 [__NR_ftruncate64]: Make code unconditional.
1247 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1249 include <kernel-features.h>.
1250 [!__NR_ftruncate64]: Remove conditional code.
1251 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1252 [__NR_ftruncate64]: Make code unconditional.
1253 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1255 include <kernel-features.h>.
1256 [!__NR_ftruncate64]: Remove conditional code.
1257 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1258 [__NR_ftruncate64]: Make code unconditional.
1259 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1261 * configure.in (libc_cv_fpie): Weaken to a compile test using
1263 * configure: Regenerated.
1265 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1280 2012-05-27 David S. Miller <davem@davemloft.net>
1282 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1284 (__Q_simulate_exceptions): Return void. Change to simulate
1285 exceptions by writing into the %fsr.
1286 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1287 (__Qp_handle_exceptions): Likewise.
1289 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1290 __Qp_handle_exceptions.
1291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1292 __Qp_handle_exceptions.
1293 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1294 as unused and give dummy FP_RND_NEAREST initializer.
1295 (FP_INHIBIT_RESULTS): Define.
1296 (___Q_simulate_exceptions): Update declaration.
1297 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1299 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1300 as unused and give dummy FP_RND_NEAREST initializer.
1301 (__Qp_handle_exceptions): Update declaration.
1302 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1305 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1307 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1308 the temporary FPU control word.
1309 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1310 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1311 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1312 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1313 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1314 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1315 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1316 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1317 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1318 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1319 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1321 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1323 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1326 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1328 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1329 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1330 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1331 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1333 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1334 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1337 2012-05-27 Ulrich Drepper <drepper@gmail.com>
1339 * po/h.po: Update from translation team.
1341 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1343 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1345 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1346 handling of denormals.
1347 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1348 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1349 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1350 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1356 2012-05-26 Marek Polacek <polacek@redhat.com>
1359 * math/libm-test.inc (fma_test): Don't always expect underflow
1362 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1365 * elf/tst-execstack.c: Include stackinfo.h.
1366 (do_test): Adjust test case to ensure that pthread_getattr_np
1367 behaviour remains the same after marking stack executable.
1369 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1371 * sysdeps/unix/sysv/linux/kernel-features.h
1372 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1373 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1375 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1376 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1377 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1379 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1380 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1382 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1384 * configure.in: Define the default includes to being none.
1385 * configure: Regenerated.
1387 2012-05-25 Roland McGrath <roland@hack.frob.com>
1389 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1390 * sysdeps/x86_64/setjmp.S: Likewise.
1391 * sysdeps/i386/bsd-setjmp.S: Likewise.
1392 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1393 * sysdeps/i386/setjmp.S: Likewise.
1394 * sysdeps/i386/__longjmp.S: Likewise.
1395 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1396 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1398 * include/stap-probe.h: New file.
1399 * configure.in: Handle --enable-systemtap.
1400 * configure: Regenerated.
1401 * config.h.in (USE_STAP_PROBE): New #undef.
1402 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1403 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1404 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1406 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1410 to 2.4.0 where earlier.
1411 * sysdeps/unix/sysv/linux/configure: Regenerated.
1412 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1413 <kernel-features.h>.
1414 [__ASSUME_32BITUIDS]: Make code unconditional.
1415 [!__ASSUME_32BITUIDS]: Remove conditional code.
1416 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1417 <kernel-features.h>.
1418 [__ASSUME_32BITUIDS]: Make code unconditional.
1419 [!__ASSUME_32BITUIDS]: Remove conditional code.
1420 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1421 [__ASSUME_32BITUIDS]: Make code unconditional.
1422 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1423 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1424 <kernel-features.h>.
1425 [__ASSUME_32BITUIDS]: Make code unconditional.
1426 [!__ASSUME_32BITUIDS]: Remove conditional code.
1427 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1428 <kernel-features.h>.
1429 [__ASSUME_32BITUIDS]: Make code unconditional.
1430 [!__ASSUME_32BITUIDS]: Remove conditional code.
1431 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1432 <kernel-features.h>.
1433 [__ASSUME_32BITUIDS]: Make code unconditional.
1434 [!__ASSUME_32BITUIDS]: Remove conditional code.
1435 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1436 <kernel-features.h>.
1437 [__ASSUME_32BITUIDS]: Make code unconditional.
1438 [!__ASSUME_32BITUIDS]: Remove conditional code.
1439 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1440 <kernel-features.h>.
1441 [__ASSUME_32BITUIDS]: Make code unconditional.
1442 [!__ASSUME_32BITUIDS]: Remove conditional code.
1443 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1444 <kernel-features.h>.
1445 [__ASSUME_32BITUIDS]: Make code unconditional.
1446 [!__ASSUME_32BITUIDS]: Remove conditional code.
1447 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1448 <kernel-features.h>.
1449 [__ASSUME_32BITUIDS]: Make code unconditional.
1450 [!__ASSUME_32BITUIDS]: Remove conditional code.
1451 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1452 <kernel-features.h>.
1453 [__ASSUME_32BITUIDS]: Make code unconditional.
1454 [!__ASSUME_32BITUIDS]: Remove conditional code.
1455 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1456 <kernel-features.h>.
1457 [__ASSUME_32BITUIDS]: Make code unconditional.
1458 [!__ASSUME_32BITUIDS]: Remove conditional code.
1459 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1460 <kernel-features.h>.
1461 [__ASSUME_32BITUIDS]: Make code unconditional.
1462 [!__ASSUME_32BITUIDS]: Remove conditional code.
1463 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1464 <kernel-features.h>.
1465 [__NR_setresgid] (__setresgid): Do not declare.
1466 [__ASSUME_32BITUIDS]: Make code unconditional.
1467 [!__ASSUME_32BITUIDS]: Remove conditional code.
1468 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1469 <kernel-features.h>.
1470 [__NR_setresuid] (__setresuid): Do not declare.
1471 [__ASSUME_32BITUIDS]: Make code unconditional.
1472 [!__ASSUME_32BITUIDS]: Remove conditional code.
1473 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1474 <kernel-features.h>.
1475 [__ASSUME_32BITUIDS]: Make code unconditional.
1476 [!__ASSUME_32BITUIDS]: Remove conditional code.
1477 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1478 <kernel-features.h>.
1479 [__ASSUME_32BITUIDS]: Make code unconditional.
1480 [!__ASSUME_32BITUIDS]: Remove conditional code.
1481 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1482 <kernel-features.h>.
1483 [__ASSUME_32BITUIDS]: Make code unconditional.
1484 [!__ASSUME_32BITUIDS]: Remove conditional code.
1485 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1486 <kernel-features.h>.
1487 [__ASSUME_32BITUIDS]: Make code unconditional.
1488 [!__ASSUME_32BITUIDS]: Remove conditional code.
1489 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1490 <kernel-features.h>.
1491 [__ASSUME_32BITUIDS]: Make code unconditional.
1492 [!__ASSUME_32BITUIDS]: Remove conditional code.
1493 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1494 <kernel-features.h>.
1495 [__ASSUME_32BITUIDS]: Make code unconditional.
1496 [!__ASSUME_32BITUIDS]: Remove conditional code.
1497 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1498 <kernel-features.h>.
1499 [__ASSUME_32BITUIDS]: Make code unconditional.
1500 [!__ASSUME_32BITUIDS]: Remove conditional code.
1501 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1502 <kernel-features.h>.
1503 [__ASSUME_32BITUIDS]: Make code unconditional.
1504 [!__ASSUME_32BITUIDS]: Remove conditional code.
1505 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1506 <kernel-features.h>.
1507 [__ASSUME_32BITUIDS]: Make code unconditional.
1508 [!__ASSUME_32BITUIDS]: Remove conditional code.
1509 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1510 <kernel-features.h>.
1511 [__ASSUME_32BITUIDS]: Make code unconditional.
1512 [!__ASSUME_32BITUIDS]: Remove conditional code.
1513 * sysdeps/unix/sysv/linux/kernel-features.h
1514 (__ASSUME_SETRESUID_SYSCALL): Remove.
1515 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1516 (__ASSUME_32BITUIDS): Likewise.
1517 (__ASSUME_LDT_WORKS): Likewise.
1518 (__ASSUME_O_DIRECTORY): Likewise.
1519 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1520 architecture but not kernel version.
1521 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1522 (__ASSUME_MMAP2_SYSCALL): Likewise.
1523 (__ASSUME_STAT64_SYSCALL): Likewise.
1524 (__ASSUME_IPC64): Likewise.
1525 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1526 <kernel-features.h>.
1527 [__ASSUME_32BITUIDS]: Make code unconditional.
1528 [!__ASSUME_32BITUIDS]: Remove conditional code.
1529 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1530 <kernel-features.h>.
1531 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1532 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1533 132096]: Remove conditional code.
1534 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1535 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1536 <kernel-features.h>.
1537 [__ASSUME_32BITUIDS]: Make code unconditional.
1538 [!__ASSUME_32BITUIDS]: Remove conditional code.
1539 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1540 <kernel-features.h>.
1541 [__ASSUME_32BITUIDS]: Make code unconditional.
1542 [!__ASSUME_32BITUIDS]: Remove conditional code.
1543 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1544 <kernel-features.h>.
1545 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1547 (__setresgid): Do not declare.
1548 [__ASSUME_32BITUIDS]: Make code unconditional.
1549 [!__ASSUME_32BITUIDS]: Remove conditional code.
1550 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1551 <kernel-features.h>.
1552 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1554 (__setresuid): Do not declare.
1555 [__ASSUME_32BITUIDS]: Make code unconditional.
1556 [!__ASSUME_32BITUIDS]: Remove conditional code.
1557 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1558 <kernel-features.h>.
1559 [__ASSUME_32BITUIDS]: Make code unconditional.
1560 [!__ASSUME_32BITUIDS]: Remove conditional code.
1561 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1562 <kernel-features.h>.
1563 [__ASSUME_32BITUIDS]: Make code unconditional.
1564 [!__ASSUME_32BITUIDS]: Remove conditional code.
1566 2012-05-25 Richard Henderson <rth@twiddle.net>
1568 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1569 dl_hwcap to ifunc resolver.
1570 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1572 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1573 dl_hwcap to ifunc resolver.
1574 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1576 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1579 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1580 for |x| <= 2**-26, not 2**-57.
1581 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1584 2012-05-24 Jeff Law <law@redhat.com>
1586 * stdio-common/Makefile (tests): Add bug25.
1587 * stdio-common/bug25.c: New test.
1589 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1592 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1593 multiple of MALLOC_ALIGNMENT in size.
1594 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1596 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1598 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1600 (FILENAME_MAX): Use macro-int-constant.
1601 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1602 (_IOFBF): Use macro-int-constant.
1605 (SEEK_CUR): Likewise.
1606 (SEEK_END): Likewise.
1607 (SEEK_SET): Likewise.
1608 (TMP_MAX): Likewise.
1609 (EOF): Use macro-int-constant. Require < 0.
1610 (NULL): Use macro-constant. Require == 0.
1611 (stdin): Require type to be FILE *.
1614 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1616 (EXIT_SUCCESS): Likewise.
1617 (NULL): Use macro-constant. Require == 0.
1618 (RAND_MAX): Use macro-int-constant.
1619 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1620 [C99-based standards] (strtof): Require function.
1621 [C99-based standards] (strtold): Likewise.
1622 [C99-based standards] (strtoll): Likewise.
1623 [C99-based standards] (strtoull): Likewise.
1624 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1625 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1626 [ISO || ISO99 || ISO11] (math.h): Likewise.
1627 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1628 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1629 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1631 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1634 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1635 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1636 * intl/dgettext.c (DCGETTEXT): Likewise.
1637 * intl/gettext.c (DCGETTEXT): Likewise.
1638 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1639 * posix/regex_internal.h (gettext): Likewise.
1640 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1642 * include/argz.h (__argz_count_internal)
1643 (__argz_stringify_internal): Remove declaration.
1644 (__argz_count, __argz_stringify): Declare hidden proto.
1645 * intl/dcgettext.c: Remove use of INTDEF.
1646 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1647 * string/argz-stringify.c: Likewise.
1648 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1649 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1650 Declare hidden proto.
1651 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1652 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1653 Declare hidden proto.
1654 * include/stdio.h (__asprintf_internal): Don't declare.
1655 (__asprintf): Don't define as macro. Declare hidden proto.
1656 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1657 (__fsetlocking): Declare hidden proto.
1658 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1659 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1661 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1662 (_IO_setlinebuf): Remove use of INTUSE.
1663 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1664 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1665 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1667 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1668 (_IO_do_flush): Remove use of INTUSE.
1669 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1670 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1671 (_IO_adjust_column, _IO_least_wmarker)
1672 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1673 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1674 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1675 (_IO_default_doallocate, _IO_wdefault_doallocate)
1676 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1677 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1678 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1679 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1680 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1681 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1682 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1683 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1684 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1685 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1686 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1687 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1688 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1690 (_IO_flush_all_internal, _IO_adjust_column_internal)
1691 (_IO_default_uflow_internal, _IO_default_finish_internal)
1692 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1693 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1694 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1695 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1696 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1697 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1698 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1699 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1700 (_IO_file_close_internal, _IO_file_close_it_internal)
1701 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1702 (_IO_file_init_internal, _IO_file_attach_internal)
1703 (_IO_file_fopen_internal, _IO_file_read_internal)
1704 (_IO_file_sync_internal, _IO_file_seek_internal)
1705 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1706 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1707 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1708 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1709 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1710 (_IO_list_all_internal, _IO_link_in_internal)
1711 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1712 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1713 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1714 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1715 (_IO_do_write_internal, _IO_padn_internal)
1716 (_IO_getline_info_internal, _IO_getline_internal)
1717 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1718 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1719 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1720 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1721 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1722 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1723 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1724 with libc_hidden_ver, remove use of INTUSE.
1725 * libio/genops.c: Likewise.
1726 * libio/freopen.c: Likewise.
1727 * libio/freopen64.c: Likewise.
1728 * libio/iofclose.c: Likewise.
1729 * libio/iofdopen.c: Likewise.
1730 * libio/iofflush.c: Likewise.
1731 * libio/iofflush_u.c: Likewise.
1732 * libio/iofgets.c: Likewise.
1733 * libio/iofgets_u.c: Likewise.
1734 * libio/iofopen.c: Likewise.
1735 * libio/iofopncook.c: Likewise.
1736 * libio/iofread.c: Likewise.
1737 * libio/iofread_u.c: Likewise.
1738 * libio/ioftell.c: Likewise.
1739 * libio/iofwrite.c: Likewise.
1740 * libio/iogetline.c: Likewise.
1741 * libio/iogets.c: Likewise.
1742 * libio/iogetwline.c: Likewise.
1743 * libio/iopadn.c: Likewise.
1744 * libio/iopopen.c: Likewise.
1745 * libio/ioseekoff.c: Likewise.
1746 * libio/ioseekpos.c: Likewise.
1747 * libio/iosetbuffer.c: Likewise.
1748 * libio/iosetvbuf.c: Likewise.
1749 * libio/ioungetc.c: Likewise.
1750 * libio/ioungetwc.c: Likewise.
1751 * libio/iovdprintf.c: Likewise.
1752 * libio/iovsprintf.c: Likewise.
1753 * libio/iovsscanf.c: Likewise.
1754 * libio/memstream.c: Likewise.
1755 * libio/obprintf.c: Likewise.
1756 * libio/oldfileops.c: Likewise.
1757 * libio/oldiofclose.c: Likewise.
1758 * libio/oldiofdopen.c: Likewise.
1759 * libio/oldiofopen.c: Likewise.
1760 * libio/oldiopopen.c: Likewise.
1761 * libio/oldstdfiles.c: Likewise.
1762 * libio/putc.c: Likewise.
1763 * libio/setbuf.c: Likewise.
1764 * libio/setlinebuf.c: Likewise.
1765 * libio/stdfiles.c: Likewise.
1766 * libio/strops.c: Likewise.
1767 * libio/vasprintf.c: Likewise.
1768 * libio/vscanf.c: Likewise.
1769 * libio/vsnprintf.c: Likewise.
1770 * libio/vswprintf.c: Likewise.
1771 * libio/wfiledoalloc.c: Likewise.
1772 * libio/wfileops.c: Likewise.
1773 * libio/wgenops.c: Likewise.
1774 * libio/wmemstream.c: Likewise.
1775 * libio/wstrops.c: Likewise.
1776 * libio/__fpurge.c: Likewise.
1777 * libio/__fsetlocking.c: Likewise.
1778 * assert/assert.c: Likewise.
1779 * debug/fgets_chk.c: Likewise.
1780 * debug/fgets_u_chk.c: Likewise.
1781 * debug/fread_chk.c: Likewise.
1782 * debug/fread_u_chk.c: Likewise.
1783 * debug/gets_chk.c: Likewise.
1784 * debug/obprintf_chk.c: Likewise.
1785 * debug/vasprintf_chk.c: Likewise.
1786 * debug/vdprintf_chk.c: Likewise.
1787 * debug/vsnprintf_chk.c: Likewise.
1788 * debug/vsprintf_chk.c: Likewise.
1789 * malloc/mtrace.c: Likewise.
1790 * misc/error.c: Likewise.
1791 * misc/syslog.c: Likewise.
1792 * stdio-common/asprintf.c: Likewise.
1793 * stdio-common/fxprintf.c: Likewise.
1794 * stdio-common/getw.c: Likewise.
1795 * stdio-common/isoc99_fscanf.c: Likewise.
1796 * stdio-common/isoc99_scanf.c: Likewise.
1797 * stdio-common/isoc99_vfscanf.c: Likewise.
1798 * stdio-common/isoc99_vscanf.c: Likewise.
1799 * stdio-common/isoc99_vsscanf.c: Likewise.
1800 * stdio-common/printf-prs.c: Likewise.
1801 * stdio-common/printf_fp.c: Likewise.
1802 * stdio-common/printf_fphex.c: Likewise.
1803 * stdio-common/printf_size.c: Likewise.
1804 * stdio-common/putw.c: Likewise.
1805 * stdio-common/scanf.c: Likewise.
1806 * stdio-common/sprintf.c: Likewise.
1807 * stdio-common/tmpfile.c: Likewise.
1808 * stdio-common/vfprintf.c: Likewise.
1809 * stdio-common/vfscanf.c: Likewise.
1810 * stdlib/strfmon_l.c: Likewise.
1811 * sunrpc/openchild.c: Likewise.
1812 * sunrpc/xdr_stdio.c: Likewise.
1813 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1814 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1816 2012-05-24 Roland McGrath <roland@hack.frob.com>
1818 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1820 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1821 in the third column, to generate for the shared library an IFUNC
1822 that uses _dl_vdso_vsym.
1823 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1824 * Makeconfig (object-suffixes-noshared): New variable.
1826 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1827 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1828 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1829 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1832 * include/sys/time.h (__gettimeofday): Remove macro.
1833 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1834 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1836 (__gettimeofday): Add libc_hidden_def.
1837 (gettimeofday): Add libc_hidden_weak.
1838 * sysdeps/mach/gettimeofday.c: Likewise.
1839 * sysdeps/posix/gettimeofday.c: Likewise.
1840 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1841 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1842 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1843 (__gettimeofday_internal): Remove strong_alias.
1844 (__gettimeofday): Add libc_hidden_def.
1845 (gettimeofday): Add libc_hidden_weak.
1846 * sysdeps/unix/syscalls.list (gettimeofday):
1847 Remove __gettimeofday_internal alias.
1849 2012-05-24 Daniel Jacobowitz <drow@false.org>
1850 H.J. Lu <hongjiu.lu@intel.com>
1853 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1854 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1855 (largebin_index_32_big): New.
1856 (largebin_index): Use it for 16-byte alignment.
1857 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1858 correction with front_misalign.
1860 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1888 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1889 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1891 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1895 * math/libm-test.inc (exp_test): Add test from bug 14036.
1896 (pow_test): Add test from bug 10846.
1898 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1900 (special_function): Do not include flags in test name.
1901 (parse_args): Likewise.
1902 * sysdeps/i386/fpu/libm-test-ulps: Update.
1903 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1904 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1905 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1908 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1910 * math/libm-test.inc ("Philosophy"): Update comment about
1912 (UNDERFLOW_EXCEPTION): New macro.
1913 (UNDERFLOW_EXCEPTION_OK): Likewise.
1914 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1915 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1916 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1917 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1918 (INVALID_EXCEPTION_OK): Update value.
1919 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1920 (OVERFLOW_EXCEPTION_OK): Likewise.
1921 (IGNORE_ZERO_INF_SIGN): Likewise.
1922 (test_exceptions): Handle underflow exceptions.
1923 (acos_test): Update for underflow exception expectations.
1924 (cexp_test): Likewise.
1925 (clog_test): Likewise.
1926 (clog10_test): Likewise.
1927 (csqrt_test): Likewise.
1928 (ctan_test): Likewise.
1929 (ctanh_test): Likewise.
1930 (exp_test): Likewise.
1931 (exp10_test): Likewise.
1932 (exp2_test): Likewise.
1933 (expm1_test): Likewise.
1934 (fma_test): Likewise.
1935 (j0_test): Likewise.
1936 (jn_test): Likewise.
1937 (nexttoward_test): Likewise.
1938 (pow_test): Likewise.
1939 (scalbn_test): Likewise.
1940 (scalbln_test): Likewise.
1941 (tan_test): Likewise.
1942 (y1_test): Likewise.
1943 * sysdeps/i386/fpu/libm-test-ulps: Update.
1944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1946 2012-05-23 David S. Miller <davem@davemloft.net>
1948 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1949 (__libc_sigaction): Remove unused local variables.
1951 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1953 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1955 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1957 mktime: avoid signed integer overflow
1958 * time/mktime.c (__mktime_internal): Do not mishandle the case
1959 where diff == INT_MIN.
1961 mktime: simplify computation of average
1962 * time/mktime.c (ranged_convert): Use new time_t_avg function
1963 instead of rolling our own (probably-slower) code.
1965 mktime: do not assume signed right shift propagates sign bit
1966 * time/mktime.c (isdst_differ): New static function.
1967 (__mktime_internal): No need to normalize tm_isdst now.
1968 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1971 mktime: merge another wrapv change from gnulib
1972 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1973 from some compilers.
1975 mktime: remove incorrect attempt at unusual arithmetics
1976 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1977 The code didn't really work on such machines anyway.
1978 (TYPE_MINIMUM): Assume two's complement.
1979 (twos_complement_arithmetic): Verify that long_int and time_t
1980 are two's complement (or unsigned, in the latter case).
1982 mktime: check signed shifts on long_int and time_t, too
1983 * time/mktime.c (SHR): Check that shifts work as desired
1984 on the types long_int and time_t too, as SHR is used on
1987 mktime: do not assume 'long' is wide enough
1988 * time/mktime.c (verify): Move decl up.
1989 (long_int): New type.
1990 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1991 to remove assumption in the code that 'long' is wide enough to
1992 store year values. This assumption is not true on x32 and on
1993 some non-glibc platforms.
1995 mktime: merge wrapv change from gnulib
1996 * time/mktime.c (WRAPV): New macro.
1997 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1998 (guess_time_tm, __mktime_internal): Do not assume that signed
1999 integer overflow wraps around; modern compilers generate code
2000 where this assumption is no longer valid.
2002 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2004 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2005 Replace "jmp L(pseudo_end)" with "ret".
2006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2009 2012-05-23 Andreas Jaeger <aj@suse.de>
2011 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2012 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2014 2012-05-23 Andreas Jaeger <aj@suse.de>
2015 Maximilian Attems <max@stro.at>
2017 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2020 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2022 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2023 code so that pseudo_end is just ret and the stack pointer is
2024 correct also for static library in error case.
2026 2012-05-23 Joseph Myers <joseph@codesourcery.com>
2028 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2029 move to syscalls.list.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2035 * manual/install.texi (Running make install): Do not mention Linux
2036 kernel version for which pt_chown is not needed.
2037 (Linux): Do not mention problems with nscd with 2.0 kernels.
2038 * INSTALL: Regenerated.
2040 2012-05-23 Andreas Jaeger <aj@suse.de>
2042 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2043 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2045 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2046 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2047 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2048 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2049 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2050 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2051 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2052 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2053 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2054 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2055 * sysdeps/unix/sysv/linux/bits/in.h
2056 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2058 2012-05-22 Roland McGrath <roland@hack.frob.com>
2060 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2061 (PREPARE_VERSION): Just use assert instead, it will be elided
2062 under [NDEBUG] anyway.
2064 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2066 * sysdeps/unix/sysv/linux/Makefile: Include
2067 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2068 (sysdep_routines): Remove sysctl.
2069 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2070 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2071 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2072 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2073 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2075 2012-05-22 Andreas Jaeger <aj@suse.de>
2077 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2078 that pseudo_end is just ret and the stack pointer is correct also
2079 for static library in error case.
2081 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2084 * nss/nsswitch.c (defconfig_entries): New variable.
2085 (__nss_database_lookup): Don't leak defconfig entries.
2086 (nss_parse_service_list): Don't leak on error paths.
2087 (free_database_entries): New function.
2088 (free_defconfig): New function.
2089 (free_mem): Move common code to free_database_entries.
2091 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2093 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2095 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2097 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2098 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2101 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2102 (INTERNAL_SYSCALL_TYPES): Likewise.
2103 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2104 (LOAD_REGS_TYPES_[1-6]): Likewise.
2105 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2106 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2108 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2110 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2111 copysignl for GLIBC_2_0.
2112 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2113 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2115 logbl for GLIBC_2_0.
2116 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2117 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2119 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2121 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2122 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2124 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2127 * time/mktime.c: Update copyright years.
2129 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2131 mktime: merge comment-quoting-style change from gnulib
2132 * time/mktime.c: Quote 'like this' in comments.
2133 The GNU coding standards suggest that we no longer quote `like this',
2134 as "`" and "'" are typically rendered asymmetrically nowadays.
2135 The typical gnulib style is to quote 'like this' when quoting
2136 code, and "like this" when quoting English.
2138 * time/mktime.c (compile-command): Add "-I.".
2140 mktime: merge mktime-internal.h change from gnulib
2141 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2143 mktime: merge time_r change from gnulib
2144 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2146 mktime: merge DEBUG change from gnulib
2147 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2148 case system <time.h> has a #define.
2150 mktime: merge <sys/types.h> change from gnulib
2151 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2152 since <time.t> is now guaranteed to define time_t.
2154 mktime: merge HAVE_CONFIG_H change from gnulib
2155 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2157 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2162 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2164 (struct rusage): Use anonymous union to pad each field to
2167 2012-05-21 David S. Miller <davem@davemloft.net>
2169 * Makefules (o-iterator): Remove .s cases.
2170 (compile-command.s): Delete.
2171 (COMPILE.s): Delete.
2172 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2174 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2176 * configure.in (libc_cv_predef_stack_protector): Only consider
2177 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2178 * configure: Regenerated.
2180 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2183 New macro. Use R*LP on int and pointer.
2184 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2185 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2186 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2187 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2189 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2190 [__WORDSIZE_TIME64_COMPAT32] instead of
2191 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2192 (struct utmp): Likewise.
2193 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2194 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2196 (__WORDSIZE_TIME64_COMPAT32): This.
2197 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2198 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2199 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2200 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2201 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2202 (__WORDSIZE_TIME64_COMPAT32): New macro.
2204 2012-05-21 Andreas Jaeger <aj@suse.de>
2206 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2207 only if [SHARED]. Add prototype for __wcschr_ia32.
2209 2012-05-21 Roland McGrath <roland@hack.frob.com>
2211 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2212 of %rbp unmolested in the jmp_buf while mangling the low bits.
2213 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2214 unmolested high bits of %rbp while demangling the low bits.
2215 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2217 2012-05-21 Andreas Jaeger <aj@suse.de>
2219 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2220 * sunrpc/svc_simple.c: Use it for registerrpc.
2221 * sunrpc/xcrypt.c: Use it for passwd2des.
2223 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2225 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2227 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2228 Don't define if [__SYSCALL_WORDSIZE != 32].
2229 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2232 2012-05-21 Bruno Haible <bruno@clisp.org>
2233 Andreas Jaeger <aj@suse.de>
2235 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2236 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2237 inptr and inend for must_buffer_ch.
2238 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2239 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2240 * stdio-common/Makefile (tests): Remove bug15.
2241 (bug15-ENV): Remove macro.
2242 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2245 2012-05-19 Andreas Jaeger <aj@suse.de>
2246 Roland McGrath <roland@hack.frob.com>
2248 * manual/contrib.texi: Completely rewritten. It contains now an
2249 alphabetical list of contributors and their contributions.
2251 2012-05-21 Richard Henderson <rth@twiddle.net>
2253 * misc/getauxval.c (__getauxval): Use unsigned long int.
2254 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2255 (getauxval): Use unsigned long int.
2257 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2259 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2261 2012-05-21 Roland McGrath <roland@hack.frob.com>
2263 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2264 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2265 __alignof__ (long double).
2267 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2271 2012-05-20 Richard Henderson <rth@twiddle.net>
2273 * misc/getauxval.c: New file.
2274 * misc/sys/auxv.h: New file.
2275 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2276 (routines): Add getauxval.
2277 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2278 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2279 * elf/dl-sysdep.c (_dl_auxv): Remove.
2280 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2281 * elf/dl-support.c (_dl_auxv): New variable.
2282 (_dl_aux_init): Initialize it.
2283 * manual/startup.texi (Auxiliary Vector): New node.
2284 * sysdeps/generic/bits/hwcap.h: New file.
2285 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2286 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2287 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2288 * sysdeps/sparc/sysdep.h: ... here. Include it.
2289 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2290 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2296 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2302 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2306 2012-05-19 David S. Miller <davem@davemloft.net>
2308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2310 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2313 * math/s_ccosh.c: Include <float.h>
2314 (__ccosh): Avoid internal overflow calculating sinh and cosh
2315 values before multiplying by sin and cos values.
2316 * math/s_ccoshf.c: Likewise.
2317 * math/s_ccoshl.c: Likewise.
2318 * math/s_csin.c: Likewise.
2319 * math/s_csinf.c: Likewise.
2320 * math/s_csinl.c: Likewise.
2321 * math/s_csinh.c: Likewise.
2322 * math/s_csinhf.c: Likewise.
2323 * math/s_csinhl.c: Likewise.
2324 * math/libm-test.inc (ccos_test): Add more tests.
2325 (ccosh_test): Likewise.
2326 (csin_test): Likewise.
2327 (csinh_test): Likewise.
2328 * sysdeps/i386/fpu/libm-test-ulps: Update.
2329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2331 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2333 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2334 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2336 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2338 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2340 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2341 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2342 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2343 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2344 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2345 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2346 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2347 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2348 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2349 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2350 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2351 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2352 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2353 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2354 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2355 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2356 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2357 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2358 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2359 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2360 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2361 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2362 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2363 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2364 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2365 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2366 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2367 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2368 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2369 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2370 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2372 2012-05-18 Andreas Jaeger <aj@suse.de>
2374 * csu/.gitignore: Delete.
2376 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2378 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2379 (timex): Use __syscall_slong_t.
2381 2012-05-18 Andreas Jaeger <aj@suse.de>
2382 Carlos O'Donell <carlos_odonell@mentor.com>
2384 * manual/install.texi (Configuring and compiling): Update
2385 description about files modified in the source directory.
2386 * INSTALL: Regenerated.
2388 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2390 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2391 value. Use "or" to set return value to -1.
2392 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2393 negate return value.
2395 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2397 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2398 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2399 failure if the compiler has Graphite support disabled.
2400 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2402 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2403 CFLAGS-memmove.c): Likewise.
2404 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2407 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2409 * sysdeps/x86_64/x32/_itoa.h: New file.
2411 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2412 getdents system call only if kernel and user dirents have the
2413 same d_ino and d_off.
2415 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2416 LLONG_MAX != LONG_MAX.
2417 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2418 (_fitoa_word): Likewise.
2420 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2422 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2423 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2424 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2426 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2427 include <bits/wordsize.h>. Check __x86_64__ instead of
2429 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2430 if __x86_64__ is defined. Use anonymous union on fpstate.
2432 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2435 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2437 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2438 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2439 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2440 Refer to _rtld_local_ro instead of _rtld_global_ro.
2441 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2443 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2445 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2447 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2448 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2449 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2451 * sysdeps/powerpc/powerpc32/dl-machine.c
2452 (__elf_machine_runtime_setup) [PROF]: Don't reference
2455 2012-05-18 Andreas Jaeger <aj@suse.de>
2457 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2458 function only available for GCCs before 3.4 since GCC 3.4
2459 introduced a builtin.
2461 (llrintf): Likewise.
2469 (nearbyint): Likewise.
2470 (nearbyintf): Likewise.
2476 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2478 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2479 on both fields and cast pointer to __syscall_ulong_t.
2481 * bits/types.h (__fsword_t): New type.
2482 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2483 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2485 (__FSWORD_T_TYPE): Likewise.
2486 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2487 (__FSWORD_T_TYPE): Likewise.
2488 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2489 (__FSWORD_T_TYPE): Likewise.
2490 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2491 (__FSWORD_T_TYPE): Likewise.
2492 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2493 __SWORD_TYPE with __fsword_t.
2494 (statfs64): Likewise.
2496 2012-05-17 David S. Miller <davem@davemloft.net>
2498 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2500 2012-05-17 Andreas Jaeger <aj@suse.de>
2502 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2505 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2507 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2509 2012-05-17 Andreas Jaeger <aj@suse.de>
2511 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2514 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2516 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2518 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2520 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2521 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2523 2012-05-17 Andreas Jaeger <aj@suse.de>
2524 Carlos O'Donell <carlos_odonell@mentor.com>
2527 * sysdeps/x86_64/multiarch/init-arch.h
2528 (bit_YMM_Usable): Rename to...
2529 (bit_AVX_Usable): ... this.
2530 (bit_FMA4_Usable): New macro.
2531 (bit_XMM_state): New macro.
2532 (bit_YMM_state): New macro.
2533 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2534 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2535 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2536 (CPUID_OSXSAVE): New macro.
2537 (CPUID_AVX): New macro.
2538 (CPUID_FMA4): New macro.
2539 (index_YMM_Usable): Rename to...
2540 (index_AVX_Usable): ... this.
2541 (HAS_AVX): Use HAS_ARCH_FEATURE.
2542 (HAS_FMA4): Likewise.
2543 (HAS_YMM_USABLE): Remove.
2544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2545 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2547 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2548 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2549 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2550 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2551 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2553 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2555 * math/libm-test.c: Support platforms without multiple rounding modes.
2556 * math/bug-nextafter.c: Support platforms without FP exceptions.
2557 * math/bug-nexttoward.c: Likewise.
2558 * math/test-fenv.c: Likewise.
2559 * math/test-misc.c: Likewise.
2560 * stdlib/bug-getcontext.c: Likewise.
2562 2012-05-17 Andreas Jaeger <aj@suse.de>
2564 * manual/examples/search.c (critter_cmp): Change signature to
2566 * manual/string.texi (Collation Functions): Likewise.
2568 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2570 * bits/types.h: Fold copyright years.
2571 * bits/typesizes.h: Likewise.
2572 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2573 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2576 * time/time.h: Likewise.
2578 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2581 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2582 in instead of returning them. Return void.
2583 (__libc_mallinfo): Accumulate over all arenas.
2584 (__malloc_stats): Adjust for change in int_mallinfo interface.
2586 2012-05-16 Roland McGrath <roland@hack.frob.com>
2589 * configure.in (NM): Add AC_CHECK_TOOL for it.
2590 (libc_extra_cflags): New substituted variable.
2591 Check for -fstack-protector being used implicitly.
2592 * configure: Regenerated.
2593 * config.make.in (config-extra-cflags): New variable,
2594 gets @libc_extra_cflags@.
2595 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2598 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2599 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2600 * configure: Regenerated.
2601 * config.make.in (CPPUNDEFS): New substituted variable.
2602 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2603 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2604 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2606 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2608 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2609 (mq_attr): Use __syscall_slong_t.
2611 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2613 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2614 Check __x86_64__ instead of __WORDSIZE.
2615 (_STAT_VER_LINUX): Likewise.
2616 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2617 __syscall_ulong_t and __syscall_slong_t.
2620 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2622 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2624 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2626 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2628 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2630 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2633 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2634 include <bits/wordsize.h>. Check __x86_64__ instead of
2636 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2638 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2640 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2641 include <bits/wordsize.h>. Check __x86_64__ instead of
2643 (user_regs_struct): Use "__extension__ unsigned long long"
2644 instead of "unsigned long" if __x86_64__ is defined.
2645 (user): Likewise. Pad after pointer field if __ILP32__ is
2648 2012-05-16 Joseph Myers <joseph@codesourcery.com>
2650 * configure.in (makeinfo): Require version 4.5 or later. Allow
2652 * configure: Regenerated.
2653 * manual/install.texi (texinfo): Increase version requirement to
2655 * INSTALL: Regenerated.
2657 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2659 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2661 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2663 * sysdeps/x86_64/x32/ffs.c: New file.
2665 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2667 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2668 defined. Use __syscall_ulong_t.
2669 (shminfo): Use __syscall_ulong_t.
2670 (shm_info): Likewise.
2672 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2675 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2677 (msgqnum_t): Use __syscall_ulong_t.
2678 (msglen_t): Likewise.
2679 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2682 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2683 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2685 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2687 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2688 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2690 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2693 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2694 include <bits/wordsize.h>. Check __x86_64__ instead of
2697 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2698 "unsigned long long int" if __x86_64__ is defined.
2699 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2701 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2702 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2703 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2705 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2707 (GET_PC): Cast to uintptr_t first.
2708 (GET_FRAME): Likewise.
2709 (GET_STACK): Likewise.
2711 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2712 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2714 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2716 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2717 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2718 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2719 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2720 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2721 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2722 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2723 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2724 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2725 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2726 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2727 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2728 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2729 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2730 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2731 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2732 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2733 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2734 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2735 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2736 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2737 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2738 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2739 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2741 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2743 * Makerules (+depfiles): Also collect depfiles from .oS in
2745 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2746 .oS, $(libnldbl-routines)).
2748 * Makerules (native-compile-mkdep-flags): Define.
2749 * sunrpc/Makefile (extra-objs): Add $(addprefix
2750 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2751 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2752 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2753 calling $(make-target-directory).
2755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2757 * bits/types.h (__snseconds_t): Removed.
2758 * time/time.h (struct timespec): Replace __snseconds_t with
2760 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2761 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2764 (__SNSECONDS_T_TYPE): Likewise.
2765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2766 (__SNSECONDS_T_TYPE): Likewise.
2767 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2768 (__SNSECONDS_T_TYPE): Likewise.
2770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2772 * sysdeps/mach/hurd/bits/typesizes.h
2773 (__SYSCALL_SLONG_TYPE): New macro.
2774 (__SYSCALL_ULONG_TYPE): Likewise.
2776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2778 * bits/types.h (__syscall_slong_t): New type.
2779 (__syscall_ulong_t): Likewise.
2781 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2782 (__SYSCALL_ULONG_TYPE): Likewise.
2783 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2784 (__SYSCALL_SLONG_TYPE): Likewise.
2785 (__SYSCALL_ULONG_TYPE): Likewise.
2786 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2787 (__SYSCALL_SLONG_TYPE): Likewise.
2788 (__SYSCALL_ULONG_TYPE): Likewise.
2789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2790 (__SYSCALL_SLONG_TYPE): Likewise.
2791 (__SYSCALL_ULONG_TYPE): Likewise.
2793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2795 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2796 Add sigaltstack-offsets.sym.
2797 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2798 <sigaltstack-offsets.h>.
2799 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2800 longjmp_msg pointer.
2801 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2802 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2804 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2806 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2808 * elf/stackguard-macros.h: Remove file.
2809 * sysdeps/generic/stackguard-macros.h: New file.
2810 * sysdeps/i386/stackguard-macros.h: Likewise.
2811 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2812 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2813 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2814 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2815 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2816 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2817 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2818 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2819 <elf/stackguard-macros.h>.
2822 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2823 __aligned__ in attribute.
2824 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2825 (gregset_t): Likewise.
2827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2829 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2830 * sysdeps/x86_64/64/Implies-after: Here. New file.
2831 * sysdeps/x86_64/x32/Implies-after: New file.
2833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2835 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2836 and access return value for _dl_profile_fixup. Use R10_LP to
2839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2841 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2843 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2845 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2846 * sysdeps/x86_64/x32/sysdep.h: New file.
2848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2850 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2851 * sysdeps/x86_64/setjmp.S: Likewise.
2853 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2855 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2856 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2857 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2858 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2859 remove unused global constant.
2861 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2863 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2864 include of <not-cancel.h>.
2866 2012-05-15 Roland McGrath <roland@hack.frob.com>
2868 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2870 2012-05-15 Jeff Law <law@redhat.com>
2871 Andreas Jaeger <aj@suse.de>
2874 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2876 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2877 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2878 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2879 code changing __hst_map_handle.map.
2881 2012-05-15 Roland McGrath <roland@hack.frob.com>
2883 * configure.in (sysnames): Look for Implies-before and Implies-after
2885 * configure: Regenerated.
2887 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2889 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2890 8-byte data alignment with LP_SIZE alignment.
2892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2894 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2899 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2901 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2903 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2904 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2905 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2907 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2911 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2912 (stackinfo_sub_sp): Likewise.
2914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2916 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2919 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2921 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2926 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2931 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2933 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2935 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2936 into R11_LP and load __x86_64_shared_cache_size_half into
2939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2941 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2944 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2948 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2950 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2952 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2953 powerpc32/power7/fpu/s_logb.c via #include.
2954 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2955 powerpc32/power7/fpu/s_logbf.c via #include.
2956 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2957 powerpc32/power7/fpu/s_logbl.c via #include.
2959 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2961 * README.libm: Remove file.
2963 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2965 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2966 count for x32. Use R*_LP and omit operand-size suffix.
2968 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2970 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2971 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2972 * sysdeps/x86_64/x32/shlib-versions: New file.
2974 2012-05-14 Roland McGrath <roland@hack.frob.com>
2976 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2977 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2978 Use _dl_fatal_printf instead.
2980 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2982 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2983 set if not set by the user. Do not allow for being unset.
2984 * sysdeps/unix/sysv/linux/configure: Regenerated.
2986 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2988 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2989 the `q' suffix from lea and replace .quad with ASM_ADDR.
2991 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2994 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2996 (PTR_DEMANGLE): Likewise.
2998 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3000 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3002 (ASM_ADDR): Likewise.
3020 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3022 * sysdeps/x86_64/x32/dl-machine.h: New file.
3024 2012-05-14 Andreas Jaeger <aj@suse.de>
3026 * manual/Makefile (subdir): Remove export of subdir.
3027 (all): Remove target.
3028 (.PHONY): Remove all from list.
3029 (mkinstalldirs): Remove.
3030 (.PHONY): Remove installdirs from list.
3031 ($(inst_infodir)/libc.info): Use make-target-directory.
3032 (installdirs): Remove.
3034 (glibc-targets): Remove.
3037 ($(objpfx)stubs ../po/manual.pot): Remove.
3038 ($(objpfx)stamp%): Remove.
3039 (make-target-directory): Remove.
3040 (subdir_install): Remove.
3048 * manual/.gitignore: Remove, it's not needed anymore.
3049 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3051 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3053 (texis): Renamed to $(objpfx)texis.
3054 (texis-path): New, contains path to generated files.
3055 (chapters.%): Use texis-path for complete path, add extra argument
3057 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3058 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3059 (summary,texi, stamp-summary): Use complete path of
3060 files. Generate files in build dir.
3061 (dir-add.texi): Build in build dir.
3062 (libm-err.texi,stamp-libm-err): Likewise.
3063 (version.texi, stamp-version): Likewise.
3064 (.%c.texi): Likewise.
3065 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3066 (mostlyclean): Remove target.
3067 (realclean): Remove target.
3068 (generated): Add new variable with contents from mostlyclean and
3069 realclean, remove entries duplicated in common-mostlyclean, add
3070 stamp-libm-err and stamp-version.
3071 (generated-dirs): Add libc directory.
3072 ($(inst_infodir)/libc.info): Install files from build dir.
3074 * manual/install.texi (Configuring and compiling): Adjust since
3075 the info files are not part of the tar ball anymore.
3077 2012-05-14 Andreas Jaeger <aj@suse.de>
3079 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3082 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3085 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3086 to 2.2.0 where earlier.
3087 * sysdeps/unix/sysv/linux/configure: Regenerated.
3088 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3089 Remove conditional code.
3090 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3091 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3092 Remove conditional code.
3093 [!__NR_lchown]: Likewise.
3094 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3095 [__NR_lchown]: Likewise.
3096 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3097 comment referencing __ASSUME_LCHOWN_SYSCALL.
3098 * sysdeps/unix/sysv/linux/i386/sigaction.c
3099 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3100 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3101 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3102 Remove conditional code.
3103 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3104 (__protocol_available): Remove #if 0 code.
3105 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3107 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3108 * sysdeps/unix/sysv/linux/kernel-features.h
3109 (__ASSUME_GETCWD_SYSCALL): Don't define.
3110 (__ASSUME_REALTIME_SIGNALS): Likewise.
3111 (__ASSUME_PREAD_SYSCALL): Likewise.
3112 (__ASSUME_PWRITE_SYSCALL): Likewise.
3113 (__ASSUME_POLL_SYSCALL): Likewise.
3114 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3115 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3117 (__ASSUME_SIOCGIFNAME): Don't define.
3118 (__ASSUME_MSG_NOSIGNAL): Likewise.
3119 (__ASSUME_SENDFILE): Define unconditionally.
3120 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3121 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3123 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3124 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3125 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3126 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3127 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3128 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3129 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3131 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3132 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3134 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3135 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3137 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3138 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3140 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3141 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3143 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3144 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3146 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3149 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3150 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3154 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3155 Remove conditional code.
3156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3157 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3158 Remove conditional code.
3159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3160 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3161 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3162 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3163 Remove conditional code.
3164 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3165 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3166 Remove conditional code.
3167 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3168 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3169 Remove conditional code.
3170 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3171 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3172 Remove conditional code.
3173 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3174 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3175 Remove conditional code.
3176 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3177 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3178 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3180 * sysdeps/unix/sysv/linux/sigaction.c
3181 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3182 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3183 * sysdeps/unix/sysv/linux/sigpending.c
3184 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3185 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3186 * sysdeps/unix/sysv/linux/sigprocmask.c
3187 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3188 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3189 * sysdeps/unix/sysv/linux/sigsuspend.c
3190 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3191 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3192 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3193 (__libc_missing_rt_sigs): Remove.
3194 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3195 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3196 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3197 Remove conditional code.
3198 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3199 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3201 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3202 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3203 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3204 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3206 2012-05-14 Andreas Jaeger <aj@suse.de>
3208 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3209 it's not used in glibc.
3210 (__coshm1): Likewise.
3211 (__acosh1p): Likewise.
3214 * manual/string.texi (Copying and Concatenation): Add missing
3215 variable in concat example.
3216 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3218 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3221 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3222 __builtin_clzl with __builtin_clzll.
3224 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3227 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3230 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3232 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3233 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3234 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3235 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3237 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3239 * NEWS: Update ia64 info.
3241 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3243 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3246 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3248 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3249 * sysdeps/unix/syscalls.list (dup3): Likewise.
3250 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3251 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3253 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3255 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3256 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3258 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3260 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3262 (TLS_IE): Use mov/add instead of movq/addq to load thread
3264 (TLS_GD_PREFIX): New.
3267 2012-05-11 David S. Miller <davem@davemloft.net>
3269 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3270 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3271 (_FPU_SETCW): Likewise.
3273 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3275 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3278 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3281 * iconvdata/gb18030.c: Update tables.
3282 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3283 characters specially.
3284 (BODY for TO_LOOP): Add encoding of missing ranges.
3286 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3289 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3290 * sysdeps/mach/hurd/dup3.c: Likewise.
3291 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3292 * sysdeps/powerpc/memmove.c:: Likewise.
3294 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3297 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3299 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3301 * elf/elf.h (R_X86_64_RELATIVE64): New.
3302 (R_X86_64_NUM): Updated.
3303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3304 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3305 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3306 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3307 tst-quad1pie tst-quad2pie
3308 (modules-names): Add tst-quadmod1 tst-quadmod2.
3309 ($(objpfx)tst-quad1): New dependency.
3310 ($(objpfx)tst-quad2): Likewise.
3311 ($(objpfx)tst-quad1pie): Likewise.
3312 ($(objpfx)tst-quad2pie): Likewise.
3313 * sysdeps/x86_64/tst-quad1.c: New file.
3314 * sysdeps/x86_64/tst-quad1pie.c: New file.
3315 * sysdeps/x86_64/tst-quad2.c: Likewise.
3316 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3317 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3318 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3319 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3320 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3322 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3324 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3325 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3326 * streams/stropts.h (t_scalar_t): Define type.
3328 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3329 (_PATH_PRESERVE): Set to "/var/lib".
3330 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3332 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3335 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3336 if __dir_mkfile succeeded.
3338 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3339 checking for _hurd_dtablesize. Unlock it right after having
3340 finished _hurd_dtable allocation.
3342 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3344 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3345 * sysdeps/mach/hurd/configure: Regenerated.
3346 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3347 special-casing to...
3348 * sysdeps/gnu/configure.in: ... this new file.
3349 * sysdeps/unix/sysv/linux/configure: Regenerated.
3350 * sysdeps/gnu/configure: New generated file.
3352 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3353 for Linux: use nsec instead of usec, as well as:
3354 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3355 members of type struct timespec.
3356 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3358 (struct stat64): Likewise.
3359 (_STATBUF_ST_NSEC): New macro.
3360 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3362 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3363 __strtoul_internal rather than strtoul.
3365 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3367 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3370 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3372 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3373 which preserves existing values.
3374 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3376 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3378 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3379 TIMEOUT values. Return EINVAL for NFDS values either negative or
3380 greater than FD_SETSIZE.
3382 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3384 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3385 allocated, call __vm_protect to finish enabling the existing space, and
3386 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3387 allocate the remainder.
3389 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3391 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3392 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3396 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3397 sysdeps/mach/hurd/readlink.c.
3399 * posix/tst-sysconf.c (posix_options): Only use
3400 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3401 _POSIX_SYNCHRONIZED_IO when they are defined
3402 * sysdeps/mach/hurd/bits/posix_opt.h:
3403 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3404 (_XOPEN_REALTIME): Undefine macro.
3405 (_XOPEN_REALTIME_THREADS): Undefine macro.
3406 (_XOPEN_SHM): Undefine macro.
3407 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3409 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3411 (_POSIX_ASYNC_IO): Undefine macro.
3412 (_POSIX_PRIORITIZED_IO): Undefine macro.
3413 (_POSIX_SPIN_LOCKS): Define macro to -1.
3415 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3416 SA_NODEFER, SA_RESETHAND.
3417 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3418 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3421 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3423 * elf/Makefile (pldd-modules): Define unconditionally.
3425 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3427 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3429 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3431 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3432 Return ENOENT when name is empty.
3433 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3435 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3437 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3439 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3441 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3443 Fix mlock in all cases except non-readable pages.
3444 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3445 instead of VM_PROT_ALL as parameter to __vm_wire function.
3447 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3448 (__mkdir): When path is `/', just fail with EEXIST.
3449 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3451 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3453 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3454 <sys/uio.h> (for writev).
3455 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3456 and <sys/param.h> (for MIN).
3458 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3460 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3461 REQUESTED_TIME. Properly set the remaining time and return EINTR
3464 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3466 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3467 Depend on against $(link-rpcuserlibs).
3469 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3471 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3472 (__libc_stack_end): Do not use attribute_relro.
3473 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3474 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3475 to libthread-provided value.
3476 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3479 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3482 * bits/libc-lock.h (__libc_once_get): New macro.
3483 * sysdeps/mach/bits/libc-lock.h: Likewise.
3484 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3485 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3486 instead of using implementation details.
3488 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3489 * libio/freopen.c: Likewise.
3490 * libio/freopen64.c: Likewise.
3491 * misc/syslog.c: Likewise.
3492 * nscd/connections.c: Likewise.
3493 * nscd/netgroupcache.c: Likewise.
3494 * sysdeps/posix/getcwd.c: Likewise.
3496 2012-05-10 Roland McGrath <roland@hack.frob.com>
3498 * math/w_ilogbf.c: Add #include <limits.h>.
3500 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3502 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
3503 path instead of returning without unlocking.
3505 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3506 immediate-write ioctls.
3507 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3509 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3511 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3512 __builtin_frame_address instead of making assumptions about the
3513 location of the return address relative to DATA. Force early load of
3515 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3516 __builtin_frame_address.
3519 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3520 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3521 implement dup3 and do some further code clean-ups.
3522 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3523 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3525 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3527 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3529 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3530 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3531 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3532 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3533 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3536 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3537 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3538 when handler == SIG_ERR, not when handler != SIG_ERR.
3540 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3542 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3543 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3546 accept4 for GNU Hurd.
3547 * include/sys/socket.h (__libc_accept4): New prototype.
3548 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3549 to implement __libc_accept4.
3550 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3552 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3554 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3555 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3556 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3559 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3561 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3563 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3565 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3566 assertion on O_CLOEXEC flag.
3567 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3568 * hurd/intern-fd.c: Likewise.
3569 * hurd/port2fd.c: Likewise.
3571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3574 * bits/in.h (IPV6_PKTINFO): Define new macro.
3575 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3577 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3582 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3583 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3584 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3585 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3586 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3587 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3588 * math/libm-test.inc (logb_test) : Additional logb tests.
3590 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3591 Andreas Jaeger <aj@suse.de>
3593 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3594 * configure: Regenerated.
3595 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3596 * config.make.in (link-obsolete-rpc): New substituted variable.
3597 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3598 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3599 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3600 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3601 so that libc.a contains the symbols.
3602 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3603 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3604 * sunrpc/auth_none.c: Likewise.
3605 * sunrpc/auth_unix.c: Likewise.
3606 * sunrpc/authdes_prot.c: Likewise.
3607 * sunrpc/authuxprot.c: Likewise.
3608 * sunrpc/clnt_gen.c: Likewise.
3609 * sunrpc/clnt_perr.c: Likewise.
3610 * sunrpc/clnt_raw.c: Likewise.
3611 * sunrpc/clnt_simp.c: Likewise.
3612 * sunrpc/clnt_tcp.c: Likewise.
3613 * sunrpc/clnt_udp.c: Likewise.
3614 * sunrpc/clnt_unix.c: Likewise.
3615 * sunrpc/des_crypt.c: Likewise.
3616 * sunrpc/des_soft.c: Likewise.
3617 * sunrpc/get_myaddr.c: Likewise.
3618 * sunrpc/key_call.c: Likewise.
3619 * sunrpc/key_prot.c: Likewise.
3620 * sunrpc/netname.c: Likewise.
3621 * sunrpc/pm_getmaps.c: Likewise.
3622 * sunrpc/pm_getport.c: Likewise.
3623 * sunrpc/pmap_clnt.c: Likewise.
3624 * sunrpc/pmap_prot.c: Likewise.
3625 * sunrpc/pmap_prot2.c: Likewise.
3626 * sunrpc/pmap_rmt.c: Likewise.
3627 * sunrpc/publickey.c: Likewise.
3628 * sunrpc/rpc_cmsg.c: Likewise.
3629 * sunrpc/rpc_common.c: Likewise.
3630 * sunrpc/rpc_dtable.c: Likewise.
3631 * sunrpc/rpc_prot.c: Likewise.
3632 * sunrpc/rpc_thread.c: Likewise.
3633 * sunrpc/rtime.c: Likewise.
3634 * sunrpc/svc.c: Likewise.
3635 * sunrpc/svc_auth.c: Likewise.
3636 * sunrpc/svc_raw.c: Likewise.
3637 * sunrpc/svc_run.c: Likewise.
3638 * sunrpc/svc_tcp.c: Likewise.
3639 * sunrpc/svc_udp.c: Likewise.
3640 * sunrpc/svc_unix.c: Likewise.
3641 * sunrpc/svcauth_des.c: Likewise.
3642 * sunrpc/xcrypt.c: Likewise.
3643 * sunrpc/xdr.c: Likewise.
3644 * sunrpc/xdr_array.c: Likewise.
3645 * sunrpc/xdr_float.c: Likewise.
3646 * sunrpc/xdr_intXX_t.c: Likewise.
3647 * sunrpc/xdr_mem.c: Likewise.
3648 * sunrpc/xdr_rec.c: Likewise.
3649 * sunrpc/xdr_ref.c: Likewise.
3650 * sunrpc/xdr_sizeof.c: Likewise.
3651 * sunrpc/xdr_stdio.c: Likewise.
3653 2012-05-10 Roland McGrath <roland@hack.frob.com>
3655 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3656 change. Update copyright years.
3658 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3660 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3662 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3663 Joseph Myers <joseph@codesourcery.com>
3664 Paul Pluzhnikov <ppluzhnikov@google.com>
3667 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3669 [cross-compiling] (extra-libs): Likewise.
3670 [cross-compiling] (extra-libs-others): Likewise.
3671 [cross-compiling] (librpcsvc-routines): Likewise.
3672 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3673 [cross-compiling] (omit-deps): Likewise.
3674 (sunrpc-CPPFLAGS): New variable.
3675 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3676 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3677 (cross-rpcgen-objs): New variable.
3678 (extra-objs): Append $(cross-rpcgen-objs).
3679 ($(cross-rpcgen-objs)): New rule.
3680 ($(objpfx)cross-rpcgen): Likewise.
3681 (rpcgen-cmd): Define to use $(built-program-file). Expand
3683 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3684 ($(objpfx)x%.stmp): Likewise.
3685 * sunrpc/proto.h [IS_IN_build] (_): Define.
3686 [IS_IN_build] (_libc_intl_domainname): Likewise.
3688 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3690 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3691 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3692 and R_X86_64_TPOFF64.
3694 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3696 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3697 sysdeps/unix/sysv/syscalls.list.
3700 * sysdeps/unix/sysv/syscalls.list: Remove file.
3702 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3705 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3706 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3707 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3708 (__LC_IDENTIFICATION): Make these macros useful in #if
3709 expressions, as required by C99.
3711 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3713 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3714 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3717 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3719 * stdlib/longlong.h: Updated from GCC.
3721 2012-05-09 Andreas Jaeger <aj@suse.de>
3723 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3724 default is first entry.
3725 (run_mode): Set type.
3726 (main): Remove informal message about syslog.
3727 (options): Fix typo.
3730 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3733 (llrintf): Likewise.
3737 (nearbyint): Likewise.
3738 (nearbyintf): Likewise.
3740 2012-05-09 Andreas Jaeger <aj@suse.de>
3741 Pedro Alves <palves@redhat.com>
3743 * nscd/nscd.c (run_mode): Use enum.
3744 (main): Cleanup coding style issue.
3746 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3747 Andreas Jaeger <aj@suse.de>
3749 * nscd/nscd.c (go_background): Replaced with...
3750 (run_mode): ... this.
3751 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3752 (options): Add -F --foreground.
3753 (main): Implement it.
3754 (parse_opt): Parse it.
3756 2012-05-09 Andreas Jaeger <aj@suse.de>
3759 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3760 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3761 -Wconversion warning.
3762 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3765 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3767 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3769 (LC_ALL): Use macro-int-constant.
3770 (LC_COLLATE): Likewise.
3771 (LC_CTYPE): Likewise.
3772 (LC_MESSAGES): Likewise.
3773 (LC_MONETARY): Likewise.
3774 (LC_NUMERIC): Likewise.
3775 (LC_TIME): Likewise.
3776 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3777 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3778 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3779 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3781 [C99-based standards] (float_t): Expect type.
3782 [C99-based standards] (double_t): Expect type.
3783 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3785 [C99-based standards] (HUGE_VALL): Likewise.
3786 [C99-based standards] (INFINITY): Likewise.
3787 [C99-based standards] (NAN): Likewise.
3788 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3789 [C99-based standards] (FP_NAN): Likewise.
3790 [C99-based standards] (FP_NORMAL): Likewise.
3791 [C99-based standards] (FP_SUBNORMAL): Likewise.
3792 [C99-based standards] (FP_ZERO): Likewise.
3793 [C99-based standards] (FP_FAST_FMA): Use
3794 optional-macro-int-constant. Specify type. Require == 1.
3795 [C99-based standards] (FP_FAST_FMAF): Likewise.
3796 [C99-based standards] (FP_FAST_FMAL): Likewise.
3797 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3798 [C99-based standards] (FP_ILOGBNAN): Likewise.
3799 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3801 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3802 [C99-based standards] (math_errhandling): Specify type.
3803 [ISO99 || ISO11] (signgam): Do not allow.
3804 [non-C99-based standards] (copysignf): Do not allow.
3805 [non-C99-based standards] (exp2f): Likewise.
3806 [non-C99-based standards] (log2f): Likewise.
3807 [non-C99-based standards] (modff): Allow.
3808 [non-C99-based standards] (erff): Do not allow.
3809 [non-C99-based standards] (erfcf): Likewise.
3810 [non-C99-based standards] (gammaf): Likewise.
3811 [non-C99-based standards] (hypotf): Likewise.
3812 [non-C99-based standards] (j0f): Likewise.
3813 [non-C99-based standards] (j1f): Likewise.
3814 [non-C99-based standards] (jnf): Likewise.
3815 [non-C99-based standards] (lgammaf): Likewise.
3816 [non-C99-based standards] (tgammaf): Likewise.
3817 [non-C99-based standards] (y0f): Likewise.
3818 [non-C99-based standards] (y1f): Likewise.
3819 [non-C99-based standards] (ynf): Likewise.
3820 [non-C99-based standards] (isnanf): Likewise.
3821 [non-C99-based standards] (acoshf): Likewise.
3822 [non-C99-based standards] (asinhf): Likewise.
3823 [non-C99-based standards] (atanhf): Likewise.
3824 [non-C99-based standards] (cbrtf): Likewise.
3825 [non-C99-based standards] (expm1f): Likewise.
3826 [non-C99-based standards] (ilogbf): Likewise.
3827 [non-C99-based standards] (log1pf): Likewise.
3828 [non-C99-based standards] (logbf): Likewise.
3829 [non-C99-based standards] (nextafterf): Likewise.
3830 [non-C99-based standards] (remainderf): Likewise.
3831 [non-C99-based standards] (rintf): Likewise.
3832 [non-C99-based standards] (scalbf): Likewise.
3833 [non-C99-based standards] (copysignl): Likewise.
3834 [non-C99-based standards] (exp2l): Likewise.
3835 [non-C99-based standards] (log2l): Likewise.
3836 [non-C99-based standards] (modfl): Allow.
3837 [non-C99-based standards] (erfl): Do not allow.
3838 [non-C99-based standards] (erfcl): Likewise.
3839 [non-C99-based standards] (gammal): Likewise.
3840 [non-C99-based standards] (hypotl): Likewise.
3841 [non-C99-based standards] (j0l): Likewise.
3842 [non-C99-based standards] (j1l): Likewise.
3843 [non-C99-based standards] (jnl): Likewise.
3844 [non-C99-based standards] (lgammal): Likewise.
3845 [non-C99-based standards] (tgammal): Likewise.
3846 [non-C99-based standards] (y0l): Likewise.
3847 [non-C99-based standards] (y1l): Likewise.
3848 [non-C99-based standards] (ynl): Likewise.
3849 [non-C99-based standards] (isnanl): Likewise.
3850 [non-C99-based standards] (acoshl): Likewise.
3851 [non-C99-based standards] (asinhl): Likewise.
3852 [non-C99-based standards] (atanhl): Likewise.
3853 [non-C99-based standards] (cbrtl): Likewise.
3854 [non-C99-based standards] (expm1l): Likewise.
3855 [non-C99-based standards] (ilogbl): Likewise.
3856 [non-C99-based standards] (log1pl): Likewise.
3857 [non-C99-based standards] (logbl): Likewise.
3858 [non-C99-based standards] (nextafterl): Likewise.
3859 [non-C99-based standards] (remainderl): Likewise.
3860 [non-C99-based standards] (rintl): Likewise.
3861 [non-C99-based standards] (scalbl): Likewise.
3862 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3863 [non-C99-based standards] (FP_*): Do not allow.
3864 [C99-based standards] (FP_*): Change to
3865 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3866 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3868 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3869 (SIG_ERR): Likewise.
3870 [X/Open-based standards] (SIG_HOLD): Likewise.
3871 (SIG_IGN): Likewise.
3872 (SIGABRT): Use macro-int-constant. Specify type. Require
3877 (SIGSEGV): Likewise.
3879 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3880 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3881 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3882 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3883 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3884 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3885 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3886 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3887 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3888 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3889 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3890 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3891 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3892 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3893 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3894 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3895 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3896 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3897 [X/Open-based standards] (SIGTRAP): Likewise.
3898 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3899 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3900 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3901 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3902 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3905 2012-05-08 Ian Wienand <ianw@vmware.com>
3908 * time/tzset.c (__tzset_parse_tz): Update default rules for
3909 daylight time changes in the Energy Policy Act of 2005.
3911 2012-05-09 Andreas Jaeger <aj@suse.de>
3914 * elf/ldconfig.c (parse_conf): Change string to make clear that
3915 ldconfig only issued a warning if ld.so.conf does not exist.
3917 2012-05-08 David S. Miller <davem@davemloft.net>
3919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3920 movxtod instead of popping the value on the stack.
3922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3924 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3926 * config.h.in: Add HAVE_ARM_PCS_VFP.
3928 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3931 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3932 checking but the checks are disabled for any reason.
3934 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3936 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3937 and ELF64_R_TYPE with ELFW(R_TYPE).
3939 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3941 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3944 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3945 (settimeofday): Likewise.
3947 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3949 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3950 a struct th_u2 inside the union, and move tu_block/tu_code into
3951 a new th_u3 union of tu_block/tu_code inside of that. Move
3952 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3953 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3954 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3955 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3956 (th_stuff): Change to th_u1.tu_stuff.
3958 (th_msg): Change to th_u1.th_u2.tu_data.
3960 2012-05-07 David S. Miller <davem@davemloft.net>
3962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3965 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3966 (SETUP_PIC_REG): Use it.
3967 (SETUP_PIC_REG_LEAF): Use it.
3969 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3973 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3975 (EXPL_FINITE): Likewise.
3977 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3978 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3980 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3982 (EXPL_FINITE): Likewise.
3984 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3985 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3987 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3988 test of -max_value argument for long double.
3989 * sysdeps/i386/fpu/libm-test-ulps: Update.
3990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3992 2012-05-06 David S. Miller <davem@davemloft.net>
3994 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3995 quad soft-float symbols whose references which are compiler
3997 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3999 2012-05-06 Joseph Myers <joseph@codesourcery.com>
4003 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4005 (EXPL_FINITE): Likewise.
4009 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4010 Adjust comments for base varying.
4011 (__expl_finite): Change alias to EXPL_FINITE.
4012 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4014 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4015 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4017 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4018 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4020 (EXPL_FINITE): Likewise.
4024 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4025 Adjust comments for base varying.
4026 (__expl_finite): Change alias to EXPL_FINITE.
4027 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4032 * math/libm-test.inc (check_float_internal): Correct ulp
4033 calculation for subnormal expected results.
4035 2012-05-06 Andreas Jaeger <aj@suse.de>
4037 * Makeconfig (+math-flags): New, set to -frounding-math.
4038 (+cflags): Add +math-flags so that all of glibc gets compiled with
4041 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4043 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4045 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4051 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4052 (__ieee754_expl): Allow for and saturate large arguments.
4053 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4054 (u_threshold): Likewise.
4055 (__exp): Call __ieee754_exp before checking for overflow and
4057 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4058 (u_threshold): Likewise.
4059 (__expf): Call __ieee754_expf before checking for overflow and
4061 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4062 (u_threshold): Likewise.
4063 (__expl): Call __ieee754_expl before checking for overflow and
4065 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4066 (__ieee754_expl): Allow for and saturate large arguments.
4067 * math/libm-test.inc (exp_test): Add another test. Do not allow
4068 missing overflow exception on overflow.
4069 (expm1_test): Do not allow missing overflow exception on overflow.
4071 * sysdeps/i386/fpu/e_expl.c: Move to ...
4072 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4073 rather than using inline asm.
4074 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4075 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4076 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4078 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4085 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4087 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4088 sysdeps/unix/common/syscalls.list.
4091 (ftruncate): Likewise.
4092 (getrusage): Likewise.
4093 (gettimeofday): Likewise.
4094 (setpgid): Likewise.
4095 (setregid): Likewise.
4096 (setreuid): Likewise.
4097 (sigaction): Likewise.
4098 (truncate): Likewise.
4099 (vhangup): Likewise.
4100 * sysdeps/unix/common/syscalls.list: Remove file.
4101 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4102 * sysdeps/unix/sysv/linux/Implies: Likewise.
4104 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4106 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4108 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4112 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4115 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4118 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4121 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4124 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4127 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4130 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4134 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4138 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4141 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4145 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4149 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4151 * sysdeps/unix/common/bits/dirent.h: Remove file.
4152 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4154 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4155 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4156 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4157 * sysdeps/unix/bsd/isatty.c: Likewise.
4158 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4159 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4160 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4162 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4165 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4166 long double comparison inaccuracies.
4167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4170 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4172 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4173 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4175 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4179 nonzero digits before rounding a hex value.
4180 * stdlib/tst-strtod.c (tests): Add another test.
4182 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4184 * sysdeps/s390/fpu/libm-test-ulps: Update.
4186 2012-05-03 Andreas Jaeger <aj@suse.de>
4188 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4189 does not get optimized out.
4190 (malloc_opt_barrier): New.
4192 2012-05-03 Andreas Jaeger <aj@suse.de>
4193 Roland McGrath <roland@hack.frob.com>
4195 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4196 intermediate file deletion.
4197 (generated): Add .symlist files.
4199 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4202 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4203 Redirect under this condition.
4204 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4205 [__USE_GNU] (__dprintf_chk): Not under this condition.
4206 [__USE_GNU] (__vdprintf_chk): Likewise.
4207 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4208 under this condition.
4209 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4210 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4211 [__USE_XOPEN2K8] (vdprintf): Likewise.
4212 [__USE_GNU] (__dprintf_chk): Not under this condition.
4213 [__USE_GNU] (__vdprintf_chk): Likewise.
4214 [__USE_GNU] (dprintf): Likewise.
4215 [__USE_GNU] (vdprintf): Likewise.
4217 2012-05-03 Roland McGrath <roland@hack.frob.com>
4219 * elf/Makefile (common-generated): Set this instead of generated for
4220 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4221 $(all-built-dso)-derived lists.
4223 2012-05-03 Andreas Jaeger <aj@suse.de>
4225 * sysdeps/i386/fpu/libm-test-ulps: Update.
4229 * scripts/gen-FAQ.pl: Likewise.
4230 * manual/install.texi (Installation): Point to online location of
4232 * Makefile (files-for-dist): Remove FAQ.
4235 2012-05-02 Allan McRae <allan@archlinux.org>
4237 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4238 (LDFLAGS-reldepmod5.so): Likewise.
4239 (LDFLAGS-reldep6mod1.so): Likewise.
4240 (LDFLAGS-reldep6mod4.so): Likewise.
4241 (LDFLAGS-reldep8mod3.so): Likewise.
4242 (LDFLAGS-unload4mod1.so): Likewise.
4243 (LDFLAGS-unload4mod2.so): Likewise.
4244 (LDFLAGS-tst-initorder): Likewise.
4245 (LDFLAGS-tst-initordera2.so): Likewise.
4246 (LDFLAGS-tst-initordera3.so): Likewise.
4247 (LDFLAGS-tst-initordera4.so): Likewise.
4248 (LDFLAGS-tst-initorderb2.so): Likewise.
4249 (LDFLAGS-noload): Likewise.
4250 (LDFLAGS-next): Likewise.
4251 (LDFLAGS-order2mod1.so): Likewise.
4252 (LDFLAGS-order2mod2.so): Likewise.
4253 (LDFLAGS-tst-initorder2): Likewise.
4254 (LDFLAGS-tst-initorder2a.so): Likewise.
4255 (LDFLAGS-tst-initorder2b.so): Likewise.
4256 (LDFLAGS-tst-initorder2c.so): Likewise.
4257 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4259 2012-05-02 David S. Miller <davem@davemloft.net>
4261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4263 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4266 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4268 2012-05-02 Andreas Jaeger <aj@suse.de>
4270 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4271 since we manipulate rounding mode.
4272 (CPPFLAGS-test-idouble.c): Likewise.
4273 (CPPFLAGS-test-ifloat.c): Likewise.
4274 (CFLAGS-test-ldouble.c): Likewise.
4275 (CFLAGS-test-double.c): Likewise.
4276 (CFLAGS-test-float.c): Likewise.
4277 (CFLAGS-test-misc.c): Likewise.
4278 (CFLAGS-test-test-fenv.c): Likewise.
4280 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4284 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4285 comparisons to determine direction to adjust input.
4287 2012-05-01 Roland McGrath <roland@hack.frob.com>
4289 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4290 output to the target.
4292 * scripts/localplt.awk: New file.
4293 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4294 (check-localplt-CFLAGS): Variable removed.
4295 ($(all-built-dso:=.jmprel)): New static pattern rule.
4296 (generated): Add those targets.
4297 (localplt-built-dso): New variable.
4298 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4300 * elf/check-localplt.c: File removed.
4302 * scripts/check-execstack.awk: New file.
4303 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4304 (check-execstack-CFLAGS): Variable removed.
4305 ($(objpfx)check-execstack.h): Target removed.
4306 ($(objpfx)execstack-default): New target.
4307 (generated): Add that instead of check-execstack.h.
4308 ($(all-built-dso:=.phdr)): New static pattern rule.
4309 (generated): Add those targets.
4310 * elf/check-execstack.c: File removed.
4312 * scripts/check-textrel.awk: New file.
4313 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4314 (check-textrel-CFLAGS): Variable removed.
4315 (all-built-dso): Use := to define.o
4316 ($(all-built-dso:=.dyn)): New static pattern rule.
4317 (generated): Add those targets.
4318 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4319 * config.make.in (READELF): New substituted variable.
4320 * elf/check-textrel.c: File removed.
4322 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4324 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4326 * conform/data/ctype.h-data [C99-based standards] (isblank):
4328 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4329 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4331 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4332 Specify type. Require positive value.
4335 [ISO || POSIX] (EILSEQ): Do not expect.
4336 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4337 Specify type. Require positive value.
4338 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4339 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4340 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4341 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4342 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4343 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4344 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4345 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4346 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4347 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4348 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4349 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4350 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4351 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4352 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4353 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4354 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4355 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4356 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4357 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4358 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4359 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4360 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4361 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4362 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4363 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4364 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4365 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4366 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4367 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4368 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4369 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4370 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4371 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4372 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4373 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4374 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4375 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4376 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4377 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4378 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4379 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4380 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4381 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4382 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4383 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4384 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4385 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4386 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4387 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4388 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4389 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4390 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4391 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4392 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4393 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4394 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4395 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4396 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4397 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4398 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4399 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4400 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4401 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4402 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4403 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4404 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4405 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4406 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4407 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4408 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4409 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4410 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4411 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4412 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4413 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4414 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4416 (FLT_ROUNDS): Expect as macro, not constant.
4417 (FLT_MANT_DIG): Use macro-int-constant.
4418 (DBL_MANT_DIG): Likewise.
4419 (LDBL_MANT_DIG): Likewise.
4420 (FLT_DIG): Likewise.
4421 (DBL_DIG): Likewise.
4422 (LDBL_DIG): Likewise.
4423 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4424 (DBL_MIN_EXP): Likewise.
4425 (LDBL_MIN_EXP): Likewise.
4426 (FLT_MAX_EXP): Use macro-int-constant.
4427 (DBL_MAX_EXP): Likewise.
4428 (LDBL_MAX_EXP): Likewise.
4429 (FLT_MAX_10_EXP): Likewise.
4430 (DBL_MAX_10_EXP): Likewise.
4431 (LDBL_MAX_10_EXP): Likewise.
4432 (FLT_MAX): Use macro-constant.
4433 (DBL_MAX): Likewise.
4434 (LDBL_MAX): Likewise.
4435 (FLT_EPSILON): Use macro-constant. Give upper bound.
4436 (DBL_EPSILON): Likewise.
4437 (LDBL_EPSILON): Likewise.
4438 (FLT_MIN): Likewise.
4439 (DBL_MIN): Likewise.
4440 (LDBL_MIN): Likewise.
4441 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4442 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4443 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4444 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4445 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4446 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4447 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4448 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4449 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4450 [ISO11] (FLT_TRUE_MIN): Likewise.
4451 [ISO11] (LDBL_TRUE_MIN): Likewise.
4452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4453 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4454 (SCHAR_MIN): Use macro-int-constant. Specify type.
4455 (SCHAR_MAX): Likewise.
4456 (UCHAR_MAX): Likewise.
4457 (CHAR_MIN): Likewise.
4458 (CHAR_MAX): Likewise.
4459 (MB_LEN_MAX): Use macro-int-constant.
4460 (SHRT_MIN): Use macro-int-constant. Specify type.
4461 (SHRT_MAX): Likewise.
4462 (USHRT_MAX): Likewise.
4463 (INT_MAX): Likewise.
4464 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4466 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4468 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4470 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4471 bound negative. Suffix upper bound with "L".
4472 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4474 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4476 [C99-based standards] (LLONG_MAX): Likewise.
4477 [C99-based standards] (ULLONG_MAX): Likewise.
4478 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4480 [ISO11] (max_align_t): Require type.
4481 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4483 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4484 from $CFLAGS, without defining away __attribute__ calls.
4485 (checknamespace): Use $CFLAGS_namespace.
4487 * conform/conformtest.pl (@keywords): Only include C99 keywords
4488 for standards based on C99 or C11.
4490 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4492 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4495 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4496 usability of symbols in #if.
4498 * conform/conformtest.pl: If macro or constant types start
4499 "promoted:", expect the symbol to be of the following type
4500 promoted by the integer promotions.
4502 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4503 in one place. Also handle "macro-constant".
4505 * conform/conformtest.pl: Only accept expected macro values with
4506 "==". Parse all "macro" lines in one place.
4507 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4509 * conform/conformtest.pl: Handle braced types on "constant" lines
4510 instead of handling "typed-constant".
4511 * conform/data/signal.h-data: Use "constant" instead of
4514 * conform/conformtest.pl: Handle "optional-" at start of lines in
4515 one place rather than duplicating several cases. Handle each
4516 format of "macro" line with initial "optional-".
4518 * conform/conformtest.pl: Only accept expected constant or
4519 optional-constant values with "==". Parse all "constant" lines in
4520 one place. Parse all "optional-constant" lines in one place.
4521 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4522 * conform/data/fmtmsg.h-data: Likewise.
4523 * conform/data/netinet/in.h-data: Likewise.
4524 * conform/data/tar.h-data: Likewise.
4525 * conform/data/limits.h-data: Use "==" form on "constant" and
4526 "optional-constant" lines.
4528 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4529 Use -std=c99 for XOPEN2K.
4530 (@knownproblems): Remove.
4531 (newtoken): Don't check %isknown.
4533 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4534 Do not expect macro.
4535 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4536 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4537 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4538 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4539 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4540 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4541 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4542 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4543 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4544 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4545 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4546 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4547 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4548 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4549 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4550 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4551 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4552 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4553 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4554 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4555 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4556 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4557 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4558 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4559 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4560 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4561 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4562 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4563 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4564 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4565 [XPG3] (acosh): Likewise.
4566 [XPG3] (asinh): Likewise.
4567 [XPG3] (atanh): Likewise.
4568 [XPG3] (cbrt): Likewise.
4569 [XPG3] (expm1): Likewise.
4570 [XPG3] (ilogb): Likewise.
4571 [XPG3] (log1p): Likewise.
4572 [XPG3] (logb): Likewise.
4573 [XPG3] (nextafter): Likewise.
4574 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4575 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4576 [XPG3] (remainder): Likewise.
4577 [XPG3] (rint): Likewise.
4578 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4579 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4580 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4581 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4582 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4583 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4584 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4585 [UNIX98 || XOPEN2K] (scalb): Expect.
4586 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4587 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4588 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4589 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4590 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4591 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4592 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4593 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4594 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4595 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4596 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4597 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4598 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4599 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4600 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4601 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4602 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4603 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4604 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4605 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4606 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4607 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4608 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4609 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4610 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4611 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4612 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4613 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4614 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4615 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4616 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4617 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4618 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4619 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4620 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4621 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4622 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4623 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4624 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4625 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4626 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4627 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4628 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4629 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4630 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4631 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4632 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4633 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4634 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4635 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4636 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4637 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4638 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4639 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4640 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4641 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4642 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4643 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4644 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4645 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4646 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4647 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4648 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4649 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4650 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4651 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4652 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4653 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4654 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4655 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4656 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4657 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4658 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4659 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4660 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4661 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4662 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4663 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4664 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4665 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4666 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4667 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4668 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4669 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4670 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4671 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4672 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4673 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4674 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4675 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4676 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4677 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4678 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4679 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4680 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4681 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4682 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4683 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4684 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4685 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4686 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4687 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4688 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4689 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4690 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4691 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4692 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4693 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4694 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4695 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4696 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4697 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4698 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4699 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4700 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4701 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4702 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4703 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4704 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4705 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4706 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4707 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4708 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4709 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4710 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4711 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4712 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4713 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4714 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4715 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4716 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4717 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4718 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4719 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4720 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4721 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4722 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4724 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4725 _XOPEN_SOURCE_EXTENDED for XPG4.
4727 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4729 * Makeconfig (localtime): Remove variable.
4730 (inst_localtime-file): Likewise.
4732 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4753 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4757 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4758 comparisons to determine direction to adjust input.
4759 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4760 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4761 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4763 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4767 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4768 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4770 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4772 * math/libm-test.inc (nexttoward_test): Add more tests.
4774 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4777 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4778 in version GLIBC_2.1, not GLIBC_2.0.
4779 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4782 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4785 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4787 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4788 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4789 * math/libm-test.inc (acos_test): Add more tests.
4790 (asin_test): Likewise.
4791 * sysdeps/i386/fpu/libm-test-ulps: Update.
4792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4795 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4797 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4798 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4799 * math/libm-test.inc (acos_test_tonearest): New function.
4800 (acos_test_towardzero): Likewise.
4801 (acos_test_downward): Likewise.
4802 (acos_test_upward): Likewise.
4803 (asin_test_tonearest): Likewise.
4804 (asin_test_towardzero): Likewise.
4805 (asin_test_downward): Likewise.
4806 (asin_test_upward): Likewise.
4807 (main): Call the new functions.
4808 * sysdeps/i386/fpu/libm-test-ulps: Update.
4809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4813 * math/e_exp10.c: Include <float.h>.
4814 (__ieee754_exp10): Handle underflow here rather than multiplying
4815 large negative argument by M_LN10.
4816 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4818 * math/e_exp10l.c: Include <float.h>.
4819 (__ieee754_exp10l): Handle underflow here rather than multiplying
4820 large negative argument by M_LN10l.
4821 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4822 spurious overflow exception on underflow.
4824 2012-04-29 Marek Polacek <polacek@redhat.com>
4826 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4827 (__fortify_function): New macro.
4828 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4829 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4830 __extern_always_inline.
4831 * libio/bits/stdio2.h: Likewise.
4832 * libio/bits/stdio.h: Likewise.
4833 * string/string.h: Likewise.
4834 * string/bits/string3.h: Likewise.
4835 * include/stdio.h: Likewise.
4836 * stdlib/bits/stdlib.h: Likewise.
4837 * stdlib/stdlib.h: Likewise.
4838 * rt/bits/mqueue2.h: Likewise.
4839 * rt/mqueue.h: Likewise.
4840 * posix/bits/unistd.h: Likewise.
4841 * posix/unistd.h: Likewise.
4842 * io/bits/poll2.h: Likewise.
4843 * io/bits/fcntl2.h: Likewise.
4844 * io/fcntl.h: Likewise.
4845 * io/sys/poll.h: Likewise.
4846 * misc/bits/syslog.h: Likewise.
4847 * misc/bits/syslog-ldbl.h: Likewise.
4848 * misc/sys/syslog.h: Likewise.
4849 * socket/bits/socket2.h: Likewise.
4850 * socket/sys/socket.h: Likewise.
4851 * debug/tst-chk1.c: Likewise.
4852 * wcsmbs/bits/wchar2.h: Likewise.
4853 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4854 * wcsmbs/wchar.h: Likewise.
4856 2012-04-29 Andreas Jaeger <aj@suse.de>
4858 * Makerules (tests): Remove enable-check-abi protection.
4859 (check-abi-warn): Remove.
4860 (check-abi-%): Remove check-abi-warn usage.
4862 * configure.in: Remove check-abi configure option.
4863 * configure: Regenerated.
4864 * config.make.in (enable-check-abi): Remove.
4866 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4869 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4870 double functions to double *_finite functions.
4873 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4874 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4876 * stdio-common/Makefile (tests): Add tst-sprintf3.
4877 * stdio-common/tst-sprintf3.c: New file.
4879 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4880 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4882 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4884 * conform/conformtest.pl: Remove duplicate typed-constant
4887 2012-04-28 David S. Miller <davem@davemloft.net>
4889 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4890 (check-abi-%): Remove AWK script prerequisite and explicit
4892 (check-abi): Rewrite to just diff the symlist with the abilist.
4893 (config-tls, config-abi-config): Delete, no longer used.
4894 (update-abi-%): Remove AWK script and explicit abilist directory.
4895 (update-abi): Rewrite to simply compare and conditionally copy the
4896 symlist and the sysdep abilist file. Remove update-abi-config
4898 * abilist/ld.abilist: Remove.
4899 * abilist/libBrokenLocale.abilist: Remove.
4900 * abilist/libanl.abilist: Remove.
4901 * abilist/libcrypt.abilist: Remove.
4902 * abilist/libdl.abilist: Remove.
4903 * abilist/librt.abilist: Remove.
4904 * abilist/libthread_db.abilist: Remove.
4905 * abilist/libutil.abilist: Remove.
4906 * scripts/extract-abilist.awk: Remove.
4907 * scripts/merge-abilist.awk: Remove.
4908 * sysdeps/generic/libcidn.abilist: New file.
4909 * sysdeps/generic/libnss_compat.abilist: New file.
4910 * sysdeps/generic/libnss_db.abilist: New file.
4911 * sysdeps/generic/libnss_dns.abilist: New file.
4912 * sysdeps/generic/libnss_files.abilist: New file.
4913 * sysdeps/generic/libnss_hesiod.abilist: New file.
4914 * sysdeps/generic/libnss_nis.abilist: New file.
4915 * sysdeps/generic/libnss_nisplus.abilist: New file.
4916 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4917 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4918 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4920 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4921 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4922 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4923 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4924 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4925 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4926 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4927 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4928 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4930 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4931 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4932 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4933 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4935 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4936 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4937 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4938 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4939 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4940 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4942 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4943 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4944 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4946 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5049 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5050 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5051 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5053 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5054 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5055 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5056 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5057 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5058 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5059 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5060 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5061 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5062 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5114 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5116 * conform/conformtest.pl: Fix typo in handling typed-constant from
5119 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5121 * README: Cut down references to pre-2.6 Linux kernels and
5122 Linuxthreads. Update lists of configurations in libc and ports
5123 and sort alphabetically. Say "or newer" with Linux kernel version
5126 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5128 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5131 * math/libm-test.inc (logb_test_downward): New test to expose
5132 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5135 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5138 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5140 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5141 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5143 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5145 * sysdeps/unix/i386/brk.S: Remove file.
5146 * sysdeps/unix/i386/dl-brk.S: Likewise.
5147 * sysdeps/unix/i386/pipe.S: Likewise.
5148 * sysdeps/unix/i386/sigreturn.S: Likewise.
5149 * sysdeps/unix/i386/syscall.S: Likewise.
5150 * sysdeps/unix/i386/vfork.S: Likewise.
5151 * sysdeps/unix/i386/wait.S: Likewise.
5153 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5154 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5156 * configure.in (arm*-none*): Do not allow without
5157 --enable-hacker-mode.
5158 (netbsd*): Remove case setting base_os.
5159 (386bsd*): Likewise.
5160 (freebsd*): Likewise.
5164 (ultrix*): Likewise.
5165 (newsos*): Likewise.
5175 (solaris[2-9]*): Likewise.
5177 * configure: Regenerated.
5179 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5182 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5183 overflow or cancellation in calculating denominator.
5184 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5185 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5186 down expression to avoid unexpected rounding in newer GCCs.
5187 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5189 2012-04-26 David S. Miller <davem@davemloft.net>
5191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5192 long-double compat symbols.
5193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5207 2012-04-25 David S. Miller <davem@davemloft.net>
5209 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5210 HWCAP_* values only after the memory barriers have been defined.
5211 (atomic_full_barrier): Define.
5212 (atomic_read_barrier): Define.
5213 (atomic_write_barrier): Define.
5215 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5217 * shlib-versions: Add libgcc_s version information.
5218 * sysdeps/generic/libgcc_s.h: Remove.
5219 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5221 * sysdeps/gnu/unwind-resume.c: Likewise.
5222 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5224 2012-04-25 David S. Miller <davem@davemloft.net>
5226 * sysdeps/unix/sparc/brk.S: Delete.
5227 * sysdeps/unix/sparc/dl-brk.S: Delete.
5228 * sysdeps/unix/sparc/pipe.S: Delete.
5229 * sysdeps/unix/sparc/sysdep.S: Delete.
5230 * sysdeps/unix/sparc/sysdep.h: Delete.
5231 * sysdeps/unix/sparc/vfork.S: Delete.
5232 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5233 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5234 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5235 ret_ERRVAL, r0, r1, MOVE): Define.
5236 (JUMPTARGET): Remove.
5237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5238 sysdeps/unix/sparc/sysdep.h
5239 (ENTRY, END): Remove.
5240 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5242 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5244 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5245 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5248 * timezone/README: Update upstream location and email address for
5250 * timezone/zdump.c: Update from tzcode 2012b.
5251 * timezone/zic.c: Likewise.
5253 * configure.in (libc_cv_as_needed): Remove test.
5254 * configure: Regenerated.
5255 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5256 conditional definition.
5257 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5258 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5259 * config.make.in (have-as-needed): Remove variable.
5261 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5262 Paul Pluzhnikov <ppluzhnikov@google.com>
5264 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5267 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5269 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5270 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5271 * sysdeps/sh/strlen.S: Likewise.
5273 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5275 * sysdeps/unix/fork.S: Remove file.
5276 * sysdeps/unix/i386/fork.S: Likewise.
5277 * sysdeps/unix/sparc/fork.S: Likewise.
5279 * sysdeps/unix/system.c: Remove file.
5280 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5282 * sysdeps/unix/getegid.S: Remove file.
5283 * sysdeps/unix/geteuid.S: Likewise.
5285 2012-04-24 Roland McGrath <roland@hack.frob.com>
5287 * scripts/check-localplt.awk: New file.
5288 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5290 * scripts/data/localplt-generic.data: Add a comment.
5292 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5293 NODE when __dir_mkfile failed.
5294 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5295 Reported by Ludovic Courtès <ludo@gnu.org>.
5297 2012-04-24 Andreas Jaeger <aj@suse.de>
5299 * Makerules (common-clean): Also remove gen-as-const-headers
5302 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5304 * Makerules (native-compile): Do not change working directory for
5305 build. Use $(OUTPUT_OPTION) in command.
5306 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5308 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5311 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5312 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5313 * math/libm-test.inc (floor_test): Add more tests.
5314 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5316 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5318 * sysdeps/unix/getdents.c: Remove file.
5319 * sysdeps/unix/sysv/getdents.c: Likewise.
5320 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5322 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5323 sysdeps/unix/mman/syscalls.list.
5325 (mprotect): Likewise.
5328 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5329 * sysdeps/unix/mman/syscalls.list: Remove.
5330 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5332 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5333 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5334 * configure: Regenerated.
5335 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5337 * config.make.in (libgcc_s_suffix): Remove variable.
5339 2012-04-23 Joseph Myers <joseph@codesourcery.com>
5341 * sysdeps/unix/sysv/gethostname.c: Move to ...
5342 * sysdeps/posix/gethostname.c: ... here.
5344 * sysdeps/unix/execve.S: Remove file.
5346 * sysdeps/unix/_exit.S: Remove file.
5348 2012-04-23 Andreas Jaeger <aj@suse.de>
5351 * manual/Makefile: Remove make dist support, there's no
5352 need for a stand-alone documentation tar ball.
5353 (TEXI2DVI): Define always, it's not in Makeconfig.
5357 (glibc-doc-$(edition).tar): Removed
5361 (ETAGS): Remove, it's in Makeconfig.
5362 (move-if-change): Remove, it's in Makeconfig.
5364 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5367 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5368 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5369 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5370 (strtod_l, strtof_l, strtold_l): Remove __wur.
5371 It is not necessarily an error to ignore strtol's return value.
5372 One can reliably look at the stored endptr to decide whether
5373 the number had valid syntax.
5375 2012-04-21 Andreas Jaeger <aj@suse.de>
5378 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5380 2012-04-21 Joseph Myers <joseph@codesourcery.com>
5382 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5383 * sysdeps/unix/sysv/Versions: Remove file.
5385 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5390 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
5393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5394 version from __vm86.
5396 2012-04-20 Joseph Myers <joseph@codesourcery.com>
5398 * sysdeps/unix/common/lxstat.c: Remove file.
5399 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5401 * sysdeps/unix/sysv/Makefile: Remove file.
5403 * sysdeps/unix/sysv/direct.h: Remove file.
5405 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5406 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5407 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5408 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5409 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5410 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5411 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5413 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5415 * sysdeps/unix/xmknod.c: Remove file.
5416 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5418 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5420 * sysdeps/unix/sysv/i386/time.S: Remove file.
5422 * sysdeps/unix/fxstat.c: Remove file.
5423 * sysdeps/unix/xstat.c: Likewise.
5424 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5426 * sysdeps/unix/sysv/sigaction.c: Remove file.
5428 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5429 (sysdep_headers): Remove variable.
5430 [termio.h not in sysdep_headers] (generated): Likewise.
5431 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5432 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5433 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5434 * sysdeps/unix/sysv/tcflow.c: Likewise.
5435 * sysdeps/unix/sysv/tcflush.c: Likewise.
5436 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5437 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5438 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5439 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5440 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5442 * sysdeps/unix/siglist.c: Remove file.
5444 * sysdeps/unix/getppid.S: Remove file.
5446 * sysdeps/unix/mkdir.c: Remove file.
5447 * sysdeps/unix/rmdir.c: Likewise.
5449 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5451 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5453 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5454 errlist-compat value.
5456 2012-04-18 David S. Miller <davem@davemloft.net>
5458 * sysdeps/generic/memcopy.h (reg_char): Delete.
5459 * debug/strcat_chk.c: Use char, not reg_char.
5460 * debug/strcpy_chk.c: Likewise.
5461 * debug/strncat_chk.c: Likewise.
5462 * debug/strncpy_chk.c: Likewise.
5463 * string/memchr.c: Likewise.
5464 * string/memrchr.c: Likewise.
5465 * string/rawmemchr.c: Likewise.
5466 * string/strcat.c: Likewise.
5467 * string/strchr.c: Likewise.
5468 * string/strchrnul.c: Likewise.
5469 * string/strcmp.c: Likewise.
5470 * string/strcpy.c: Likewise.
5471 * string/strncat.c: Likewise.
5472 * string/strncmp.c: Likewise.
5473 * string/strncpy.c: Likewise.
5475 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5477 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5478 __builtin_memcopy is called when src and dest ranges are known to not
5481 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5483 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5484 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5485 fwd_align_merge macro call.
5486 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5487 bwd_align_merge macro call.
5488 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5490 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5492 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5493 bwd_align_merge macros.
5494 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5495 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5496 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5498 2012-04-18 David S. Miller <davem@davemloft.net>
5500 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5502 2012-04-18 Andreas Jaeger <aj@suse.de>
5505 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5506 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5507 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5509 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5510 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5511 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5513 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5514 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5515 Adjust for changed ldbl-128 files.
5517 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5518 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5519 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5521 2012-04-17 David S. Miller <davem@davemloft.net>
5523 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5525 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5527 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5528 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5529 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5530 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5531 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5532 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5534 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5537 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5538 * math/libm-test.inc: Add ilogb errno and exception tests.
5539 * math/w_ilogb.c: New file: ilogb wrapper.
5540 * math/w_ilogbf.c: New file: ilogbf wrapper.
5541 * math/w_ilogbl.c: New file: ilogbl wrapper.
5542 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5543 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5544 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5545 exception being thrown with 0.0 as argument.
5546 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5547 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5548 exception being thrown with 0.0 as argument.
5549 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5550 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5551 exception being thrown with 0.0 as argument.
5552 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5553 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5554 exception being thrown with 0.0 as argument.
5555 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5556 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5557 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5558 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5559 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5560 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5561 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5562 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5563 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5565 2012-04-17 Petr Baudis <pasky@ucw.cz>
5567 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5570 2012-04-16 Marek Polacek <polacek@redhat.com>
5572 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5574 2012-04-16 Marek Polacek <polacek@redhat.com>
5576 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5577 operands of fdivp instruction.
5579 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5581 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5582 * elf/tst-auditmod3b.c: Likewise.
5583 * elf/tst-auditmod4b.c: Likewise.
5584 * elf/tst-auditmod5b.c: Likewise.
5585 * elf/tst-auditmod6b.c: Likewise.
5586 * elf/tst-auditmod6c.c: Likewise.
5587 * elf/tst-auditmod7b.c: Likewise.
5588 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5589 * sysdeps/x86_64/preconfigure.in: Likewise.
5590 * sysdeps/x86_64/preconfigure: Regenerated.
5592 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5594 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5597 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
5599 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5600 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5602 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5605 * locale/iso-639.def: Fix gl language name. Spotted by
5608 2012-04-12 Roland McGrath <roland@hack.frob.com>
5611 * libio/libio.h (__io_write_fn): Update comment.
5613 2012-04-12 Petr Baudis <pasky@ucw.cz>
5616 * stdio.texi (Hook Functions): The user provided writer function
5617 is not allowed to return -1.
5619 2012-04-11 David S. Miller <davem@davemloft.net>
5621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5623 2012-04-11 Mike Frysinger <vapier@gentoo.org>
5625 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5626 Add a leading slash to rtkaio.
5628 2012-04-11 Jim Meyering <meyering@redhat.com>
5631 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5632 It is not necessarily an error to ignore fwrite's return
5633 value. One can reliably use ferror to test for errors after
5636 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5638 * bits/types.h (__snseconds_t): New type.
5639 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5641 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5643 (__SNSECONDS_T_TYPE): Likewise.
5644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5645 (__SNSECONDS_T_TYPE): Likewise.
5646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5647 (__SNSECONDS_T_TYPE): Likewise.
5649 2012-04-10 Andreas Jaeger <aj@suse.de>
5652 * manual/time.texi (Processor Time): Return type of times is
5653 elapsed real time since an arbitrary point in the past.
5654 (CPU Time): Move CLK_TCK from here...
5655 (Processor Time): ...to here. Correct description.
5656 * manual/conf.texi (Constants for Sysconf): Correct description of
5659 2012-04-10 David S. Miller <davem@davemloft.net>
5662 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5663 where the is a gap between DT_REL(A) and DT_JMPREL.
5665 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5667 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5668 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5669 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5671 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5673 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5674 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5675 (dl_main): Handle --inhibit-cache.
5676 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5678 * elf/dl-load.c (_dl_map_object): Use it.
5679 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5681 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5684 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5685 (__ieee754_powl): Saturate large exponents rather than testing for
5686 overflow of y*log2(x).
5687 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5688 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5692 * math/s_ctan.c: Include <float.h>.
5693 (__ctan): Avoid internal overflow or cancellation in calculating
5695 * math/s_ctanf.c: Likewise.
5696 * math/s_ctanl.c: Likewise.
5697 * math/s_ctanh.c: Likewise.
5698 * math/s_ctanhf.c: Likewise.
5699 * math/s_ctanhl.c: Likewise.
5700 * math/libm-test.inc (ctan_test): Add more tests.
5701 (ctanh_test): Likewise.
5702 * sysdeps/i386/fpu/libm-test-ulps: Update.
5703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5705 2012-04-09 Andreas Jaeger <aj@suse.de>
5708 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5709 is an optional BSD extension.
5712 * manual/stdio.texi (Opening Streams): Document additional fopen
5715 2012-04-09 Roland McGrath <roland@hack.frob.com>
5717 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5718 %eax without telling the compiler.
5720 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5723 * manual/install.texi: Use sourceware.org.
5725 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5728 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5729 (__ieee754_pow): Generate overflow and underflow using huge*huge
5730 and tiny*tiny rather than just returning constant infinity or zero
5731 for large exponents.
5732 * math/libm-test.inc (pow_test): Require overflow exceptions for
5733 applicable cases of large exponents.
5736 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5737 (__ieee754_pow): Use iterative multiplication algorithm only for
5738 integer exponents with absolute value below 1024. Check for odd
5739 integer exponents when using algorithm for real exponents.
5740 * math/libm-test.inc (pow_test): Add more tests.
5741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5743 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5746 * math/libm-test.inc (exp_test): Do not allow overflow exception
5749 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5752 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5753 instead of __kernel_standard_f.
5755 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5757 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5758 * sysdeps/x86_64/memset_chk.S: Likewise.
5760 2012-04-08 Andreas Jaeger <aj@suse.de>
5763 * manual/startup.texi (Environment Access): Describe return value
5764 for putenv and setenv.
5767 * manual/filesys.texi (Directory Entries): Add description for
5771 * manual/filesys.texi (Directory Entries): Clarify that it's file
5772 system not operating system in the description of DT_UNKNOWN.
5775 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5777 2012-04-08 Stephen Compall <s11@member.fsf.org>
5780 * manual/llio.texi (Opening and Closing Files): Add cross
5781 reference to explain mode argument.
5783 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5785 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5786 * sysdeps/x86_64/memset_chk.S: Likewise.
5788 2012-04-07 David S. Miller <davem@davemloft.net>
5790 * elf/elf.h (R_SPARC_WDISP10): Define.
5791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5793 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5794 R_SPARC_SIZE64 and R_SPARC_H34.
5796 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5799 conditions and remove no longer applicable assertion.
5801 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5803 * bits/byteswap.h: Include <features.h>.
5804 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5805 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5807 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5809 * bits/byteswap.h (__bswap_16): Removed.
5810 Include <bits/byteswap-16.h> to get __bswap_16.
5811 * sysdeps/i386/bits/byteswap.h: Likewise.
5812 * sysdeps/s390/bits/byteswap.h: Likewise.
5813 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5814 * bits/byteswap-16.h: New file.
5815 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5816 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5817 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5818 * string/Makefile (headers): Add bits/byteswap-16.h.
5820 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5823 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5825 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5826 * nss/tst-nss-static.c: New.
5828 2012-04-06 Robert Millan <rmh@gnu.org>
5831 * manual/llio.texi (File Position Primitive): lseek
5832 refers to WHENCE when it really means OFFSET.
5834 2012-04-06 Andreas Jaeger <aj@suse.de>
5836 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5837 strncmp declarations.
5839 * abilist/libc.abilist: Add __poll and __ppoll.
5841 2012-04-05 David S. Miller <davem@davemloft.net>
5843 * scripts/check-local-headers.sh: Accept a host triplet in the
5844 path matched by the exclude regexp.
5846 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5848 * sysdeps/powerpc/powerpc32/dl-machine.h
5849 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5850 * sysdeps/s390/s390-32/dl-machine.h
5851 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5852 * sysdeps/sparc/sparc32/dl-machine.h
5853 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5854 * sysdeps/sparc/sparc64/dl-machine.h
5855 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5857 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5859 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5860 undefined symbol errors.
5862 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5865 2012-04-05 Michael Matz <matz@suse.de>
5868 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5870 2012-04-05 Andreas Jaeger <aj@suse.de>
5873 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5876 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5878 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5879 which ROUND is no valid rounding mode.
5881 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5883 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5885 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5887 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5889 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5890 an exception using FPU order intentionally.
5892 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5894 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5895 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5896 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5897 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5899 2012-04-05 Simon Josefsson <simon@josefsson.org>
5902 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5903 EINVAL when BUFLEN is too smal.
5905 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5908 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5909 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5911 2012-04-03 Andreas Jaeger <aj@suse.de>
5914 * manual/setjmp.texi (System V contexts): Fix sentence.
5917 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5918 New macro for this case.
5919 [!__GNUC__] (__bswap_64): New inline function for this case.
5920 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5921 * bits/byteswap.h: Likewise.
5922 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5923 ull, guard with __GLIBC_HAVE_LONG_LONG.
5925 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5926 __GLIBC_HAVE_LONG_LONG.
5928 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5929 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5931 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5934 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5935 inptr and inend, rather than using last_ch.
5937 2012-04-02 David S. Miller <davem@davemloft.net>
5939 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5940 * stdio-common/printf-parse.h (read_int): Change return type to
5941 'int', return -1 on INT_MAX overflow.
5942 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5943 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5944 overflows INT_MAX. Check for overflow of in-format-string precision
5945 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5946 SIZE_MAX not INT_MAX for integer overflow test.
5947 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5948 skip the construct in the format string but do not record anything.
5949 * stdio-common/bug22.c: Adjust to test both width/prevision
5950 INT_MAX overflow as well as total length INT_MAX overflow. Check
5951 explicitly for proper errno values.
5953 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5955 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5957 * string/test-strcmp.c [! WIDE]: Likewise.
5958 * time/tst-mktime2.c: Likewise for INT_MAX.
5959 * string/test-string.h: #include <sys/param.h> for MIN.
5961 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5962 * sysdeps/i386/init-first.c (init): Likewise.
5963 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5964 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5965 * sysdeps/sh/init-first.c (init): Likewise.
5967 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5969 * po/ru.po: Update from translation team.
5970 * po/vi.po: Likewise.
5972 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5974 * resolv/nss_dns/dns-host.c: Merge copyright years.
5976 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5978 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5979 Optimize memcpy with prefetch if
5980 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5981 src, dst pointers have unequal 16 byte alignments.
5983 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5986 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5987 from a CNAME entry and return the minimum ttl for the query.
5988 (gaih_getanswer_slice): Likewise.
5990 2012-03-30 Jeff Law <law@redhat.com>
5992 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5994 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5995 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5997 * resolv/nss_dns/dns-host.c: Update copyright year.
5999 2012-03-30 Ulrich Drepper <drepper@gmail.com>
6001 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6002 requests to save a system call. Fix check that all bytes are sent.
6004 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6005 comments for sendmmsg.
6007 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6010 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6011 with only 1 character between 0x0041 and 0x01b0.
6012 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6013 * wcsmbs/tst-mbsnrtowcs.c: New file.
6015 2012-03-29 David S. Miller <davem@davemloft.net>
6017 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6018 small copies by hand.
6020 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6023 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6024 _nss_compat_initgroups_dyn): Fall back to malloc/free
6025 for large group memberships.
6027 2012-03-28 David S. Miller <davem@davemloft.net>
6029 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6030 that branches into memcpy.
6031 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6033 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6034 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6037 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6039 * sysdeps/sparc/mempcpy.S: New file.
6041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6042 the IFUNC routine in the libc case.
6043 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6045 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6046 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6047 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6048 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6049 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6050 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6051 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6052 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6054 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6055 loop to 256 bytes instead of 64 bytes and fix test signedness.
6057 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6058 * sysdeps/sparc/sparc32/Makefile: rather than here...
6059 * sysdeps/sparc/sparc64/Makefile: and here.
6061 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6063 * malloc/mallocbug.c: Avoid warnings about unused variables.
6065 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6068 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6069 in the right place. Discard and retry query if response is
6070 larger than input buffer size.
6072 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6077 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6078 x for large integer exponent.
6079 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6080 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6081 sign of result as needed afterwards.
6082 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6083 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6084 result for underflowing pow the same as for overflow.
6085 (__kernel_standard_l): Handle powl overflow and underflow here
6086 rather than calling __kernel_standard.
6087 * math/libm-test.inc (pow_test): Add more tests.
6102 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6103 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6104 (__kernel_standard_l): New function.
6105 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6107 * math/w_acosl.c (__acosl): Likewise.
6108 * math/w_asinl.c (__asinl): Likewise.
6109 * math/w_atan2l.c (__atan2l): Likewise.
6110 * math/w_atanhl.c (__atanhl): Likewise.
6111 * math/w_coshl.c (__coshl): Likewise.
6112 * math/w_exp10l.c (__exp10l): Likewise.
6113 * math/w_exp2l.c (__exp2l): Likewise.
6114 * math/w_fmodl.c (__fmodl): Likewise.
6115 * math/w_hypotl.c (__hypotl): Likewise.
6116 * math/w_j0l.c (__j0l, __y0l): Likewise.
6117 * math/w_j1l.c (__j1l, __y1l): Likewise.
6118 * math/w_jnl.c (__jnl, __ynl): Likewise.
6119 * math/w_lgammal.c (__lgammal): Likewise.
6120 * math/w_log10l.c (__log10l): Likewise.
6121 * math/w_log2l.c (__log2l): Likewise.
6122 * math/w_logl.c (__logl): Likewise.
6123 * math/w_powl.c (__powl): Likewise.
6124 * math/w_remainderl.c (__remainderl): Likewise.
6125 * math/w_scalbl.c (sysv_scalbl): Likewise.
6126 * math/w_sinhl.c (__sinhl): Likewise.
6127 * math/w_sqrtl.c (__sqrtl): Likewise.
6128 * math/w_tgammal.c (__tgammal): Likewise.
6129 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6130 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6131 * math/libm-test.inc (acos_test): Add more tests.
6132 (acosh_test): Likewise.
6133 (asin_test): Likewise.
6134 (atanh_test): Likewise.
6135 (exp_test): Likewise.
6136 (exp10_test): Likewise.
6137 (exp2_test): Likewise.
6138 (expm1_test): Likewise.
6139 (lgamma_test): Likewise.
6140 (log_test): Likewise.
6141 (log10_test): Likewise.
6142 (log1p_test): Likewise.
6143 (log2_test): Likewise.
6144 (pow_test): Do not allow some spurious overflow exceptions.
6145 (sqrt_test): Add more tests.
6146 (tgamma_test): Likewise.
6147 (y0_test): Likewise.
6148 (y1_test): Likewise.
6149 (yn_test): Likewise.
6151 2012-03-27 Anton Blanchard <anton@samba.org>
6153 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6155 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6156 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6157 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6159 2012-03-27 David S. Miller <davem@davemloft.net>
6161 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6163 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6166 2012-03-27 Andreas Jaeger <aj@suse.de>
6168 * sysdeps/x86_64/elf/configure.in: Moved to ...
6169 * sysdeps/x86_64/configure.in: ... here.
6170 * sysdeps/x86_64/elf/start.S: Moved to ...
6171 * sysdeps/x86_64/start.S: ... here.
6172 * sysdeps/x86_64/elf/configure: Delete.
6174 * sysdeps/x86_64/configure.in: Merge contents from
6175 sysdeps/i386/configure.in (without i686 check).
6177 * sysdeps/i386/elf/Versions: Merge into ...
6178 * sysdeps/i386/Versions: ... this.
6179 * sysdeps/i386/elf/Versions: Delete file.
6180 * sysdeps/i386/elf/start.S: Moved to ...
6181 * sysdeps/i386/start.S: ...here.
6182 * sysdeps/i386/elf/configure.in: Merge into...
6183 * sysdeps/i386/configure.in: ...here.
6184 * sysdeps/i386/elf/configure.in: Delete file.
6185 * sysdeps/i386/elf/configure: Delete file.
6187 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6188 * debug/backtracesyms.c: ... here.
6189 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6190 * debug/backtracesymsfd.c: ... here.
6191 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6192 * sysdeps/generic/ifunc-sel.h: ... here.
6194 * sysdeps/unix/i386/start.c: Delete file.
6195 * sysdeps/unix/sparc/start.c: Delete file.
6196 * sysdeps/unix/start.c: Delete file.
6198 * sysdeps/sh/elf/configure.in: Moved to ...
6199 * sysdeps/sh/configure.in: ... here.
6200 * sysdeps/sh/elf/start.S: Moved to ...
6201 * sysdeps/sh/start.S: ... here.
6202 * sysdeps/sh/elf/configure: Delete file.
6204 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6205 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6206 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6207 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6208 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6209 * sysdeps/powerpc/powerpc64/start.S: here.
6210 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6211 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6212 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6213 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6214 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6216 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6217 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6218 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6219 * sysdeps/powerpc/powerpc32/start.S: ... here.
6220 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6221 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6222 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6224 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6225 * sysdeps/powerpc/ifunc-sel.h: ... here.
6226 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6227 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6229 * sysdeps/sparc/elf/configure.in: Moved to ...
6230 * sysdeps/sparc/configure.in: ... here.
6231 * sysdeps/sparc/elf/configure: Delete file.
6232 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6233 * sysdeps/sparc/sparc32/start.S: ... here.
6234 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6235 * sysdeps/sparc/sparc64/start.S: ... here.
6236 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6237 * sysdeps/sparc/sparc32/Makefile: ... this.
6238 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6239 * sysdeps/sparc/sparc64/Makefile: ... this.
6241 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6242 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6243 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6244 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6245 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6246 * sysdeps/s390/s390-32/setjmp.S: ... here.
6247 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6248 * sysdeps/s390/s390-32/configure.in: ... here.
6249 * sysdeps/s390/s390-32/elf/configure: Delete file.
6250 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6251 * sysdeps/s390/s390-32/start.S: ... here.
6253 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6254 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6255 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6256 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6257 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6258 * sysdeps/s390/s390-64/setjmp.S: ... here.
6259 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6260 * sysdeps/s390/s390-64/configure.in: ... here
6261 * sysdeps/s390/s390-64/elf/configure: Delete file.
6262 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6263 * sysdeps/s390/s390-64/start.S: ... here.
6264 * sysdeps/s390/s390-64/elf/configure: Delete.
6266 * configure.in: Remove support for elf directories in sysdeps.
6268 * configure: Regenerated.
6269 * sysdeps/i386/configure: Regenerated.
6270 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6271 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6272 * sysdeps/s390/s390-32/configure: Regenerated.
6273 * sysdeps/s390/s390-64/configure: Regenerated.
6274 * sysdeps/sh/configure: Regenerated.
6275 * sysdeps/sparc/configure: Regenerated.
6276 * sysdeps/x86_64/configure: Regenerated.
6278 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6282 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6283 denormal result into account.
6285 2012-03-25 Roland McGrath <roland@hack.frob.com>
6287 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6288 Reported by Allan McRae <allan@archlinux.org>.
6290 2012-03-23 Jeff Law <law@redhat.com>
6292 * nss/getnssent.c (__nss_getent): Fix typo.
6294 2012-03-23 David S. Miller <davem@davemloft.net>
6296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6298 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6300 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6301 to pad to uint64_t for each field.
6302 (dl_tls_index): Replace unsigned long with uint64_t.
6304 2012-03-23 Daniel Jacobowitz <dmj@google.com>
6305 Paul Pluzhnikov <ppluzhnikov@google.com>
6308 * grp/Makefile (otherlibs): Don't set it.
6309 * inet/Makefile (otherlibs): Likewise.
6310 * login/Makefile (otherlibs): Likewise.
6311 * nscd/Makefile (otherlibs): Likewise.
6312 * posix/Makefile (otherlibs): Likewise.
6313 * pwd/Makefile (otherlibs): Likewise.
6314 * rt/Makefile (otherlibs): Likewise.
6315 * sunrpc/Makefile (otherlibs): Likewise.
6316 * nss/Makefile (otherlibs): Likewise.
6317 Add libnss_files to routines and static-only-routines.
6318 ($(objpfx)getent): Remove rule.
6319 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6320 static-only-routines.
6322 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6325 * math/s_cexp.c: Include <float.h>.
6326 (__cexp): Handle exp result overflowing not necessarily
6327 overflowing both real and imaginary parts of result.
6328 * math/s_cexpf.c: Likewise.
6329 * math/s_cexpl.c: Likewise.
6330 * math/libm-test.inc (cexp_test): Add more tests.
6331 * sysdeps/i386/fpu/libm-test-ulps: Update.
6332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6334 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6336 * include/link.h (ELFW): New macro.
6337 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6338 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6340 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6342 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6345 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6347 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6349 (struct La_x32_retval): Likewise.
6351 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6353 * sysdeps/x86_64/preconfigure.in: New file.
6354 * sysdeps/x86_64/preconfigure: New generated file.
6356 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6359 * math/e_exp2l.c: Include <float.h>.
6360 (__ieee754_exp2l): Handle overflow and underflow cases
6361 separately. Only pass fractional part of argument to
6363 * math/libm-test.inc (exp2_test): Add more tests.
6365 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6366 negating x to take absolute value.
6367 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6369 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6370 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6372 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6373 computing low part if x was negated.
6374 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6376 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6378 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6380 (pltexit): Cast int_retval to ptrdiff_t.
6381 * elf/tst-auditmod3b.c: Likewise.
6382 * elf/tst-auditmod4b.c: Likewise.
6383 * elf/tst-auditmod5b.c: Likewise.
6384 * elf/tst-auditmod6b.c: Likewise.
6385 * elf/tst-auditmod6c.c: Likewise.
6386 * elf/tst-auditmod7b.c: Likewise.
6388 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6389 and x32_gnu_pltexit.
6391 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6393 (La_x32_regs): New macro.
6394 (La_x32_retval): Likewise.
6395 (la_x32_gnu_pltenter): New function prototype.
6396 (la_x32_gnu_pltexit): Likewise.
6398 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6400 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6405 * configure.in (libc_cv_cc_nofma): Check for option to disable
6406 generation of FMA instructions.
6407 * configure: Regenerate.
6408 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6409 * sysdeps/ieee754/dbl-64/Makefile: New file.
6410 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6411 Remove brandred-fma4.
6412 (CFLAGS-brandred-fma4.c): Remove.
6413 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6414 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6416 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6419 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6421 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6422 LLONG_MAX != LONG_MAX.
6423 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6424 (_fitoa_word): Likewise.
6425 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6426 LLONG_MAX != LONG_MAX.
6427 * stdio-common/_itowa.h: Include <_itoa.h>.
6428 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6429 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6430 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6431 only if not defined.
6432 (_ITOA_WORD_TYPE): Likewise.
6433 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6434 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6436 2012-03-21 David S. Miller <davem@davemloft.net>
6438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6440 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6442 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6443 of x86_64 when setting libc_cv_slibdir, libdir and
6445 * sysdeps/unix/sysv/linux/configure: Regenerated.
6447 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6449 * manual/lang.texi (Old Varargs): Remove section.
6450 (How Variadic): Update menu.
6451 (va_start): Do not mention varargs.h.
6453 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6454 Joseph Myers <joseph@codesourcery.com>
6456 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6458 * configure: Regenerated.
6460 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6462 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6463 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6466 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6469 * Makefile (files-for-dist): Remove NOTES.
6470 (NOTES): Remove rule.
6471 * README: Don't refer to NOTES.
6472 * manual/creature.texi: Don't include macros.texi.
6473 * manual/intro.texi (creature.texi): Remove comment referring to
6476 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6477 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6478 * configure: Regenerated.
6479 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6481 (libc_cv_as_i686): Likewise.
6482 (libc_cv_cc_avx): Likewise.
6483 (libc_cv_cc_sse2avx): Likewise.
6484 (libc_cv_cc_fma4): Likewise.
6485 (libc_cv_cc_novzeroupper): Likewise.
6486 * sysdeps/i386/configure: Regenerated.
6489 * sysdeps/i386/fpu/s_cexp.S: Remove.
6490 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6491 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6492 * math/libm-test.inc (cexp_test): Add more tests.
6493 * sysdeps/i386/fpu/libm-test-ulps: Update.
6494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6496 2012-03-21 Allan McRae <allan@archlinux.org>
6498 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6500 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6503 * math/w_exp2.c: Do not include <float.h>.
6504 (o_threshold, u_threshold): Remove.
6505 (__exp2): Calculate result before checking finiteness and calling
6507 * math/w_exp2f.c: Likewise.
6508 * math/w_exp2l.c: Likewise.
6509 * math/libm-test.inc (exp2_test): Require overflow exception for
6513 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6514 range of signed 64-bit integers before using fistpll. Remove
6515 checks for whether integers fit in mantissa bits.
6516 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6517 the range of signed 32-bit integers before using fistpl. Remove
6518 checks for whether integers fit in mantissa bits.
6519 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6520 (__ieee754_powl): Test for y outside the range of signed 64-bit
6521 integers before using fistpll. Reduce 64-bit values to 63-bit
6523 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6524 divide-by-zero is raised for zero to large negative powers.
6525 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6526 (__ieee754_powl): Test for y outside the range of signed 64-bit
6527 integers before using fistpll. Reduce 64-bit values to 63-bit
6529 * math/libm-test.inc (pow_test): Add more tests.
6531 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6533 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6534 <stdio-common/_itoa.h>.
6535 * debug/segfault.c: Likewise.
6536 * elf/dl-cache.c: Likewise.
6537 * elf/dl-minimal.c: Likewise.
6538 * elf/dl-misc.c: Likewise.
6539 * elf/dl-sysdep.c: Likewise.
6540 * elf/dl-version.c: Likewise.
6541 * elf/rtld.c: Likewise.
6542 * hurd/hurdsock.c: Likewise.
6543 * hurd/lookup-retry.c: Likewise.
6544 * malloc/malloc.c: Likewise.
6545 * malloc/mtrace.c: Likewise.
6546 * nscd/nscd_getgr_r.c: Likewise.
6547 * nscd/nscd_getpw_r.c: Likewise.
6548 * nscd/nscd_getserv_r.c: Likewise.
6549 * posix/getopt_init.c: Likewise.
6550 * posix/wordexp.c: Likewise.
6551 * stdio-common/_itoa.c: Likewise.
6552 * stdio-common/printf_fphex.c: Likewise.
6553 * stdio-common/vfprintf.c: Likewise.
6554 * string/_strerror.c: Likewise.
6555 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6556 * sysdeps/i386/i686/hp-timing.h: Likewise.
6557 * sysdeps/mach/_strerror.c: Likewise.
6558 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6559 * sysdeps/mach/hurd/sethostid.c: Likewise.
6560 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6561 * sysdeps/mach/xpg-strerror.c: Likewise.
6562 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6563 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6564 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6565 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6566 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6567 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6568 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6569 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6570 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6571 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6572 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6573 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6574 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6575 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6576 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6577 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6578 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6579 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6580 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6581 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6582 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6584 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6586 * stdio-common/_itoa.h: Moved to ...
6587 * sysdeps/generic/_itoa.h: Here.
6589 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6591 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6592 instead of "_itoa.h" and "_itowa.h".
6593 * stdio-common/vfprintf.: Likewise.
6595 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6597 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6599 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6600 (__signbit): Likwise.
6604 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6606 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6609 2012-03-20 Joseph Myers <joseph@codesourcery.com>
6611 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6612 OVERFLOW_EXCEPTION_OK.
6613 * math/libm-test.inc ("Philosophy"): Update comment about
6615 (OVERFLOW_EXCEPTION): Define.
6616 (OVERFLOW_EXCEPTION_OK): Likewise.
6617 (INVALID_EXCEPTION_OK): Renumber.
6618 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6619 (IGNORE_ZERO_INF_SIGN): Likewise.
6620 (test_exceptions): Handle FE_OVERFLOW.
6621 (exp10_test): Expect overflow exceptions.
6622 (exp2_test): Likewise.
6623 (expm1_test): Likewise.
6624 (nextafter_test): Likewise.
6625 (pow_test): Likewise.
6626 (scalbn_test): Likewise.
6627 (scalbln_test): Likewise.
6629 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6631 * sysdeps/x86_64/bits/atomic.h
6632 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6634 (atomic_exchange_acq): Likewise.
6635 (__arch_exchange_and_add_body): Likewise.
6636 (__arch_add_body): Likewise.
6637 (atomic_add_negative): Likewise.
6638 (atomic_add_zero): Likewise.
6640 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6642 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6643 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6645 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6647 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6648 Check __x86_64__ instead of __WORDSIZE.
6650 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6652 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6654 2012-03-19 David S. Miller <davem@davemloft.net>
6656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6658 * sysdeps/sparc/fpu/fenv_private.h: New file.
6659 * sysdeps/sparc/fpu/math_private.h: Use it.
6660 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6662 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6663 (libc_feholdexcept_setroundl): Remove.
6664 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6666 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6667 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6669 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6671 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6672 int64_t instead of long int.
6673 (INSERT_WORDS64): Likwise.
6675 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6677 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6678 _Unwind_GetCFA return to _Unwind_Ptr first.
6680 2012-03-19 Joseph Myers <joseph@codesourcery.com>
6683 * math/s_clog.c: Include <float.h>.
6684 (__clog): Scale large or subnormal inputs.
6685 * math/s_clogf.c: Likewise.
6686 * math/s_clogl.c: Likewise.
6687 * math/s_clog10.c: Include <float.h>.
6688 (M_LOG10_2): Define.
6689 (__clog10): Scale large or subnormal inputs.
6690 * math/s_clog10f.c: Likewise.
6691 * math/s_clog10l.c: Likewise.
6692 * math/libm-test.inc (clog_test): Add more tests.
6693 (clog10_test): Likewise.
6694 * sysdeps/i386/fpu/libm-test-ulps: Update.
6695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6698 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6700 * math/libm-test.inc (atan2_test): Add another test.
6702 * Makerules (common-objdir-compile): Remove.
6703 * sysdeps/unix/Makefile (config-generated): Do not add
6704 $(unix-generated) to variable.
6705 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6706 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6708 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6710 [generic bits/local_lim.h] (before-compile): Do not append to
6712 [generic bits/local_lim.h] (common-generated): Likewise.
6713 [generic sys/param.h] (before-compile): Do not append to variable.
6714 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6715 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6716 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6717 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6719 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6720 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6721 [generic sys/param.h] ($(addprefix
6722 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6723 [generic sys/param.h] (common-generated): Do not append to
6725 [generic sys/param.h] (sysdep_headers): Likewise.
6726 [generic bits/errno.h] (before-compile): Do not append to
6728 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6730 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6731 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6732 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6733 [generic bits/errno.h] (common-generated): Do not append to
6735 [generic bits/ioctls.h] (before-compile): Do not append to
6737 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6739 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6740 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6741 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6743 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6744 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6745 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6746 [generic bits/ioctls.h] (common-generated): Do not append to
6748 [generic sys/syscall.h] (syscall.h): Remove variable.
6749 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6751 [generic sys/syscall.h] (before-compile): Do not append to
6753 [generic sys/syscall.h] (common-generated): Likewise.
6754 * sysdeps/unix/errnos-tmpl.c: Remove file.
6755 * sysdeps/unix/errnos.awk: Likewise.
6756 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6757 * sysdeps/unix/ioctls.awk: Likewise.
6758 * sysdeps/unix/mk-local_lim.c: Likewise.
6759 * sysdeps/unix/snarf-ioctls: Likewise.
6761 2012-03-19 Richard Henderson <rth@twiddle.net>
6763 * sysdeps/i386/fpu/fenv_private.h: New file.
6764 * sysdeps/i386/fpu/math_private.h: Use it.
6765 (math_opt_barrier, math_force_eval): Remove.
6766 (libc_feholdexcept_setround_53bit): Remove.
6767 (libc_feupdateenv_53bit): Remove.
6768 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6769 (math_opt_barrier, math_force_eval): Remove.
6770 (libc_feholdexcept): Remove.
6771 (libc_feholdexcept_setround): Remove.
6772 (libc_fetestexcept, libc_fesetenv): Remove.
6773 (libc_feupdateenv_test): Remove.
6774 (libc_feupdateenv, libc_feholdsetround): Remove.
6775 (libc_feresetround): Remove.
6777 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6778 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6780 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6781 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6782 (libc_feupdateenv_testl): New.
6783 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6784 (libc_feupdateenv_testf): New.
6785 (libc_feupdateenv): Use libc_feupdateenv_test.
6786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6787 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6789 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6790 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6791 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6792 (libc_feresetround_noex): New.
6793 (libc_feresetround_noexf): New.
6794 (libc_feresetround_noexl): New.
6795 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6796 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6797 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6798 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6801 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6803 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6804 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6805 SET_RESTORE_ROUND_NOEX.
6806 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6807 SET_RESTORE_ROUND_NOEXF.
6808 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6809 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6810 (libc_feholdsetroundf): New.
6811 (libc_feresetround, libc_feresetroundf): New.
6813 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6814 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6815 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6817 * sysdeps/generic/math_private.h: Include <fenv.h>.
6818 (default_libc_feholdexcept): New.
6819 (default_libc_feholdexcept_setround): New.
6820 (default_libc_fesetenv, default_libc_feupdateenv): New.
6821 (libc_feholdexcept): Only define if undefined.
6822 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6823 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6824 (libc_feholdexcept_setroundl): Likewise.
6825 (libc_feholdexcept_setround_53bit): Likewise.
6826 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6827 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6828 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6829 (libc_feupdateenv_53bit): Likewise.
6830 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6831 (libc_feholdexcept): Convert from macro to inline function.
6832 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6833 (libc_fesetenv, libc_feupdateenv): Likewise.
6835 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6836 not previously defined.
6837 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6838 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6839 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6840 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6841 * sysdeps/ieee754/flt-32/math_private.h: New file.
6842 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6843 math_private.h below SET_FLOAT_WORD.
6844 (__isnan, __isinf_ns, __finite): Remove.
6845 (__isnanf, __isinf_nsf, __finitef): Remove.
6847 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6851 2012-03-17 David S. Miller <davem@davemloft.net>
6854 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6857 2012-03-16 David S. Miller <davem@davemloft.net>
6859 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6863 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6865 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6866 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6867 sysdep_routines when subdir is sysvipc.
6868 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6871 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6873 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6875 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6878 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6880 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6881 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6882 (__lround): Renamed to ...
6883 (__llround): This. Replace long int with long long int.
6884 Define lround functions as aliases of llround functions.
6885 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6887 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6889 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6890 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6891 adresses to uintptr_t. Replace "long int" and "unsigned long
6892 int" with "greg_t" on va_arg.
6894 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6896 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6897 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6899 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6900 Move e_machine check before EI_CLASS check. Handle x32
6901 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6902 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6903 SKIP_EM_IA_64 and include
6904 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6906 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6907 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6908 (add_system_dir): New macro.
6910 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6911 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6913 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6924 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6926 * math/w_j0f.c (j0f): Likewise.
6928 * math/w_j0l.c (__j0l): Likewise.
6930 * math/w_j1.c (j1): Likewise.
6932 * math/w_j1f.c (j1f): Likewise.
6934 * math/w_j1l.c (__j1l): Likewise.
6936 * math/w_jn.c (jn): Likewise.
6938 * math/w_jnf.c (jnf): Likewise.
6940 * math/w_jnl.c (__jnl): Likewise.
6942 * math/libm-test.inc (j0_test): Add more tests.
6943 (j1_test): Likewise.
6944 (jn_test): Likewise. Add trailing semicolon to existing test.
6945 (y0_test): Likewise.
6946 (y1_test): Likewise.
6947 * sysdeps/i386/fpu/libm-test-ulps: Update.
6948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6952 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6953 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6954 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6955 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6956 (__tanl): Set errno for infinite argument.
6957 * sysdeps/i386/fpu/mptan.c: Remove.
6958 * sysdeps/i386/fpu/s_tan.S: Likewise.
6959 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6960 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6961 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6962 * math/libm-test.inc (tan_test): Add more tests and enable more
6963 tests for double and long double.
6964 * sysdeps/i386/fpu/libm-test-ulps: Update.
6965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6967 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6969 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6970 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6972 2012-03-16 Roland McGrath <roland@hack.frob.com>
6974 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6975 * configure.in: Use it for both main tree and add-ons.
6976 * configure: Regenerated.
6978 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6980 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6982 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6984 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6988 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6989 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6990 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6991 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6992 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6994 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6995 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6997 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6998 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6999 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7000 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7001 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7002 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7003 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7004 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7005 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7006 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7007 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7008 * math/libm-test.inc (cos_test): Add more tests and enable more
7009 tests for long double.
7010 (sin_test): Likewise.
7011 (sincos_test): Likewise.
7012 * sysdeps/i386/fpu/libm-test-ulps: Update.
7013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7015 2012-03-16 David S. Miller <davem@davemloft.net>
7017 * sysdeps/sparc/fpu/math_private.h: New file.
7019 2012-03-15 David S. Miller <davem@davemloft.net>
7021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7031 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7035 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7036 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7038 * sysdeps/sparc/sparc-ifunc.h: New file.
7039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7082 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7084 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7086 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7090 2012-03-15 Andreas Jaeger <aj@suse.de>
7093 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7094 ieee754/flt-32 implementation for sin, cos and sincos.
7095 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7096 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7097 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7098 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7099 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7100 ieee754/flt-32 implementation for tan.
7102 * math/libm-test.inc (cos_test): Enable some large input tests for
7104 (sin_test): Likewise.
7105 (sincos_test): Likewise.
7106 (tan_test): Add tests for large input.
7108 * sysdeps/i386/fpu/libm-test-ulps: Update.
7110 2012-03-15 Andreas Jaeger <aj@suse.de>
7113 * math/libm-test.inc (cos_test): Add more test cases.
7114 (sin_test): Likewise.
7115 (sincos_test): Likewise.
7117 2012-03-15 Andreas Jaeger <aj@suse.de>
7120 * math/libm-test.inc (cos_test): Add a test case for large input
7122 (sin_test): Likewise.
7123 (sincos_test): Likewise.
7125 2012-03-15 Andreas Jaeger <aj@suse.de>,
7126 Joseph Myers <joseph@codesourcery.com>
7129 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7130 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7131 * sysdeps/i386/fpu/branred.c: Likewise.
7132 * sysdeps/i386/fpu/dosincos.c: Likewise.
7133 * sysdeps/i386/fpu/mpa.c: Likewise.
7134 * sysdeps/i386/fpu/s_cos.S: Likewise.
7135 * sysdeps/i386/fpu/s_sin.S: Likewise.
7136 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7137 * sysdeps/i386/fpu/sincos32.c: Likewise.
7139 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7141 (libc_feupdateenv_53bit): Define.
7142 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7144 (libc_feupdateenv_53bit): Define.
7146 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7147 53 bit (without extend i386 double precision).
7149 * math/libm-test.inc (sincos_test): Add tests for large input.
7153 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7155 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7159 2012-03-15 David S. Miller <davem@davemloft.net>
7161 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7162 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7163 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7164 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7188 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7189 fmin/fmax sysdep routines.
7190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7192 2012-03-14 David S. Miller <davem@davemloft.net>
7194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7198 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7218 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7221 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7222 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7266 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7271 * sysdeps/sparc/configure.in: New file.
7272 * sysdeps/sparc/configure: Generate.
7273 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7274 * configure: Regenerate.
7275 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7276 * config.make.in (have-as-vis3): New.
7277 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7278 available use -Av9d instead of -Av9a.
7279 * sysdeps/sparc/sparc64/Makefile: Likewise.
7280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7293 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7295 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7296 fzeros/fnegs to load 0x80000000 into a float register instead of
7298 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7300 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7304 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7305 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7306 ($(inst_includedir)/bits/syscall.h): Remove rule.
7307 ($(objpfx)bits/syscall.d): Include instead of
7308 $(objpfx)syscall-list.d.
7309 (generated): Change syscall-list.h and syscall-list.d to
7310 bits/syscall.h and bits/syscall.d.
7312 2012-03-14 Roland McGrath <roland@hack.frob.com>
7315 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7317 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7320 * math/s_csqrt.c: Include <float.h>.
7321 (__csqrt): Scale large or subnormal inputs.
7322 * math/s_csqrtf.c: Likewise.
7323 * math/s_csqrtl.c: Likewise.
7324 * math/libm-test.inc (csqrt_test): Add more tests.
7325 * sysdeps/i386/fpu/libm-test-ulps: Update.
7326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7329 * math/libm-test.inc (hypot_test): Add more tests.
7331 2012-03-13 David S. Miller <davem@davemloft.net>
7334 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7335 double-precision for the calculation instead of scaling.
7337 2012-03-13 Joseph Myers <joseph@codesourcery.com>
7339 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7340 manipulate bits before adding and subtracting TWO52[sx].
7341 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7342 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7344 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7346 2012-03-13 David S. Miller <davem@davemloft.net>
7348 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7349 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7351 rtld-global-offsets.h
7352 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7354 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7357 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7359 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7360 'err' in the ifdef scope in which it is actually used.
7362 * nss/nss_db/db-init.c: Include string.h
7364 2012-03-12 David S. Miller <davem@davemloft.net>
7366 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7367 masking out of the most significant byte of random value used.
7368 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7369 Fix coding style in previous change.
7371 * sysdeps/unix/sysv/linux/kernel-features.h
7372 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7373 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7375 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7378 2012-03-11 David S. Miller <davem@davemloft.net>
7380 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7381 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7382 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7383 for 'resultvar' otherwise things get truncated on 64-bit.
7385 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7386 Fix masking out of the most significant byte of random value used.
7388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7390 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7394 2012-03-09 David S. Miller <davem@davemloft.net>
7396 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7397 variables with appropriate CPP guards.
7398 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7399 frame pointer, not the stack pointer. Correct layout comments. Fix test
7400 on resulting framesize and the management of the outregs buffer for pltexit.
7401 Preserve floating point return values across _dl_call_pltexit call.
7402 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7403 framesize and the management of the outregs buffer for pltexit.
7404 Preserve floating point return values across _dl_call_pltexit
7406 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7407 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7408 (print_exit): Fix format string for return register value.
7410 2012-03-10 Joseph Myers <joseph@codesourcery.com>
7412 * sunrpc/Makefile (others): Add rpcgen.
7413 ($(objpfx)rpcgen): Remove special build rule and dependency on
7415 * sunrpc/rpcgen.c: New file.
7417 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7420 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7421 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7422 * sysdeps/i386/crti.S: Likewise.
7423 * sysdeps/i386/crtn.S: Likewise.
7424 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7425 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7426 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7427 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7428 * sysdeps/sh/crti.S: Likewise.
7429 * sysdeps/sh/crtn.S: Likewise.
7430 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7433 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7435 * locale/programs/locfile-kw.gperf: Likewise.
7436 * locale/programs/charmap-kw.h: Regenerated.
7437 * locale/programs/locfile-kw.h: Likewise.
7440 * intl/plural.y: Replace FSF snail mail address with URL.
7441 * intl/plural.c: Regenerated.
7443 2012-03-09 Richard Henderson <rth@twiddle.net>
7445 * include/math_private.h: Remove file.
7446 * math/math_private.h: Move file ...
7447 * sysdeps/generic/math_private.h: ... here.
7449 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7450 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7451 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7453 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7454 and <math_private.h>.
7455 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7456 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7457 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7458 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7459 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7460 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7461 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7462 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7463 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7464 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7465 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7466 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7467 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7468 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7469 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7470 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7471 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7472 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7473 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7474 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7476 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7477 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7479 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7480 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7481 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7482 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7484 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7485 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7490 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7491 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7493 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7494 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7495 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7496 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7497 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7498 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7499 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7500 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7501 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7502 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7504 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7505 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7506 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7507 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7508 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7509 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7510 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7511 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7512 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7513 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7514 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7515 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7516 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7517 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7518 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7519 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7520 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7521 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7522 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7523 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7524 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7525 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7526 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7527 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7528 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7529 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7532 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7533 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7534 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7535 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7543 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7544 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7545 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7546 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7547 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7548 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7549 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7550 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7551 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7552 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7553 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7554 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7555 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7556 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7557 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7558 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7559 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7560 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7561 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7562 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7563 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7564 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7565 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7566 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7567 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7568 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7569 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7570 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7571 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7572 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7573 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7574 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7575 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7576 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7577 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7578 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7579 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7580 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7581 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7582 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7583 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7584 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7585 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7586 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7587 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7588 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7589 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7590 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7591 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7592 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7593 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7594 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7595 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7596 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7597 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7598 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7599 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7600 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7601 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7602 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7603 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7604 * sysdeps/ieee754/k_standard.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7618 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7622 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7632 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7636 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7638 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7641 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7646 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7649 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7650 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7651 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7652 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7653 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7654 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7655 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7656 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7657 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7658 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7659 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7661 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7662 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7663 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7664 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7665 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7666 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7667 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7668 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7671 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7672 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7674 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7675 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7676 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7677 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7678 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7679 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7681 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7682 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7683 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7684 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7686 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7687 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7688 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7691 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7692 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7696 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7698 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7702 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7704 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7705 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7706 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7707 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7708 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7709 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7710 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7711 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7712 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7713 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7714 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7715 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7717 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7718 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7719 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7720 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7722 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7723 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7724 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7725 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7726 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7727 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7728 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7729 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7730 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7731 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7732 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7733 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7734 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7737 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7740 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7742 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7743 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7744 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7745 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7746 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7747 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7748 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7749 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7750 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7751 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7752 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7753 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7754 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7755 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7756 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7757 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7758 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7759 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7760 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7761 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7762 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7763 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7764 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7765 * sysdeps/ieee754/s_lib_version.c: Likewise.
7766 * sysdeps/ieee754/s_matherr.c: Likewise.
7767 * sysdeps/ieee754/s_signgam.c: Likewise.
7768 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7769 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7770 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7771 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7772 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7773 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7774 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7775 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7776 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7777 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7778 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7779 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7780 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7781 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7782 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7783 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7784 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7785 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7786 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7788 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7790 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7792 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7793 * sunrpc/rpc_main.c: Likewise.
7794 * sunrpc/rpc_svcout.c: Likewise.
7796 2012-03-09 David S. Miller <davem@davemloft.net>
7798 * include/math_private.h: New file.
7800 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7802 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7803 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7804 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7805 from <bits/socket_type.h>.
7806 (enum __socket_type): Don't define here.
7807 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7812 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7815 * Makerules ($(inst_includedir)/%.h): New rule.
7816 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7817 (install-others): Remove variable setting.
7818 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7820 2012-03-08 Richard Henderson <rth@twiddle.net>
7822 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7823 from macro to inline function; merge with the
7824 !__LIBC_INTERNAL_MATH_INLINES version.
7825 (__ieee754_sqrtf): Likewise.
7827 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7829 (__rintf, __floor, __floorf): Likewise.
7831 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7832 macro to inline function.
7833 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7835 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7836 not <math/math_private.h>.
7838 2012-03-08 David S. Miller <davem@davemloft.net>
7840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7842 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7844 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7846 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7848 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7849 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7851 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7853 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7854 be defined individually, they must be defined as a block. Define
7855 S for printing a string instead of hidint the different by using a
7856 macro for adding the 'l'.
7857 * stdio-common/tst-fphex-wide.c: Adjust.
7859 2012-03-07 Marek Polacek <polacek@redhat.com>
7861 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7863 2012-03-08 Marek Polacek <polacek@redhat.com>
7866 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7867 * stdio-common/tst-fphex.c: Define a few macros to make the
7868 test reusable. Use them.
7869 * stdio-common/tst-fphex-wide.c: New file.
7871 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7874 * manual/macros.texi (gnusystems): New macro.
7875 (nongnusystems): Likewise.
7876 (gnulinuxhurdsystems): Likewise.
7877 (gnuhurdsystems): Likewise..
7878 (gnulinuxsystems): Likewise.
7879 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7880 variants of the GNU system, not "GNU system".
7881 * manual/conf.texi: Likewise.
7882 * manual/errno.texi: Likewise. Update example of errno macro
7884 * manual/filesys.texi: Likewise.
7885 (getumask): Document as specific to GNU/Hurd.
7886 * manual/install.texi: Likewise. Reword some references to
7888 * manual/intro.texi: Likewise.
7889 * manual/io.texi: Likewise.
7890 (File Name Portability): Detail which constraints are inapplicable
7891 to all GNU systems and which are only inapplicable to GNU/Hurd.
7892 * manual/job.texi: Likewise.
7893 * manual/llio.texi: Likewise.
7894 (O_NOCTTY): Document as present on GNU/Linux.
7895 * manual/maint.texi: Likewise.
7896 * manual/memory.texi: Likewise.
7897 * manual/pattern.texi: Likewise.
7898 * manual/pipe.texi: Likewise.
7899 * manual/process.texi: Likewise.
7900 * manual/resource.texi: Likewise.
7901 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7903 * manual/setjmp.texi: Likewise.
7904 * manual/signal.texi: Likewise.
7905 * manual/startup.texi: Likewise.
7906 * manual/stdio.texi: Likewise.
7907 * manual/terminal.texi: Likewise.
7908 (ONLCR): Document as POSIX.
7909 (OXTABS): Document availability on GNU/Linux as XTABS.
7910 (ONOEOT): Document availability separately from other bits.
7911 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7912 * manual/time.texi: Likewise.
7913 * manual/users.texi: Likewise.
7914 * INSTALL: Regenerated.
7915 * sysdeps/gnu/errlist.c: Regenerated.
7917 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7918 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7919 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7921 * configure: Regenerated.
7923 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7925 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7926 default includes instead of AC_HEADER_CHECK.
7927 * sysdeps/i386/configure: Regenerated.
7930 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7931 * math/s_cacoshf.c (__cacoshf): Likewise.
7932 * math/s_cacoshl.c (__cacoshl): Likewise.
7933 * math/s_casinh.c (__casinh): Set signs of result from argument.
7934 * math/s_casinhf.c (__casinhf): Likewise.
7935 * math/s_casinhl.c (__casinhl): Likewise.
7936 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7937 (casinh_test): Add more tests.
7938 * sysdeps/i386/fpu/libm-test-ulps: Update.
7939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7941 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7943 * po/zh_TW.po: Update from translation team.
7945 * login/Makefile (distribute): Remove variable.
7946 * catgets/Makefile: Likewise.
7947 * mach/Makefile: Likewise.
7948 * malloc/Makefile: Likewise.
7949 * misc/Makefile: Likewise.
7950 * iconv/Makefile: Likewise.
7951 * nscd/Makefile: Likewise.
7952 * hurd/Makefile: Likewise.
7953 * manual/Makefile: Likewise.
7954 * locale/Makefile: Likewise.
7955 * intl/Makefile: Likewise.
7956 * conform/Makefile: Likewise.
7957 * nss/Makefile: Likewise.
7958 * time/Makefile: Likewise.
7959 * soft-fp/Makefile: Likewise.
7960 * dirent/Makefile: Likewise.
7961 * gmon/Makefile: Likewise.
7962 * po/Makefile: Likewise.
7963 * rt/Makefile: Likewise.
7964 * socket/Makefile: Likewise.
7965 * math/Makefile: Likewise.
7966 * signal/Makefile: Likewise.
7967 * debug/Makefile: Likewise.
7968 * elf/Makefile: Likewise.
7969 * timezone/Makefile: Likewise.
7970 * stdlib/Makefile: Likewise.
7971 * iconvdata/Makefile: Likewise.
7972 * sunrpc/Makefile: Likewise.
7973 * io/Makefile: Likewise.
7974 * argp/Makefile: Likewise.
7975 * inet/Makefile: Likewise.
7976 * hesiod/Makefile: Likewise.
7977 * grp/Makefile: Likewise.
7978 * csu/Makefile: Likewise.
7979 * wctype/Makefile: Likewise.
7980 * crypt/Makefile: Likewise.
7981 * libio/Makefile: Likewise.
7982 * string/Makefile: Likewise.
7983 * nis/Makefile: Likewise.
7984 * resolv/Makefile: Likewise.
7985 * stdio-common/Makefile: Likewise.
7986 * wcsmbs/Makefile: Likewise.
7987 * dlfcn/Makefile: Likewise.
7988 * posix/Makefile: Likewise.
7991 * timezone/Makefile: Don't install timezone files, just the programs
7994 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7996 * nss/databases.def: Add missing gshadow entry.
7998 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8000 2012-03-06 Marek Polacek <polacek@redhat.com>
8003 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8004 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8005 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8006 * stdio-common/tst-long-dbl-fphex.c: New file.
8008 2012-03-06 David S. Miller <davem@davemloft.net>
8010 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8011 (set_obp_int): New function.
8012 (get_obp_int): New function.
8013 (__get_clockfreq_via_dev_openprom): Likewise.
8014 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8015 Avoid unused variable warnings on 'val' and use builtin_expect.
8016 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8018 (INLINE_CLONE_SYSCALL): Likewise.
8020 2012-03-05 David S. Miller <davem@davemloft.net>
8022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8024 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8028 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8030 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8032 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8034 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8035 Replace gettimeofday with __vdso_gettimeofday.
8037 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8038 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8039 __vdso_clock_gettime and __vdso_getcpu.
8041 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8042 time with __vdso_time.
8044 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8046 * manual/lang.texi (size_t): Note types to which size_t may be
8047 equivalent with the GNU C Library, but do not describe when
8048 differences between them are significant.
8050 2012-03-05 Andreas Jaeger <aj@suse.de>
8052 * sysdeps/i386/fpu/libm-test-ulps: Update.
8054 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8057 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8058 (__ieee754_pow): Save and restore rounding mode and use
8059 round-to-nearest for main computations.
8060 * math/libm-test.inc (pow_test_tonearest): New function.
8061 (pow_test_towardzero): Likewise.
8062 (pow_test_downward): Likewise.
8063 (pow_test_upward): Likewise.
8064 (main): Call the new functions.
8065 * sysdeps/i386/fpu/libm-test-ulps: Update.
8066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8069 * math/libm-test.inc (cosh_test_tonearest): New function.
8070 (cosh_test_towardzero): Likewise.
8071 (cosh_test_downward): Likewise.
8072 (cosh_test_upward): Likewise.
8073 (sinh_test_tonearest): Likewise.
8074 (sinh_test_towardzero): Likewise.
8075 (sinh_test_downward): Likewise.
8076 (sinh_test_upward): Likewise.
8077 (main): Call the new functions.
8078 * sysdeps/i386/fpu/libm-test-ulps: Update.
8079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8081 2012-03-05 Tom de Vries <tom@codesourcery.com>
8083 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8084 default stack guard is set in last bytes.
8085 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8087 2012-03-05 Kees Cook <keescook@chromium.org>
8089 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8092 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8093 possibly allocate from heap instead of stack.
8094 * stdio-common/bug-vfprintf-nargs.c: New file.
8095 * stdio-common/Makefile (tests): Add nargs overflow test.
8097 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8101 2012-03-03 Marek Polacek <polacek@redhat.com>
8103 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8104 * math/math_private.h: Likewise.
8105 * stdlib/tst-strtod.c: Likewise.
8106 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8107 * sysdeps/x86_64/bits/atomic.h: Likewise.
8109 2012-03-02 David S. Miller <davem@davemloft.net>
8111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8115 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8116 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8117 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8118 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8120 2012-03-02 Roland McGrath <roland@hack.frob.com>
8123 * manual/examples/README: New file, says the example source files
8124 can be used under GPL>=2.
8125 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8126 line containing just "*/".
8127 * manual/examples/add.c: Add copyright header (GPL>=2).
8128 * manual/examples/argp-ex1.c: Likewise.
8129 * manual/examples/argp-ex2.c: Likewise.
8130 * manual/examples/argp-ex3.c: Likewise.
8131 * manual/examples/argp-ex4.c: Likewise.
8132 * manual/examples/atexit.c: Likewise.
8133 * manual/examples/db.c: Likewise.
8134 * manual/examples/dir.c: Likewise.
8135 * manual/examples/dir2.c: Likewise.
8136 * manual/examples/execinfo.c: Likewise.
8137 * manual/examples/filecli.c: Likewise.
8138 * manual/examples/filesrv.c: Likewise.
8139 * manual/examples/fmtmsgexpl.c: Likewise.
8140 * manual/examples/genpass.c: Likewise.
8141 * manual/examples/inetcli.c: Likewise.
8142 * manual/examples/inetsrv.c: Likewise.
8143 * manual/examples/isockad.c: Likewise.
8144 * manual/examples/longopt.c: Likewise.
8145 * manual/examples/memopen.c: Likewise.
8146 * manual/examples/memstrm.c: Likewise.
8147 * manual/examples/mkfsock.c: Likewise.
8148 * manual/examples/mkisock.c: Likewise.
8149 * manual/examples/mygetpass.c: Likewise.
8150 * manual/examples/pipe.c: Likewise.
8151 * manual/examples/popen.c: Likewise.
8152 * manual/examples/rprintf.c: Likewise.
8153 * manual/examples/search.c: Likewise.
8154 * manual/examples/select.c: Likewise.
8155 * manual/examples/setjmp.c: Likewise.
8156 * manual/examples/sigh1.c: Likewise.
8157 * manual/examples/sigusr.c: Likewise.
8158 * manual/examples/stpcpy.c: Likewise.
8159 * manual/examples/strdupa.c: Likewise.
8160 * manual/examples/strftim.c: Likewise.
8161 * manual/examples/strncat.c: Likewise.
8162 * manual/examples/subopt.c: Likewise.
8163 * manual/examples/swapcontext.c: Likewise.
8164 * manual/examples/termios.c: Likewise.
8165 * manual/examples/testopt.c: Likewise.
8166 * manual/examples/testpass.c: Likewise.
8167 * manual/examples/timeval_subtract.c: Likewise.
8170 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8172 * manual/timeval_subtract.c.texi: ... here, new file.
8174 2012-03-02 David S. Miller <davem@davemloft.net>
8176 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8178 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8181 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8182 (__sin): Save and restore rounding mode and use round-to-nearest
8183 for all computations.
8184 (__cos): Save and restore rounding mode and use round-to-nearest
8185 for all computations.
8186 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8188 (tan): Save and restore rounding mode and use round-to-nearest for
8190 * math/libm-test.inc (cos_test_tonearest): New function.
8191 (cos_test_towardzero): Likewise.
8192 (cos_test_downward): Likewise.
8193 (cos_test_upward): Likewise.
8194 (sin_test_tonearest): Likewise.
8195 (sin_test_towardzero): Likewise.
8196 (sin_test_downward): Likewise.
8197 (sin_test_upward): Likewise.
8198 (tan_test_tonearest): Likewise.
8199 (tan_test_towardzero): Likewise.
8200 (tan_test_downward): Likewise.
8201 (tan_test_upward): Likewise.
8202 (main): Call the new functions.
8203 * sysdeps/i386/fpu/libm-test-ulps: Update.
8204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8207 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8208 small n, then large n, before computing and testing k+n.
8209 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8212 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8214 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8215 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8216 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8217 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8218 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8219 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8220 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8221 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8222 * math/libm-test.inc (scalbn_test): Add more tests.
8223 (scalbln_test): Likewise.
8225 * manual/filesys.texi (mode_t): Describe constraints on size and
8226 signedness, not exact equivalence to a particular type.
8228 (ino64_t): Likewise.
8230 (nlink_t): Likewise.
8231 (blkcnt_t): Likewise.
8232 (blkcnt64_t): Likewise.
8233 * manual/llio.texi (off_t): Likewise.
8236 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8237 (__ieee754_exp): Save and restore rounding mode and use
8238 round-to-nearest for all computations.
8239 * math/libm-test.inc (exp_test_tonearest): New function.
8240 (exp_test_towardzero): Likewise.
8241 (exp_test_downward): Likewise.
8242 (exp_test_upward): Likewise.
8243 (main): Call the new functions.
8244 * sysdeps/i386/fpu/libm-test-ulps: Update.
8245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8247 2012-03-01 Chris Demetriou <cgd@google.com>
8249 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8250 have predictable order.
8252 2012-03-01 David S. Miller <davem@davemloft.net>
8254 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8256 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8257 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8258 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8259 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8261 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8262 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8263 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8265 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8266 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8267 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8268 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8269 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8273 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8274 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8275 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8277 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8278 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8279 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8280 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8281 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8282 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8283 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8284 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8285 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8286 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8287 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8288 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8290 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8291 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8292 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8293 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8294 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8295 * sysdeps/sparc/elf/configure: Regenerated.
8297 2012-03-01 Joseph Myers <joseph@codesourcery.com>
8299 * configure.in (AS, LD): Require binutils 2.20 or later.
8300 * configure: Regenerated.
8301 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8302 as required minimum version.
8303 * INSTALL: Regenerated.
8307 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8308 before squaring exponent.
8309 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8310 bottom long double and 27 bits of top long double before squaring
8312 * math/libm-test.inc (erfc_test): Add more tests.
8313 * sysdeps/i386/fpu/libm-test-ulps: Update.
8314 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8317 2012-03-01 Kai Tietz <ktietz@redhat.com>
8319 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8320 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8321 containing bit-fields.
8322 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8323 * soft-fp/single.h (_FP_UNION_S): Likewise.
8324 * soft-fp/double.h (_FP_UNION_D): Likewise.
8326 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8329 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8330 not include ../strcmp.S.
8331 [USE_AS_STRNCASECMP_L]: Likewise.
8332 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8333 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8334 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8335 (__strncasecmp_l_ia32): Define as alias to
8336 __strncasecmp_l_nonascii.
8339 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8340 * sysdeps/i386/fpu/libm-test-ulps: Update.
8341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8343 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8346 2012-02-29 Jeff Law <law@redhat.com>
8348 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8351 2012-02-29 Marek Polacek <polacek@redhat.com>
8354 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8355 * elf/Makefile: Add rules to run tst-unused-dep.out.
8357 2012-02-28 David S. Miller <davem@davemloft.net>
8359 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8360 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8361 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8362 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8363 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8364 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8366 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8368 * math/libm-test.inc (llround_test): Move one test from
8369 lround_test. Use TEST_f_L in moved test.
8370 (lround_test): Move misplaced test to llround_test. Add testcase
8373 2012-02-28 Ulrich Drepper <drepper@gmail.com>
8375 * sysdeps/x86_64/fpu/e_expf.S: New file.
8376 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8378 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8381 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8382 of remain_len that may cause incomplete multi-byte character and
8384 * posix/bug-regex33.c: New file.
8385 * posix/Makefile (tests): Add bug-regex33.
8387 2012-02-28 Joseph Myers <joseph@codesourcery.com>
8389 * manual/macros.texi: New file.
8390 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8391 * manual/libc.texinfo: Include macros.texi.
8392 * manual/creatute.texi: Likewise.
8393 * manual/install.texi: Likewise.
8394 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8395 @glibcadj{} in references to the GNU C Library.
8396 * manual/charset.texi: Likewise.
8397 * manual/conf.texi: Likewise.
8398 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8399 when not using those macros.
8400 * manual/creature.texi: Likewise.
8401 * manual/crypt.texi: Likewise.
8402 * manual/errno.texi: Likewise.
8403 * manual/filesys.texi: Likewise.
8404 * manual/header.texi: Likewise.
8405 * manual/install.texi: Likewise.
8406 * manual/intro.texi: Likewise.
8407 * manual/io.texi: Likewise.
8408 * manual/job.texi: Likewise.
8409 * manual/lang.texi: Likewise.
8410 * manual/libc.texiinfo: Likewise.
8411 * manual/llio.texi: Likewise.
8412 * manual/locale.texi: Likewise.
8413 * manual/maint.texi: Likewise.
8414 * manual/math.texi: Likewise.
8415 * manual/memory.texi: Likewise.
8416 * manual/message.texi: Likewise.
8417 * manual/nss.texi: Likewise.
8418 * manual/pattern.texi: Likewise.
8419 * manual/process.texi: Likewise.
8420 * manual/resource.texi: Likewise.
8421 * manual/search.texi: Likewise.
8422 * manual/setjmp.texi: Likewise.
8423 * manual/signal.texi: Likewise.
8424 * manual/socket.texi: Likewise.
8425 * manual/startup.texi: Likewise.
8426 * manual/stdio.texi: Likewise.
8427 * manual/string.texi: Likewise.
8428 * manual/sysinfo.texi: Likewise.
8429 * manual/syslog.texi: Likewise.
8430 * manual/terminal.texi: Likewise.
8431 * manual/time.texi: Likewise.
8432 * manual/users.texi: Likewise.
8433 * INSTALL: Regenerated.
8434 * NOTES: Regenerated.
8435 * sysdeps/gnu/errlist.c: Regenerated.
8437 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8439 * include/dirent.h: Include <dirstream.h> before
8442 2012-02-28 David S. Miller <davem@davemloft.net>
8444 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8445 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8446 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8447 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8449 2012-02-27 David S. Miller <davem@davemloft.net>
8451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8453 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8454 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8457 frame pointer instead of stack pointer relative arg slot.
8458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8459 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8460 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8462 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8465 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8467 2012-02-27 David S. Miller <davem@davemloft.net>
8469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8473 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8474 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8475 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8476 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8478 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8480 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8481 later. Allow versions 5-9.
8482 * configure: Regenerated.
8483 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8484 required minimum version and 4.6 as recommended version. Do not
8485 mention bugs in GCC 2.7 and 2.8.
8486 * INSTALL: Regenerated.
8488 2012-02-27 David S. Miller <davem@davemloft.net>
8490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8494 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8495 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8496 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8497 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8499 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8500 manipulate bits before adding and subtracting TWO112[sx].
8501 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8503 2012-02-27 Roland McGrath <roland@hack.frob.com>
8506 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8507 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8508 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8509 being in POSIX, because they are in 1003.1-2008.
8511 * rt/tst-aio.c: Include <fcntl.h>.
8512 * rt/tst-aio7.c: Likewise.
8513 * rt/tst-aio64.c: Likewise.
8515 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8517 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8519 * manual/install.texi (--with-headers): Describe headers as
8520 interface headers, not private headers.
8521 (Specific advice for GNU/Linux systems): Describe use of headers
8522 from "make headers_install", not private headers from older
8524 * INSTALL: Regenerated.
8525 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8527 * sysdeps/unix/sysv/linux/configure: Regenerated.
8529 * manual/llio.texi (fclean): Remove documentation.
8531 * manual/Makefile (libc-texi-generated): New variable. Include
8533 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8534 $(libc-texi-generated), not duplicated list of files.
8535 (version.texi, stamp-version): New rules.
8536 (realclean): Remove $(libc-texi-generated), not individual files
8537 from that list. Do not remove dir-add.texinfo.
8538 * manual/libc.texinfo: Comment out uses of edition numbers and
8539 references to printed manual. Remove last-updated dates.
8540 (EDITION): Comment out.
8542 (VERSION, UPDATED): Remove.
8543 (version.texi): Include.
8545 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8547 * sysdeps/posix/spawni.c: Include <signal.h>.
8548 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8549 * sysdeps/pthread/aio_fsync.c: Likewise.
8551 2012-02-26 Ulrich Drepper <drepper@gmail.com>
8553 * conform/Makefile (tests): Run only when not cross-compiling and
8554 when fast-check is not defined.
8556 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8557 * conform/data/limits.h-data: Fixes for POSIX2008.
8558 * conform/run-conformtest.sh: Run all tests.
8559 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8561 * include/bits/dlfcn.h: Likewise.
8562 * include/langinfo.h: Likewise.
8563 * include/monetary.h: Likewise.
8564 * include/sys/poll.h: Likewise.
8566 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8568 * posix/spawn.h: Define __need_sigset_t.
8569 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8570 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8571 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8572 to get sigevent_t only.
8573 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8575 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8576 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8577 process_vm_writev only for __USE_GNU.
8578 * termios/termios.h: Declare tcgetsid also for POSIX2008.
8580 * conform/Makefile: For now ignore errors from run-conformtest.
8581 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8582 POSIX to avoid namespace pollution. Don't prepend headers.
8583 * conform/data/aio.h-data: Fixes for POSIX testing.
8584 * conform/data/fcntl.h-data: Likewise.
8585 * conform/data/glob.h-data: Likewise.
8586 * conform/data/grp.h-data: Likewise.
8587 * conform/data/pthread.h-data: Likewise.
8588 * conform/data/pwd.h-data: Likewise.
8589 * conform/data/signal.h-data: Likewise.
8590 * conform/data/spawn.h-data: Likewise.
8591 * conform/data/stdio.h-data: Likewise.
8592 * conform/data/stdlib.h-data: Likewise.
8593 * conform/data/stropts.h-data: Likewise.
8594 * conform/data/sys/mman.h-data: Likewise.
8595 * conform/data/sys/stat.h-data: Likewise.
8596 * conform/data/sys/types.h-data: Likewise.
8597 * conform/data/sys/wait.h-data: Likewise.
8598 * conform/data/time.h-data: Likewise.
8599 * conform/data/unistd.h-data: Likewise.
8600 * conform/data/utime.h-data: Likewise.
8602 * io/sys/stat.h: fchmod was always in POSIX.
8603 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8604 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8605 * rt/aio.h: Define __need_timespec before including <time.h>.
8606 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8607 struct. Add forward declaration of pthread_attr_t and use it in
8609 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8610 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8611 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8612 always remove CLK_TCK definition.
8614 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8616 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8618 2012-02-25 Ulrich Drepper <drepper@gmail.com>
8620 * conform/run-conformtest.sh: New file.
8621 * conform/Makefile: Run run-conformtest for tests.
8622 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8625 * conform/data/uchar.h-data: New file.
8626 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8627 * conform/data/arpa/inet.h-data: Likewise.
8628 * conform/data/assert.h-data: Likewise.
8629 * conform/data/complex.h-data: Likewise.
8630 * conform/data/cpio.h-data: Likewise.
8631 * conform/data/ctype.h-data: Likewise.
8632 * conform/data/dirent.h-data: Likewise.
8633 * conform/data/dlfcn.h-data: Likewise.
8634 * conform/data/errno.h-data: Likewise.
8635 * conform/data/fcntl.h-data: Likewise.
8636 * conform/data/float.h-data: Likewise.
8637 * conform/data/fmtmsg.h-data: Likewise.
8638 * conform/data/fnmatch.h-data: Likewise.
8639 * conform/data/ftw.h-data: Likewise.
8640 * conform/data/glob.h-data: Likewise.
8641 * conform/data/grp.h-data: Likewise.
8642 * conform/data/iconv.h-data: Likewise.
8643 * conform/data/inttypes.h-data: Likewise.
8644 * conform/data/langinfo.h-data: Likewise.
8645 * conform/data/libgen.h-data: Likewise.
8646 * conform/data/limits.h-data: Likewise.
8647 * conform/data/locale.h-data: Likewise.
8648 * conform/data/math.h-data: Likewise.
8649 * conform/data/monetary.h-data: Likewise.
8650 * conform/data/mqueue.h-data: Likewise.
8651 * conform/data/ndbm.h-data: Likewise.
8652 * conform/data/net/if.h-data: Likewise.
8653 * conform/data/netdb.h-data: Likewise.
8654 * conform/data/netinet/in.h-data: Likewise.
8655 * conform/data/nl_types.h-data: Likewise.
8656 * conform/data/poll.h-data: Likewise.
8657 * conform/data/pthread.h-data: Likewise.
8658 * conform/data/pwd.h-data: Likewise.
8659 * conform/data/regex.h-data: Likewise.
8660 * conform/data/sched.h-data: Likewise.
8661 * conform/data/search.h-data: Likewise.
8662 * conform/data/semaphore.h-data: Likewise.
8663 * conform/data/setjmp.h-data: Likewise.
8664 * conform/data/signal.h-data: Likewise.
8665 * conform/data/spawn.h-data: Likewise.
8666 * conform/data/stdarg.h-data: Likewise.
8667 * conform/data/stdio.h-data: Likewise.
8668 * conform/data/stdlib.h-data: Likewise.
8669 * conform/data/string.h-data: Likewise.
8670 * conform/data/strings.h-data: Likewise.
8671 * conform/data/stropts.h-data: Likewise.
8672 * conform/data/sys/ipc.h-data: Likewise.
8673 * conform/data/sys/mman.h-data: Likewise.
8674 * conform/data/sys/msg.h-data: Likewise.
8675 * conform/data/sys/resource.h-data: Likewise.
8676 * conform/data/sys/select.h-data: Likewise.
8677 * conform/data/sys/sem.h-data: Likewise.
8678 * conform/data/sys/shm.h-data: Likewise.
8679 * conform/data/sys/socket.h-data: Likewise.
8680 * conform/data/sys/stat.h-data: Likewise.
8681 * conform/data/sys/statvfs.h-data: Likewise.
8682 * conform/data/sys/time.h-data: Likewise.
8683 * conform/data/sys/timeb.h-data: Likewise.
8684 * conform/data/sys/times.h-data: Likewise.
8685 * conform/data/sys/types.h-data: Likewise.
8686 * conform/data/sys/uio.h-data: Likewise.
8687 * conform/data/sys/un.h-data: Likewise.
8688 * conform/data/sys/utsname.h-data: Likewise.
8689 * conform/data/sys/wait.h-data: Likewise.
8690 * conform/data/syslog.h-data: Likewise.
8691 * conform/data/tar.h-data: Likewise.
8692 * conform/data/termios.h-data: Likewise.
8693 * conform/data/utime.h-data: Likewise.
8694 * conform/data/utmpx.h-data: Likewise.
8695 * conform/data/varargs.h-data: Likewise.
8696 * conform/data/wchar.h-data: Likewise.
8697 * conform/data/wctype.h-data: Likewise.
8698 * conform/data/wordexp.h-data: Likewise.
8700 * include/stropts.h: New file.
8701 * include/uchar.h: New file.
8702 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8703 * include/assert.h: Likewise.
8704 * include/ctype.h: Likewise.
8705 * include/dirent.h: Likewise.
8706 * include/dlfcn.h: Likewise.
8707 * include/fcntl.h: Likewise.
8708 * include/fnmatch.h: Likewise.
8709 * include/glob.h: Likewise.
8710 * include/grp.h: Likewise.
8711 * include/libio.h: Likewise.
8712 * include/locale.h: Likewise.
8713 * include/math.h: Likewise.
8714 * include/net/if.h: Likewise.
8715 * include/netdb.h: Likewise.
8716 * include/netinet/in.h: Likewise.
8717 * include/pthread.h: Likewise.
8718 * include/pwd.h: Likewise.
8719 * include/regex.h: Likewise.
8720 * include/sched.h: Likewise.
8721 * include/search.h: Likewise.
8722 * include/setjmp.h: Likewise.
8723 * include/signal.h: Likewise.
8724 * include/stdio.h: Likewise.
8725 * include/stdlib.h: Likewise.
8726 * include/string.h: Likewise.
8727 * include/sys/cdefs.h: Likewise.
8728 * include/sys/mman.h: Likewise.
8729 * include/sys/msg.h: Likewise.
8730 * include/sys/resource.h: Likewise.
8731 * include/sys/select.h: Likewise.
8732 * include/sys/socket.h: Likewise.
8733 * include/sys/stat.h: Likewise.
8734 * include/sys/statvfs.h: Likewise.
8735 * include/sys/time.h: Likewise.
8736 * include/sys/times.h: Likewise.
8737 * include/sys/uio.h: Likewise.
8738 * include/sys/utsname.h: Likewise.
8739 * include/sys/wait.h: Likewise.
8740 * include/termios.h: Likewise.
8741 * include/time.h: Likewise.
8742 * include/ulimit.h: Likewise.
8743 * include/unistd.h: Likewise.
8744 * include/utime.h: Likewise.
8745 * include/wchar.h: Likewise.
8746 * include/wctype.h: Likewise.
8747 * include/wordexp.h: Likewise.
8749 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8751 * time/time.h: TIME_UTC must be a macro.
8752 Make timespec_get available for ISO C11 only as well.
8754 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8756 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8757 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8759 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8761 * configure.in: Use -o not -a in test for unsupported multi-arch.
8763 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8765 * manual/texinfo.tex: Update to version 2012-01-19.16.
8767 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8769 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8771 2012-02-24 Roland McGrath <roland@hack.frob.com>
8774 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8775 * manual/fdl-1.3.texi: New file.
8776 * manual/fdl-1.1.texi: File removed.
8779 * manual/libc.texinfo (FDL_VERSION): New @set.
8780 Use it for mention of FDL in cover text.
8781 (Documentation License): Use it in @include file name.
8783 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8784 Roland McGrath <roland@hack.frob.com>
8787 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8788 not LONG_LONG_MAX and LONG_LONG_MIN.
8789 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8790 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8792 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8794 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8798 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8799 manipulate bits before adding and subtracting TWO23[sx].
8800 * math/libm-test.inc (nearbyint_test): Add more tests.
8802 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8805 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8806 bits before adding and subtracting TWO23[sx].
8807 * math/libm-test.inc (rint_test): Add more tests.
8808 (rint_test_tonearest): Likewise.
8809 (rint_test_towardzero): Likewise.
8810 (rint_test_downward): Likewise.
8811 (rint_test_upward: Likewise.
8813 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8816 * include/stdc-predef.h: New file. Extracted from features.h.
8817 * include/features.h: Include stdc-predef.h.
8818 * Makefile (headers): Add stdc-predef.h.
8819 * CONFORMANCE (Compiler limitations): Update.
8821 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8823 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8825 2012-02-21 David S. Miller <davem@davemloft.net>
8827 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8828 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8830 2012-02-20 David S. Miller <davem@davemloft.net>
8832 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8833 using a normal save/restore sequence, rather than allocating a
8834 dummy stack frame just to store a frame pointer and restore.
8835 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8837 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8839 * manual/install.texi: Fix stray word in line-wrapped comment.
8841 2012-02-20 David S. Miller <davem@davemloft.net>
8843 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8844 both binutils and gcc support GOTDATA.
8846 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8847 "rd %pc" in the PIC register setup sequences.
8849 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8850 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8851 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8852 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8853 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8854 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8855 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8856 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8857 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8858 (SYSCALL_ERROR_HANDLER): Likewise.
8859 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8860 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8861 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8862 (SYSCALL_ERROR_HANDLER): Likewise.
8864 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8865 (HAVE_GCC_GOTDATA): New.
8866 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8867 relocation support in both binutils and gcc.
8868 * sysdeps/sparc/elf/configure: Regenerate.
8870 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8871 * sysdeps/sparc/sparc32/elf/configure: Delete.
8872 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8873 * sysdeps/sparc/sparc64/elf/configure: Delete.
8874 * sysdeps/sparc/elf/configure.in: New file.
8875 * sysdeps/sparc/elf/configure: Generate.
8877 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8878 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8879 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8880 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8881 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8883 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8885 * manual/install.texi: Do not mention specific glibc version
8887 * manual/libc.texinfo (VERSION, UPDATED): Update.
8888 (@copying): Use @copyright{} and range of years.
8890 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8893 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8894 [crti.S not in sysdirs] (generated): Do not append.
8895 [crti.S not in sysdirs] (omit-deps): Likewise.
8896 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8897 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8898 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8899 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8900 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8902 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8903 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8904 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8905 * csu/defs.awk: Remove file.
8906 * sysdeps/generic/initfini.c: Likewise.
8907 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8909 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8912 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8914 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8915 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8916 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8917 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8918 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8919 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8921 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8922 (__EPOLL_PACKED): Define to empty if not defined by
8924 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8928 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8930 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8931 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8932 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8933 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8935 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8939 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8941 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8943 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8944 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8945 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8948 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8950 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8951 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8953 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8955 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8956 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8958 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8960 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8963 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8965 * math/w_acos.c: Use non-signaling floating-point comparisons.
8966 * math/w_acosf.c: Likewise.
8967 * math/w_acosh.c: Likewise.
8968 * math/w_acoshf.c: Likewise.
8969 * math/w_acoshl.c: Likewise.
8970 * math/w_acosl.c: Likewise.
8971 * math/w_asin.c: Likewise.
8972 * math/w_asinf.c: Likewise.
8973 * math/w_asinl.c: Likewise.
8974 * math/w_atanh.c: Likewise.
8975 * math/w_atanhf.c: Likewise.
8976 * math/w_atanhl.c: Likewise.
8977 * math/w_exp2.c: Likewise.
8978 * math/w_exp2f.c: Likewise.
8979 * math/w_exp2l.c: Likewise.
8980 * math/w_j0.c: Likewise.
8981 * math/w_j0f.c: Likewise.
8982 * math/w_j0l.c: Likewise.
8983 * math/w_j1.c: Likewise.
8984 * math/w_j1f.c: Likewise.
8985 * math/w_j1l.c: Likewise.
8986 * math/w_jn.c: Likewise.
8987 * math/w_jnf.c: Likewise.
8988 * math/w_log.c: Likewise.
8989 * math/w_log10.c: Likewise.
8990 * math/w_log10f.c: Likewise.
8991 * math/w_log10l.c: Likewise.
8992 * math/w_log2.c: Likewise.
8993 * math/w_log2f.c: Likewise.
8994 * math/w_log2l.c: Likewise.
8995 * math/w_logf.c: Likewise.
8996 * math/w_logl.c: Likewise.
8997 * math/w_sqrt.c: Likewise.
8998 * math/w_sqrtf.c: Likewise.
8999 * math/w_sqrtl.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9002 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9003 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9004 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9006 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9009 * manual/string.texi (strnlen): Use correct parameter name in
9010 equivalent expression.
9012 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9015 * manual/users.texi (seteuid): Consistently use neweuid for
9018 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9021 * manual/nss.texi (Services in the NSS configuration): Correct
9022 list of services in example configuration file.
9024 2012-02-19 Nick Bowler <nbowler@draconx.ca>
9027 * manual/arith.texi: Remove statements about negative zero
9028 behaving identically to zero.
9030 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9033 * manual/install.texi: Do not document upgrading from libc5.
9035 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9038 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9040 2012-02-18 David S. Miller <davem@davemloft.net>
9042 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9043 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9044 %o7 across the call.
9045 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9049 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9050 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9051 * sysdeps/sparc/crtn.S: Likewise.
9053 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9055 * aout/Makefile: Remove.
9057 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9060 * manual/examples/argp-ex1.c (main): Format definition in GNU
9062 * manual/examples/argp-ex2.c (main): Likewise.
9063 * manual/examples/argp-ex3.c (main): Likewise.
9064 * manual/examples/argp-ex4.c (main): Likewise.
9065 * manual/examples/longopt.c (main): Use new-style prototype
9067 * manual/examples/strncat.c (main): Specify return type and use
9068 (void) for arguments.
9069 * manual/examples/subopt.c (main): Use char **argv argument.
9071 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9074 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9077 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9080 * manual/string.texi (strchr): Change when strchrnul is
9083 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9086 * manual/locale.texi (setlocale): Document LOCPATH.
9088 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9091 * manual/process.texi (execle): Move @dots{} before last argument.
9093 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9096 * manual/charset.texi (Generic Charset Conversion): Fix typo
9097 (LC_TYPE -> LC_CTYPE).
9099 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9102 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9103 (scalbnf): Likewise.
9104 (scalbnl): Likewise.
9105 (scalbln): Likewise.
9106 (scalblnf): Likewise.
9107 (scalblnl): Likewise.
9108 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9112 * manual/filesys.texi (telldir): Use braces around return type.
9113 * manual/llio.texi (mmap): Add space after comma.
9115 * manual/math.texi (jn): Use @var{} on parameter names.
9121 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9123 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9125 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9126 (sched_get_priority_max): Likewise.
9127 * manual/signal.texi (sigvec): Add space after comma.
9128 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9130 (if_indextoname): Likewise.
9131 (if_freenameindex): Likewise.
9132 (sendto): Use ',' instead of '.' in prototype.
9133 * manual/startup.texi (syscall): Use @dots{} instead of literal
9135 * manual/stdio.texi (__fpending): Separate initial words of
9136 paragraph from @deftypefun line.
9137 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9139 (vsyslog): Use @var{} on parameter names.
9140 * manual/terminal.texi (stty): Use @var{} on parameter names.
9141 * manual/users.texi (getutmp): Use @var{} on parameter names.
9142 (getutmpx): Likewise.
9144 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9147 * manual/stdio.texi (fopen): Fix typos in description of
9150 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9153 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9154 get clock_id definition.
9156 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9159 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9160 (madvise): Cast every argument to void on its own.
9162 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9165 * manual/startup.texi (Exit Status): Fix typo.
9167 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9170 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9171 * manual/examples/argp-ex2.c: Likewise.
9172 * manual/examples/argp-ex3.c: Likewise.
9174 2012-02-16 Richard Henderson <rth@redhat.com>
9176 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9177 * sysdeps/s390/s390-32/initfini.c: Remove.
9178 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9179 * sysdeps/s390/s390-64/initfini.c: Remove.
9181 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9183 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9184 compiler output for sysdeps/generic/initfini.c.
9185 * sysdeps/sh/elf/initfini.c: Remove file.
9187 2012-02-16 David S. Miller <davem@davemloft.net>
9190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9192 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9193 * sysdeps/sparc/crti.S: New file.
9194 * sysdeps/sparc/crtn.S: New file.
9195 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9196 * sysdeps/sparc/sparc64/Makefile: Likewise.
9198 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9201 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9203 2012-02-15 Roland McGrath <roland@hack.frob.com>
9206 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9208 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9209 (write, read, close): Likewise.
9210 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9212 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9214 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9215 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9216 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9217 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9219 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9223 2012-02-14 Marek Polacek <polacek@redhat.com>
9225 * sysdeps/x86_64/crti.S: New file.
9226 * sysdeps/x86_64/crtn.S: New file.
9227 * sysdeps/x86_64/elf/initfini.c: Remove file.
9229 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9231 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9232 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9233 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9234 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9236 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9240 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9242 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9243 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9244 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9245 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9247 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9251 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9253 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9254 __feraiseexcept instead of feraiseexcept.
9256 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9257 nanosleep invocations.
9258 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9259 strings, and add error checking for a nanosleep invocations.
9261 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9263 Replace FSF snail mail address with URLs, as per GNU coding standards.
9264 Most of the snail mail addresses were wrong anyway, and omitting
9265 them makes the source code easier to maintain. Almost all of the
9266 changes are to license notices and to locale LC_IDENTIFICATION
9267 addresses, except for this one:
9268 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9269 not its snail mail address.
9271 2012-02-09 Richard Henderson <rth@twiddle.net>
9273 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9274 of kernel-features.h.
9276 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9278 2012-02-08 Marek Polacek <polacek@redhat.com>
9280 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9281 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9282 * sysdeps/gnu/_G_config.h: Likewise.
9283 * sysdeps/generic/_G_config.h: Likewise.
9285 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9287 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9291 * sysdeps/powerpc/powerpc32/crti.S: New file.
9292 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9293 * sysdeps/powerpc/powerpc64/crti.S: New file.
9294 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9296 * Makeconfig (have-initfini): Don't set.
9297 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9298 * configure.in (nopic_initfini): Don't substitute.
9299 * config.h.in (HAVE_INITFINI): Don't #undef.
9300 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9301 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9303 2012-02-08 Joseph Myers <joseph@codesourcery.com>
9305 Support crti.S and crtn.S provided directly by architectures.
9306 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9307 [crti.S in sysdirs] (omit-deps): Likewise.
9308 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9309 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9310 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9311 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9312 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9313 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9314 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9315 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9316 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9317 compiler output for sysdeps/generic/initfini.c.
9318 * sysdeps/i386/elf/Makefile: Remove file.
9319 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9321 2012-02-07 Marek Polacek <polacek@redhat.com>
9323 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9324 * sysdeps/gnu/_G_config.h: Likewise.
9325 * sysdeps/mach/hurd/_G_config.h: Likewise.
9327 2012-02-07 Marek Polacek <polacek@redhat.com>
9329 * math/Makefile (tests): Add tst-CMPLX2.
9330 * math/tst-CMPLX2.c: New file.
9332 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9334 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9336 * math/libm-test.inc (jn_test): Add missing L suffix.
9338 2012-02-06 Marek Polacek <polacek@redhat.com>
9340 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9341 * sysdeps/i386/fpu/e_powf.S: Likewise.
9342 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9343 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9344 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9345 * sysdeps/i386/fpu/e_pow.S: Likewise.
9346 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9347 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9348 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9349 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9350 * sysdeps/i386/fpu/e_log2.S: Likewise.
9351 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9352 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9353 * sysdeps/i386/fpu/e_powl.S: Likewise.
9354 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9355 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9356 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9357 * sysdeps/i386/fpu/e_logl.S: Likewise.
9358 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9359 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9360 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9361 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9362 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9363 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9364 * sysdeps/i386/fpu/e_log.S: Likewise.
9365 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9366 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9367 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9368 * sysdeps/i386/fpu/e_logf.S: Likewise.
9369 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9370 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9371 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9372 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9373 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9374 * sysdeps/i386/fpu/e_log10.S: Likewise.
9375 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9376 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9377 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9378 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9379 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9380 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9381 * sysdeps/i386/asm-syntax.h: Likewise.
9382 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9383 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9384 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9385 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9386 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9387 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9388 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9389 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9390 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9391 * sysdeps/powerpc/sysdep.h: Likewise.
9392 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9393 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9395 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9398 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9400 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9402 * sysdeps/i386/sysdep.h: Include <features.h>.
9403 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9406 2012-02-05 Joseph Myers <joseph@codesourcery.com>
9408 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9410 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9413 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9415 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9416 (SETUP_PIC_REG): Use GET_PC_THUNK.
9417 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9420 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9422 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9423 for non-PIC compilation.
9424 (SETUP_PIC_REG): Add .p2align directive.
9425 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9426 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9427 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9428 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9429 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9430 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9431 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9432 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9433 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9434 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9435 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9436 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9437 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9438 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9439 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9440 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9441 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9442 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9443 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9444 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9445 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9446 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9447 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9448 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9449 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9450 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9451 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9452 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9453 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9454 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9455 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9456 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9457 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9458 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9459 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9460 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9461 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9462 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9463 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9464 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9465 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9467 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9469 * math/tst-CMPLX.c: Include <stdio.h>.
9471 2012-01-31 Joseph Myers <joseph@codesourcery.com>
9473 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9475 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9476 * sysdeps/sparc/bits/mathdef.h: Likewise.
9478 2012-01-31 Marek Polacek <polacek@redhat.com>
9480 * libio/libio.h: Don't define _PARAMS.
9481 * locale/programs/config.h: Don't define PARAMS.
9482 * stdlib/strtol_l.c: Likewise.
9483 (__strtol_l): Remove PARAMS from the prototype.
9485 2012-01-31 Ulrich Drepper <drepper@gmail.com>
9487 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9488 names. Just use the correct names. Remove unnecessary wrapper
9490 * malloc/arena.c: Likewise.
9491 * malloc/hooks.c: Likewise.
9493 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9494 ARENA_TEST says not to. Simplify test for creation of a new arena.
9495 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9497 2012-01-30 Ulrich Drepper <drepper@gmail.com>
9499 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9501 (update_get_addr): New function.
9502 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9503 GET_ADDR_MODULE parameter.
9505 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9507 * crypt/cert.c: Remove __STDC__ conditionals.
9508 * crypt/crypt-entry.c: Likewise.
9509 * crypt/crypt_util.c: Likewise.
9510 * libio/filedoalloc.c: Likewise.
9511 * libio/fileops.c: Likewise.
9512 * libio/genops.c: Likewise.
9513 * libio/iofclose.c: Likewise.
9514 * libio/iofdopen.c: Likewise.
9515 * libio/iofopen.c: Likewise.
9516 * libio/iofopen64.c: Likewise.
9517 * libio/iogetdelim.c: Likewise.
9518 * libio/iopopen.c: Likewise.
9519 * libio/obprintf.c: Likewise.
9520 * libio/oldfileops.c: Likewise.
9521 * libio/oldiofclose.c: Likewise.
9522 * libio/oldiofdopen.c: Likewise.
9523 * libio/oldiofopen.c: Likewise.
9524 * libio/oldiopopen.c: Likewise.
9525 * libio/wfiledoalloc.c: Likewise.
9526 * libio/wgenops.c: Likewise.
9527 * locale/programs/xmalloc.c: Likewise.
9528 * misc/syslog.c: Likewise.
9529 * stdio-common/xbug.c: Likewise.
9530 * string/memchr.c: Likewise.
9531 * string/memcmp.c: Likewise.
9532 * string/memrchr.c: Likewise.
9533 * string/rawmemchr.c: Likewise.
9534 * sysdeps/posix/getcwd.c: Likewise.
9535 * time/strftime_l.c: Likewise.
9537 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9539 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9540 * config.make.in (config-cflags-sse2avx): Define.
9541 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9544 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9546 * scripts/config.guess: Update from upstream config git repository.
9547 * scripts/config.sub: Likewise.
9549 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9551 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9553 (R_TILEPRO_*, R_TILEGX_*): New macros.
9555 * scripts/firstversions.awk: Fix bug in version range handling.
9557 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9559 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9561 * include/sys/epoll.h: New file.
9562 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9565 2012-01-28 Ulrich Drepper <drepper@gmail.com>
9567 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9568 Avoid unnecessary __WORDSIZE == 64 test.
9569 (fmaxf): Use VEX format if possible.
9574 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9575 * math/math_private.h: Remove libc_fegetround* and
9577 * sysdeps/i386/configure.in: Check for -msse2avx.
9578 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9579 also if SSE2AVX is defined.
9580 Remove libc_fegetround* and libc_fesetround*.
9581 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9582 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9583 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9585 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9586 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9589 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9591 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9593 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9595 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9597 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9599 2012-01-27 Ulrich Drepper <drepper@gmail.com>
9602 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9604 * Makeconfig (libm): Define.
9605 * elf/Makefile: Add rules to build and run tst-relsort1.
9606 * elf/tst-relsort1.c: New file.
9607 * elf/tst-relsort1mod1.c: New file.
9608 * elf/tst-relsort1mod2.c: New file.
9610 2012-01-27 Joseph Myers <joseph@codesourcery.com>
9612 * math/s_ldexp.c: Remove __STDC__ conditionals.
9613 * math/s_ldexpf.c: Likewise.
9614 * math/s_ldexpl.c: Likewise.
9615 * math/s_nextafter.c: Likewise.
9616 * math/s_nexttowardf.c: Likewise.
9617 * math/s_significand.c: Likewise.
9618 * math/s_significandf.c: Likewise.
9619 * math/s_significandl.c: Likewise.
9620 * math/w_jnl.c: Likewise.
9621 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9622 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9623 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9624 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9625 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9626 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9627 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9628 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9629 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9630 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9631 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9633 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9634 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9635 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9636 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9637 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9638 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9640 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9641 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9642 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9643 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9644 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9645 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9646 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9647 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9648 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9649 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9650 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9651 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9652 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9653 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9654 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9655 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9656 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9657 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9658 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9659 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9660 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9661 * sysdeps/ieee754/k_standard.c: Likewise.
9662 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9663 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9665 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9666 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9668 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9669 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9670 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9671 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9672 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9673 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9674 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9677 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9680 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9681 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9682 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9698 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9705 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9706 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9707 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9708 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9712 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9721 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9723 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9728 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9735 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9736 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9737 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9741 * sysdeps/ieee754/s_matherr.c: Likewise.
9742 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9743 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9744 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9745 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9747 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9749 * crypt/md5.h: Remove __STDC__ conditionals.
9750 * libio/libioP.h: Likewise.
9751 * locale/programs/config.h: Likewise.
9752 * sysdeps/generic/sysdep.h: Likewise.
9753 * sysdeps/i386/asm-syntax.h: Likewise.
9754 * sysdeps/s390/asm-syntax.h: Likewise.
9755 * sysdeps/unix/sysdep.h: Likewise.
9756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9759 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9761 * libio/libio.h: Remove __STDC__ conditionals.
9762 * malloc/obstack.h: Likewise.
9763 * math/complex.h: Likewise.
9764 * math/math.h: Likewise.
9765 * sysdeps/generic/_G_config.h: Likewise.
9766 * sysdeps/gnu/_G_config.h: Likewise.
9767 * sysdeps/mach/hurd/_G_config.h: Likewise.
9768 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9769 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9770 * sysdeps/sparc/bits/mathdef.h: Likewise.
9772 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9775 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9776 Clean up HAS_* macros.
9777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9778 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9780 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9782 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9783 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9784 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9785 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9786 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9788 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9790 * elf/tst-unique3.cc (gets): Remove declaration.
9791 * elf/tst-unique3lib.cc (gets): Likewise.
9792 * elf/tst-unique3lib2.cc (gets): Likewise.
9793 * elf/tst-unique4.cc (gets): Likewise.
9795 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9797 * include/stdio.h: Add C++ protection. Add gets declarations and
9799 * debug/tst-chk1.c: Don't declare gets here.
9800 * stdio-common/tst-gets.c: Likewise.
9802 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9804 * posix/glob: Remove directory.
9806 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9808 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9810 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9812 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9813 of the non-standard EPFNOSUPPORT.
9815 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9817 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9818 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9819 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9821 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9823 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9825 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9827 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9829 * nscd/grpcache.c (cache_addgr): Likewise.
9830 * nscd/hstcache.c (cache_addhst): Likewise.
9831 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9832 * nscd/pwdcache.c (cache_addpw): Likewise.
9833 * nscd/servicescache.c (cache_addserv): Likewise.
9835 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9837 * malloc/malloc.c: Various cleanups.
9838 * malloc/hooks.c: Likewise.
9840 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9841 * stdlib/bug-fmtmsg1.c: New file.
9843 * stdlib/fmtmsg.c (init): Add missing unlock.
9844 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9846 2012-01-12 Marek Polacek <polacek@redhat.com>
9848 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9851 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9853 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9854 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9855 macro to ensure uniqueness of label name.
9856 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9857 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9859 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9861 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9863 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9864 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9865 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9866 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9868 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9870 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9872 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9873 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9874 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9876 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9878 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9879 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9880 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9881 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9883 * math/bits/math-finite.h: Add ldexp support.
9885 2012-01-10 Marek Polacek <polacek@redhat.com>
9887 * locale/programs/localedef.h (show_archive_content): Add noreturn
9890 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9892 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9894 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9896 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9898 * io/Makefile (headers): Add bits/poll2.h.
9900 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9903 typo #include statement.
9905 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9907 * include/sys/cdefs.h: Define __attribute_alloc_size.
9908 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9909 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9910 * elf/pldd.c: Likewise.
9911 * iconv/iconv_charmap.c: Likewise.
9912 * iconv/iconvconfig.c: Likewise.
9913 * iconv/strtab.c: Likewise.
9914 * locale/programs/locale.c: Likewise.
9915 * locale/programs/localedef.h: Likewise.
9916 * locale/programs/simple-hash.c: Likewise.
9917 * nscd/nscd.h: Likewise.
9918 * nss/makedb.c: Likewise.
9919 * sysdeps/generic/ldconfig.h: Likewise.
9920 * locale/programs/localedef.c: Remove xmalloc prototype.
9921 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9923 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9925 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9928 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9930 * math/Makefile (tests): Add tst-CMPLX.
9931 * math/tst-CMPLX.c: New file.
9933 * math/complex.h (CMPLXL): Fix typo.
9935 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9936 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9938 * debug/tst-chk1.c: Add poll and ppoll tests.
9939 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9940 * include/sys/poll.h: Add hidden proto for ppoll.
9941 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9942 * sysdeps/mach/hurd/ppoll.c: Likewise.
9943 * io/ppoll.c: Likewise.
9944 * debug/poll_chk.c: New file.
9945 * debug/ppoll_chk.c: New file.
9946 * include/bits/poll2.h: New file.
9947 * io/bits/poll2.h: New file.
9950 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9952 * configure.in: static is always set to yes. Remove.
9953 * config.make.in: Don't set build-static.
9954 * Makeconfig: Remove use of build-static.
9955 * dlfcn/Makefile: Likewise.
9956 * elf/Makefile: Likewise.
9957 * math/Makefile: Likewise.
9958 * misc/Makefile: Likewise.
9959 * nptl/Makefile: Likewise.
9960 * sysdeps/mach/hurd/Makefile: Likewise.
9962 * configure.in: PWD_P is not used anymore.
9963 * config.make.in: Remove PWD_P entry.
9965 * configure.in: Remove last remnants of RANLIB.
9966 No need to check for signed size_t anymore.
9967 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9969 Remove __builtin_expect test because we require at least gcc 3.4.
9970 * aclocal.m4: Likewise.
9972 * wcsmbs/mbrtoc16.c: Implement using towc function.
9973 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9974 * wcsmbs/wcsmbsload.c: Likewise.
9975 * iconv/gconv_simple.c: Likewise.
9976 * iconv/gconv_int.h: Likewise.
9977 * iconv/gconv_builtin.h: Likewise.
9978 * iconv/iconv_prog.c: Remove CHAR16 handling.
9980 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9982 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9984 * configure.in: Remove --with-elf and --enable-bounded options.
9985 Dont set base_machine for ia64. More non-ELF conditions removed.
9986 Remove testing and setting of leading underscore information.
9987 * config.make.in (build-bounded): Set to no.
9988 * config.h.in: Remove NO_UNDERSCORES entry.
9989 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9991 * csu/start.c: Remove !NO_UNDERSCORE code.
9992 * locale/localeinfo.h: Likewise.
9993 * sysdeps/generic/machine-gmon.h: Likewise.
9994 * sysdeps/generic/sysdep.h: Likewise.
9995 * sysdeps/i386/sysdep.h: Likewise.
9996 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9997 * sysdeps/mach/sysdep.h: Likewise.
9998 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9999 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10000 * sysdeps/sh/sysdep.h: Likewise.
10001 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10002 * sysdeps/unix/i386/sysdep.S: Likewise.
10003 * sysdeps/unix/sparc/start.c: Likewise.
10004 * sysdeps/unix/sparc/sysdep.S: Likewise.
10005 * sysdeps/unix/sparc/sysdep.h: Likewise.
10006 * sysdeps/unix/start.c: Likewise.
10007 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10008 * sysdeps/x86_64/sysdep.h: Likewise.
10010 2012-01-07 Ulrich Drepper <drepper@gmail.com>
10013 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10015 * argp/argp-fmtstream.h: Use const instead __const.
10016 * argp/argp.h: Likewise.
10017 * assert/assert.h: Likewise.
10018 * bits/fenv.h: Likewise.
10019 * bits/sched.h: Likewise.
10020 * bits/sigset.h: Likewise.
10021 * bits/sigthread.h: Likewise.
10022 * catgets/nl_types.h: Likewise.
10023 * conform/data/pthread.h-data: Likewise.
10024 * crypt/crypt-private.h: Likewise.
10025 * crypt/crypt.h: Likewise.
10026 * crypt/crypt_util.c: Likewise.
10027 * ctype/ctype.h: Likewise.
10028 * debug/execinfo.h: Likewise.
10029 * debug/mbsnrtowcs_chk.c: Likewise.
10030 * debug/mbsrtowcs_chk.c: Likewise.
10031 * debug/wcsnrtombs_chk.c: Likewise.
10032 * debug/wcsrtombs_chk.c: Likewise.
10033 * debug/wcstombs_chk.c: Likewise.
10034 * dirent/dirent.h: Likewise.
10035 * dlfcn/dlfcn.h: Likewise.
10036 * elf/neededtest4.c: Likewise.
10037 * grp/grp.h: Likewise.
10038 * gshadow/gshadow.h: Likewise.
10039 * iconv/gconv.h: Likewise.
10040 * iconv/gconv_int.h: Likewise.
10041 * iconv/gconv_simple.c: Likewise.
10042 * iconv/iconv.h: Likewise.
10043 * iconv/loop.c: Likewise.
10044 * iconv/skeleton.c: Likewise.
10045 * include/aio.h: Likewise.
10046 * include/aliases.h: Likewise.
10047 * include/argz.h: Likewise.
10048 * include/arpa/inet.h: Likewise.
10049 * include/assert.h: Likewise.
10050 * include/dirent.h: Likewise.
10051 * include/dlfcn.h: Likewise.
10052 * include/execinfo.h: Likewise.
10053 * include/fcntl.h: Likewise.
10054 * include/fenv.h: Likewise.
10055 * include/glob.h: Likewise.
10056 * include/grp.h: Likewise.
10057 * include/libintl.h: Likewise.
10058 * include/mntent.h: Likewise.
10059 * include/netdb.h: Likewise.
10060 * include/pwd.h: Likewise.
10061 * include/rpc/netdb.h: Likewise.
10062 * include/sched.h: Likewise.
10063 * include/search.h: Likewise.
10064 * include/shadow.h: Likewise.
10065 * include/signal.h: Likewise.
10066 * include/stdio.h: Likewise.
10067 * include/stdlib.h: Likewise.
10068 * include/string.h: Likewise.
10069 * include/sys/socket.h: Likewise.
10070 * include/sys/stat.h: Likewise.
10071 * include/sys/statfs.h: Likewise.
10072 * include/sys/statvfs.h: Likewise.
10073 * include/sys/syslog.h: Likewise.
10074 * include/sys/time.h: Likewise.
10075 * include/sys/uio.h: Likewise.
10076 * include/time.h: Likewise.
10077 * include/unistd.h: Likewise.
10078 * include/utmp.h: Likewise.
10079 * include/wchar.h: Likewise.
10080 * include/wctype.h: Likewise.
10081 * inet/aliases.h: Likewise.
10082 * inet/arpa/inet.h: Likewise.
10083 * inet/netinet/ether.h: Likewise.
10084 * inet/netinet/in.h: Likewise.
10085 * intl/libintl.h: Likewise.
10086 * io/bits/fcntl2.h: Likewise.
10087 * io/fcntl.h: Likewise.
10088 * io/ftw.h: Likewise.
10089 * io/sys/poll.h: Likewise.
10090 * io/sys/stat.h: Likewise.
10091 * io/sys/statfs.h: Likewise.
10092 * io/sys/statvfs.h: Likewise.
10093 * io/utime.h: Likewise.
10094 * libio/bits/stdio.h: Likewise.
10095 * libio/bits/stdio2.h: Likewise.
10096 * libio/libio.h: Likewise.
10097 * libio/libioP.h: Likewise.
10098 * libio/stdio.h: Likewise.
10099 * locale/lc-ctype.c: Likewise.
10100 * locale/locale.h: Likewise.
10101 * login/utmp.h: Likewise.
10102 * malloc/arena.c: Likewise.
10103 * malloc/malloc.c: Likewise.
10104 * malloc/malloc.h: Likewise.
10105 * malloc/mcheck.c: Likewise.
10106 * malloc/mtrace.c: Likewise.
10107 * math/bits/mathcalls.h: Likewise.
10108 * math/fenv.h: Likewise.
10109 * math/math_private.h: Likewise.
10110 * misc/bits/error.h: Likewise.
10111 * misc/bits/syslog.h: Likewise.
10112 * misc/err.h: Likewise.
10113 * misc/error.h: Likewise.
10114 * misc/fstab.h: Likewise.
10115 * misc/mntent.h: Likewise.
10116 * misc/regexp.h: Likewise.
10117 * misc/search.h: Likewise.
10118 * misc/sgtty.h: Likewise.
10119 * misc/sys/mman.h: Likewise.
10120 * misc/sys/syslog.h: Likewise.
10121 * misc/sys/uio.h: Likewise.
10122 * misc/sys/xattr.h: Likewise.
10123 * misc/ttyent.h: Likewise.
10124 * nis/rpcsvc/ypclnt.h: Likewise.
10125 * nss/nss.h: Likewise.
10126 * posix/bits/unistd.h: Likewise.
10127 * posix/fnmatch.h: Likewise.
10128 * posix/glob.h: Likewise.
10129 * posix/sched.h: Likewise.
10130 * posix/spawn.h: Likewise.
10131 * posix/sys/wait.h: Likewise.
10132 * posix/unistd.h: Likewise.
10133 * posix/wordexp.h: Likewise.
10134 * pwd/pwd.h: Likewise.
10135 * resolv/netdb.h: Likewise.
10136 * resource/sys/resource.h: Likewise.
10137 * rt/aio.h: Likewise.
10138 * rt/bits/mqueue2.h: Likewise.
10139 * rt/mqueue.h: Likewise.
10140 * shadow/shadow.h: Likewise.
10141 * signal/signal.h: Likewise.
10142 * socket/send.c: Likewise.
10143 * socket/sendto.c: Likewise.
10144 * socket/sys/socket.h: Likewise.
10145 * stdio-common/printf.h: Likewise.
10146 * stdlib/bits/stdlib.h: Likewise.
10147 * stdlib/fmtmsg.h: Likewise.
10148 * stdlib/monetary.h: Likewise.
10149 * stdlib/stdlib.h: Likewise.
10150 * stdlib/ucontext.h: Likewise.
10151 * streams/stropts.h: Likewise.
10152 * string/argz.h: Likewise.
10153 * string/bits/string2.h: Likewise.
10154 * string/string.h: Likewise.
10155 * string/strings.h: Likewise.
10156 * sunrpc/rpc/auth.h: Likewise.
10157 * sunrpc/rpc/auth_des.h: Likewise.
10158 * sunrpc/rpc/clnt.h: Likewise.
10159 * sunrpc/rpc/netdb.h: Likewise.
10160 * sunrpc/rpc/pmap_clnt.h: Likewise.
10161 * sunrpc/rpc/xdr.h: Likewise.
10162 * sysdeps/generic/inttypes.h: Likewise.
10163 * sysdeps/generic/net/if.h: Likewise.
10164 * sysdeps/generic/sys/swap.h: Likewise.
10165 * sysdeps/gnu/net/if.h: Likewise.
10166 * sysdeps/gnu/utmpx.h: Likewise.
10167 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10168 * sysdeps/i386/i486/bits/string.h: Likewise.
10169 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10170 * sysdeps/s390/bits/string.h: Likewise.
10171 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10172 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10173 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10174 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10175 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10176 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10177 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10178 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10179 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10180 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10181 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10182 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10183 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10184 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10185 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10186 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10187 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10188 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10189 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10190 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10191 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10192 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10193 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10194 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10195 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10196 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10197 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10198 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10199 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10200 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10201 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10202 * sysvipc/sys/ipc.h: Likewise.
10203 * sysvipc/sys/msg.h: Likewise.
10204 * sysvipc/sys/sem.h: Likewise.
10205 * sysvipc/sys/shm.h: Likewise.
10206 * termios/termios.h: Likewise.
10207 * time/sys/time.h: Likewise.
10208 * time/time.h: Likewise.
10209 * wcsmbs/bits/wchar2.h: Likewise.
10210 * wcsmbs/uchar.h: Likewise.
10211 * wcsmbs/wchar.h: Likewise.
10212 * wctype/wctype.h: Likewise.
10215 * Makeconfig: Remove all but ELF support including AIX support.
10216 * Makerules: Likewise.
10217 * config.h.in: Likewise.
10218 * config.make.in: Likewise.
10219 * configure: Likewise.
10220 * configure.in: Likewise.
10221 * csu/Makefile: Likewise.
10222 * csu/version.c: Likewise.
10223 * debug/Makefile: Likewise.
10224 * dlfcn/Makefile: Likewise.
10225 * elf/Makefile: Likewise.
10226 * extra-lib.mk: Likewise.
10227 * iconv/Makefile: Likewise.
10228 * include/libc-symbols.h: Likewise.
10229 * include/shlib-compat.h: Likewise.
10230 * resolv/Makefile: Likewise.
10231 * resolv/res_libc.c: Likewise.
10232 * rt/Makefile: Likewise.
10233 * sysdeps/i386/asm-syntax.h: Likewise.
10234 * sysdeps/i386/sysdep.h: Likewise.
10235 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10236 * sysdeps/mach/sysdep.h: Likewise.
10237 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10238 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10239 * sysdeps/s390/asm-syntax.h: Likewise.
10240 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10241 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10242 * sysdeps/sh/sysdep.h: Likewise.
10243 * sysdeps/unix/sparc/sysdep.h: Likewise.
10244 * sysdeps/wordsize-32/divdi3.c: Likewise.
10245 * sysdeps/x86_64/sysdep.h: Likewise.
10247 * argp/Versions: Remove _argp_unlock_xxx.
10250 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10251 * abilist/libBrokenLocale.abilist: Likewise.
10252 * abilist/libanl.abilist: Likewise.
10253 * abilist/libc.abilist: Likewise.
10254 * abilist/libcrypt.abilist: Likewise.
10255 * abilist/libdl.abilist: Likewise.
10256 * abilist/libm.abilist: Likewise.
10257 * abilist/libnsl.abilist: Likewise.
10258 * abilist/libpthread.abilist: Likewise.
10259 * abilist/libresolv.abilist: Likewise.
10260 * abilist/librt.abilist: Likewise.
10261 * abilist/libthread_db.abilist: Likewise.
10262 * abilist/libutil.abilist: Likewise.
10263 * abilist/libnss_db.abilist: New file.
10265 * scripts/abilist.awk: Add support for indirect functions.
10267 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10269 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10271 * shlib-versions: Remove entries for ports architectures.
10273 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10275 * elf/stackguard-macros.h: Remove support for IA-64.
10276 * elf/tst-auditmod1.c: Likewise.
10277 * sysdeps/generic/ldsodefs.h: Likewise.
10279 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10280 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10284 * configure.in: Remove --enable-omitfp support.
10286 * config.make.in: Likewise.
10287 * Makeconfig: Likewise.
10288 * manual/install.texi: Likewise.
10290 In case anyone cares, the IA-64 architecture could move to ports.
10291 * sysdeps/ia64/*: Removed.
10292 * sysdeps/unix/sysv/linux/ia64/*: Removed.
10293 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10296 * configure.in: Remove entries for unsupported architectures.
10299 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10300 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10302 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10303 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10304 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10305 fall back to using wcrtomb.
10306 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10307 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10309 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10310 * wcsmbs/tst-c16c32-1.c: New file.
10312 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10315 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10317 * elf/tst-unique3.cc: Add explicit declaration of gets.
10318 * elf/tst-unique3lib.cc: Likewise.
10319 * elf/tst-unique3lib2.cc: Likewise.
10320 * elf/tst-unique4.cc: Likewise.
10322 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10324 2012-01-06 Joseph Myers <joseph@codesourcery.com>
10327 * assert/assert.h (static_assert): Don't define for C++.
10328 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10329 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10331 2012-01-03 Ulrich Drepper <drepper@gmail.com>
10333 * iconv/loop.c (single loop): Fix assertion in storing of
10336 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10338 2012-01-01 Ulrich Drepper <drepper@gmail.com>
10340 * posix/getconf.c: Update copyright year.
10341 * nss/getent.c: Likewise.
10342 * nss/makedb.c: Likewise.
10343 * iconv/iconvconfig.c: Likewise.
10344 * iconv/iconv_prog.c: Likewise.
10345 * elf/ldconfig.c: Likewise.
10346 * elf/pldd.c: Likewise.
10347 * elf/sotruss.ksh: Likewise.
10348 * catgets/gencat.c: Likewise.
10349 * csu/version.c: Likewise.
10350 * elf/ldd.bash.in: Likewise.
10351 * elf/sprof.c (print_version): Likewise.
10352 * locale/programs/locale.c: Likewise.
10353 * locale/programs/localedef.c: Likewise.
10354 * login/programs/pt_chown.c: Likewise.
10355 * nscd/nscd.c (print_version): Likewise.
10356 * debug/xtrace.sh: Likewise.
10357 * malloc/memusage.sh: Likewise.
10358 * malloc/mtrace.pl: Likewise.
10359 * debug/catchsegv.sh: Likewise.
10361 2011-12-30 Jakub Jelinek <jakub@redhat.com>
10363 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10366 2011-12-24 Ulrich Drepper <drepper@gmail.com>
10369 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10370 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10372 * iconv/gconv_int.h: Likewise.
10373 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10374 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10375 from libc for GLIBC_2.16.
10376 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10377 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10378 * wcsmbs/uchar.h: Really define mbstate_t.
10379 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10380 * wcsmbs/c16rtomb.c: New file.
10381 * wcsmbs/mbrtoc16.c: New file.
10382 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10383 for C/POSIX locale.
10384 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10385 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10387 * wcsmbs/wchar.h: Add missing __restrict.
10389 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10392 * time/Makefile (routines): Add timespec_get.
10393 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10394 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10395 timespec for ISO C11.
10396 * time/timespec_get.c: New file.
10397 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10398 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10401 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10402 * stdlib/stdlib.h: Declare aligned_alloc.
10403 * Versions.def: Add GLIBC_2.16 for libc.
10404 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10407 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10410 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10414 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10417 * assert/assert.h (static_assert): Define.
10419 * version.h: Update for 2.16 development version.
10422 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10425 * version.h (RELEASE): Bump for 2.15 release.
10426 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10428 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10429 Patch by Marek Polacek <mpolacek@redhat.com>.
10431 * bits/byteswap.h: Protect long long constants with __extension__.
10432 * sysdeps/i386/bits/byteswap.h: Likewise.
10433 * sysdeps/ia64/bits/byteswap.h: Likewise.
10434 * sysdeps/s390/bits/byteswap.h: Likewise.
10435 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10437 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10440 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10441 destination buffer.
10442 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10444 2011-12-23 Marek Polacek <polacek@redhat.com>
10446 * elf/dl-addr.c (determine_info): Add inline keyword.
10447 * elf/tst-auditmod4b.c (check_avx): Likewise.
10448 * elf/tst-auditmod6b.c (check_avx): Likewise.
10449 * elf/tst-auditmod6c.c (check_avx): Likewise.
10450 * elf/tst-auditmod7b.c (check_avx): Likewise.
10452 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10454 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10457 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10460 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10461 processing for last bytes.
10463 2011-08-06 Bruno Haible <bruno@clisp.org>
10466 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10467 U+0385, not to U+1FEE.
10470 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10471 entry for U+00A5 U+0301.
10473 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10476 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10477 buffer for the output is too small.
10479 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10483 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10484 SSE flags if possible.
10486 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10489 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10490 processing for last bytes.
10492 2011-12-22 Joseph Myers <joseph@codesourcery.com>
10494 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10495 (syscall-list-default-options, syscall-list-default-condition)
10496 (syscall-list-includes): Define.
10497 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10498 list of ABIs and options and #if conditions for each ABI. Do not
10499 handle common syscalls between ABIs specially.
10500 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10502 (syscall-list-variants, syscall-list-32bit-options)
10503 (syscall-list-32bit-condition, syscall-list-64bit-options)
10504 (syscall-list-64bit-condition): Define.
10505 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10506 (syscall-list-variants, syscall-list-32bit-options)
10507 (syscall-list-32bit-condition, syscall-list-64bit-options)
10508 (syscall-list-64bit-condition): Define.
10509 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10511 (syscall-list-variants, syscall-list-32bit-options)
10512 (syscall-list-32bit-condition, syscall-list-64bit-options)
10513 (syscall-list-64bit-condition): Define.
10514 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10516 (syscall-list-variants, syscall-list-32bit-options)
10517 (syscall-list-32bit-condition, syscall-list-64bit-options)
10518 (syscall-list-64bit-condition): Define.
10520 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10522 * locale/iso-639.def: Add brx entry.
10525 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10526 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10528 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10529 __feraiseexcept_renamed.
10531 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10534 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10535 EPOLLET with unsigned values.
10536 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10537 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10539 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10540 to large cancellation.
10541 * math/s_cacoshf.c: Likewise.
10542 * math/s_cacoshl.c: Likewise.
10544 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10548 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10549 * math/s_cacoshf.c: Likewise.
10550 * math/s_cacoshl.c: Likewise.
10552 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10555 * iconv/gconv.h: Define __GCONV_SWAP.
10556 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10557 * iconvdata/utf-16.c: Likewise.
10558 * iconvdata/utf-32.c: Likewise.
10560 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10563 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10564 numerator after shifting it by one limb.
10566 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10568 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10569 under [__USE_EXTERN_INLINES].
10571 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10574 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10576 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10578 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10579 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10581 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10582 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10583 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10584 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10585 for strncasecmp/strncasecmp_l compilation.
10586 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10587 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10589 2011-12-08 Marek Polacek <mpolacek@redhat.com>
10592 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10595 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10598 * time/tzfile.c (__tzfile_read): Check values from file header.
10600 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10602 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10603 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10604 * powerpc/powerpc32/dl-start.S: Likewise.
10605 * powerpc/powerpc32/elf/start.S: Likewise.
10606 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10607 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10608 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10609 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10610 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10611 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10612 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10613 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10614 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10615 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10616 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10617 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10618 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10619 * powerpc/powerpc32/memset.S: Likewise.
10620 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10621 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10622 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10623 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10624 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10625 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10626 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10627 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10628 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10629 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10630 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10631 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10632 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10634 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10636 * math/libm-test.inc: Added more nearbyint tests.
10637 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10638 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10639 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10640 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10642 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10644 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10647 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10649 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10650 Add wcscpy-ssse3 wcscpy-c.
10651 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10652 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10653 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10654 * sysdeps/x86_64/wcschr.S: New file.
10655 * sysdeps/x86_64/wcsrchr.S: New file.
10656 * string/test-strcmp.c: Remove checking of wcscmp function for
10658 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10659 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10660 wcsrchr-sse2 wcsrchr-c.
10661 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10662 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10663 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10664 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10665 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10666 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10667 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10668 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10669 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10670 * wcsmbc/wcschr.c (WCSCHR): New macro.
10672 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10674 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10675 * wcsmbs/test-wcsrchr.c: New file.
10676 * string/test-strrchr.c: Add wcsrchr support.
10678 * wcsmbs/test-wcscpy.c: New file.
10679 * string/test-strcpy.c: Add wcscpy support.
10682 2011-12-10 Ulrich Drepper <drepper@gmail.com>
10684 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10687 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10690 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10692 2011-12-04 Ulrich Drepper <drepper@gmail.com>
10694 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10695 Minor optimizations.
10697 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10698 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10699 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10701 2011-12-03 Ulrich Drepper <drepper@gmail.com>
10703 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10704 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10705 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10706 for gcc to avoid warnings.
10707 * inet/Makefile (tests): Add tst-checks.
10708 * inet/tst-checks.c: New file.
10710 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10713 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10716 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10717 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10719 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10721 2011-12-02 Ulrich Drepper <drepper@gmail.com>
10723 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10726 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10728 2011-11-29 Joseph Myers <joseph@codesourcery.com>
10730 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10731 conditional on GCC version.
10732 (__arch_compare_and_exchange_val_8_acq)
10733 (__arch_compare_and_exchange_val_16_acq)
10734 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10735 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10736 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10738 2011-12-02 Joseph Myers <joseph@codesourcery.com>
10740 * sysdeps/sh/backtrace.c: New file.
10742 2011-12-02 Andreas Schwab <schwab@redhat.com>
10744 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10747 2011-12-01 Andreas Schwab <schwab@redhat.com>
10749 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10750 falling back to utime.
10752 2011-11-30 Andreas Schwab <schwab@redhat.com>
10754 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10755 expectations for float.
10757 2011-11-29 Andreas Schwab <schwab@redhat.com>
10759 * locale/weight.h (findidx): Add parameter len.
10760 * locale/weightwc.h (findidx): Likewise.
10761 * posix/fnmatch_loop.c (FCT): Adjust caller.
10762 * posix/regcomp.c (build_equiv_class): Likewise.
10763 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10764 * posix/regexec.c (check_node_accept_bytes): Likewise.
10765 * string/strcoll_l.c (STRCOLL): Likewise.
10766 * string/strxfrm_l.c (STRXFRM): Likewise.
10768 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10770 * Makefile.in: Remove CVSOPT handling.
10771 * configure.in: Remove use of AC_REVISION.
10772 * iconvdata/Makefile (distribute): No need to filter out CVS.
10773 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10776 2011-11-16 Andreas Schwab <schwab@redhat.com>
10778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10779 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10780 [USE_AS_STRNCASECMP_L]: Likewise.
10781 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10782 NO_TLS_DIRECT_SEG_REFS.
10783 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10784 Fix argument offsets for non-PIC.
10785 [USE_AS_STRNCASECMP_L]: Likewise.
10786 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10787 NO_TLS_DIRECT_SEG_REFS.
10789 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10791 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10793 * locale/loadlocale.c (_nl_load_locale): Likewise.
10795 2011-11-15 Andreas Schwab <schwab@redhat.com>
10797 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10798 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10799 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10800 (SYSCALL_GETTIME): Set errno on error.
10802 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10803 count references to noai6ai_cached.
10805 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10807 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10809 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10810 FD_CLOEXEC for /proc/self/maps.
10812 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10813 FD_CLOEXEC for /proc/meminfo.
10815 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10818 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10819 FD_CLOEXEC for given file.
10821 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10823 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10824 FD_CLOEXEC for /etc/hosts.
10825 (_gethtent): Likewise.
10827 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10829 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10830 cancellation and set FD_CLOEXEC for /etc/netgroup.
10832 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10833 reading /etc/publickey.
10835 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10836 allow cancellation when reading /etc/group.
10838 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10840 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10842 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10843 when using data file.
10845 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10847 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10848 (write_nis_obj): Use "c" and "e" in fopen.
10850 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10852 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10854 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10856 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10858 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10861 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10863 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10865 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10867 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10868 file parsing and set FD_CLOEXEC.
10870 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10872 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10874 2011-11-14 Andreas Schwab <schwab@redhat.com>
10876 * malloc/arena.c (arena_get2): Don't call reused_arena when
10877 _int_new_arena failed.
10879 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10881 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10882 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10883 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10884 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10885 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10886 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10887 to compile strcasecmp and strncasecmp.
10888 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10889 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10891 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10893 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10895 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10896 locale-defines.sym to gen-as-const-headers.
10897 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10898 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10900 to compile strcasecmp and strncasecmp.
10901 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10902 strcasecmp_l and strncasecmp_l.
10903 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10904 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10905 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10906 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10907 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10908 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10909 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10910 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10911 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10912 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10913 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10915 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10917 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10918 result of SYSDEP_GETTIME_CPU to retval.
10919 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10920 parameter list to macro. Remove trailing semicolon. Adjust users.
10922 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10925 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10927 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10929 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10930 from unused variable.
10932 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10934 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10937 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10940 * sunrpc/rpc_prot.c (rejected): Fix case value.
10942 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10943 unsigned long long int to avoid warnings in shift.
10945 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10947 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10950 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10951 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10952 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10954 * nis/nis_table.c (nis_list): Use variable of correct type for
10955 result of __follow_path call.
10957 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10959 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10960 of math functions ceil, trunc, floor, round, and sqrt, when
10961 avaliable on the platform.
10962 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10964 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10965 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10966 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10968 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10970 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10971 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10973 2011-11-11 Roland McGrath <roland@hack.frob.com>
10975 * include/unistd.h: Fix __readlink return type.
10976 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10978 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10980 * stdlib/ucontext.h: Undo last change for makecontext.
10982 2011-11-11 Andreas Schwab <schwab@redhat.com>
10984 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10986 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10987 * setjmp/setjmp.h: Mark functions as non-leaf.
10988 * setjmp/bits/setjmp2.h: Likewise.
10989 * stdlib/ucontext.h: Likewise.
10991 2011-11-10 Andreas Schwab <schwab@redhat.com>
10993 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10994 (reused_arena): Don't check arena limit.
10995 (arena_get2): Atomically check arena limit.
10997 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10999 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11000 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11002 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11005 2011-11-07 Andreas Schwab <schwab@redhat.com>
11007 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11008 handler when locking.
11010 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11011 Fix size of allocated buffer.
11013 2011-11-04 Andreas Schwab <schwab@redhat.com>
11016 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11017 declarations for long double functions.
11018 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11020 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11022 2011-11-03 Andreas Schwab <schwab@redhat.com>
11024 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11027 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11030 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11032 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11034 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11036 * include/alloca.h (stackinfo_alloca_round): Define.
11037 (extend_alloca): Use it.
11038 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11039 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11042 * scripts/check-local-headers.sh: Ignore libaudit.h.
11044 * nscd/Makefile (extra-objs): Make recursively expanded.
11046 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11048 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11049 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11051 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11052 * posix/tst-rfc3484-2.c: Likewise.
11053 * posix/tst-rfc3484-3.c: Likewise.
11055 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11057 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11059 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11060 process_vm_writev from libc using GLIBC_2.15 version.
11062 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11064 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11066 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11069 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11072 * nss/getent.c (initgroups_keys): Show error message in case no group
11075 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11076 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11077 __bump_nl_timestamp.
11078 * nscd/connections (nscd_init): When host database is served open
11079 netlink socket and request notification about configuration changes.
11080 (main_loop_poll): Track netlink file descriptor and bump timestamp
11081 in case data becomes available.
11082 (main_loop_epoll): Likewise.
11083 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11084 (database_pers_head): Add extra_data fileds.
11085 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11086 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11087 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11089 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11090 in6ai data, call __free_in6ai.
11091 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11092 Add -DHAVE_NETLINK.
11093 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11094 interface information. Reuse previous data if netlink timestamp
11096 (__bump_nl_timestamp): New function.
11097 (__free_in6ai): New function.
11099 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11101 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11102 close_not_cancel_no_status here.
11103 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11105 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11108 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11111 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11112 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11113 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11115 2011-07-03 Andreas Jaeger <aj@suse.de>
11118 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11119 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11120 * math/libm-test.inc (sin_test): Add test case.
11122 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11125 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11126 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11128 * elf/chroot_canon.c (chroot_canon): Cleanups.
11130 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11133 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11134 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11136 * string/test-strchr.c: Make usable for strchrnul testing.
11137 * string/test-strchrnul.c: New file.
11138 * string/Makefile (strop-tests): Add strchrnul.
11140 * po/it.po: Update from translation team.
11141 * po/es.po: Likewise.
11143 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11145 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11146 the three constants needed as parameters. Drop the others.
11147 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11148 __m128i_strloadu_tolower.
11149 Create and initialize variable zero and use it in all the places
11150 where _mm_setzero_si128 was used.
11152 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11153 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11154 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11155 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11157 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11158 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11159 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11160 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11161 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11162 __mpranred, __mptan.
11163 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11164 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11165 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11166 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11167 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11168 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11169 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11170 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11171 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11173 2011-10-28 Andreas Schwab <schwab@redhat.com>
11175 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11176 redefine if SHARED.
11177 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11180 wide char related routines to wcsmbs subdir.
11182 2011-10-27 Andreas Schwab <schwab@redhat.com>
11185 * misc/sys/cdefs.h (__THROWNL): Define.
11186 * posix/unistd.h: Use __THREADNL instead of __THREAD
11187 for memory synchronization functions.
11189 2011-10-26 Roland McGrath <roland@hack.frob.com>
11192 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11194 * manual/stdio.texi (Obstack Streams): Node removed.
11196 2011-10-26 Andreas Schwab <schwab@redhat.com>
11198 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11199 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11200 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11202 * math/math_private.h (math_force_eval): Allow non-addressable
11204 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11206 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11208 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11209 file is not needed.
11211 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11212 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11213 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11214 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11215 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11216 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11217 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11218 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11220 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11221 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11222 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11223 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11224 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11225 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11226 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11227 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11228 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11229 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11230 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11231 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11232 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11233 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11234 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11235 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11236 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11237 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11238 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11240 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11241 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11243 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11244 place. Use VEX encoding when compiling for AVX.
11246 2011-10-25 Andreas Schwab <schwab@redhat.com>
11248 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11249 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11251 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11253 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11255 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11256 useless if() expression.
11257 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11258 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11259 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11260 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11261 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11262 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11263 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11264 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11265 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11266 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11267 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11268 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11269 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11270 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11271 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11272 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11273 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11275 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11277 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11279 2011-10-25 Andreas Schwab <schwab@redhat.com>
11281 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11283 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11285 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11287 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11288 .text section. Avoid duplicate constants.
11289 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11290 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11291 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11293 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11294 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11295 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11297 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11299 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11300 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11301 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11302 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11303 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11304 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11306 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11312 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11313 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11314 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11315 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11316 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11317 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11318 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11319 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11320 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11321 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11322 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11323 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11324 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11325 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11326 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11327 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11328 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11329 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11330 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11331 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11332 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11333 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11335 2011-10-24 Ulrich Drepper <drepper@gmail.com>
11337 * sysdeps/x86_64/dla.h: Move to ...
11338 * sysdeps/x86_64/fpu/dla.h: ...here.
11339 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11340 situations. Use __builtin_fma only for gcc 4.6 and up.
11342 * config.make.in: Add have-mfma4 entry.
11343 * configure.in: Substitute libc_cv_cc_fma4.
11344 * math/Makefile (dbl-only-routines): Add sincostab.
11345 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11346 Use __sincostab not sincos.
11347 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11349 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11354 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11355 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11356 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11357 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11359 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11360 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11362 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11363 define aliases when function name is a macro.
11364 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11365 sysdeps/ieee754/dbl-64/sincos.tbl.
11366 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11367 fma4-enabled routines.
11368 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11369 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11370 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11371 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11372 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11373 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11374 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11375 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11376 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11377 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11378 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11379 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11380 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11381 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11382 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11383 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11384 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11385 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11386 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11387 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11388 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11389 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11390 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11391 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11392 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11393 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11394 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11395 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11396 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11397 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11399 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11402 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11403 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11410 2011-10-24 Andreas Schwab <schwab@redhat.com>
11412 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11414 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11416 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11418 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11420 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11422 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11423 Remove unused variable magic_bits.
11424 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11426 * string/strnlen.c: Define and use STRNLEN macro.
11427 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11428 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11429 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11430 * wcsmbs/wcslen.c: Define and use WCSLEN.
11431 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11432 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11433 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11434 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11435 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11436 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11437 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11439 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11442 strnlen-sse2-no-bsf.
11443 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11444 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11445 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11446 Add strnlen support.
11447 (USE_AS_STRNLEN): New macro.
11448 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11449 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11450 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11451 * sysdeps/x86_64/wcslen.S: New file.
11453 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11455 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11456 XMM-moves are used for copying on small sizes.
11458 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11460 * wcsmbs/Makefile (strop-tests): Add wcschr.
11461 * wcsmbs/test-wcschr.c: New file.
11462 * string/test-strchr.c: Update.
11463 Add wcschr support.
11466 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11468 * wcsmbs/Makefile (strop-tests): Add wcslen.
11469 * wcsmbs/test-wcslen.c: New file.
11470 * string/test-strlen.c: Update.
11471 Add wcslen support.
11474 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11476 * po/it.po: Update from translation team.
11478 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11480 * sysdeps/x86_64/wcscmp.S: Update.
11481 Fix wrong comparison semantics.
11482 wcscmp shall use signed comparison not unsigned.
11483 Don't use substraction to avoid overflow bug.
11484 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11485 * wcsmbc/wcscmp.c: Likewise.
11486 * string/test-strcmp.c: Likewise.
11487 Add new tests to check cases with negative values.
11489 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11491 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11492 * sysdeps/x86_64/dla.h: ...here. New file.
11493 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11494 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11498 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11499 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11500 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11503 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11505 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11506 __ynl_finite aliases.
11508 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11512 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11514 [DLA_FMA] (EMULV): Use DLA_FMA.
11515 [DLA_FMA] (MUL12): Use EMULV.
11516 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11517 that are not needed.
11518 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11519 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11521 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11523 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11524 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11526 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11528 * math/s_nan.c: Undef __nan.
11529 * math/s_nanf.c: Undef __nanf.
11530 * math/s_nanl.c: Undef __nanl.
11531 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11534 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11536 * math/s_catan.c: Add branch predictions.
11537 * math/s_catanf.c: Likewise.
11538 * math/s_catanh.c: Likewise.
11539 * math/s_catanhf.c: Likewise.
11540 * math/s_catanhl.c: Likewise.
11541 * math/s_catanl.c: Likewise.
11542 * math/s_cexp.c: Likewise.
11543 * math/s_cexpf.c: Likewise.
11544 * math/s_cexpl.c: Likewise.
11545 * math/s_clog.c: Likewise.
11546 * math/s_clog10.c: Likewise.
11547 * math/s_clog10f.c: Likewise.
11548 * math/s_clog10l.c: Likewise.
11549 * math/s_clogf.c: Likewise.
11550 * math/s_clogl.c: Likewise.
11551 * math/s_csqrt.c: Likewise.
11552 * math/s_csqrtf.c: Likewise.
11553 * math/s_csqrtl.c: Likewise.
11554 * math/s_ctanf.c: Likewise.
11555 * math/s_ctanh.c: Likewise.
11556 * math/s_ctanhf.c: Likewise.
11557 * math/s_ctanhl.c: Likewise.
11558 * math/s_ctanl.c: Likewise.
11560 * math/math_private.h: Define __nan, __nanf, __nanl.
11561 * math/s_cacosh.c: Include <math_private.h>.
11562 * math/s_cacoshl.c: Likewise.
11563 * math/s_casinh.c: Likewise.
11564 * math/s_casinhf.c: Likewise.
11565 * math/s_casinhl.c: Likewise.
11566 * math/s_ccos.c: Rely entire on ccosh.
11567 * math/s_ccosf.c: Rely entire on ccoshf.
11568 * math/s_ccosl.c: Rely entirely on ccoshl.
11569 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11570 Remove tests for FE_INVALID.
11571 * math/s_ccoshf.c: Likewise.
11572 * math/s_ccoshl.c: Likewise.
11573 * math/s_csin.c: Likewise.
11574 * math/s_csinf.c: Likewise.
11575 * math/s_csinh.c Likewise.
11576 * math/s_csinhf.c: Likewise.
11577 * math/s_csinhl.c: Likewise.
11578 * math/s_csinl.c: Likewise.
11579 * math/s_ctan.c: Likewise.
11580 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11581 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11582 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11584 2011-10-21 Ulrich Drepper <drepper@gmail.com>
11586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11587 compilation problems.
11589 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11592 2011-10-20 Ulrich Drepper <drepper@gmail.com>
11594 * sysdeps/i386/configure.in: Test for -mfma4 option.
11595 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11596 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11597 COMMON_CPUID_INDEX_80000001.
11598 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11599 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11600 use it if FMA3 is not supported.
11601 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11603 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11604 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11606 2011-10-20 Andreas Schwab <schwab@redhat.com>
11609 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11610 it would create a cycle with a link time dependency.
11612 2011-10-19 Ulrich Drepper <drepper@gmail.com>
11614 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11616 * string/Makefile (strop-tests): Add rawmemchr.
11617 * string/test-rawmemchr.c: New file.
11619 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11620 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11621 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11622 when compiling str{,n}casecmp and when AVX is available. Hook up
11623 new optimized code in initializers.
11625 2011-10-19 Andreas Schwab <schwab@redhat.com>
11627 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11628 __feraiseexcept instead of feraiseexcept.
11630 2011-10-18 Ulrich Drepper <drepper@gmail.com>
11632 * math/math_private.h: Define defaults for libc_fetestexcept and
11634 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11635 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11636 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11637 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11638 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11639 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11640 libc_fetestexcept and libc_feupdateenv.
11642 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11643 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11644 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11645 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11646 libc_feholdexcept_setround.
11648 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11649 Add s_nearbyint-c and s_nearbyintf-c.
11650 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11651 nearbyintf inlines.
11652 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11653 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11654 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11655 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11657 * math/math_private.h: Define defaults for libc_fegetround,
11658 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11659 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11660 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11661 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11662 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11663 standard functions.
11664 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11665 Remove comments and hacks for old compiler versions.
11666 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11667 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11668 libc_feholdexceptl.
11670 2011-10-18 Andreas Schwab <schwab@redhat.com>
11672 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11673 (__feraiseexcept_renamed): Add __NTH.
11674 (feraiseexcept): Add __NTH. Rename local variables to fix
11675 namespace violations.
11677 2011-10-17 Ulrich Drepper <drepper@gmail.com>
11679 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11681 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11683 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11684 recently added interfaces.
11685 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11687 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11688 about macro parameter expansion.
11690 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11691 __NO_MATH_INLINES is defined. Cleanups.
11693 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11694 and __floorf is target has SSE4.1.
11695 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11696 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11697 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11698 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11700 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11702 (floorf): Likewise.
11704 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11706 2011-10-17 Andreas Schwab <schwab@redhat.com>
11708 * misc/sys/cdefs.h: Fix last change.
11710 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11713 2011-10-16 Ulrich Drepper <drepper@gmail.com>
11715 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11717 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11718 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11719 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11720 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11721 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11722 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11723 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11724 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11725 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11726 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11727 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11728 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11729 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11730 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11731 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11732 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11733 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11734 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11735 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11736 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11737 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11738 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11740 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11741 ceil, ceilf, floor, floorf.
11743 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11744 Perform IRELATIVE relocations last.
11746 * elf/do-rel.h: Add another parameter nrelative, replacing the
11747 local variable with the same name. Change name of the function
11748 to end in Rel or Rela (uppercase).
11749 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11750 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11751 elf_dynamic_do_##reloc function.
11753 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11755 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11756 is sufficient, at least on modern CPUs.
11758 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11760 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11761 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11763 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11765 * math/bits/math-finite.h: Add entries for exp.
11766 * math/e_expl.c: Add __*_finite alias.
11767 * sysdeps/i386/fpu/e_exp.S: Likewise.
11768 * sysdeps/i386/fpu/e_expf.S: Likewise.
11769 * sysdeps/i386/fpu/e_expl.c: Likewise.
11770 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11771 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11774 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11775 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11776 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11778 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11779 is sufficient, at least on modern CPUs.
11781 * ctype/ctype-info.c (__ctype_init): Define.
11782 * include/ctype.h (__ctype_init): Declare.
11783 (__ctype_b_loc): The variable is always initialized.
11784 (__ctype_toupper_loc): Likewise.
11785 (__ctype_tolower_loc): Likewise.
11786 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11787 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11789 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11791 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11793 * configure.in: Also look in $cxxmachine/include for C++ system
11796 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11798 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11799 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11800 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11801 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11802 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11803 (USE_AS_WMEMCMP): New macro.
11805 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11806 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11807 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11808 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11810 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11811 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11812 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11813 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11814 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11815 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11816 (USE_AS_WMEMCMP): New macro.
11817 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11818 * sysdeps/string/test-memcmp.c: Update.
11819 Fix simple_wmemcmp.
11821 * wcsmbs/wmemcmp.c: Update.
11822 (WMEMCMP): New macro.
11825 2011-10-12 Andreas Jaeger <aj@suse.de>
11828 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11830 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11832 * libio/iofwide.c (do_length): Avoid warning.
11834 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11836 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11838 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11840 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11841 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11842 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11843 * sysdeps/i386/i686/fpu/e_log.S: New file.
11844 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11845 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11847 * ctype/ctype.h: Add support for inlined isXXX functions when
11848 compiling C++ code.
11850 2011-10-14 Andreas Schwab <schwab@redhat.com>
11852 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11854 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11856 2011-10-13 Roland McGrath <roland@hack.frob.com>
11859 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11861 2011-10-13 Andreas Schwab <schwab@redhat.com>
11863 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11864 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11867 * sysdeps/x86_64/memrchr.S: Check for zero size.
11869 * string/stratcliff.c: Add memrchr tests.
11871 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11874 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11875 rawmemchr-sse2 rawmemchr-sse2-bsf.
11876 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11877 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11878 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11879 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11880 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11881 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11882 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11883 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11884 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11885 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11886 * string/memrchr.c (MEMRCHR): New macro.
11888 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11890 Add integration with gcc's -ffinite-math-only and optimize wrapper
11892 * Versions.def: Define GLIBC_2.15 version for libm.
11893 * math/Makefile (headers): Add bits/math-finite.h.
11894 * math/bits/math-finite.h: New file.
11895 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11896 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11897 * math/e_acoshl.c: Add __*_finite alias.
11898 * math/e_acosl.c: Likewise.
11899 * math/e_asinl.c: Likewise.
11900 * math/e_atan2l.c: Likewise.
11901 * math/e_atanhl.c: Likewise.
11902 * math/e_coshl.c: Likewise.
11903 * math/e_exp10.c: Likewise.
11904 * math/e_exp10f.c: Likewise.
11905 * math/e_exp10l.c: Likewise.
11906 * math/e_exp2l.c: Likewise.
11907 * math/e_fmodl.c: Likewise.
11908 * math/e_gammal_r.c: Likewise.
11909 * math/e_hypotl.c: Likewise.
11910 * math/e_j0l.c: Likewise.
11911 * math/e_j1l.c: Likewise.
11912 * math/e_jnl.c: Likewise.
11913 * math/e_lgammal_r.c: Likewise.
11914 * math/e_log10l.c: Likewise.
11915 * math/e_log2l.c: Likewise.
11916 * math/e_logl.c: Likewise.
11917 * math/e_powl.c: Likewise.
11918 * math/e_sinhl.c: Likewise.
11919 * math/e_sqrtl.c: Likewise.
11920 * math/e_scalb.c: Completely rewritten and optimized.
11921 * math/e_scalbf.c: Likewise.
11922 * math/e_scalbl.c: Likewise.
11923 * math/w_acos.c: Likewise.
11924 * math/w_acosf.c: Likewise.
11925 * math/w_acosl.c: Likewise.
11926 * math/w_acosh.c: Likewise.
11927 * math/w_acoshf.c: Likewise.
11928 * math/w_acoshl.c: Likewise.
11929 * math/w_asin.c: Likewise.
11930 * math/w_asinf.c: Likewise.
11931 * math/w_asinl.c: Likewise.
11932 * math/w_atan2.c: Likewise.
11933 * math/w_atan2f.c: Likewise.
11934 * math/w_atan2l.c: Likewise.
11935 * math/w_atanh.c: Likewise.
11936 * math/w_atanhf.c: Likewise.
11937 * math/w_atanhl.c: Likewise.
11938 * math/w_exp10.c: Likewise.
11939 * math/w_exp10f.c: Likewise.
11940 * math/w_exp10l.c: Likewise.
11941 * math/w_fmod.c: Likewise.
11942 * math/w_fmodf.c: Likewise.
11943 * math/w_fmodl.c: Likewise.
11944 * math/w_j0.c: Likewise.
11945 * math/w_j0f.c: Likewise.
11946 * math/w_j0l.c: Likewise.
11947 * math/w_j1.c: Likewise.
11948 * math/w_j1f.c: Likewise.
11949 * math/w_j1l.c: Likewise.
11950 * math/w_jn.c: Likewise.
11951 * math/w_jnf.c: Likewise.
11952 * math/w_log.c: Likewise.
11953 * math/w_logf.c: Likewise.
11954 * math/w_logl.c: Likewise.
11955 * math/w_log10.c: Likewise.
11956 * math/w_log10f.c: Likewise.
11957 * math/w_log10l.c: Likewise.
11958 * math/w_log2.c: Likewise.
11959 * math/w_log2f.c: Likewise.
11960 * math/w_log2l.c: Likewise.
11961 * math/w_pow.c: Likewise.
11962 * math/w_powf.c: Likewise.
11963 * math/w_powl.c: Likewise.
11964 * math/w_remainder.c: Likewise.
11965 * math/w_remainderf.c: Likewise.
11966 * math/w_remainderl.c: Likewise.
11967 * math/w_scalb.c: Likewise.
11968 * math/w_scalbf.c: Likewise.
11969 * math/w_scalbl.c: Likewise.
11970 * math/w_sqrt.c: Likewise.
11971 * math/w_sqrtf.c: Likewise.
11972 * math/w_sqrtl.c: Likewise.
11973 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11974 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11976 * math/math_private.h: Declare __kernel_standard_f.
11977 * math/w_cosh.c: Remove cruft and optimize a bit.
11978 * math/w_coshf.c: Likewise.
11979 * math/w_coshl.c: Likewise.
11980 * math/w_exp2.c: Likewise.
11981 * math/w_exp2f.c: Likewise.
11982 * math/w_exp2l.c: Likewise.
11983 * math/w_hypot.c: Likewise.
11984 * math/w_hypotf.c: Likewise.
11985 * math/w_hypotl.c: Likewise.
11986 * math/w_lgamma.c: Likewise.
11987 * math/w_lgamma_r.c: Likewise.
11988 * math/w_lgammaf.c: Likewise.
11989 * math/w_lgammaf_r.c: Likewise.
11990 * math/w_lgammal.c: Likewise.
11991 * math/w_lgammal_r.c: Likewise.
11992 * math/w_sinh.c: Likewise.
11993 * math/w_sinhf.c: Likewise.
11994 * math/w_sinhl.c: Likewise.
11995 * math/w_tgamma.c: Likewise.
11996 * math/w_tgammaf.c: Likewise.
11997 * math/w_tgammal.c: Likewise.
11998 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11999 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12000 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12001 Minor optimizations. Pretty printing. Remove cruft.
12002 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12003 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12004 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12005 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12006 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12007 * sysdeps/i386/fpu/e_asin.S: Likewise.
12008 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12009 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12010 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12011 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12012 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12013 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12014 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12015 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12016 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12017 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12018 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12019 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12020 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12021 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12022 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12023 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12024 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12025 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12026 * sysdeps/i386/fpu/e_log.S: Likewise.
12027 * sysdeps/i386/fpu/e_log10.S: Likewise.
12028 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12029 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12030 * sysdeps/i386/fpu/e_log2.S: Likewise.
12031 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12032 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12033 * sysdeps/i386/fpu/e_logf.S: Likewise.
12034 * sysdeps/i386/fpu/e_logl.S: Likewise.
12035 * sysdeps/i386/fpu/e_pow.S: Likewise.
12036 * sysdeps/i386/fpu/e_powf.S: Likewise.
12037 * sysdeps/i386/fpu/e_powl.S: Likewise.
12038 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12039 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12040 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12041 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12042 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12043 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12044 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12045 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12046 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12048 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12050 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12051 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12052 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12053 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12054 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12055 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12056 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12057 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12058 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12060 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12062 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12063 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12064 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12065 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12067 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12068 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12069 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12070 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12071 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12072 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12073 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12074 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12075 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12076 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12077 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12078 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12079 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12080 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12081 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12082 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12083 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12084 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12085 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12086 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12087 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12088 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12089 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12090 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12091 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12092 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12093 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12094 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12095 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12096 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12097 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12098 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12099 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12100 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12101 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12102 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12103 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12104 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12105 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12106 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12107 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12108 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12109 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12110 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12111 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12112 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12113 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12114 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12115 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12116 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12117 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12118 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12119 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12120 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12121 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12122 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12123 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12124 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12125 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12126 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12127 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12128 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12129 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12130 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12131 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12132 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12133 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12134 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12135 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12136 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12137 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12138 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12139 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12140 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12141 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12142 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12143 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12144 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12145 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12146 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12147 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12148 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12149 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12150 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12151 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12152 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12153 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12154 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12155 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12156 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12157 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12158 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12159 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12160 (__isnanf): Likewise.
12161 (__isinf_ns): Likewise.
12162 (__isinf_nsf): Likewise.
12163 (__finite): Likewise.
12164 (__finitef): Likewise.
12165 (__ieee754_sqrt): Define as macro.
12166 (__ieee754_sqrtf): Define as macro.
12167 (__ieee754_sqrtl): Define as macro.
12168 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12170 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12171 __FINITE_MATH_ONLY__ consistent.
12172 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12174 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12176 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12179 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12181 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12183 * po/ja.po: Update from translation team.
12185 2011-10-08 Roland McGrath <roland@hack.frob.com>
12187 * locale/programs/locarchive.c (prepare_address_space): New function.
12188 (create_archive, enlarge_archive, open_archive): Use it.
12190 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12191 inside [SHARED], where it is used.
12193 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12195 * nss/getent.c (netgroup_keys): Remove unused variable.
12196 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12198 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12200 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12201 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12202 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12203 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12204 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12205 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12206 * math/Makefile (libm-calls): Add s_isinf_ns.
12207 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12208 * math/multc3.c: Likewise.
12209 * math/s_casin.c: Likewise.
12210 * math/s_casinf.c: Likewise.
12211 * math/s_casinl.c: Likewise.
12212 * math/s_ccos.c: Likewise.
12213 * math/s_ccosf.c: Likewise.
12214 * math/s_ccosl.c: Likewise.
12215 * math/s_ctan.c: Likewise.
12216 * math/s_ctanf.c: Likewise.
12217 * math/s_ctanh.c: Likewise.
12218 * math/s_ctanhf.c: Likewise.
12219 * math/s_ctanhl.c: Likewise.
12220 * math/s_ctanl.c: Likewise.
12221 * math/w_fmod.c: Likewise.
12222 * math/w_fmodf.c: Likewise.
12223 * math/w_fmodl.c: Likewise.
12224 * math/w_remainder.c: Likewise.
12225 * math/w_remainderf.c: Likewise.
12226 * math/w_remainderl.c: Likewise.
12227 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12228 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12229 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12231 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12232 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12233 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12234 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12236 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12238 * stdio-common/printf_fphex.c: Likewise.
12239 * stdio-common/printf_size.c: Likewise.
12241 * math/e_exp10.c: Include math_private.h using <...> not "...".
12242 * math/e_exp10f.c: Likewise.
12243 * math/e_exp10l.c: Likewise.
12244 * math/e_exp2l.c: Likewise.
12245 * math/e_j0l.c: Likewise.
12246 * math/e_j1l.c: Likewise.
12247 * math/e_jnl.c: Likewise.
12248 * math/e_lgammal_r.c: Likewise.
12249 * math/e_rem_pio2l.c: Likewise.
12250 * math/e_scalb.c: Likewise.
12251 * math/e_scalbf.c: Likewise.
12252 * math/e_scalbl.c: Likewise.
12253 * math/k_cosl.c: Likewise.
12254 * math/k_sinl.c: Likewise.
12255 * math/k_tanl.c: Likewise.
12256 * math/s_cacoshf.c: Likewise.
12257 * math/s_catan.c: Likewise.
12258 * math/s_catanf.c: Likewise.
12259 * math/s_catanh.c: Likewise.
12260 * math/s_catanhf.c: Likewise.
12261 * math/s_catanhl.c: Likewise.
12262 * math/s_catanl.c: Likewise.
12263 * math/s_ccosh.c: Likewise.
12264 * math/s_ccoshf.c: Likewise.
12265 * math/s_ccoshl.c: Likewise.
12266 * math/s_cexp.c: Likewise.
12267 * math/s_cexpf.c: Likewise.
12268 * math/s_cexpl.c: Likewise.
12269 * math/s_clog.c: Likewise.
12270 * math/s_clog10.c: Likewise.
12271 * math/s_clog10f.c: Likewise.
12272 * math/s_clog10l.c: Likewise.
12273 * math/s_clogf.c: Likewise.
12274 * math/s_clogl.c: Likewise.
12275 * math/s_csin.c: Likewise.
12276 * math/s_csinf.c: Likewise.
12277 * math/s_csinh.c: Likewise.
12278 * math/s_csinhf.c: Likewise.
12279 * math/s_csinhl.c: Likewise.
12280 * math/s_csinl.c: Likewise.
12281 * math/s_csqrt.c: Likewise.
12282 * math/s_csqrtf.c: Likewise.
12283 * math/s_csqrtl.c: Likewise.
12284 * math/s_ctan.c: Likewise.
12285 * math/s_ctanf.c: Likewise.
12286 * math/s_ctanh.c: Likewise.
12287 * math/s_ctanhf.c: Likewise.
12288 * math/s_ctanhl.c: Likewise.
12289 * math/s_ctanl.c: Likewise.
12290 * math/s_ldexp.c: Likewise.
12291 * math/s_ldexpf.c: Likewise.
12292 * math/s_ldexpl.c: Likewise.
12293 * math/s_significand.c: Likewise.
12294 * math/s_significandf.c: Likewise.
12295 * math/s_significandl.c: Likewise.
12296 * math/w_acos.c: Likewise.
12297 * math/w_acosf.c: Likewise.
12298 * math/w_acosh.c: Likewise.
12299 * math/w_acoshf.c: Likewise.
12300 * math/w_acoshl.c: Likewise.
12301 * math/w_acosl.c: Likewise.
12302 * math/w_asin.c: Likewise.
12303 * math/w_asinf.c: Likewise.
12304 * math/w_asinl.c: Likewise.
12305 * math/w_atan2.c: Likewise.
12306 * math/w_atan2f.c: Likewise.
12307 * math/w_atan2l.c: Likewise.
12308 * math/w_atanh.c: Likewise.
12309 * math/w_atanhf.c: Likewise.
12310 * math/w_atanhl.c: Likewise.
12311 * math/w_cosh.c: Likewise.
12312 * math/w_coshf.c: Likewise.
12313 * math/w_coshl.c: Likewise.
12314 * math/w_dremf.c: Likewise.
12315 * math/w_exp10.c: Likewise.
12316 * math/w_exp10f.c: Likewise.
12317 * math/w_exp10l.c: Likewise.
12318 * math/w_exp2.c: Likewise.
12319 * math/w_exp2f.c: Likewise.
12320 * math/w_fmod.c: Likewise.
12321 * math/w_fmodf.c: Likewise.
12322 * math/w_fmodl.c: Likewise.
12323 * math/w_hypot.c: Likewise.
12324 * math/w_hypotf.c: Likewise.
12325 * math/w_hypotl.c: Likewise.
12326 * math/w_j0.c: Likewise.
12327 * math/w_j0f.c: Likewise.
12328 * math/w_j0l.c: Likewise.
12329 * math/w_j1.c: Likewise.
12330 * math/w_j1f.c: Likewise.
12331 * math/w_j1l.c: Likewise.
12332 * math/w_jn.c: Likewise.
12333 * math/w_jnf.c: Likewise.
12334 * math/w_jnl.c: Likewise.
12335 * math/w_lgamma.c: Likewise.
12336 * math/w_lgamma_r.c: Likewise.
12337 * math/w_lgammaf.c: Likewise.
12338 * math/w_lgammaf_r.c: Likewise.
12339 * math/w_lgammal.c: Likewise.
12340 * math/w_lgammal_r.c: Likewise.
12341 * math/w_log.c: Likewise.
12342 * math/w_log10.c: Likewise.
12343 * math/w_log10f.c: Likewise.
12344 * math/w_log10l.c: Likewise.
12345 * math/w_log2.c: Likewise.
12346 * math/w_log2f.c: Likewise.
12347 * math/w_log2l.c: Likewise.
12348 * math/w_logf.c: Likewise.
12349 * math/w_logl.c: Likewise.
12350 * math/w_pow.c: Likewise.
12351 * math/w_powf.c: Likewise.
12352 * math/w_powl.c: Likewise.
12353 * math/w_remainder.c: Likewise.
12354 * math/w_remainderf.c: Likewise.
12355 * math/w_remainderl.c: Likewise.
12356 * math/w_scalb.c: Likewise.
12357 * math/w_scalbf.c: Likewise.
12358 * math/w_scalbl.c: Likewise.
12359 * math/w_sinh.c: Likewise.
12360 * math/w_sinhf.c: Likewise.
12361 * math/w_sinhl.c: Likewise.
12362 * math/w_sqrt.c: Likewise.
12363 * math/w_sqrtf.c: Likewise.
12364 * math/w_sqrtl.c: Likewise.
12365 * math/w_tgamma.c: Likewise.
12366 * math/w_tgammaf.c: Likewise.
12367 * math/w_tgammal.c: Likewise.
12369 * po/ja.po: Update from translation team.
12371 2011-09-29 Andreas Jaeger <aj@suse.de>
12374 * sunrpc/netname.c (netname2host): Fix logic.
12378 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12380 * math/w_remainder.c (__remainder): Likewise.
12381 * math/w_remainderf.c (__remainderf): Likewise.
12382 * math/libm-test.inc (remainder_test): Add test cases.
12384 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12386 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12389 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12391 * string/test-memcmp.c: Avoid unncessary #defines.
12392 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12394 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12396 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12397 Use new sse2 version for core i3 - i7 as it's faster
12398 than sse42 version.
12399 (bit_Prefer_PMINUB_for_stringop): New.
12400 * sysdeps/x86_64/rawmemchr.S: Update.
12401 Replace with faster SSE2 version.
12402 * sysdeps/x86_64/memrchr.S: New file.
12403 * sysdeps/x86_64/memchr.S: Update.
12404 Replace with faster SSE2 version.
12406 2011-09-12 Marek Polacek <mpolacek@redhat.com>
12408 * elf/dl-load.c (lose): Add cast to avoid warning.
12410 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12412 * po/ca.po: Update from translation team.
12414 * inet/getnetgrent_r.c: Hook up nscd.
12415 * nscd/Makefile (routines): Add nscd_netgroup.
12416 (nscd-modules): Add netgroupcache.
12417 (CFLAGS-netgroupcache.c): Define.
12418 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12419 (cache_search): Add const to second parameter.
12420 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12422 (dbs): Add netgrdb entry.
12423 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12424 (verify_persistent_db): Handle netgrdb.
12425 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12426 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12428 (netgroup_response_header): Define.
12429 (innetgroup_response_header): Define.
12430 (datahead): Add netgroup_response_header and innetgroup_response_header
12432 * nscd/nscd.conf: Add entries for netgroup cache.
12433 * nscd/nscd.h (dbtype): Add netgrdb.
12434 (_PATH_NSCD_NETGROUP_DB): Define.
12435 (netgroup_iov_disabled): Declare.
12436 (xmalloc, xcalloc, xrealloc): Move declarations here.
12437 (cache_search): Adjust prototype.
12438 Add netgroup-related prototypes.
12439 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12440 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12441 (__nscd_innetgr): Declare.
12442 * nscd/selinux.c (perms): Use access_vector_t as element type and
12443 add netgroup-related initializers.
12444 * nscd/netgroupcache.c: New file.
12445 * nscd/nscd_netgroup.c: New file.
12446 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12447 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12448 For four parameters use innetgr.
12449 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12450 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12451 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12452 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12454 * nscd/connections.c (register_traced_file): Don't register file
12455 for disabled databases.
12457 2011-10-06 Ulrich Drepper <drepper@gmail.com>
12459 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12461 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12462 from tree and freeing node.
12464 2011-09-25 Jiri Olsa <jolsa@redhat.com>
12466 * nss/nsswitch.c (__nss_database_lookup): Handle
12467 nss_parse_service_list out of memory case.
12469 2011-09-15 Jiri Olsa <jolsa@redhat.com>
12471 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12472 out of memory case.
12474 2011-10-04 Andreas Schwab <schwab@redhat.com>
12476 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12477 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12479 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12480 elf_machine_rela, elf_machine_lazy_rel.
12481 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12482 (ELF_DYNAMIC_DO_REL): Likewise.
12483 (ELF_DYNAMIC_DO_RELA): Likewise.
12484 (ELF_DYNAMIC_RELOCATE): Likewise.
12485 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12486 to ELF_DYNAMIC_DO_REL.
12487 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12488 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12489 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12491 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12492 skip_ifunc, don't call ifunc function if non-zero.
12493 (elf_machine_rela): Likewise.
12494 (elf_machine_lazy_rel): Likewise.
12495 (elf_machine_lazy_rela): Likewise.
12496 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12497 (elf_machine_lazy_rel): Likewise.
12498 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12500 (elf_machine_lazy_rel): Likewise.
12501 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12503 (elf_machine_lazy_rel): Likewise.
12504 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12505 (elf_machine_lazy_rel): Likewise.
12506 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12507 (elf_machine_lazy_rel): Likewise.
12508 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12509 (elf_machine_lazy_rel): Likewise.
12510 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12511 (elf_machine_lazy_rel): Likewise.
12512 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12513 (elf_machine_lazy_rel): Likewise.
12514 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12515 (elf_machine_lazy_rel): Likewise.
12517 2011-09-28 Ulrich Drepper <drepper@gmail.com>
12519 * nss/nss_files/files-init.c (_nss_files_init): Use static
12520 initialization for all the *_traced_file variables.
12522 2011-09-28 Andreas Schwab <schwab@redhat.com>
12524 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12526 2011-09-27 Roland McGrath <roland@hack.frob.com>
12529 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12531 2011-09-27 Andreas Schwab <schwab@redhat.com>
12533 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12534 Reread the line before reparsing it.
12536 2011-09-26 Andreas Schwab <schwab@redhat.com>
12538 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12540 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12541 Maxim Kuvyrkov <maxim@codesourcery.com>
12542 Joseph Myers <joseph@codesourcery.com>
12544 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12545 if needed for __stack_chk_guard.
12547 2011-09-19 Roland McGrath <roland@hack.frob.com>
12549 * sysdeps/posix/spawni.c (script_execute): Always define it.
12550 It will be optimized away if unused.
12551 (maybe_script_execute): New function.
12552 (__spawni): Call it.
12554 * Makerules: Don't include tls.make.
12555 (config-tls): Always set to thread.
12556 * tls.make.c: File removed.
12558 2011-09-19 Mike Frysinger <vapier@gentoo.org>
12560 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12561 * config.make.in (CPPFLAGS-config): New substituted variable.
12563 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12565 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12568 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12569 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12571 2011-09-15 Roland McGrath <roland@hack.frob.com>
12573 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12574 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12575 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12576 (CALL_FAIL): Likewise.
12577 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12578 (CALL_FAIL): Macro removed.
12579 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12581 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12583 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12584 for __FINITE_MATH_ONLY__ == 1.
12586 2011-09-15 Andreas Schwab <schwab@redhat.com>
12588 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12589 __ieee754_sqrt instead of sqrt.
12590 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12591 __ieee754_sqrtf instead of sqrtf.
12592 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12593 __floorf instead of floorf.
12594 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12595 __floorf, __truncf instead of floorf, truncf.
12597 2011-09-14 Ulrich Drepper <drepper@gmail.com>
12599 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12601 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12602 __extern_always_inline.
12603 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12606 2011-09-14 Andreas Schwab <schwab@redhat.com>
12608 * elf/rtld.c (dl_main): Also relocate in dependency order when
12609 doing symbol dependency testing.
12611 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12613 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12614 Always define `refsym'.
12616 2011-09-13 Andreas Schwab <schwab@redhat.com>
12618 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12619 (__FD_ELT): Renamed from __FDELT.
12620 * misc/bits/select2.h (__FD_ELT): Likewise.
12621 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12622 __FD_MASK instead of __FDELT, __FDMASK.
12623 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12625 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12628 * elf/Makefile (gen-ldd): Fix pattern.
12630 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12631 (init_tls): Likewise.
12633 2011-09-12 Ulrich Drepper <drepper@gmail.com>
12635 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12637 2011-09-12 Andreas Schwab <schwab@redhat.com>
12639 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12640 `struct cmsghdr *' instead of `void *'.
12641 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12644 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12646 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12648 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12649 ldd_rewrite_script.
12651 2011-09-11 Ulrich Drepper <drepper@gmail.com>
12653 * configure.in: Remove --with-tls option.
12654 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12655 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12656 out in case it is missing.
12657 * sysdeps/ia64/elf/configure.in: Likewise.
12658 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12659 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12660 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12661 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12662 * sysdeps/sh/elf/configure.in: Likewise.
12663 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12664 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12665 * sysdeps/x86_64/elf/configure.in: Likewise.
12666 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12667 * sysdeps/mach/hurd/tls.h: Likewise.
12670 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12673 * configure.in: Fix use of AC_INIT.
12675 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12677 2011-09-10 Ulrich Drepper <drepper@gmail.com>
12679 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12681 * malloc/hooks.c: Likewise.
12684 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12685 variables statically.
12686 (narenas): Initialize.
12687 (list_lock): Initialize.
12688 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12689 initializtion of main_arena and list_lock. Small cleanups.
12690 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12691 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12692 Add initializers to main_arena and mp_.
12693 (malloc_state): Remove pagesize member. Change all users to use
12696 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12697 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12698 is always initialized.
12700 * malloc/malloc.c: Removed unused configurations and dead code.
12701 * malloc/arena.c: Likewise.
12702 * malloc/hooks.c: Likewise.
12703 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12705 * include/tls.h: Removed. USE___THREAD must always be defined.
12706 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12707 * elf/dl-libc.c: Likewise.
12708 * elf/dl-tsd.c: Likewise.
12709 * include/errno.h: Likewise.
12710 * include/netdb.h: Likewise.
12711 * include/resolv.h: Likewise.
12712 * inet/herrno-loc.c: Likewise.
12713 * inet/herrno.c: Likewise.
12714 * malloc/arena.c: Likewise.
12715 * malloc/hooks.c: Likewise.
12716 * malloc/malloc.c: Likewise.
12717 * resolv/res-state.c: Likewise.
12718 * resolv/res_libc.c: Likewise.
12719 * sysdeps/i386/dl-machine.h: Likewise.
12720 * sysdeps/ia64/dl-machine.h: Likewise.
12721 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12722 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12723 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12724 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12725 * sysdeps/sh/dl-machine.h: Likewise.
12726 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12727 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12728 * sysdeps/unix/i386/sysdep.S: Likewise.
12729 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12730 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12732 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12733 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12734 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12735 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12736 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12739 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12740 * sysdeps/x86_64/dl-machine.h: Likewise.
12741 * tls.make.c: Likewise.
12743 * configure.in: Remove --with-__thread option. Make tests for
12744 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12745 tls_model attribute fail if no support is available. Remove
12747 * Makeconfig: Adjust for dropped configure option. All features are
12749 * Makerules: Likewise.
12750 * Versions.def: Likewise.
12751 * argp/argp-fmtstream.c: Likewise.
12752 * argp/argp-fmtstream.h: Likewise.
12753 * argp/argp-help.c: Likewise.
12754 * assert/assert.c: Likewise.
12755 * config.h.in: Likewise.
12756 * config.make.in: Likewise.
12757 * configure: Likewise.
12758 * configure.in: Likewise.
12759 * csu/Versions: Likewise.
12760 * csu/init.c: Likewise.
12761 * elf/tst-audit2.c: Likewise.
12762 * elf/tst-tls10.c: Likewise.
12763 * elf/tst-tls10.h: Likewise.
12764 * elf/tst-tls11.c: Likewise.
12765 * elf/tst-tls12.c: Likewise.
12766 * elf/tst-tls14.c: Likewise.
12767 * elf/tst-tlsmod11.c: Likewise.
12768 * elf/tst-tlsmod12.c: Likewise.
12769 * elf/tst-tlsmod13.c: Likewise.
12770 * elf/tst-tlsmod13a.c: Likewise.
12771 * elf/tst-tlsmod14a.c: Likewise.
12772 * elf/tst-tlsmod15b.c: Likewise.
12773 * elf/tst-tlsmod16a.c: Likewise.
12774 * elf/tst-tlsmod16b.c: Likewise.
12775 * elf/tst-tlsmod7.c: Likewise.
12776 * elf/tst-tlsmod8.c: Likewise.
12777 * elf/tst-tlsmod9.c: Likewise.
12778 * gmon/gmon.c: Likewise.
12779 * grp/fgetgrent_r.c: Likewise.
12780 * grp/putgrent.c: Likewise.
12781 * hurd/fopenport.c: Likewise.
12782 * include/libc-symbols.h: Likewise.
12783 * include/tls.h: Likewise.
12784 * intl/gettextP.h: Likewise.
12785 * intl/loadinfo.h: Likewise.
12786 * locale/global-locale.c: Likewise.
12787 * locale/localeinfo.h: Likewise.
12788 * mach/devstream.c: Likewise.
12789 * malloc/arena.c: Likewise.
12790 * malloc/set-freeres.c: Likewise.
12791 * misc/err.c: Likewise.
12792 * misc/getttyent.c: Likewise.
12793 * misc/mntent_r.c: Likewise.
12794 * posix/getopt.c: Likewise.
12795 * posix/wordexp.c: Likewise.
12796 * pwd/fgetpwent_r.c: Likewise.
12797 * resolv/Versions: Likewise.
12798 * resolv/res_hconf.c: Likewise.
12799 * shadow/fgetspent_r.c: Likewise.
12800 * shadow/putspent.c: Likewise.
12801 * stdio-common/printf_fphex.c: Likewise.
12802 * stdio-common/tmpfile.c: Likewise.
12803 * stdlib/abort.c: Likewise.
12804 * stdlib/fmtmsg.c: Likewise.
12805 * sunrpc/auth_unix.c: Likewise.
12806 * sunrpc/clnt_perr.c: Likewise.
12807 * sunrpc/clnt_tcp.c: Likewise.
12808 * sunrpc/clnt_udp.c: Likewise.
12809 * sunrpc/clnt_unix.c: Likewise.
12810 * sunrpc/openchild.c: Likewise.
12811 * sunrpc/svc_simple.c: Likewise.
12812 * sunrpc/svc_tcp.c: Likewise.
12813 * sunrpc/svc_udp.c: Likewise.
12814 * sunrpc/svc_unix.c: Likewise.
12815 * sunrpc/xdr.c: Likewise.
12816 * sunrpc/xdr_array.c: Likewise.
12817 * sunrpc/xdr_rec.c: Likewise.
12818 * sunrpc/xdr_ref.c: Likewise.
12819 * sunrpc/xdr_stdio.c: Likewise.
12821 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12823 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12825 2011-07-03 Andreas Jaeger <aj@suse.de>
12827 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12828 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12829 regenerate with gen-libm-tests.pl.
12831 2010-05-12 Petr Baudis <pasky@suse.cz>
12834 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12835 around j0() zero points by switching to j1().
12836 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12841 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12843 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12845 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12848 Patch in part by Pavel Roskin <proski@gnu.org>.
12851 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12853 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12854 Free memory block if necessary.
12857 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12858 be NULL. Don't lock in this case.
12860 2011-09-09 Roland McGrath <roland@hack.frob.com>
12862 * elf/elf.h (ELFOSABI_GNU): New macro.
12863 (ELFOSABI_LINUX): Define to that.
12865 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12867 * string/strncat.c (strncat): Undef the symbol in case it has been
12868 defined in bits/string.h.
12870 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12872 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12874 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12877 2011-08-17 Andreas Jaeger <aj@suse.de>
12879 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12881 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12882 Ian Lance Taylor <iant@google.com>
12884 * math/libm-test.inc (lround_test): New testcase.
12885 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12887 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12889 * Makefile: Remove support for automatic cvs check-ins.
12890 * Makerules: Likewise.
12891 * config.make.in: Likewise.
12892 * configure.in: Likewise.
12893 * intl/Makefile: Likewise.
12894 * locale/Makefile: Likewise.
12895 * po/Makefile: Likewise.
12896 * posix/Makefile: Likewise.
12897 * sysdeps/gnu/Makefile: Likewise.
12898 * sysdeps/mach/hurd/Makefile: Likewise.
12899 * sysdeps/sparc/sparc32/Makefile: Likewise.
12902 * posix/Makefile (bug-regex32-ENV): Define.
12903 Patch by John Stanley <jpsinthemix@verizon.net>.
12905 * misc/Makefile (headers): Add bits/select2.h.
12906 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12907 * misc/bits/select2.h: New file.
12908 * include/bits/select2.h: New file.
12909 * debug/Makefile (routines): Add fdelt_chk.
12910 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12911 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12913 * debug/fdelt_chk.c: New file.
12915 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12916 * wcsmbs/test-wmemcmp.c: Likewise.
12917 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12918 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12920 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12922 * string/Makefile (strop-tests): Add memcmp.
12923 * string/test-wmemcmp.c: New file.
12924 * string/test-memcmp.c: Add wmemcmp support.
12926 2011-09-08 Roland McGrath <roland@hack.frob.com>
12929 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12932 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12933 garbage value in a __mach_port_mod_refs call in the cases of the
12934 task-self and thread-self ports.
12936 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12938 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12940 2011-09-08 Andreas Schwab <schwab@redhat.com>
12942 * elf/dl-load.c (lose): Check for non-null L.
12944 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12946 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12948 * elf/dl-libc.c (dlerror_run): Pass back error code from
12952 * elf/dl-load.c (lose): Free l_origin if it is valid.
12954 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12956 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12957 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12958 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12959 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12960 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12961 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12963 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12965 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12966 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12967 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12968 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12969 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12970 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12971 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12972 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12973 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12974 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12976 2011-08-15 Alan Modra <amodra@gmail.com>
12979 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12980 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12981 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12982 ppc_mcount to static-only-routines.
12983 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12985 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12986 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12988 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12990 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12991 for finite and infinity parameters.
12993 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12995 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12996 and add nop instructions for throughput optimization.
12997 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12999 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13001 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13002 aligned copy for power7 with vector-scalar instructions.
13003 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13005 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13007 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13010 2011-09-07 Andreas Schwab <schwab@redhat.com>
13013 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13016 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13018 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13019 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13020 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13021 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13024 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13026 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13027 Forgot to demangle the pointer.
13029 * sysdeps/i386/sysdep.h: Define atom_text_section.
13030 * sysdeps/x86_64/sysdep.h: Likewise.
13031 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13032 section with atom_text_section.
13033 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13034 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13035 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13036 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13037 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13039 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13040 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13041 already be defined. Change to take two parameters and don't assign
13042 result to variable. Adjust all users.
13043 Define INTERNAL_GETTIME if not already defined.
13044 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13047 HAVE_CLOCK_GETTIME_VSYSCALL.
13048 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13050 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13051 gettimeofday vsyscall, just use time.
13053 2011-09-06 Andreas Schwab <schwab@redhat.com>
13055 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13058 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13060 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13062 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13064 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13065 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13066 syscall if possible.
13068 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13070 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13071 e_ident. Don't pass to find_mapsXX.
13072 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13074 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13077 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13078 * sysdeps/x86_64/multiarch/strchr.S: Update.
13079 Check bit_slow_BSF bit.
13080 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13081 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13082 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13084 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13087 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13089 (tryshell): Define.
13090 (__spawni): Change last parameter to be flag. Test
13091 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13092 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13093 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13094 * posix/spawni.c: Likewise.
13095 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13096 * posix/spawnp.c: Likewise. Change normal version to use
13097 SPAWN_XFLAGS_USE_PATH.
13098 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13099 SPAWN_XFLAGS_TRY_SHELL.
13102 * posix/glob.h: Remove gcc 1.x support.
13105 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13107 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13110 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13112 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13113 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13114 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13115 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13116 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13117 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13119 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13121 * sysdeps/x86_64/wcscmp.S: New file.
13123 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13124 wcscmp-c wcscmp-sse2
13125 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13126 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13127 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13128 * wcsmbs/wcscmp.c: Allow renaming.
13130 2011-09-05 David S. Miller <davem@davemloft.net>
13132 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13133 stack slot, rather than the struct return pointer slot.
13134 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13135 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13137 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13139 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13141 * po/ja.po: Update from translation team.
13144 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13145 kernel in 64-bit binaries.
13147 2011-09-01 David S. Miller <davem@davemloft.net>
13149 * elf/elf.h (HWCAP_SPARC_*): Move to..
13150 * sysdeps/sparc/sysdep.h: this new file and add new values.
13151 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13152 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13153 _DL_HWCAP_COUNT to 24.
13154 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13156 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13157 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13158 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13159 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13160 instead of magic constants.
13161 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13163 2011-08-31 David S. Miller <davem@davemloft.net>
13165 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13166 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13167 Reimplement to do errno handling inline.
13168 (SYSCALL_ERROR_HANDLER): New macro.
13169 (__SYSCALL_STRING): Do not do errno handling in asm.
13170 (__CLONE_SYSCALL_STRING): Delete.
13171 (__INTERNAL_SYSCALL_STRING): Delete.
13172 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13173 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13174 (PSEUDO): Reimplement to do errno handling inline.
13175 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13176 (SYSCALL_ERROR_HANDLER): New macro.
13177 (__SYSCALL_STRING): Do not do errno handling in asm.
13178 (__CLONE_SYSCALL_STRING): Delete.
13179 (__INTERNAL_SYSCALL_STRING): Delete.
13180 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13181 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13183 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13184 (inline_syscall*): Add 'err' argument.
13185 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13186 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13187 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13188 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13190 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13191 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13193 2011-08-30 Andreas Schwab <schwab@redhat.com>
13195 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13197 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13199 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13202 2011-08-24 David S. Miller <davem@davemloft.net>
13204 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13206 2011-08-24 Andreas Schwab <schwab@redhat.com>
13208 * elf/Makefile: Add rules to build and run unload8 test.
13209 * elf/unload8.c: New file.
13210 * elf/unload8mod1.c: New file.
13211 * elf/unload8mod1x.c: New file.
13212 * elf/unload8mod2.c: New file.
13213 * elf/unload8mod3.c: New file.
13215 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13218 2011-08-23 David S. Miller <davem@davemloft.net>
13220 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13221 subtract stack bias.
13222 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13223 %sp not %fp in calculations.
13224 (_JMPBUF_UNWINDS_ADJ): Likewise.
13226 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13227 (aio_suspend): Call it to force an exception region around the
13228 AIO_MISC_WAIT() invocation.
13230 2011-08-23 Andreas Schwab <schwab@redhat.com>
13232 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13235 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13237 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13239 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13240 and <dl-machine.h>.
13241 (Elf64_FuncDesc): Remove.
13243 2011-08-22 David S. Miller <davem@davemloft.net>
13245 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13246 sigaltstack check, add missing cfi directives.
13247 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13248 missing cfi directives, and sigaltstack handling.
13250 2011-08-16 Andreas Schwab <schwab@redhat.com>
13253 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13254 object is seen twice.
13255 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13257 * elf/Makefile (distribute): Add tst-initorder2.c.
13258 (tests): Add tst-initorder2.
13259 (modules-names): Add tst-initorder2a tst-initorder2b
13260 tst-initorder2c tst-initorder2d. Add rules to build them.
13261 ($(objpfx)tst-initorder2.out): New rule.
13262 * elf/tst-initorder2.c: New file.
13263 * elf/tst-initorder2.exp: New file.
13265 2011-08-22 Andreas Schwab <schwab@redhat.com>
13267 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13269 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13270 dependencies back to end of function.
13272 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13273 $(elfobjdir)/ld.so.
13275 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13277 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13278 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13279 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13280 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13281 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13282 of __vdso_gettimeofday.
13283 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13284 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13286 (_libc_vdso_platform_setup): Remove initialization of
13287 __vdso_gettimeofday and __vdso_time.
13289 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13291 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13292 and fgetc_unlocked.
13293 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13296 * elf/dl-open.c (add_to_global): Report additions to the global scope
13297 for LD_DEBUG=scopes.
13298 (dl_open_worker): Also print scope of newly loaded dependencies.
13299 (_dl_show_scope): Indicate if there is no scope.
13302 * stdio-common/Makefile (tests): Add bug24.
13303 * stdio-common/bug24.c: New file.
13305 2011-08-19 Andreas Jaeger <aj@suse.de>
13308 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13309 non-existant file when using close-on-exec mode.
13311 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13313 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13314 the very first instruction.
13316 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13317 the CFI state in the end.
13318 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13319 inclusion of dl-trampoline.h.
13320 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13322 2011-08-19 Andreas Schwab <schwab@redhat.com>
13324 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13325 expectations for long double.
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13328 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13330 2011-08-14 David S. Miller <davem@davemloft.net>
13332 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13333 artificual limit depends upon the system page size.
13335 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13337 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13338 * resolv/Makefile: Define CFLAGS-libresolv.
13340 2011-08-17 Andreas Schwab <schwab@redhat.com>
13342 * nss/makedb.c (compute_tables): Make variables used in nested
13345 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13347 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13348 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13349 if buffer was too small.
13351 * elf/pldd.c (main): Attach to all threads in the process.
13352 Rewrite /proc handling to use *at functions.
13354 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13356 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13357 specifies first scope to show.
13358 (dl_open_worker): Update callers. Move printing scope of new
13359 object to before the relocation.
13360 * elf/rtld.c (dl_main): Update _dl_show_scope call.
13361 * sysdeps/generic/ldsodefs.h: Update declaration.
13363 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13364 string for the scope number.
13366 2011-08-14 Ulrich Drepper <drepper@gmail.com>
13368 * nscd/servicescache.c (cache_addserv): Make sure written is always
13371 2011-08-14 Roland McGrath <roland@hack.frob.com>
13373 * sysdeps/i386/i486/bits/atomic.h
13374 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13375 statement expression, so as to suppress "set but not used" warning.
13376 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13378 * string/strncat.c (STRNCAT): Use prototype definition.
13380 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13381 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13383 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13384 (localedef-modules): Add localedef.
13385 (locale-modules): Add locale.
13387 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13388 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13389 to avoid a warning.
13391 2011-08-14 David S. Miller <davem@davemloft.net>
13393 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13394 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13396 2011-08-13 Ulrich Drepper <drepper@gmail.com>
13398 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13399 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13400 * elf/rtld.c (dl_main): Set l_name of vDSO.
13401 Call _dl_show_scope when DL_DEBUG_SCOPES.
13402 (process_dl_debug): Recognize scopes flag and also set it for all.
13403 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13404 Declare _dl_show_scope.
13406 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13407 (do_dlopen): Pass caller_dlopen to dl_open.
13408 (__libc_dlopen_mode): Initialize caller_dlopen.
13410 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13411 of libc. Make tolower call locale-independent. Optimize a bit by
13412 using isdigit instead of isalnum.
13413 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13415 2011-08-12 Ulrich Drepper <drepper@gmail.com>
13417 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13418 was a dependency or dynamically loaded.
13420 2011-08-11 Ulrich Drepper <drepper@gmail.com>
13422 * intl/l10nflist.c: Allow architecture-specific pop function.
13423 * sysdeps/x86_64/l10nflist.c: New file.
13425 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13428 2011-08-10 Andreas Schwab <schwab@redhat.com>
13430 * include/dirent.h: Add libc_hidden_proto for scandirat and
13431 scandirat64. Don't declare __scandirat64.
13432 * dirent/scandirat.c: Add libc_hidden_def.
13433 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13434 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13436 2011-08-10 David S. Miller <davem@davemloft.net>
13438 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13440 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13441 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13442 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13444 2011-08-09 Ulrich Drepper <drepper@gmail.com>
13446 * Versions.def [libc]: Add GLIBC_2.15.
13447 * dirent/Makefile (routines): Add scandirat and scandirat64.
13448 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13450 * dirent/dirent.h: Declare scandirat and scandirat64.
13451 * dirent/scandirat.c: New file.
13452 * dirent/scandirat64.c: New file.
13453 * sysdeps/wordsize-64/scandirat.c: New file.
13454 * sysdeps/wordsize-64/scandirat64.c: New file.
13455 * dirent/opendir.c: Define opendirat.
13456 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13458 * dirent/scandir64.c: Adjust for scandir.c change.
13459 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13460 __scandirat64, and __scandir_cancel_handler.
13461 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13462 additional parameter and use openat instead of open (outside of ld.so).
13463 Add new __opendir as wrapper around __opendirat.
13464 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13465 here without requiring old scandirat implementation.
13467 2011-08-08 Ulrich Drepper <drepper@gmail.com>
13469 * dirent/scandir.c (cancel_handler): Renamed to
13470 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13471 defined. Adjust users.
13472 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13473 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13475 2011-08-04 Ulrich Drepper <drepper@gmail.com>
13477 * string/test-string.h (IMPL): Use __STRING to expand name and then
13480 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13483 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13485 * string/Makefile: Update.
13486 (strop-tests): Append strncat.
13487 * string/test-wcscmp.c: New file.
13488 New comprehensive test for wcscmp.
13489 * string/test-strcmp.c: Update.
13490 (WIDE): New define.
13492 2011-07-22 Andreas Schwab <schwab@redhat.com>
13494 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13497 2011-07-26 Andreas Schwab <schwab@redhat.com>
13499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13500 encoding to ACE if AI_IDN.
13502 2011-08-01 Jakub Jelinek <jakub@redhat.com>
13504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13505 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13507 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13509 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13510 Fix overflow bug in strncat.
13511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13513 * string/test-strncat.c: Update.
13514 Add new tests for checking overflow bugs.
13516 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13519 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13520 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13521 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13522 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13523 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13524 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13525 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13526 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13528 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13529 (USE_AS_STRCAT): Define.
13530 Add strcat and strncat support.
13531 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13533 2011-07-25 Andreas Schwab <schwab@redhat.com>
13535 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13536 __n bigger than INT_MAX+1.
13537 (__strncmp_g): Likewise.
13539 2011-07-23 Ulrich Drepper <drepper@gmail.com>
13541 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13542 * libio/stido.h: Likewise.
13544 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13546 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13549 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13550 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13551 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13552 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13556 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13559 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13561 (_dl_x86_64_save_sse): Likewise.
13563 2011-07-22 Ulrich Drepper <drepper@gmail.com>
13565 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13567 (_dl_x86_64_save_sse): Likewise.
13569 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13571 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13573 2011-07-21 Andreas Schwab <schwab@redhat.com>
13575 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13577 (_dl_x86_64_save_sse): Use correct AVX check.
13579 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13581 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13582 bug in strncpy/strncat.
13583 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13585 2011-07-21 Ulrich Drepper <drepper@gmail.com>
13587 * string/tester.c (test_strcat): Add tests for different alignments
13588 of source and destination.
13589 (test_strncat): Likewise.
13591 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13594 * posix/glob.c (glob): Check passed in values before using them in
13595 expressions to avoid some overflows.
13596 (glob_in_dir): Likewise.
13599 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13600 check for AVX enablement so that we don't crash with old kernels and
13602 * elf/tst-audit4.c: Add same checks here.
13603 * elf/tst-audit6.c: Likewise.
13605 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13607 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13609 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13611 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13613 * po/cs.po: Update from translation team.
13614 * po/bg.po: Likewise.
13616 2011-07-12 Marek Polacek <mpolacek@redhat.com>
13618 * misc/sys/cdefs.h: Add support for const attribute.
13619 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13620 to gnu_dev_{major,minor,makedev} functions.
13622 2011-07-20 Marek Polacek <mpolacek@redhat.com>
13624 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13626 2011-07-20 Andreas Schwab <schwab@redhat.com>
13628 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13631 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13633 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13634 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13635 register in order to avoid conflicts with the soft frame pointer
13636 being held in r11 when necessary.
13637 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13638 (INTERNAL_VSYSCALL_NCS): Likewise.
13640 2011-07-14 Marek Polacek <mpolacek@redhat.com>
13642 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13643 * elf/dl-fini.c (_dl_fini): Adjust caller.
13644 * elf/dl-close.c (_dl_close_worker): Likewise.
13645 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13647 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13649 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13650 "aux_cache->nlibs < 0".
13652 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13653 in the reload-count case.
13655 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13658 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13659 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13660 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13661 * sysdeps/x86_64/multiarch/strcat.S: New file.
13662 * sysdeps/x86_64/multiarch/strncat.S: New file.
13663 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13664 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13665 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13666 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13667 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13668 (USE_AS_STRCAT): Define.
13669 Add strcat and strncat support.
13670 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13671 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13672 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13673 * string/strncat.c: Update.
13674 (USE_AS_STRNCAT): Define.
13675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13676 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13678 * sysdeps/x86_64/multiarch/init-arch.h
13679 (bit_Prefer_PMINUB_for_stringop): New.
13680 (index_Prefer_PMINUB_for_stringop): Likewise.
13681 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13682 bit_Prefer_PMINUB_for_stringop.
13684 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13686 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13688 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13689 of casting of buffer.
13690 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13691 buffer32 and buffer64.
13692 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13693 writes instead of casting of buffer.
13694 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13696 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13699 2011-07-19 Andreas Schwab <schwab@redhat.com>
13701 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13703 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13705 * nscd/nscd.c (termination_handler): Don't do anything for a database
13706 if it has not yet been initialized.
13708 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13710 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13712 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13714 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13716 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13718 * po/nl.po: Update from translation team.
13719 * po/sv.po: Likewise.
13721 2011-07-16 Roland McGrath <roland@hack.frob.com>
13723 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13724 now disallowed by GCC.
13726 * configure.in (use-default-link): Default to yes if a test -shared
13727 link meets our qualifications.
13728 * configure: Regenerated.
13730 * config.make.in (output-format): New variable.
13731 * configure.in: Check for ld --print-output-format support.
13732 * configure: Regenerated.
13733 * Makerules ($(common-objpfx)format.lds)
13734 [$(output-format) != unknown]: Just use $(output-format),
13735 instead of the linker-script munging.
13737 2011-07-14 Roland McGrath <roland@hack.frob.com>
13739 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13740 of $(common-objpfx)shlib.lds.
13741 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13743 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13744 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13746 * configure.in (-z relro check): Adjust test code to add a large
13747 writable data section after it.
13748 * configure: Regenerated.
13750 2011-07-11 Roland McGrath <roland@hack.frob.com>
13752 * configure.in (-z relro check): Fix test code to make the variable
13754 * configure: Regenerated.
13756 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13758 * nscd/nscd.h (struct traced_file): Define.
13759 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13760 elements. Add traced_files.
13761 (inotify_fd): Declare.
13762 (register_traced_file): Declare.
13763 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13764 (inotify_fd): Export.
13765 (resolv_conf_descr): Remove.
13766 (nscd_init): Move inotify descriptor creation to main.
13767 Don't register files for notification here.
13768 (register_traced_file): New function.
13769 (invalidate_cache): Don't use reset_res to determine whether to call
13770 res_init, go through the list of registered files.
13771 (main_loop_poll): The inotify descriptors are now stored in the
13772 structures for the traced files.
13773 (main_loop_epoll): Likewise
13774 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13775 to __nss_disable_nscd.
13776 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13777 for a database anymore. Check the records for all the registered
13779 * nss/Makefile (libnss_files-routines): Add files-init.
13780 (libnss_db-routines): Add db-init.
13781 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13782 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13783 * nss/nss_db/db-init.c: New file.
13784 * nss/nss_files/files-init.c: New file.
13785 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13786 __nss_lookup_function.
13787 (__nss_lookup_function): Call nss_load_library.
13788 (nss_load_all_libraries): New function.
13789 (__nss_disable_nscd): Take parameter with callback function for files
13790 to register. Set is_nscd. Load all the DSOs for the NSS modules
13791 used for the cached services.
13792 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13793 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13794 options for features to all the files in nscd.
13796 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13798 2011-07-10 Roland McGrath <roland@hack.frob.com>
13800 * csu/elf-init.c (__libc_csu_init): Comment typo.
13802 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13804 * po/pl.po: Update from translation team.
13805 * po/ja.po: Likewise.
13806 * po/ru.po: Likewise.
13807 * po/ko.po: Likewise.
13808 * po/fr.po: Likewise.
13810 2011-07-09 Roland McGrath <roland@hack.frob.com>
13812 * configure.in (.ctors/.dtors header and trailer check):
13813 Use an empirical test on a built program.
13814 * configure: Regenerated.
13816 * configure.in (-z relro check): Use an empirical test on a built DSO.
13817 Detect, but do not require, on ia64.
13818 * configure: Regenerated.
13820 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13821 Update tests that use readelf to use $READELF instead.
13822 * configure: Regenerated.
13824 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13826 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13827 if the result is not used.
13829 2011-07-05 Andreas Jaeger <aj@suse.de>
13832 * stdlib/tst-strtod.c: Add testcase.
13834 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13836 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13837 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13838 The latter has a higher limit. Take additional parameter to pass to
13840 (__pathconf): Pass file to __statfs_link_max.
13841 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13843 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13847 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13848 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13850 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13851 (__statfs_filesize_max): Likewise.
13852 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13854 2011-07-05 Andreas Jaeger <aj@suse.de>
13856 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13858 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13860 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13862 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13865 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13867 * Makefile (strop-tests): Add strncat.
13868 * string/test-strncat.c: New file.
13870 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13872 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13874 2011-06-21 Andreas Jaeger <aj@suse.de>
13876 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13877 Copy rule from iconvdata/Makefile.
13879 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13882 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13883 but no long options are defined, just return 'W'.
13885 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13888 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13890 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13892 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13894 (innetgr): Likewise.
13896 2011-07-05 Roland McGrath <roland@hack.frob.com>
13898 * config.make.in (install_root): Default to $(DESTDIR).
13900 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13902 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13904 2011-07-02 Roland McGrath <roland@hack.frob.com>
13906 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13908 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13909 containing directory rather than embedding absolute directory names.
13911 * scripts/check-local-headers.sh: Rewritten using awk.
13912 Match by word, not by line. Print error messages for matches.
13913 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13915 * Makerules [shlib-lds-flags empty]:
13916 ($(common-objpfx)libc_pic.opts): New target.
13917 ($(common-objpfx)libc_pic.os.clean): New target.
13918 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13920 * config.make.in (OBJCOPY): New variable.
13921 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13922 * configure: Regenerated.
13924 * config.make.in (use-default-link): New variable.
13925 * configure.in (use_default_link): Grok --with-default-link to set it.
13926 * configure: Regenerated.
13927 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13928 (shlib-lds, shlib-lds-flags): Define to empty.
13930 * Makerules (shlib-lds): New variable.
13931 (shlib-lds-flags): New variable.
13932 (build-shlib, build-moduile, build-module-asneeded): Use it.
13933 ($(common-objpfx)libc.so): Use $(shlib-lds).
13934 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13935 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13937 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13938 DT_FLAGS/DT_FLAGS_1 with zero flags.
13940 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13941 linker script munging.
13943 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13945 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13947 * crypt/sha512.c (sha512_process_block): Perform total addition using
13948 128-bit if possible.
13949 (__sha512_finish_ctx): Likewise.
13950 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13952 * crypt/sha256.c (SWAP64): Define.
13953 (sha256_process_block): Perform total addition using 64-bit if
13955 (__sha256_finish_ctx): Likewise.
13957 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13959 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13960 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13961 * nscd/hstcache.c (cache_addhst): Likewise.
13962 * nscd/grpcache.c (cache_addgr): Likewise.
13963 * nscd/aicache.c (addhstaiX): Likewise
13964 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13966 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13968 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13969 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13970 * nscd/hstcache.c (cache_addhst): Likewise.
13971 * nscd/grpcache.c (cache_addgr): Likewise.
13972 * nscd/aicache.c (addhstaiX): Likewise
13974 2011-07-01 Andreas Schwab <schwab@redhat.com>
13976 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13977 domain only when needed.
13979 2011-06-30 Andreas Schwab <schwab@redhat.com>
13981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13982 is always restored.
13984 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13986 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13987 are re-adding the entry.
13988 * nscd/servicescache.c (cache_addserv): Likewise.
13990 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13992 * sysdeps/generic/dl-irel.h: fix protection against multiple
13994 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13996 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13999 * malloc/memusage.sh: Fix quoting in message.
14000 * debug/xtrace.sh: Likewise.
14002 * configure.in: Remove support for --experimental-malloc option, make
14004 * config.make.in: Likewise.
14005 * malloc/Makefile: Likewise.
14007 2011-06-27 Andreas Schwab <schwab@redhat.com>
14009 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14010 two-byte characters.
14012 2011-06-27 Roland McGrath <roland@hack.frob.com>
14014 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14015 AC_CACHE_CHECK invocation.
14016 * configure: Regenerated.
14018 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14020 2011-06-27 Ulrich Drepper <drepper@gmail.com>
14023 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14024 bit from old_res_options.
14026 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14028 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14029 value type for setfct.
14031 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14033 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14034 __gettimeofday instead of gettimeofday.
14036 2011-06-26 Ulrich Drepper <drepper@gmail.com>
14038 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14040 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14042 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14044 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14047 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14050 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14051 strcpy-sse2-unaligned strncpy-sse2-unaligned
14052 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14053 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14054 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14055 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14056 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14057 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14058 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14059 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14060 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14061 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14062 (STRCPY): Support SSE2 and SSSE3 versions.
14064 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14067 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14068 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14069 kernels which artificially limit size of requests.
14071 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14073 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14074 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14075 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14076 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14077 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14078 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14079 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14080 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14081 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14082 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14083 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14084 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14085 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14086 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14087 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14089 Enable unaligned load optimization for Intel Core i3, i5 and i7
14091 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14093 (index_Fast_Unaligned_Load): Define.
14094 (HAS_FAST_UNALIGNED_LOAD): Define.
14096 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14098 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14100 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14103 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14104 until it is clear that the information is realy needed.
14105 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14107 2011-06-22 Andreas Schwab <schwab@redhat.com>
14109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14111 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14113 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14114 /sys/devices/system/cpu/online if it is usable.
14116 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14117 reading the information from the /proc filesystem to once a second.
14119 2011-06-21 Andreas Jaeger <aj@suse.de>
14121 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14122 NULL after inclusion of kernel headers.
14124 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14126 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14127 calls to internal_setent.
14130 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14131 addresses using gethostbyname4_r ignore IPv4 addresses.
14133 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14134 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14136 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14138 2011-06-20 David S. Miller <davem@davemloft.net>
14140 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14142 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14144 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14145 (elf_irel): Use it.
14146 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14147 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14148 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14149 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14150 * sysdeps/x86_64/dl-irel.h: Likewise.
14152 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14153 * elf/dl-sym.c: Likewise.
14155 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14157 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14158 need to dereference resplen2.
14160 2011-06-14 Andreas Schwab <schwab@redhat.com>
14162 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14164 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14166 * Makeconfig: Define vardbdir and inst_vardbdir.
14167 * nss/Makefile: Add rules to install db-Makefile.
14169 * nss/nss_db/db-XXX.c: Cleanup.
14171 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14172 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14174 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14175 * nss/makedb.c: Implement -g option to specify that value strings
14176 are generated and should not be added to table iterated over for
14178 * nss/nss_db/db-initgroups.c: New file.
14180 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14183 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14184 (internal_getgrouplist): Adjust to name change.
14185 Update use_initgroups_entry if this is not the first call.
14186 * nss/databases.def: Add initgroups entry.
14188 * nss/makedb.c (compute_tables): Check result of multiple hash table
14189 sizes to minimize maximum chain length.
14191 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14193 * Versions.def: Add entry for libnss_db.
14194 * shlib-versions: Likewise.
14195 * nss/Makefile: Add rules to build libnss_db.
14196 * nss/Versions: Add libnss_db information. Organize libnss_files
14198 * nss/db-Makefile: Add gshadow support. Change rules for the new
14199 makedb progra. Some minor improvements to generate smaller files.
14200 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14202 * nss/makedb.c: ...here.
14203 Improve database format to be smaller and require less memory at
14205 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14207 * nss/nss_db/db-netgrp.c: Likewise.
14208 * nss/nss_db/db-open.c: Likewise.
14209 * nss/nss_files/flies-XXX.x: Adjust comments.
14210 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14211 * nss/nss_files/files-grp.c: Likewise.
14212 * nss/nss_files/files-hosts.c: Likewise.
14213 * nss/nss_files/files-network.c: Likewise.
14214 * nss/nss_files/files-proto.c: Likewise.
14215 * nss/nss_files/files-pwd.c: Likewise.
14216 * nss/nss_files/files-rpc.c: Likewise.
14217 * nss/nss_files/files-service.c: Likewise.
14218 * nss/nss_files/files-sgrp.c: Likewise.
14219 * nss/nss_files/files-spwd.c: Likewise.
14220 * nss/nss_db/db-alias.c: Removed.
14221 * nss/nss_db/dummy-db.h: Removed.
14223 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14225 * nss/makedb.c: Rewritten to not use database library.
14226 * nss/Makefile: Update to build new makedb program.
14228 2011-06-14 Andreas Jaeger <aj@suse.de>
14230 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14231 memset declaration.
14233 2011-06-10 Andreas Schwab <schwab@redhat.com>
14235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14238 2011-06-10 Roland McGrath <roland@hack.frob.com>
14240 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14241 * elf/Makefile ($(objpfx)ld.so): Likewise.
14243 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14244 Don't list ld.so twice in dependencies.
14246 * posix/bug-regex31.c: Include <stdlib.h>.
14248 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14250 * nis/nss_compat/compat-spwd.c
14251 (getspent_next_nss_netgr): Remove unused variable.
14252 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14254 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14255 nonmembers" output to use the right array.
14257 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14259 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14261 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14262 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14263 * catgets/gencat.c (read_input_file): Likewise.
14264 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14266 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14267 variable definition inside #if's controlling its use.
14269 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14271 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14273 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14275 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14278 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14280 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14281 * configure: Regenerated.
14283 * Makerules: Revert last change.
14284 * elf/Makefile: Likewise.
14286 2011-06-09 Roland McGrath <roland@hack.frob.com>
14288 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14289 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14290 (reloc-link): Likewise.
14292 2011-06-09 Ulrich Drepper <drepper@gmail.com>
14294 * elf/Makefile: Add rules to build pldd.
14295 * elf/pldd.c: New file.
14296 * elf/pldd-xx.c: New file.
14298 2011-06-07 Ulrich Drepper <drepper@gmail.com>
14300 * version.h: Update for 2.15 development version.
14302 2011-06-07 David S. Miller <davem@davemloft.net>
14304 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14306 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14307 elf_machine_lazy_rel): Likewise.
14308 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14309 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14310 elf_machine_lazy_rel): Likewise.
14311 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14312 dl_hwcap via passed in argument.
14313 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14316 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14318 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14320 2011-06-06 Roland McGrath <roland@hack.frob.com>
14323 * manual/fdl-1.1.texi: New file, verbatim from:
14324 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14325 * manual/lgpl-2.1.texi: New file, verbatim from:
14326 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14327 * manual/Makefile (licenses): New variable, list those new file names.
14329 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14331 * manual/fdl.texi: File removed.
14332 * manual/lesser.texi: File removed.
14333 * manual/libc.texinfo (Copying, Documentation License):
14334 Use new @include file names, put @appendix directive before @include.
14336 2011-06-04 Jakub Jelinek <jakub@redhat.com>
14339 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14340 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14341 (mq_open): Add __NTH.
14343 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14346 Assume Intel Core i3/i5/i7 processor if AVX is available.
14348 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14350 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14353 2011-05-31 Andreas Schwab <schwab@redhat.com>
14355 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14356 memory. Use alloca_account. Fix memory leak when retrying.
14358 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14360 * version.h (RELEASE): Bump for 2.14 release.
14361 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14363 * config.make.in (RANLIB): Remove entry.
14365 2011-05-30 Ulrich Drepper <drepper@gmail.com>
14367 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14368 (libc.pot): Work around missing support for .ksh extension in xgettext.
14371 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14372 if both request failed.
14373 (send_dg): In case of server errors clear resplen or *resplen2.
14376 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14377 when there are multiple maps.
14378 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14379 (_dl_fini): Remove test here.
14381 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14383 2011-05-29 Ulrich Drepper <drepper@gmail.com>
14386 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14387 bit from old_res_options.
14388 (gaih_inet): Likewise.
14391 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14394 * resolv/res_init.c (res_setoptions): Make the code more compact.
14397 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14401 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14403 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14406 * malloc/malloc.h: Declare malloc hook variables as volatile.
14408 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14412 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14413 raise in the comment.
14414 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14415 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14416 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14418 2011-05-28 Ulrich Drepper <drepper@gmail.com>
14421 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14422 grow the buffers more if it already has to be sufficient.
14423 (build_wcs_upper_buffer): Likewise.
14424 * posix/regexec.c (check_matching): Likewise.
14425 (clean_state_log_if_needed): Likewise.
14426 (extend_buffers): Don't enlarge buffers beyond size of the input
14428 Patches mostly by Emil Wojak <emil@wojak.eu>.
14429 * posix/bug-regex32.c: New file.
14430 * posix/Makefile (tests): Add bug-regex32.
14432 * locale/findlocale.c (_nl_find_locale): Return right away if
14433 _nl_explode_name failed.
14434 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14436 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14438 * debug/xtrace.sh: Unify messages.
14439 * malloc/memusage.sh: Likewise.
14442 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14443 time symbol from vDSO. Substitute with vsyscall if not available.
14444 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14447 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14448 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14449 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14450 Add sendmmsg and internal_sendmmsg.
14451 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14452 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14453 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14455 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14456 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14457 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14459 2011-05-27 Ulrich Drepper <drepper@gmail.com>
14462 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14463 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14465 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14469 * iconvdata/Makefile (tests): Add bug-iconv9.
14470 * iconvdata/bug-iconv9.c: New file.
14472 2011-05-27 Andreas Schwab <schwab@redhat.com>
14475 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14477 2011-05-25 Jakub Jelinek <jakub@redhat.com>
14479 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14480 (struct user_regs_struct): Change intcs field back to cs.
14482 2011-05-25 Ulrich Drepper <drepper@gmail.com>
14484 * po/ja.po: Update from translation team.
14486 2011-05-23 Ulrich Drepper <drepper@gmail.com>
14489 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14490 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14492 2011-05-20 Andreas Schwab <schwab@redhat.com>
14494 * stdlib/longlong.h: Update from GCC.
14496 2011-05-23 Andreas Schwab <schwab@redhat.com>
14498 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14500 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14501 Add parameter name.
14502 (__sysconf): Pass it down.
14504 2011-05-22 Ulrich Drepper <drepper@gmail.com>
14507 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14509 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14510 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14511 add in in __libc_use_alloca calls. Adjust callers.
14512 (glob): Use malloc in some situations.
14514 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14515 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14518 2011-05-21 Ulrich Drepper <drepper@gmail.com>
14520 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14521 and CLOCK_BOOTTIME_ALARM.
14524 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14527 * string/_strerror.c (__strerror_r): Print negative errors as signed
14531 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14532 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14533 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14535 * configure.in: Fix typo in redirection and correct removal of test
14536 files in two cases.
14539 * locale/setlocale.c (new_composite_name): Fix test to check for
14540 identical name of all categories.
14543 * libio/filedoalloc.c (local_isatty): New function.
14544 (_IO_file_doallocate): Use local_isatty.
14545 * stdio-common/perror.c (perror): In case a new stream is used
14546 forward the stream error.
14547 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14550 2011-05-20 Ulrich Drepper <drepper@gmail.com>
14553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14555 * include/alloca.h (extend_alloca_account): Define.
14558 * posix/regex.h: Fix comments with documentation of user-accessible
14559 fields after compilation and describe correct free'ing of pattern
14560 after re_compile_pattern.
14561 Patch by Reuben Thomas <rrt@sc3d.org>.
14563 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14565 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14566 and -mno-altivec to prevent the compiler from using Altivec and/or
14567 VSX instructions when the corresponding registers are not available.
14569 2011-05-19 Andreas Schwab <schwab@redhat.com>
14571 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14573 2011-05-19 Ulrich Drepper <drepper@gmail.com>
14575 * libio/freopen.c (freopen): Use __dup2, not dup2.
14576 * libio/freopen64.c (freopen64): Likewise.
14578 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14581 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14582 * math/Makefile (tests): Add test-powl.
14583 (CFLAGS-test-powl.c): Define.
14584 * math/test-powl.c: New file.
14586 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14588 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14590 2011-05-17 Ulrich Drepper <drepper@gmail.com>
14593 * iconvdata/gb18030.c: Update to GB18020-2005.
14595 2011-05-16 Ulrich Drepper <drepper@gmail.com>
14597 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14598 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14599 Patch by Aharon Robbins <arnold@skeeve.com>.
14602 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14606 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14607 through underflows.
14610 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14611 point to strings before performing equality test for error_one_per_line
14615 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14618 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14619 (struct user_fpregs_struct): Avoid __uint*_t types.
14622 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14623 symbol info. Use it instead of calling _dl_addr locally.
14624 (lock_and_info): New function.
14625 (tr_freehook): Call lock_and_info and pass symbol info as additional
14626 parameter to tr_where.
14627 (tr_mallochook): Likewise.
14628 (tr_reallochook): Likewise.
14629 (tr_memalignhook): Likewise.
14631 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14632 used and couldn't be at all thread-safe.
14634 2011-05-15 Ulrich Drepper <drepper@gmail.com>
14636 * libio/freopen.c (freopen): Don't close old file descriptor
14637 before the new one is opened. Instead dup the new file descriptor
14638 to the old one after the new stream is created.
14639 * libio/freopen64.c (freopen64): Likewise.
14640 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14641 * libio/fileops.c (_IO_new_file_close_it): Handle new
14642 _IO_FLAGS2_NOCLOSE flag.
14643 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14644 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14645 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14646 _IO_FLAGS2_NOCLOSE flag.
14647 * include/unistd.h: Add hidden_proto for dup3.
14648 Define __have_dup3.
14649 * io/dup3.c: Define hidden symbol.
14650 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14653 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14654 when an incomplete long option is used.
14655 * posix/tst-getopt_long1.c: New file.
14656 * posix/Makefile (tests): Add tst-getopt_long1.
14659 * scripts/config.guess: Update from autoconf-2.68.
14660 * scripts/config.sub: Likewise.
14663 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14665 (has_cpuclock): ...this. New function.
14666 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14667 macro here based on has_cpuclock code.
14670 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14671 First byte (not low byte) is now always NUL.
14672 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14674 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14675 Use non-cancelable interfaces.
14678 * locale/iso-639.def: Add entry for Sorani.
14681 * include/stdlib.h: Move include protection to the right place.
14682 Define abort_msg_s. Declare __abort_msg with it.
14683 * stdlib/abort.c (__abort_msg): Adjust type.
14684 * assert/assert.c (__assert_fail_base): New function. Majority
14685 of code from __assert_fail. Allocate memory for __abort_msg with
14687 (__assert_fail): Now call __assert_fail_base.
14688 * assert/assert-perr.c: Remove bulk of implementation. Use
14689 __assert_fail_base.
14690 * include/assert.hL Declare __assert_fail_base.
14691 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14693 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14695 2011-05-14 Ulrich Drepper <drepper@gmail.com>
14699 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14700 until all modules are registered in the DTV.
14701 * elf/Makefile: Add rules to build and run tst-tls19.
14702 * elf/tst-tls19.c: New file.
14703 * elf/tst-tls19mod1.c: New file.
14704 * elf/tst-tls19mod2.c: New file.
14705 * elf/tst-tls19mod3.c: New file.
14706 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14709 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14713 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14714 two-byte sequence errors.
14715 * iconvdata/Makefile (tests): Add bug-iconv8.
14716 * iconvdata/bug-iconv8.c: New file.
14719 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14722 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14725 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14726 (dummy_getcfa): New function.
14727 (init): Get _Unwind_GetCFA address, use dummy if not found.
14728 (backtrace_helper): In recursion check, also check whether CFA changes.
14729 (__backtrace): Completely initialize arg.
14731 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14732 storing incomplete byte sequence in state object. Avoid testing for
14733 guaranteed too small input if we know there is enough data available.
14735 2011-05-11 Andreas Schwab <schwab@redhat.com>
14737 * Makeconfig (+link-pie): Indent.
14738 * Rules (binaries-pie): Define if $(have-fpie) and
14740 (binaries-shared): Also filter out $(binaries-pie).
14741 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14742 * nscd/Makefile (others-pie): Add nscd.
14743 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14744 ($(objpfx)nscd): Remove command override.
14745 * login/Makefile (others-pie): Add pt_chown.
14746 ($(objpfx)pt_chown): Remove command override.
14747 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14748 remove command overrides.
14750 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14752 * libio/tst_putwc.c: Fix error messages.
14755 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14756 currently writing and seek to current position when not.
14757 * libio/Makefile (tests): Add bug-fclose1.
14758 * libio/bug-fclose1.c: New file.
14760 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14763 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14764 don't set DF_1_NODELETE here.
14765 (do_lookup_x): When entering new entry test for copy relocation
14766 and if necessary set DF_1_NODELETE flag.
14767 * elf/tst-unique4.cc: New file.
14768 * elf/tst-unique4.h: New file.
14769 * elf/tst-unique4lib.cc: New file.
14770 * elf/Makefile: Add rules to build and run tst-unique4.
14771 Patch by Piotr Bury <pbury@goahead.com>.
14773 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14776 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14779 * misc/mntent_r.c (addmntent): Flush the stream after the output
14782 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14783 (is_trusted_path_normalize): Skip initial colon. Append slash
14784 to empty buffer. Duplicate is_trusted_path code but allow
14785 constructed patch to be prefix.
14786 (is_dst): Allow $ORIGIN followed by /.
14787 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14788 Correct testing of result of is_trusted_path_normalize
14789 (decompose_rpath): Fix warning.
14791 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14794 * grp/initgroups.c (internal_getgrouplist): When we found the service
14795 list through the initgroups entry in nsswitch.conf do not always
14796 continue on a successful lookup. Don't always use the
14797 __nss_group_database value if it is set.
14798 * nss/nsswitch.conf (initgroups): Change action for successful db
14799 lookup to continue for compatibility.
14801 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14804 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14806 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14808 * iconvdata/tst-tables.sh: Likewise.
14809 * iconvdata/cp770.c: New file.
14810 * iconvdata/cp771.c: New file.
14811 * iconvdata/cp772.c: New file.
14812 * iconvdata/cp773.c: New file.
14813 * iconvdata/cp774.c: New file.
14814 * iconvdata/testdata/CP770: New file.
14815 * iconvdata/testdata/CP770..UTF8: New file.
14816 * iconvdata/testdata/CP771: New file.
14817 * iconvdata/testdata/CP771..UTF8: New file.
14818 * iconvdata/testdata/CP772: New file.
14819 * iconvdata/testdata/CP772..UTF8: New file.
14820 * iconvdata/testdata/CP773: New file.
14821 * iconvdata/testdata/CP773..UTF8: New file.
14822 * iconvdata/testdata/CP774: New file.
14823 * iconvdata/testdata/CP774..UTF8: New file.
14825 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14827 * iconvdata/gen-8bit-gap.sh: Likewise.
14828 * iconvdata/gen-8bit.sh: Likewise.
14830 * locale/iso-639.def: Add ary entry.
14833 * locale/C-translit.h.in: Add U20A1 transliteration.
14836 * locale/iso-639.def: Add wae entry.
14837 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14840 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14844 * locale/C-translit.h.in: Add entry for U20B9.
14845 Patch by pravin.d.s@gmail.com.
14847 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14850 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14851 ENAMETOOLONG use generic getcwd.
14852 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14853 in rtld. Use *stat64.
14854 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14855 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14856 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14857 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14858 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14859 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14860 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14861 __fstatat64 macros.
14862 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14863 * dirent/rewinddir.c: Add libc_hidden_def.
14864 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14865 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14867 * include/dirent.h (__alloc_dir): Add flags parameter.
14868 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14869 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14871 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14872 from fdopendir if O_CLOEXEC is already set.
14874 2011-03-15 Alan Modra <amodra@gmail.com>
14876 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14877 l_tls_firstbyte_offset non-zero. Save padding offset in
14878 l_tls_firstbyte_offset for later use.
14879 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14880 freeing static tls block.
14882 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14884 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14885 where #ifdef was intended. The intent is to prevent ARG_MAX from
14886 being defined by the kernel headers.
14888 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14891 * resolv/resolv.h: Define RES_NOTLDQUERY.
14892 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14893 no-tld-query and set RES_NOTLDQUERY.
14894 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14895 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14896 modern BIND to search name as TLD unless forbidden.
14898 2011-05-07 Petr Baudis <pasky@suse.cz>
14899 Ulrich Drepper <drepper@gmail.com>
14902 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14903 (is_trusted_path): ...to here.
14904 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14905 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14906 using is_trusted_path_normalize() in setuid scripts.
14908 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14910 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14911 __BEGIN/__END_DECLS.
14913 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14915 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14916 NSS_STATUS_NOTFOUND if no record was found.
14918 2011-05-05 Andreas Schwab <schwab@redhat.com>
14920 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14921 (headers-not-in-tirpc): Remove rpc/netdb.h
14922 * resolv/netdb.h: Revert last change.
14924 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14926 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14927 circular dependency between libgcc.a and libc.a.
14929 2011-05-05 Andreas Schwab <schwab@redhat.com>
14931 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14932 * nis/Makefile: Don't install rpcsvc/*.
14933 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14934 instead of <rpc/types.h>.
14935 (MAXHOSTNAMELEN): Define.
14937 2011-05-03 Andreas Schwab <schwab@redhat.com>
14939 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14941 2011-04-28 Maciej Babinski <mbabinski@google.com>
14944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14945 gethostbyname4_r when IPv6 results are possible.
14947 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14950 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14951 _PC_PIPE_BUF handling.
14953 2011-04-30 Bruno Haible <bruno@clisp.org>
14956 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14957 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14959 * inet/getnameinfo.c (getnameinfo): Likewise.
14961 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14963 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14964 to groups setting in database lookup.
14965 * nss/nsswitch.conf: Add initgroups entry.
14967 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14970 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14972 Patch by Eric Blake <eblake@redhat.com>.
14974 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14976 * sunrpc/Makefile (need-export-routines): Add svc_run.
14977 (routines): Remove svc_run.
14978 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14979 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14980 * sunrpc/svc_run.c (svc_run): Likewise.
14981 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14983 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14985 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14986 problem in reallocation in last patch.
14988 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14990 * sunrpc/Makefile: Move inclusion of Rules.
14992 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14994 * nss/nss_files/files-initgroups.c: New file.
14995 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14996 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14997 _nss_files_initgroups_dyn.
14999 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15001 * elf/elf.h (R_ARM_IRELATIVE): Define.
15003 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15005 * po/ru.po: Update from translation team.
15007 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15009 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15012 2011-02-06 Mike Frysinger <vapier@gentoo.org>
15015 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15016 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15017 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15018 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15019 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15021 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15023 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15025 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15026 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15027 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15029 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15032 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15034 * stdlib/bug-getcontext.c: New file.
15035 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15037 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15039 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15040 instructions into .machine "z9-109".
15041 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15042 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15044 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15046 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15047 between environment variables and auxiliary vector.
15049 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15051 * Makefile: Add rules to build linkobj/libc.so.
15052 * include/libc-symbols.h: Define libc_hidden_nolink.
15053 * include/rpc/auth.h: Mark functions which are to be hidden.
15054 * include/rpc/auth_des.h: Likewise.
15055 * include/rpc/auth_unix.h: Likewise.
15056 * include/rpc/clnt.h: Likewise.
15057 * include/rpc/des_crypt.h: Likewise.
15058 * include/rpc/key_prot.h: Likewise.
15059 * include/rpc/pmap_clnt.h: Likewise.
15060 * include/rpc/pmap_prot.h: Likewise.
15061 * include/rpc/pmap_rmt.h: Likewise.
15062 * include/rpc/rpc_msg.h: Likewise.
15063 * include/rpc/svc.h: Likewise.
15064 * include/rpc/svc_auth.h: Likewise.
15065 * include/rpc/xdr.h: Likewise.
15066 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15067 * nss/Makefile: Likewise.
15068 * sunrpc/Makefile: Don't install headers. Build library with normal
15069 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15070 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15071 for the compat linking library. Remove use of INTDEF/INTUSE.
15072 * sunrpc/auth_none.c: Likewise.
15073 * sunrpc/auth_unix.c: Likewise.
15074 * sunrpc/authdes_prot.c: Likewise.
15075 * sunrpc/authuxprot.c: Likewise.
15076 * sunrpc/clnt_gen.c: Likewise.
15077 * sunrpc/clnt_perr.c: Likewise.
15078 * sunrpc/clnt_raw.c: Likewise.
15079 * sunrpc/clnt_simp.c: Likewise.
15080 * sunrpc/clnt_tcp.c: Likewise.
15081 * sunrpc/clnt_udp.c: Likewise.
15082 * sunrpc/clnt_unix.c: Likewise.
15083 * sunrpc/des_crypt.c: Likewise.
15084 * sunrpc/des_soft.c: Likewise.
15085 * sunrpc/get_myaddr.c: Likewise.
15086 * sunrpc/key_call.c: Likewise.
15087 * sunrpc/key_prot.c: Likewise.
15088 * sunrpc/netname.c: Likewise.
15089 * sunrpc/pm_getmaps.c: Likewise.
15090 * sunrpc/pm_getport.c: Likewise.
15091 * sunrpc/pmap_clnt.c: Likewise.
15092 * sunrpc/pmap_prot.c: Likewise.
15093 * sunrpc/pmap_prot2.c: Likewise.
15094 * sunrpc/pmap_rmt.c: Likewise.
15095 * sunrpc/publickey.c: Likewise.
15096 * sunrpc/rpc_cmsg.c: Likewise.
15097 * sunrpc/rpc_common.c: Likewise.
15098 * sunrpc/rpc_dtable.c: Likewise.
15099 * sunrpc/rpc_prot.c: Likewise.
15100 * sunrpc/rpc_thread.c: Likewise.
15101 * sunrpc/rtime.c: Likewise.
15102 * sunrpc/svc.c: Likewise.
15103 * sunrpc/svc_auth.c: Likewise.
15104 * sunrpc/svc_authux.c: Likewise.
15105 * sunrpc/svc_raw.c: Likewise.
15106 * sunrpc/svc_run.c: Likewise.
15107 * sunrpc/svc_simple.c: Likewise.
15108 * sunrpc/svc_tcp.c: Likewise.
15109 * sunrpc/svc_udp.c: Likewise.
15110 * sunrpc/svc_unix.c: Likewise.
15111 * sunrpc/svcauth_des.c: Likewise.
15112 * sunrpc/xcrypt.c: Likewise.
15113 * sunrpc/xdr.c: Likewise.
15114 * sunrpc/xdr_array.c: Likewise.
15115 * sunrpc/xdr_float.c: Likewise.
15116 * sunrpc/xdr_intXX_t.c: Likewise.
15117 * sunrpc/xdr_mem.c: Likewise.
15118 * sunrpc/xdr_rec.c: Likewise.
15119 * sunrpc/xdr_ref.c: Likewise.
15120 * sunrpc/xdr_sizeof.c: Likewise.
15121 * sunrpc/xdr_stdio.c: Likewise.
15123 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15126 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15127 * sysdeps/ia64/dl-tls.h: Likewise.
15128 * sysdeps/powerpc/dl-tls.h: Likewise.
15129 * sysdeps/s390/dl-tls.h: Likewise.
15130 * sysdeps/sh/dl-tls.h: Likewise.
15131 * sysdeps/sparc/dl-tls.h: Likewise.
15132 * sysdeps/x86_64/dl-tls.h: Likewise.
15133 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15135 2011-03-14 Andreas Schwab <schwab@redhat.com>
15137 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15138 rpath element also skip the following colon.
15139 (expand_dynamic_string_token): Add is_path parameter and pass
15140 down to DL_DST_REQUIRED and _dl_dst_substitute.
15141 (decompose_rpath): Call expand_dynamic_string_token with
15142 non-zero is_path. Ignore empty rpaths.
15143 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15146 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15151 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15154 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15155 Patch by Filipe David Manana <fdmanana@apache.org>.
15157 2011-04-07 Andreas Schwab <schwab@redhat.com>
15159 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15160 Maintain aligned stack.
15161 (CHECK_RSP): Remove unused macro.
15163 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15165 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15166 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15168 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15170 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15172 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15174 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15177 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15178 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15179 * sysdeps/x86_64/memmove.c: New file.
15180 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15181 (memcpy): Renamed to ...
15182 (__new_memcpy): This.
15183 (memcpy): Provide GLIBC_2_14 memcpy.
15184 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15185 (memcpy): Provide GLIBC_2_2_5 memcpy.
15187 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15190 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15192 2011-03-30 Andreas Schwab <schwab@redhat.com>
15194 * misc/syncfs.c: New file.
15195 * misc/Makefile (routines): Add syncfs.
15196 * posix/unistd.h: Declare syncfs.
15197 * sysdeps/unix/syscalls.list: Add syncfs.
15199 2011-04-01 Andreas Schwab <schwab@redhat.com>
15201 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15203 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15204 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15205 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15206 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15207 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15208 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15209 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15211 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15213 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15214 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15215 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15216 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15217 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15219 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15221 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15222 sync_file_range.c with -fexceptions.
15223 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15224 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15225 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15226 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15227 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15228 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15229 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15230 sync_file_range as cancellation point
15231 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15232 now a wrapper around __call_sync_file_range with cancellation handling.
15233 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15234 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15235 function name to __call_sync_file_range.
15236 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15237 Add call_sync_file_range.
15239 2011-04-01 Andreas Schwab <schwab@redhat.com>
15241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15244 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15246 * iconv/iconv.h: Fix typo in comment.
15247 * io/fcntl.h: Likewise.
15248 * libio/stdio.h: Likewise.
15249 * posix/spawn.h: Likewise.
15250 * posix/unistd.h: Likewise.
15251 * stdlib/stdlib.h: Likewise.
15252 * time/time.h: Likewise.
15253 * wcsmbs/wchar.h: Likewise.
15255 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15256 open_by_handle): Add.
15257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15258 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15259 Augment a few comments.
15260 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15261 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15262 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15264 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15265 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15268 * io/fcntl.h (AT_EMPTY_PATH): Define.
15270 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15272 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15273 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15274 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15276 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15277 * Versions.def: Add GLIBC_2.14.
15278 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15281 2011-03-22 Ulrich Drepper <drepper@gmail.com>
15283 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15285 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15287 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15290 * string/test-strncmp.c (do_page_test): New function.
15291 (check2): Likewise.
15292 (test_main): Call check2.
15293 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15295 2011-03-20 Ulrich Drepper <drepper@gmail.com>
15298 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15299 Handle cache information in CPU leaf 4.
15300 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15302 2011-03-18 Ulrich Drepper <drepper@gmail.com>
15305 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15306 character representation.
15307 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15309 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15311 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15312 END(__isnan) to END(__isnanf) to match function entry point/label
15313 EALIGN(__isnanf,...).
15315 2011-03-10 Jakub Jelinek <jakub@redhat.com>
15317 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15319 2011-03-10 Ulrich Drepper <drepper@gmail.com>
15322 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15323 copy from the symbol referenced in the relocation to initialize the
15325 Patch by Piotr Bury <pbury@goahead.com>.
15326 * elf/Makefile: Add rules to build and tst-unique3.
15327 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15328 * elf/tst-unique3.cc: New file.
15329 * elf/tst-unique3.h: New file.
15330 * elf/tst-unique3lib.cc: New file.
15331 * elf/tst-unique3lib2.cc: New file.
15333 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15335 2011-03-10 Mike Frysinger <vapier@gentoo.org>
15337 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15338 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15341 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15343 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15344 to-be-loaded object along a path to loader is ld.so.
15346 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15347 Ulrich Drepper <drepper@gmail.com>
15349 * sysdeps/x86_64/memset.S: After aligning destination, code
15350 branches to different locations depending on the value of
15351 misalignment, when multiarch is enabled. Fix this.
15353 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15355 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15356 Set _x86_64_preferred_memory_instruction for AMD processsors.
15357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15358 Set bit_Prefer_SSE_for_memop for AMD processors.
15360 2011-03-04 Ulrich Drepper <drepper@gmail.com>
15362 * libio/fmemopen.c (fmemopen): Optimize a bit.
15364 2011-03-03 Andreas Schwab <schwab@redhat.com>
15366 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15368 2011-03-03 Roland McGrath <roland@redhat.com>
15370 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15372 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15374 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15375 __bzero_ultra1 instead of __memset_ultra1.
15377 2011-02-23 Andreas Schwab <schwab@redhat.com>
15378 Ulrich Drepper <drepper@gmail.com>
15381 * include/link.h (struct link_map): Add l_orig_initfini.
15382 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15383 returning unsuccessfully.
15384 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15385 close of a file loaded at startup, restore the original l_initfini
15387 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15388 list, store the pointer.
15389 * elf/Makefile ($(objpfx)noload-mem): New rule.
15390 (noload-ENV): Define.
15391 (tests): Add $(objpfx)noload-mem.
15392 * elf/noload.c: Include <memcheck.h>.
15393 (main): Call mtrace. Close all opened handles.
15395 2011-02-17 Andreas Schwab <schwab@redhat.com>
15398 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15399 dependencies are missing.
15401 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15403 Fix __if_freereq crash: Unlike the generic version which uses free,
15405 * sysdeps/mach/hurd/ifreq.h: New file.
15407 2011-01-27 Petr Baudis <pasky@suse.cz>
15408 Ulrich Drepper <drepper@gmail.com>
15411 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15412 to extend_alloca().
15413 * stdio-common/bug23.c: New file.
15414 * stdio-common/Makefile (tests): Add bug23.
15416 2010-09-28 Andreas Schwab <schwab@redhat.com>
15417 Ulrich Drepper <drepper@gmail.com>
15420 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15421 before performing relro protection. At old place add assertion
15422 to make sure nothing changed.
15424 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15425 Glauber de Oliveira Costa <glommer@gmail.com>
15427 * elf/elf.h: Add new ARM TLS relocs.
15429 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15432 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15434 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15436 * sysdeps/wordsize-64/tst-writev.c: New file.
15438 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15440 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15441 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15442 insns in _dl_start to prevent a TOC reference before relocs are
15445 2011-02-15 Ulrich Drepper <drepper@gmail.com>
15448 * Makeconfig: Remove RANLIB definition.
15449 * Makerules: Don't use RANLIB.
15450 * aclocal.m4: Remove ranlib test.
15451 * configure.in: No need to check for ranlib.
15452 * elf/rtld-Rules: Don't use RANLIB.
15454 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15456 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15458 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15459 inclusion protection macro.
15461 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15462 SIGRTMIN and SIGRTMAX and print information in that case only when
15463 SIGRTMIN is defined.
15465 2011-02-11 Jakub Jelinek <jakub@redhat.com>
15467 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15468 arginfo fn returning -1.
15470 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15471 and thousands string is zero terminated.
15473 2011-02-03 Andreas Schwab <schwab@redhat.com>
15475 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15476 sysdeps/unix/sysv/linux/bits/socket.h.
15478 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15480 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15481 (__CPU_COUNT): Remove old macros.
15482 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15483 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15484 (__CPU_ALLOC, __CPU_FREE): Add macros.
15485 (__sched_cpualloc, __sched_cpufree): Add declarations.
15487 2011-02-05 Ulrich Drepper <drepper@gmail.com>
15489 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15490 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15491 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15492 (readdhstai): Return value of addhstaiX call.
15493 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15494 (addgrbyX): Return value returned by cache_addgr.
15495 (readdgrbyname): Return value returned by addgrbyX.
15496 (readdgrbygid): Likewise.
15497 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15498 (addpwbyX): Return value returned by cache_addpw.
15499 (readdpwbyname): Return value returned by addhstbyX.
15500 (readdpwbyuid): Likewise.
15501 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15502 (addservbyX): Return value returned by cache_addserv.
15503 (readdservbyname): Return value returned by addservbyX:
15504 (readdservbyport): Likewise.
15505 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15506 (addhstbyX): Return value returned by cache_addhst.
15507 (readdhstbyname): Return value returned by addhstbyX.
15508 (readdhstbyaddr): Likewise.
15509 (readdhstbynamev6): Likewise.
15510 (readdhstbyaddrv6): Likewise.
15511 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15512 (readdinitgroups): Return value returned by addinitgroupsX.
15513 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15514 (prune_cache): Keep track of timeout value of re-added entries.
15515 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15516 * nscd/nscd.h: Adjust prototypes of readd* functions.
15518 2011-02-04 Roland McGrath <roland@redhat.com>
15520 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15521 (nis_stats): Likewise.
15522 * nis/nis_modify.c (nis_modify): Likewise.
15523 * nis/nis_remove.c (nis_remove): Likewise.
15524 * nis/nis_add.c (nis_add): Likewise.
15526 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15528 * posix/fnmatch_loop.c: Add some consts.
15530 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15532 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15535 * config.make.in (config-cflags-novzeroupper): Define.
15536 * configure.in: Substitute libc_cv_cc_novzeroupper.
15537 * elf/Makefile (AVX-CFLAGS): Define.
15538 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15539 (CFLAGS-tst-auditmod4a.c): Likewise.
15540 (CFLAGS-tst-auditmod4b.c): Likewise.
15541 (CFLAGS-tst-auditmod6b.c): Likewise.
15542 (CFLAGS-tst-auditmod6c.c): Likewise.
15543 (CFLAGS-tst-auditmod7b.c): Likewise.
15544 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15546 2011-02-02 Ulrich Drepper <drepper@gmail.com>
15548 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15549 function to the callback.
15550 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15552 2011-02-02 Andreas Schwab <schwab@redhat.com>
15554 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15557 2011-01-19 Ulrich Drepper <drepper@gmail.com>
15560 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15562 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15564 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15567 * elf/Makefile: Add rules to build and run new test.
15568 * elf/tst-initorder.c: New file.
15569 * elf/tst-initorder.exp: New file.
15570 * elf/tst-initordera1.c: New file.
15571 * elf/tst-initordera2.c: New file.
15572 * elf/tst-initordera3.c: New file.
15573 * elf/tst-initordera4.c: New file.
15574 * elf/tst-initorderb1.c: New file.
15575 * elf/tst-initorderb2.c: New file.
15576 * elf/tst-order-a1.c: New file.
15577 * elf/tst-order-a2.c: New file.
15578 * elf/tst-order-a3.c: New file.
15579 * elf/tst-order-a4.c: New file.
15580 * elf/tst-order-b1.c: New file.
15581 * elf/tst-order-b2.c: New file.
15582 * elf/tst-order-main.c: New file.
15583 New test case by George Gensure <werkt0@gmail.com>.
15585 2010-10-01 Andreas Schwab <schwab@redhat.com>
15587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15588 decoding ACE if AI_CANONIDN.
15590 2011-01-18 Ulrich Drepper <drepper@gmail.com>
15592 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15594 2011-01-17 Ulrich Drepper <drepper@gmail.com>
15596 * version.h (RELEASE): Bump for 2.13 release.
15597 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15599 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15601 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15603 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15604 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15605 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15606 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15607 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15608 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15610 * posix/getconf.c: Update copyright year.
15611 * catgets/gencat.c: Likewise.
15612 * csu/version.c: Likewise.
15613 * debug/catchsegv.sh: Likewise.
15614 * debug/xtrace.sh: Likewise.
15615 * elf/ldconfig.c: Likewise.
15616 * elf/ldd.bash.in: Likewise.
15617 * elf/sprof.c (print_version): Likewise.
15618 * iconv/iconv_prog.c: Likewise.
15619 * iconv/iconvconfig.c: Likewise.
15620 * locale/programs/locale.c: Likewise.
15621 * locale/programs/localedef.c: Likewise.
15622 * malloc/memusage.sh: Likewise.
15623 * malloc/mtrace.pl: Likewise.
15624 * nscd/nscd.c (print_version): Likewise.
15625 * nss/getent.c: Likewise.
15627 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15628 PF_CAIF, and PF_ALG.
15629 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15631 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15633 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15634 (modules-names): Use them.
15635 (ifunc-test-modules, ifunc-pie-tests): Define.
15636 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15637 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15638 (test-extras): Likewise.
15639 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15640 $(compile-command.c).
15641 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15642 (all-built-dso): Define.
15643 (check-textrel.out, check-execstack.out): Depend on it.
15645 * configure.in: Don't override --enable-multi-arch.
15647 2011-01-15 Ulrich Drepper <drepper@gmail.com>
15650 * nscd/hstcache.c (tryagain): Define.
15651 (cache_addhst): Return tryagain not notfound for temporary errors.
15652 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15655 2011-01-14 Ulrich Drepper <drepper@gmail.com>
15658 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15659 to make the syscall.
15660 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15663 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15664 and fall back to matching as normal character if the string ends before
15665 the matching ']' is found. This is what POSIX requires.
15666 * posix/testfnm.c: Adjust test result.
15667 * posix/globtest.sh: Adjust test result. Add new test.
15668 * posix/tst-fnmatch.input: Likewise.
15669 * posix/tst-fnmatch2.c: Add new test.
15671 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15673 * elf/Makefile (check-execstack): Revert last change. Depend on
15675 (check-execstack.h): New target.
15676 (generated): Add check-execstack.h.
15677 * elf/check-execstack.c: Include "check-execstack.h".
15678 (main): Revert last change.
15679 (handle_file): Return zero if GNU_STACK is absent and
15680 DEFAULT_STACK_PERMS doesn't include PF_X.
15682 2011-01-13 Ulrich Drepper <drepper@gmail.com>
15684 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15685 in child fails because the descriptor is already closed.
15686 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15687 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15688 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15691 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15695 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15696 temporary buffer used to handle multi lookups locally.
15697 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15699 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15701 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15704 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15706 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15707 alignment for SSE2.
15709 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15712 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15713 characters. When rounding increased number of integer digits recompute
15715 * stdio-common/tst-grouping.c: New file.
15716 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15718 2011-01-09 Ulrich Drepper <drepper@gmail.com>
15720 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15721 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15723 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15725 * bits/select.h: Likewise.
15727 2011-01-08 Ulrich Drepper <drepper@gmail.com>
15729 * po/ja.po: Update from translation team.
15731 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
15734 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15735 implementation just like for lxstat, fxstatat, et al.
15737 2010-12-27 Jim Meyering <meyering@redhat.com>
15740 * posix/regexec.c (build_trtable): Return failure indication upon
15741 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15743 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15746 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15747 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15748 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15749 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15752 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15755 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15756 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15758 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15760 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15761 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15762 script has SORT_BY_INIT_PRIORITY.
15763 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15764 NO_CTORS_DTORS_SECTIONS is defined.
15765 * elf/soinit.c: Likewise.
15766 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15767 NO_CTORS_DTORS_SECTIONS is defined.
15768 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15769 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15770 * sysdeps/sh/init-first.c: Likewise.
15771 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15773 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15775 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15776 always use the slow path.
15778 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15780 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15781 similar rule which adds the sysdep directories to the header search in
15782 order to pick up the correct platform stackinfo.h.
15783 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15784 perform test if it is, otherwise return successfully without testing.
15785 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15786 DEFAULT_STACK_PERMS define in stackinfo.h.
15787 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15788 defined in stackinfo.h.
15789 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15790 DEFAULT_STACK_PERMS defined in stackinfo.h.
15791 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15792 * sysdeps/ia64/stackinfo.h: Likewise.
15793 * sysdeps/s390/stackinfo.h: Likewise.
15794 * sysdeps/sh/stackinfo.h: Likewise.
15795 * sysdeps/sparc/stackinfo.h: Likewise.
15796 * sysdeps/x86_64/stackinfo.h: Likewise.
15797 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15798 PF_X for powerpc64. Retain PF_X for powerpc32.
15800 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15802 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15804 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15805 GETDENTS_64BIT_ALIGNED.
15807 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15809 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15811 2010-12-10 Andreas Schwab <schwab@redhat.com>
15813 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15816 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15817 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15819 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15820 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15822 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15825 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15828 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15830 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15832 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15834 * po/it.po: Update from translation team.
15836 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15841 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15843 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15845 2010-11-24 Andreas Schwab <schwab@redhat.com>
15847 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15849 (gaih_getanswer_slice): Likewise.
15851 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15853 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15855 2010-05-31 Petr Baudis <pasky@suse.cz>
15858 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15859 silently even in the chroot mode.
15861 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15863 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15864 last patch a bit. Pretty printing
15866 2010-05-31 Petr Baudis <pasky@suse.cz>
15869 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15870 initialization of skip_initgroups_dyn.
15872 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15874 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15875 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15877 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15879 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15881 2010-11-11 Andreas Schwab <schwab@redhat.com>
15883 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15884 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15885 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15886 ($(objpfx)tst-fnmatch-mem): New rule.
15887 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15888 * posix/tst-fnmatch.c (main): Call mtrace.
15890 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15893 Support Intel processor model 6 and model 0x2c.
15895 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15897 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15900 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15903 * string/test-strncasecmp.c (check_result): New function.
15904 (do_one_test): Use it.
15905 (check1): New function.
15906 (test_main): Use it.
15907 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15908 Support strcasecmp and strncasecmp.
15910 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15913 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15914 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15916 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15918 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15922 * sysdeps/x86_64/multiarch/bzero.S: New file.
15923 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15924 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15925 * sysdeps/x86_64/multiarch/memset.S: New file.
15926 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15928 Set bit_Prefer_SSE_for_memop for Intel processors.
15929 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15931 (index_Prefer_SSE_for_memop): Define.
15932 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15934 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15936 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15937 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15939 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15942 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15943 (__x86_64_raw_data_cache_size_half): Likewise.
15944 (__x86_64_raw_shared_cache_size): Likewise.
15945 (__x86_64_raw_shared_cache_size_half): Likewise.
15947 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15948 (__x86_64_raw_data_cache_size_half): Likewise.
15949 (__x86_64_raw_shared_cache_size): Likewise.
15950 (__x86_64_raw_shared_cache_size_half): Likewise.
15951 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15952 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15953 and __x86_64_raw_shared_cache_size_half. Round
15954 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15955 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15956 to multiple of 256 bytes.
15958 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15961 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15962 of inacessible symlinks. Verify result of symlink before returning it.
15963 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15964 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15966 2010-10-28 Erich Ritz <erichritz@gmail.com>
15968 * math/math.h (isinf): Fix typo in comment.
15970 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15972 * po/da.po: Update from translation team.
15974 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15976 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15977 is added to the list.
15979 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15980 Ulrich Drepper <drepper@gmail.com>
15982 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15983 the global list here. Move code to...
15984 (_dl_add_to_namespace_list): ...here. New function.
15985 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15986 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15987 * elf/dl-load.c (lose): Don't remove the element from the list.
15988 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15989 (_dl_map_object): Likewise.
15991 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15994 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15995 into all bytes of SSE register.
15996 Patch by Richard Li <richardpku@gmail.com>.
15998 2010-10-24 Ulrich Drepper <drepper@gmail.com>
16001 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16004 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16006 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16007 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16008 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16009 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16014 2010-10-22 Andreas Schwab <schwab@redhat.com>
16016 * include/dlfcn.h (__RTLD_SECURE): Define.
16017 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16018 mode & __RTLD_SECURE instead.
16019 (open_path): Rename preloaded parameter to secure.
16020 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16021 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16022 * elf/dl-deps.c (openaux): Likewise.
16023 * elf/rtld.c (struct map_args): Remove is_preloaded.
16024 (map_doit): Don't use it.
16025 (dl_main): Likewise.
16026 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16027 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16029 2010-09-09 Andreas Schwab <schwab@redhat.com>
16031 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16032 (sysd-rules-targets): Remove duplicates.
16033 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16034 rtld-%.$o dependency.
16036 2010-10-18 Andreas Schwab <schwab@redhat.com>
16038 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16039 _dl_map_object do it.
16041 2010-10-19 Ulrich Drepper <drepper@gmail.com>
16043 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16044 fast fma builtins, define the macros in the C99 standard.
16045 (FP_FAST_FMAF): Likewise.
16046 (FP_FAST_FMAL): Likewise.
16047 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16049 * bits/mathdef.h: Update copyright year.
16050 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16052 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16054 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16055 builtins, define the macros in the C99 standard.
16056 (FP_FAST_FMAF): Likewise.
16057 (FP_FAST_FMAL): Likewise.
16058 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16060 (FP_FAST_FMAF): Likewise.
16062 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16065 * math/libm-test.inc (fma_test): Some new testcases.
16066 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16067 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16068 y and infinite z. Do multiplication by C already in long double.
16069 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16071 y and infinite z. Do bitwise or of inexact bit into u.d.
16072 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16073 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16074 * sysdeps/i386/fpu/s_fma.S: Removed.
16075 * sysdeps/i386/fpu/s_fmal.S: Removed.
16077 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16080 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16082 computation is not scheduled after fetestexcept. Fix value
16083 of minimum denormal long double.
16085 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16088 * math/libm-test.inc (fma_test): Add some more tests.
16089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16092 2010-10-15 Andreas Schwab <schwab@redhat.com>
16094 * scripts/data/localplt-s390-linux-gnu.data: New file.
16095 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16097 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16100 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16101 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16103 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16105 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16107 if one of x and y is very large and the other is subnormal.
16108 * sysdeps/s390/fpu/s_fmaf.c: New file.
16109 * sysdeps/s390/fpu/s_fma.c: New file.
16110 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16111 * sysdeps/powerpc/fpu/s_fma.S: New file.
16112 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16113 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16114 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16116 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16119 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16121 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16122 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16123 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16124 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16125 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16126 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16127 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16129 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16132 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16133 * posix/bug-regex31.input: Add test case.
16135 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16137 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16138 * posix/bug-regex31.input: New file.
16141 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16142 (parse_sub_exp): Fix last change, use postorder.
16144 * posix/bug-regex31.c: New file.
16145 * posix/Makefile: Add rules to build and run bug-regex31.
16147 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16150 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16153 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16154 to have entries in sys_siglist.
16157 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16160 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16163 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16164 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16165 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16166 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16167 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16168 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16169 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16170 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16171 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16172 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16173 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16174 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16175 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16176 * math/ftestexcept.c (fetestexcept): Likewise.
16177 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16178 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16179 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16180 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16181 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16182 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16183 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16185 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16188 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16191 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16193 * string/bug-strstr1.c: New file.
16194 * string/Makefile: Add rules to build and run bug-strstr1.
16196 2010-10-05 Eric Blake <eblake@redhat.com>
16199 * string/str-two-way.h (two_way_long_needle): Always clear memory
16200 when skipping input due to the shift table.
16202 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16205 * malloc/mcheck.c: Handle large requests.
16208 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16209 for strncmp and strncasecmp.
16210 * string/stratcliff.c: Add tests for strcmp and strncmp.
16211 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16213 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16215 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16218 2010-09-30 Andreas Jaeger <aj@suse.de>
16220 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16221 (CGROUP_SUPER_MAGIC): Define.
16222 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16223 Handle btrfs and cgroup file systems.
16224 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16227 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16229 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16230 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16232 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16235 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16236 trying to locate the ELF header.
16238 2010-09-27 Andreas Schwab <schwab@redhat.com>
16241 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16242 Mask out sign-bit copies when constructing f_fsid.
16244 2010-09-24 Petr Baudis <pasky@suse.cz>
16246 * debug/stack_chk_fail_local.c: Add missing licence exception.
16247 * debug/warning-nop.c: Likewise.
16249 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16251 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16252 implementing getdents64 using getdents syscall, set d_type if
16253 __ASSUME_GETDENTS32_D_TYPE.
16255 2010-09-16 Andreas Schwab <schwab@redhat.com>
16257 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16258 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16260 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16263 * posix/unistd.h: Undo change of feature selection for ftruncate from
16266 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16268 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16271 2010-09-20 Andreas Schwab <schwab@redhat.com>
16273 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16275 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16277 2010-09-14 Andreas Schwab <schwab@redhat.com>
16279 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16280 variables after CHECK_SP call.
16281 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16283 2010-09-13 Andreas Schwab <schwab@redhat.com>
16284 Ulrich Drepper <drepper@redhat.com>
16286 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16287 re-relocationg ld.so.
16288 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16289 _dl_init_paths call.
16290 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16293 2010-09-14 Ulrich Drepper <drepper@redhat.com>
16295 * resolv/res_init.c (__res_vinit): Count the default server we added.
16297 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16298 Ulrich Drepper <drepper@redhat.com>
16301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16302 (____longjmp_chk): Use %ebx for saving value across system call.
16305 2010-09-06 Andreas Schwab <schwab@redhat.com>
16307 * manual/Makefile: Don't mix pattern rules with normal rules.
16309 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16311 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16313 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16314 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16315 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16316 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16317 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16320 2010-09-04 Ulrich Drepper <drepper@redhat.com>
16323 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16324 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16326 2010-09-02 Ulrich Drepper <drepper@redhat.com>
16328 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16329 * sysdeps/x86_64/addmul_1.S: Likewise.
16330 * sysdeps/x86_64/lshift.S: Likewise.
16331 * sysdeps/x86_64/mul_1.S: Likewise.
16332 * sysdeps/x86_64/rshift.S: Likewise.
16333 * sysdeps/x86_64/sub_n.S: Likewise.
16334 * sysdeps/x86_64/submul_1.S: Likewise.
16336 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16338 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16339 Define __sched_param instead of SCHED_* and sched_param when
16340 <bits/sched.h> is included with __need_schedparam defined.
16341 * bits/sched.h [__need_schedparam]
16342 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16343 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16344 (__defined_schedparam): Define to 1.
16345 (__sched_param): New structure, identical to sched_param.
16346 (__need_schedparam): Undefine.
16348 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16350 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16351 (epoll_create1): Declare.
16353 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16355 2010-08-31 Andreas Schwab <schwab@redhat.com>
16358 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16359 shifting retval into place.
16361 2010-09-01 Ulrich Drepper <drepper@redhat.com>
16363 * nis/rpcsvc/nis.h: Update copyright notice.
16364 * nis/rpcsvc/nis.x: Likewise.
16365 * nis/rpcsvc/nis_callback.h: Likewise.
16366 * nis/rpcsvc/nis_callback.x: Likewise.
16367 * nis/rpcsvc/nis_object.x: Likewise.
16368 * nis/rpcsvc/nis_tags.h: Likewise.
16369 * nis/rpcsvc/yp.h: Likewise.
16370 * nis/rpcsvc/yp.x: Likewise.
16371 * nis/rpcsvc/ypupd.h: Likewise.
16372 * nis/yp_xdr.c: Likewise.
16373 * nis/ypupdate_xdr.c: Likewise.
16375 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16376 mainly the body of pmap_getport. Add parameters to specify timeouts.
16377 (pmap_getport): Use __libc_rpc_getport.
16378 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16379 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16380 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16382 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16387 2010-08-27 Roland McGrath <roland@redhat.com>
16389 * sysdeps/i386/i686/multiarch/Makefile
16390 (CFLAGS-varshift.c): New variable.
16392 2010-08-27 Ulrich Drepper <drepper@redhat.com>
16394 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16395 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16397 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16399 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16401 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16403 * sysdeps/x86_64/strlen.S: Unroll the loop.
16404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16405 strlen-sse2 strlen-sse2-bsf.
16406 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16407 __strlen_no_bsf if bit_Slow_BSF is set.
16408 (__strlen_sse42): Removed.
16409 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16410 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16412 2010-08-25 Roland McGrath <roland@redhat.com>
16414 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16415 * sysdeps/x86_64/multiarch/varshift.c: New file.
16416 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16417 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16418 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16419 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16421 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16424 strlen-sse2 strlen-sse2-bsf.
16425 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16426 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16427 (__strlen_sse2): Removed.
16428 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16429 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16431 bit_Slow_BSF for Atom.
16432 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16433 (index_Slow_BSF): Define.
16434 (HAS_SLOW_BSF): Define.
16436 2010-08-25 Ulrich Drepper <drepper@redhat.com>
16439 * resolv/res_init.c (__res_vinit): When no server address at all
16440 is given default to loopback.
16442 2010-08-24 Roland McGrath <roland@redhat.com>
16444 * configure.in: Remove config-name.h generation.
16445 * configure: Regenerated.
16446 * config-name.in: File removed.
16447 * scripts/config-uname.sh: New file.
16448 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16449 ($(objdir)config-name.h): New target.
16451 * sunrpc/rpc_parse.h: Avoid nested comment.
16453 2010-08-24 Richard Henderson <rth@redhat.com>
16454 Ulrich Drepper <drepper@redhat.com>
16455 H.J. Lu <hongjiu.lu@intel.com>
16457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16459 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16460 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16461 _mm_alignr_epi8 with _mm_loadu_si128.
16462 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16463 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16464 (__m128i_shift_right): Removed.
16465 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16466 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16467 * sysdeps/x86_64/multiarch/varshift.h: New file.
16468 * sysdeps/x86_64/multiarch/varshift.S: New file.
16470 2010-08-21 Mike Frysinger <vapier@gentoo.org>
16472 * configure.in: Move assembler checks to before sysdep dir checking.
16474 2010-08-20 Petr Baudis <pasky@suse.cz>
16476 * LICENSES: Sync the sunrpc license.
16478 2010-08-19 Ulrich Drepper <drepper@redhat.com>
16480 * sunrpc/auth_des.c: Update copyright notice once again.
16481 * sunrpc/auth_none.c: Likewise.
16482 * sunrpc/auth_unix.c: Likewise.
16483 * sunrpc/authdes_prot.c: Likewise.
16484 * sunrpc/authuxprot.c: Likewise.
16485 * sunrpc/bindrsvprt.c: Likewise.
16486 * sunrpc/clnt_gen.c: Likewise.
16487 * sunrpc/clnt_perr.c: Likewise.
16488 * sunrpc/clnt_raw.c: Likewise.
16489 * sunrpc/clnt_simp.c: Likewise.
16490 * sunrpc/clnt_tcp.c: Likewise.
16491 * sunrpc/clnt_udp.c: Likewise.
16492 * sunrpc/clnt_unix.c: Likewise.
16493 * sunrpc/des_crypt.c: Likewise.
16494 * sunrpc/des_soft.c: Likewise.
16495 * sunrpc/get_myaddr.c: Likewise.
16496 * sunrpc/getrpcport.c: Likewise.
16497 * sunrpc/key_call.c: Likewise.
16498 * sunrpc/key_prot.c: Likewise.
16499 * sunrpc/openchild.c: Likewise.
16500 * sunrpc/pm_getmaps.c: Likewise.
16501 * sunrpc/pm_getport.c: Likewise.
16502 * sunrpc/pmap_clnt.c: Likewise.
16503 * sunrpc/pmap_prot.c: Likewise.
16504 * sunrpc/pmap_prot2.c: Likewise.
16505 * sunrpc/pmap_rmt.c: Likewise.
16506 * sunrpc/rpc/auth.h: Likewise.
16507 * sunrpc/rpc/auth_unix.h: Likewise.
16508 * sunrpc/rpc/clnt.h: Likewise.
16509 * sunrpc/rpc/des_crypt.h: Likewise.
16510 * sunrpc/rpc/key_prot.h: Likewise.
16511 * sunrpc/rpc/netdb.h: Likewise.
16512 * sunrpc/rpc/pmap_clnt.h: Likewise.
16513 * sunrpc/rpc/pmap_prot.h: Likewise.
16514 * sunrpc/rpc/pmap_rmt.h: Likewise.
16515 * sunrpc/rpc/rpc.h: Likewise.
16516 * sunrpc/rpc/rpc_des.h: Likewise.
16517 * sunrpc/rpc/rpc_msg.h: Likewise.
16518 * sunrpc/rpc/svc.h: Likewise.
16519 * sunrpc/rpc/svc_auth.h: Likewise.
16520 * sunrpc/rpc/types.h: Likewise.
16521 * sunrpc/rpc/xdr.h: Likewise.
16522 * sunrpc/rpc_clntout.c: Likewise.
16523 * sunrpc/rpc_cmsg.c: Likewise.
16524 * sunrpc/rpc_common.c: Likewise.
16525 * sunrpc/rpc_cout.c: Likewise.
16526 * sunrpc/rpc_dtable.c: Likewise.
16527 * sunrpc/rpc_hout.c: Likewise.
16528 * sunrpc/rpc_main.c: Likewise.
16529 * sunrpc/rpc_parse.c: Likewise.
16530 * sunrpc/rpc_parse.h: Likewise.
16531 * sunrpc/rpc_prot.c: Likewise.
16532 * sunrpc/rpc_sample.c: Likewise.
16533 * sunrpc/rpc_scan.c: Likewise.
16534 * sunrpc/rpc_scan.h: Likewise.
16535 * sunrpc/rpc_svcout.c: Likewise.
16536 * sunrpc/rpc_tblout.c: Likewise.
16537 * sunrpc/rpc_util.c: Likewise.
16538 * sunrpc/rpc_util.h: Likewise.
16539 * sunrpc/rpcinfo.c: Likewise.
16540 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16541 * sunrpc/rpcsvc/key_prot.x: Likewise.
16542 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16543 * sunrpc/rpcsvc/mount.x: Likewise.
16544 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16545 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16546 * sunrpc/rpcsvc/rex.x: Likewise.
16547 * sunrpc/rpcsvc/rstat.x: Likewise.
16548 * sunrpc/rpcsvc/rusers.x: Likewise.
16549 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16550 * sunrpc/rpcsvc/spray.x: Likewise.
16551 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16552 * sunrpc/rtime.c: Likewise.
16553 * sunrpc/svc.c: Likewise.
16554 * sunrpc/svc_auth.c: Likewise.
16555 * sunrpc/svc_authux.c: Likewise.
16556 * sunrpc/svc_raw.c: Likewise.
16557 * sunrpc/svc_run.c: Likewise.
16558 * sunrpc/svc_simple.c: Likewise.
16559 * sunrpc/svc_tcp.c: Likewise.
16560 * sunrpc/svc_udp.c: Likewise.
16561 * sunrpc/svc_unix.c: Likewise.
16562 * sunrpc/svcauth_des.c: Likewise.
16563 * sunrpc/xcrypt.c: Likewise.
16564 * sunrpc/xdr.c: Likewise.
16565 * sunrpc/xdr_array.c: Likewise.
16566 * sunrpc/xdr_float.c: Likewise.
16567 * sunrpc/xdr_mem.c: Likewise.
16568 * sunrpc/xdr_rec.c: Likewise.
16569 * sunrpc/xdr_ref.c: Likewise.
16570 * sunrpc/xdr_sizeof.c: Likewise.
16571 * sunrpc/xdr_stdio.c: Likewise.
16573 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16576 2010-08-19 Andreas Schwab <schwab@redhat.com>
16578 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16580 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
16582 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16583 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16584 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16585 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16586 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16587 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16588 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16589 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16590 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16591 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16592 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16593 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16594 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16595 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16597 2010-07-26 Anton Blanchard <anton@samba.org>
16599 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16600 * malloc/arena.c (heap_trim): Likewise.
16602 2010-08-16 Ulrich Drepper <drepper@redhat.com>
16604 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16606 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16607 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16609 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16611 * sysdeps/i386/elf/Makefile: New file.
16613 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16615 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16616 from fanotify_init.
16617 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16618 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16620 2010-08-15 Ulrich Drepper <drepper@redhat.com>
16622 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16624 * sysdeps/multiarch/strcmp.S: Likewise.
16626 2010-08-14 Ulrich Drepper <drepper@redhat.com>
16628 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16629 strncase_l-nonascii.
16630 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16631 Add strncase_l-ssse3.
16632 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16633 * sysdeps/x86_64/strcmp.S: Likewise.
16634 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16635 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16636 * sysdeps/x86_64/strncase.S: New file.
16637 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16638 * sysdeps/x86_64/strncase_l.S: New file.
16639 * string/Makefile (strop-tests): Add strncasecmp.
16640 * string/test-strncasecmp.c: New file.
16642 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16645 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16646 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16648 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16650 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16652 2010-08-12 Ulrich Drepper <drepper@redhat.com>
16654 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16655 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16656 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16658 2010-05-01 Alan Modra <amodra@gmail.com>
16660 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16661 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16662 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16663 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16664 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16665 tidying. Don't tail-call __sigjmp_save for static lib.
16666 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16668 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16669 (CALL_MCOUNT): Add eh info, and nop after bl.
16670 (TAIL_CALL_SYSCALL_ERROR): New macro.
16671 (PSEUDO_RET): Use it.
16672 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16673 Correct save location of integer regs and cr.
16674 (_dl_profile_resolve): Correct cr save location. Delete nops
16675 after bl when SHARED. Reduce cfi size a little by better
16676 placement of cfi directives.
16677 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16678 make a stack frame. Instead use parm save area as a temp.
16679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16680 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16682 Don't make a stack frame for parent, use parm save area.
16683 Increase child stack frame to 112 bytes. Don't save unused reg,
16684 and adjust reg usage. Set up cfi on error recovery and
16685 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16687 (__makecontext): Add dummy nop after jump to exit.
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16689 Use correct parm save area and cr save, reduce stack frame.
16690 Correct cfi for possible PSEUDO_RET frame setup.
16691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16692 Branch to local label emitted by PSEUDO_RET rather than
16695 2010-08-12 Andreas Schwab <schwab@redhat.com>
16698 * locale/programs/locale.c (print_assignment): New function.
16699 (show_locale_vars): Use it.
16701 2010-08-11 Ulrich Drepper <drepper@redhat.com>
16703 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16705 (struct statfs64): Likewise.
16706 (_STATFS_F_FLAGS): Define.
16707 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16708 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16709 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16710 (ST_VALID): Define locally.
16711 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16712 __statvfs_getflags, use the provided value.
16713 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16714 __ASSUME_STATFS_F_FLAGS.
16716 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16718 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16719 Add sys/fanotify.h.
16720 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16721 fanotify_mask for GLIBC_2.13.
16722 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16723 fanotify_init and fanotify_mark.
16724 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16725 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16727 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16729 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16730 prlimit64 for GLIBC_2.13.
16731 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16733 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16736 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16737 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16738 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16741 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16744 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16745 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16747 * nss/Makefile: Add rules to build and run tst-nss-test1.
16748 * shlib-versions: Add entry for libnss_test1.
16749 * nss/nss_test1.c: New file.
16750 * nss/tst-nss-test1.c: New file.
16752 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16753 (__nss_configure_lookup): Set appropriate entry in
16754 __nss_configure_lookup to true.
16755 * nss/nsswitch.h: Define enum with indeces of databases in
16756 databases and __nss_database_custom arrays. Declare
16757 __nss_database_custom.
16758 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16759 to avoid using nscd when custom rules are installed.
16760 * nss/getXXbyYY_r.c: Likewise.
16761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16763 * nss/nss_files/files-parse.c: Whitespace fixes.
16765 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16768 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16769 * posix/fnmatch_loop.c: Likewise.
16771 2010-07-17 Andi Kleen <ak@linux.intel.com>
16773 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16774 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16775 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16776 * Versions.def [GLIBC_2.13]: Add.
16778 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16780 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16781 Also fail if tpwd after pwuid call is NULL.
16783 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16785 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16786 when converting to ms.
16788 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16790 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16791 EOPNOTSUPP errors with ENOTTY.
16792 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16793 EOPNOTSUPP errors with ENOTTY.
16795 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16797 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16798 Add strcasecmp_l-ssse3.
16799 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16801 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16802 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16803 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16805 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16807 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16809 * string/Makefile (strop-tests): Add strcasecmp.
16810 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16811 strcasecmp_l-nonascii.
16812 (gen-as-const-headers): Add locale-defines.sym.
16813 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16814 * sysdeps/x86_64/strcasecmp.S: New file.
16815 * sysdeps/x86_64/strcasecmp_l.S: New file.
16816 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16817 * sysdeps/x86_64/locale-defines.sym: New file.
16818 * string/test-strcasecmp.c: New file.
16820 * string/test-strcasestr.c: Test both ends of the range of characters.
16821 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16823 2010-07-29 Roland McGrath <roland@redhat.com>
16826 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16828 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16830 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16833 2010-07-27 Andreas Schwab <schwab@redhat.com>
16835 * manual/memory.texi (Malloc Tunable Parameters): Document
16838 2010-07-26 Roland McGrath <roland@redhat.com>
16841 * configure.in (-fgnu89-inline check): Set and substitute
16842 gnu89_inline, not libc_cv_gnu89_inline.
16843 * configure: Regenerated.
16844 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16846 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16848 * string/test-strnlen.c: New file.
16849 * string/Makefile (strop-tests): Add strnlen.
16850 * string/tester.c (test_strnlen): Add a few more test cases.
16851 * string/tst-strlen.c: Better error reporting.
16853 * sysdeps/x86_64/strnlen.S: New file.
16855 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16857 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16858 lower-latency instructions.
16860 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16862 * string/test-strcasestr.c: New file.
16863 * string/test-strstr.c: New file.
16864 * string/Makefile (strop-tests): Add strstr and strcasestr.
16865 * string/str-two-way.h: Don't undefine MAX.
16866 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16868 2010-07-21 Andreas Schwab <schwab@redhat.com>
16870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16871 strcasestr-nonascii.
16872 (CFLAGS-strcasestr-nonascii.c): Define.
16873 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16874 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16875 Remove unused attribute.
16877 2010-07-20 Roland McGrath <roland@redhat.com>
16879 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16880 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16881 ld.so.cache was broken. With it, there is no way to disable dsocaps
16882 like LD_HWCAP_MASK can disable hwcaps.
16884 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16886 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16888 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16890 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16891 call in strcasestr.
16892 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16893 __strcasestr_sse42_nonascii.
16894 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16895 strcasestr-nonascii.c.
16896 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16898 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16900 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16901 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16902 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16903 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16905 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16907 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16910 2010-07-06 Andreas Schwab <schwab@redhat.com>
16913 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16916 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16918 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16919 _PC_PIPE_BUF using F_GETPIPE_SZ.
16921 2010-07-05 Roland McGrath <roland@redhat.com>
16923 * manual/arith.texi (Rounding Functions): Fix rint description
16924 implicit in round description.
16926 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16928 * elf/Makefile: Fix linking for a few tests to make recent linker
16931 2010-06-30 Andreas Schwab <schwab@redhat.com>
16933 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16934 $(common-objpfx)libc_nonshared.a.
16936 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16938 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16939 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16940 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16941 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16942 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16943 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16944 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16945 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16960 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16961 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16962 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16963 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16964 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16965 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16966 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16967 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16968 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16969 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16970 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16971 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16987 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16989 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16990 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16991 * string/memmove.c (memmove): Renamed to ...
16992 (MEMMOVE): ...this. Default to memmove.
16993 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16994 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16997 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16998 mempcpy-ssse3-back memmove-ssse3-back.
16999 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17000 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17001 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17002 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17003 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17004 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17005 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17006 * sysdeps/x86_64/multiarch/memmove.c: New file.
17007 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17008 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17009 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17010 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17011 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17012 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17014 (index_Fast_Copy_Backward): Define.
17015 (HAS_ARCH_FEATURE): Define.
17016 (HAS_FAST_REP_STRING): Define.
17017 (HAS_FAST_COPY_BACKWARD): Define.
17019 2010-06-21 Andreas Schwab <schwab@redhat.com>
17021 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17022 Restore proper fallback handling.
17024 2010-06-19 Ulrich Drepper <drepper@redhat.com>
17027 * posix/group_member.c (__group_member): Correct checking loop.
17029 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17030 OOM in getpwuid_r correctly. Return error number when the caller
17031 should return, otherwise -1.
17032 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17033 call returning > 0 value.
17034 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17036 2010-06-07 Andreas Schwab <schwab@redhat.com>
17038 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17039 libc_nonshared.a from targets in modules-names.
17041 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17043 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17046 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17048 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17049 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17050 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17051 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17053 2010-06-02 Andreas Schwab <schwab@redhat.com>
17055 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17057 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17059 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17061 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17062 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17065 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17066 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17068 2010-06-14 Roland McGrath <roland@redhat.com>
17070 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17072 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17074 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17075 __REDIRECT followed by __THROW.
17076 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17077 * posix/getopt.h (getopt): Likewise.
17079 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17081 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17082 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17083 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17085 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17086 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17088 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17090 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17092 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17096 Properly check family and model.
17098 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17100 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17102 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17104 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17106 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17108 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17111 2010-05-19 Andreas Schwab <schwab@redhat.com>
17113 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17116 2010-05-21 Andreas Schwab <schwab@redhat.com>
17118 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17119 and internal_recvmmsg.
17120 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17121 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17122 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17123 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17125 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17126 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17127 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17129 2010-05-20 Andreas Schwab <schwab@redhat.com>
17131 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17133 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17135 POWER7 optimizations.
17136 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17137 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17139 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17141 * version.h: Update for 2.13 development version.
17143 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17145 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17146 exceptions. Return 0.
17148 2010-05-07 Roland McGrath <roland@redhat.com>
17150 * elf/ldconfig.c (main): Add a const.
17152 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17154 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17155 (args_options): Add no-idn option.
17156 (ahosts_keys_int): Add idn_flags to ai_flags.
17157 (parse_option): Handle 'i' option to clear idn_flags.
17159 * malloc/malloc.c (_int_free): Possible race in the most recently
17160 added check. Only act on the data if no current modification
17163 See ChangeLog.17 for earlier changes.