Update sparc ULPs.
[glibc.git] / ChangeLog
blobf1a8d2c25411948b5aa41703a36e535f5a52b81e
1 2012-07-11  David S. Miller  <davem@davemloft.net>
3         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
7         [BZ #14347]
8         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9         (INTERNAL_MARK): Shift it here.
11 2012-07-10  Marek Polacek  <polacek@redhat.com>
13         [BZ #14151]
14         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
15         libc_cv_asm_global_directive with .globl.
16         * configure: Regenerated.
17         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18         with .globl.
19         * sysdeps/i386/configure: Regenerated.
20         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21         with .globl.
22         * sysdeps/x86_64/configure: Regenerated.
23         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
24         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25         * elf/tst-unique2mod2.c: Likewise.
26         * elf/tst-unique2mod1.c: Likewise.
27         * elf/tst-unique1mod2.c: Likewise.
28         * elf/tst-unique1mod1.c: Likewise.
29         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33         * sysdeps/mach/sysdep.h: Likewise.
34         * sysdeps/i386/sysdep.h: Likewise.
35         * sysdeps/i386/i386-mcount.S: Likewise.
36         * sysdeps/x86_64/_mcount.S: Likewise.
37         * sysdeps/x86_64/sysdep.h: Likewise.
38         * sysdeps/sh/_mcount.S: Likewise.
39         * sysdeps/sh/sysdep.h: Likewise.
40         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47         * locale/localeinfo.h: Likewise.
48         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
51 2012-07-09  Roland McGrath  <roland@hack.frob.com>
53         [BZ #14336]
54         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55         system".
56         * manual/message.texi (The Uniforum approach): Likewise.
57         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58         (glibc iconv Implementation): Likewise.
60 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62         [BZ #14337]
63         * math/s_clog.c (__clog): Avoid scaling a value down where that
64         could result in underflow.
65         * math/s_clog10.c (__clog10): Likewise.
66         * math/s_clog10f.c (__clog10f): Likewise.
67         * math/s_clog10l.c (__clog10l): Likewise.
68         * math/s_clogf.c (__clogf): Likewise.
69         * math/s_clogl.c (__clogl): Likewise.
70         * math/libm-test.inc (clog_test): Add more tests.
71         (clog10_test): Likewise.
72         * sysdeps/i386/fpu/libm-test-ulps: Update.
73         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
77         [BZ #14283]
78         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79         by 7 not 8 to examine high bit of fractional part.
81         [BZ #14042]
82         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
83         for call to __mcount_internal.
84         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
85         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
86         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
88 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
90         [BZ #14154]
91         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
92         approximation for values within 0x1p-13f of an odd multiple of
93         pi/4.
94         * math/libm-test.inc (tan_test): Do not allow spurious underflow
95         exception.  Add more tests.
96         * sysdeps/i386/fpu/libm-test-ulps: Update.
98         [BZ #6778]
99         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
100         inputs and return -1 for them.  Do not check for +Inf in case not
101         reachable for +Inf.
102         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
103         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
104         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
105         and return -1 for them.  Do not check for +Inf in case not
106         reachable for +Inf.
107         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
108         define.
109         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
110         and return -1 for them.  Do not check for +Inf in case not
111         reachable for +Inf.
112         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
113         spurious underflow.
114         * sysdeps/i386/fpu/libm-test-ulps: Update.
115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
117 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
119         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
121 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
123         [BZ #14157]
124         [BZ #14331]
125         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
126         could result in spurious underflow.  Scale down values above
127         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
128         * math/s_csqrtf.c (__csqrtf): Likewise.
129         * math/s_csqrtl.c (__csqrtl): Likewise.
130         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
131         spurious underflow.
132         * sysdeps/i386/fpu/libm-test-ulps: Update.
133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
135 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
137         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
138         xopen-msg.sed.
139         * catgets/xopen-msg.awk: New file.
140         * catgets/xopen-msg.sed: Removed.
142         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
143         po2text.sed.
144         * intl/po2test.awk: New file.
145         * intl/po2test.sed: Removed.
147 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
149         [BZ #14328]
150         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
151         or multiply small sinh result by itself.
152         * math/s_ctanf.c (__ctanf): Likewise.
153         * math/s_ctanh.c (__ctanh): Likewise.
154         * math/s_ctanhf.c (__ctanhf): Likewise.
155         * math/s_ctanhl.c (__ctanhl): Likewise.
156         * math/s_ctanl.c (__ctanl): Likewise.
157         * math/libm-test.inc (ctan_test_tonearest): New function.
158         (ctan_test_towardzero): Likewise.
159         (ctan_test_downward): Likewise.
160         (ctan_test_upward): Likewise.
161         (ctanh_test_tonearest): Likewise.
162         (ctanh_test_towardzero): Likewise.
163         (ctanh_test_downward): Likewise.
164         (ctanh_test_upward): Likewise.
165         (main): Call these new functions.
166         * sysdeps/i386/fpu/libm-test-ulps: Update.
167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
169 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
171         * .gitignore: Delete /ports entry.
173 2012-07-03  Andreas Jaeger  <aj@suse.de>
175         * po/bg.po: Update from translation team.
176         * po/cs.po: Likewise.
177         * po/de.po: Likewise.
178         * po/hr.po: Likewise.
179         * po/nl.pl: Likewise.
180         * po/pl.po: Likewise.
181         * po/vi.po: Likewise.
183 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
185         * Makeconfig [!+link] (+link-before-libc): New variable.
186         [!+link] (+link-after-libc): Likewise.
187         [!+link] (+link-tests): Likewise.
188         [!+link] (+link): Define in terms of $(+link-before-libc) and
189         $(+link-after-libc).
190         [!+link-static] (+link-static-before-libc): New variable.
191         [!+link-static] (+link-static-after-libc): Likewise.
192         [!+link-static] (+link-static-tests): Likewise.
193         [!+link-static] (+link-static): Define in terms of
194         $(+link-static-before-libc) and $(+link-static-after-libc).
195         [build-shared] (link-libc-before-gnulib): New variable.
196         [build-shared] (link-libc-tests): Likewise.
197         [build-shared] (link-libc): Define in terms of
198         $(link-libc-before-gnulib).
199         [!build-shared] (link-libc-tests): New variable.
200         (link-libc-static-tests): New variable.
201         [!gnulib] (gnulib-arch): New variable.
202         [!gnulib] (gnulib-tests): Likewise.
203         [!gnulib] (static-gnulib-arch): Likewise.
204         [!gnulib] (static-gnulib-tests): Likewise.
205         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
206         Define with "=" instead of ":=".
207         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
208         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
209         * Rules (binaries-all-notests): New variable.
210         (binaries-all-tests): Likewise.
211         (binaries-static-notests): Likewise.
212         (binaries-static-tests): Likewise.
213         (binaries-all): Define using $(binaries-all-notests) and
214         $(binaries-all-tests).
215         (binaries-static): Define using $(binaries-static-notests) and
216         $(binaries-static-tests).
217         (binaries-shared-tests): New variable.
218         (binaries-shared-notests): Likewise.
219         (binaries-shared): Remove variable.
220         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
221         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
222         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
223         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
224         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
225         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
226         * elf/Makefile (sln-modules): New variable.
227         (extra-objs): Add $(sln-modules:=.o).
228         (ldconfig-modules): Add static-stubs.
229         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
230         * elf/static-stubs.c: New file.
232         [BZ #14283]
233         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
234         by 7 not 8 to examine high bit of fractional part.  Use volatile
235         variables when splitting into final array of floats if
236         __FLT_EVAL_METHOD__ != 0.
237         * math/libm-test.inc (cos_test): Add another test.
238         (sin_test): Likewise.
239         * sysdeps/i386/fpu/libm-test-ulps: Update.
241         [BZ #14273]
242         * math/libm-test.inc (cosh_test): Add more tests.
244         * version.h (RELEASE): Set to "development".
245         (VERSION): Set to "2.16.90".
247 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
249         * NEWS: Update copyright. Remove last-updated date.
250         Mention math library bug fixes and timezone data changes.
251         * README: Mention GNU/Hurd, x32, and HPPA support status.
253 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
255         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
257 2012-06-27  Andreas Jaeger  <aj@suse.de>
259         * manual/contrib.texi (Contributors): Add Samuel Thibault.
261 2012-06-25  Andreas Jaeger  <aj@suse.de>
263         * sysdeps/s390/fpu/libm-test-ulps: Update.
265 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
266             Thomas Schwinge  <thomas@codesourcery.com>
268         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
269         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
270         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
271         fanotify_mark.
273 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
275         * sysdeps/mach/start.c: Remove file.
276         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
277         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
278         * sysdeps/sh/init-first.c: Likewise.
280         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
281         registers for frame unwinding purposes, add CFI directives.
282         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
283         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
284         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
285         Likewise.
287         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
288         __fortify_fail returning.
289         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
291         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
292         sysdeps/sh/____longjmp_chk.S.
293         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
294         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
295         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
296         (gen-as-const-headers): Append sigaltstack-offsets.sym.
298         * sysdeps/sh/abort-instr.h: New file.
299         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
300         process in case exit returns.
302         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
303         initialize the GOT register before use.
305         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
306         calculation of ARGC > 4.
308         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
309         meaningful names to some local labels.
311 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
312             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
314         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
315         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
316         (__arch_compare_and_exchange_val_16_acq): Likewise.
317         (__arch_compare_and_exchange_val_32_acq): Likewise.
318         (atomic_exchange_and_add): Fix gUSA sequence.
319         (atomic_add): Likewise.
320         (atomic_add_negative): Likewise.
321         (atomic_add_zero): Likewise.
322         (atomic_bit_test_set): Likewise.
324 2012-06-22  Andreas Schwab  <schwab@redhat.com>
326         [BZ #13579]
327         * include/link.h (struct link_map): Add l_free_initfini.
328         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
329         l_initfini.
330         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
331         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
332         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
333         set.
335 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
337         * configure.in: Use AC_LANG_SOURCE.
338         * configure: Regenerate.
340 2012-06-22  Roland McGrath  <roland@hack.frob.com>
342         * configure.in (libc_cv_localstatedir): New substituted variable.
343         * configure: Regenerated.
344         * config.make.in (localstatedir): New variable, substituted from
345         libc_cv_localstatedir.
346         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
347         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
348         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
349         * sysdeps/gnu/configure: Regenerated.
351 2012-06-21  Jeff Law  <law@redhat.com>
353         [BZ #14277]
354         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
355         free.  Simplify list management for _LIBC case.
357 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
359         [BZ #14273]
360         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
361         Clear sign bit of 64-bit integer value before comparing against
362         overflow value.
364         * sysdeps/mach/configure: Regenerated.
366 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
368         [BZ #14278]
369         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
371 2012-06-21  Jeff Law  <law@redhat.com>
373         [BZ #13882]
374         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
375         uint16_t for elements in the "seen" array to avoid char overflows.
376         * elf/dl-fini.c (_dl_sort_fini): Likewise.
377         * elf/dl-open.c (dl_open_worker): Likewise.
379 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
381         * scripts/list-sources.sh: Scan PORTS for translations.
382         * po/libc.pot: Regenerated.
384 2012-06-21  Andreas Jaeger  <aj@suse.de>
386         [BZ #12194]
387         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
388         warning.
389         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
390         * bits/byteswap-16.h (__bswap_16): Likewise.
391         * bits/byteswap.h (__bswap_constant_16): Likewise.
393 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
395         [BZ #14117]
396         * sysdeps/i386/fpu_control.h: Removed.
397         * sysdeps/x86_64/fpu_control.h: Moved to ...
398         * sysdeps/x86/fpu_control.h: Here.
400         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
401         (_FPU_SETCW): Likewise.
403 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
405         [BZ #14117]
406         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
407         * sysdeps/x86/fpu/bits/mathinline.h: This.
408         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
410         [BZ #14050]
411         [BZ #14117]
412         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
413         functions if __x86_64__ is defined.
415 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
417         * string/endian.h: Add !__ASSEMBLER__ condition for including
418         conversion interfaces.
420 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
422         [BZ #14241]
423         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
424         of ABS(x) in calculating zero to negative powers other than odd
425         integers.
426         * math/libm-test.inc (pow_test): Add more tests.
428 2012-06-15  Andreas Jaeger  <aj@suse.de>
430         * manual/contrib.texi (Contributors): Update entry of Liubov
431         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
432         Machado Filho.
434 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
436         * string/string.h: Add __wur to GNU version of strerror_r.
438 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
440         [BZ #14229]
441         * string/Makefile (tests): Add tst-strtok_r.
442         * string/tst-strtok_r.c: New file.
443         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
444         RAX_LP/RDX_LP on SAVE_PTR.
446 2012-06-14  Roland McGrath  <roland@hack.frob.com>
448         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
450 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
452         * libm_test.inc (csqrt_test): Allow more spurious underflow
453         exceptions.
454         (j0_test): Likewise.
455         (j1_test): Likewise.
456         (y0_test): Likewise.
457         (y1_test): Likewise.
459 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
461         * po/Makefile (libc.pot): Use UTF-8 charset.
463 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
465         [BZ #14210]
466         Suppress sign-conversion warning from FD_SET.
467         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
468         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
469         not unsigned long int.
470         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
472 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
474         [BZ #14050]
475         [BZ #14117]
476         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
477         __extern_always_inline instead of __extern_inline.
478         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
479         (__signbit): Likewise.
480         (__signbitl): Support C++ namespace.
481         (lrintf): New inline function.
482         (lrint): Likewise.
483         (llrintf): Likewise.
484         (llrint): Likewise.
485         (fmaxf): Likewise.
486         (fmax): Likewise.
487         (fminf): Likewise.
488         (fmin): Likewise.
489         (rint): Likewise.
490         (rintf): Likewise.
491         (ceil): Likewise.
492         (ceilf): Likewise.
493         (floor): Likewise.
494         (floorf): Likewise.
495         (nearbyint): Likewise.
496         (nearbyintf): Likewise.
498 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
500         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
501         non-default versions.
503 2012-06-11  Roland McGrath  <roland@hack.frob.com>
505         [BZ #14218]
506         * manual/argp.texi (Argp): Reword argp_parse description slightly.
508 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
510         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
511         (FE_UPWARD, FE_DOWNWARD): Don't define.
512         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
513         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
515         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
516         reading it.
517         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
518         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
520 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
522         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
523         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
524         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
525         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
527 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
529         [BZ #14117]
530         * sysdeps/i386/fpu/bits/fenv.h: Removed.
531         * sysdeps/i386/fpu/Implies: New file.
532         * sysdeps/x86_64/fpu/Implies: Likewise.
533         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
534         * sysdeps/x86/fpu/bits/fenv.h: This.
536         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
537         __SSE_MATH__.
539 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
541         [BZ #14134]
542         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
543         character 0xffff that matches the last element of the
544         conversion table.
546 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
548         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
549         fmodl commit.
551 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
553         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
554         values higher than 25.6283.
556 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
558         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
559         subnormal exponent extraction and add some __builtin_expect.
560         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
561         Fix for subnormal mantissa calculation.
563 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
565         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
566         cpu2 is -1 and errno is not ENOSYS.
568 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
570         [BZ #14117]
571         * sysdeps/i386/i486/bits/string.h: Renamed to ...
572         * sysdeps/x86/bits/string.h: This.
573         * sysdeps/x86_64/bits/string.h: Removed.
575         * sysdeps/i386/i486/bits/string.h: Define inline functions only
576         if not compiling for x86-64, but compiling for >= i486.
578         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
579         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
581         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
582         New macro from Linux kernel 3.4.0.
583         (FP_XSTATE_MAGIC2): Likewise.
584         (FP_XSTATE_MAGIC2_SIZE): Likewise.
585         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
586         (struct _fpx_sw_bytes): New struct.
587         (struct _xsave_hdr): Likewise.
588         (struct _ymmh_state): Likewise.
589         (struct _xstate): Likewise.
591         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
592         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
593         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
594         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
595         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
596         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
598         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
599         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
600         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
601         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
602         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
603         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
605 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
607         [BZ #13743]
608         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
609         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
610         (sysdep_headers): Include sys/platform/ppc.h.
611         * sysdeps/powerpc/test-gettimebase.c: Test for
612         __ppc_get_timebase() to catch future ISA opcode/insn changes.
613         * manual/Makefile (appendices): Include platform.texi.
614         * manual/contrib.texi (Contributors): Update @node pointers.
615         * manual/maint.texi (Maintenance): Likewise.
616         (Platform): New node.
617         * manual/platform.texi: New file.  Document the new features.
619 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
620             Jakub Jelinek  <jakub@redhat.com>
622         [BZ #14188]
623         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
624         where __builtin_expect is unavailable.
626 2012-06-03  David S. Miller  <davem@davemloft.net>
628         * stdlib/longlong.h: Updated from GCC.
630 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
632         [BZ #14042]
633         * sysdeps/powerpc/powerpc32/mcount.c: New file.
634         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
635         __mcount_internal.
636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
637         (GLIBC_2.16): Likewise.
639 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
641         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
643 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
646         (default-abi): New variable.
647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
648         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
649         variable.
650         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
651         Likewise.
652         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
653         Likewise.
654         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
655         Likewise.
657         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
658         definition.  Document in comment.
660 2012-06-01  David S. Miller  <davem@davemloft.net>
662         * stdlib/longlong.h: Updated from GCC.
664 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
666         [BZ #14117]
667         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
668         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
669         sys/debugreg.h sys/io.h here.
670         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
671         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
672         sys/io.h.
673         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
674         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
675         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
676         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
677         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
678         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
680         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
681         Define only if __x86_64__ is defined.
683 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
685         [BZ #14048]
686         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
687         Use int64_t for variable i.
688         * math/libm-test.inc (fmod_test): Add more tests.
690         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
691         z computation is not scheduled after fetestexcept.
692         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
693         Use math_force_eval instead of asm to ensure calculation scheduled
694         before exception test.
695         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
696         Ensure a1 + u.d computation is not scheduled after fetestexcept.
698 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
700         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
701         computation is not scheduled after fetestexcept.
703 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
705         [BZ #14117]
706         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
707         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
709 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
711         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
712         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
714 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
716         [BZ #14117]
717         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
718         <bits/wordsize.h>.
719         (__WCHAR_MIN): Support __WORDSIZE == 64.
720         (__WCHAR_MAX): Likewise.
722         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
723         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
725         [BZ #14183]
726         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
727         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
729         [BZ #14117]
730         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
731         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
733         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
734         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
736         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
737         Defined to 1 if __x86_64__ isn't defined.
738         (_STAT_VER_LINUX_OLD): New.
739         (st_atime): Remove duplicate.
740         (st_mtime): Likewise.
741         (st_ctime): Likewise.
743 2012-05-31  David S. Miller  <davem@davemloft.net>
745         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
746         entries.
748 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
750         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
751         gen-libm-test.pl.
753         [BZ #14132]
754         * elf/dl-reloc.c: Include <_itoa.h>.
755         (_dl_reloc_bad_type): Remove use of INTUSE.
756         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
757         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
758         * stdio-common/psiginfo.c (psiginfo): Likewise.
759         * stdio-common/psignal.c (psignal): Likewise.
760         * string/strsignal.c (strsignal): Likewise.
761         * include/signal.h (_sys_siglist): Declare hidden proto.
762         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
763         INTVARDEF with libc_hidden_data_def.
764         * stdio-common/itoa-udigits.c: Likewise.
765         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
766         (_itoa_lower_digits_internal): Remove declaration.
767         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
768         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
769         (_sys_sigabbrev_internal): Remove aliases.
770         (_sys_siglist): Define hidden alias.
772 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
774         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
775         bits/sysctl.h.
777 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
779         [BZ #14117]
780         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
781         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
783         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
784         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
785         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
786         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
787         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
788         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
790         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
791         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
792         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
794         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
795         with __addr.
796         (insw): Likewise.
797         (insl): Likewise.
798         (outsb): Likewise.
799         (outsw): Likewise.
800         (outsl): Likewise.
802         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
803         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
804         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
806         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
807         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
808         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
809         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
810         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
811         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
813         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
814         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
816         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
817         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
819         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
820         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
821         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
823         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
824         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
825         to ...
826         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
828         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
829         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
830         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
832         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
833         for x86-64.
834         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
836 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
838         * math/math.h (M_El): Use two more decimal places.
839         (M_LOG2El): Likewise.
840         (M_LOG10El): Likewise.
841         (M_LN2l): Likewise.
842         (M_LN10l): Likewise.
843         (M_PIl): Likewise.
844         (M_PI_2l): Likewise.
845         (M_PI_4l): Likewise.
846         (M_1_PIl): Likewise.
847         (M_2_PIl): Likewise.
848         (M_2_SQRTPIl): Likewise.
849         (M_SQRT2l): Likewise.
850         (M_SQRT1_2l): Likewise.
852 2012-05-31  David S. Miller  <davem@davemloft.net>
854         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
855         values between float registers.
856         * sysdeps/sparc/sparc64/memset.S: Likewise.
857         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
859 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
861         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
862         -D_FORTIFY_SOURCE=1.
863         (CPPFLAGS-tst-longjmp_chk.c): Define.
864         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
865         (CPPFLAGS-tst-longjmp_chk2.c): Define.
866         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
867         CFLAGS-tst-wchar-h.c.
869 2012-05-31  Marek Polacek  <polacek@redhat.com>
871         [BZ #14132]
872         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
873         __endmntent_internal): Remove declaration.
874         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
875         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
876         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
878 2012-05-30  David S. Miller  <davem@davemloft.net>
880         * sysdeps/sparc/sparc32/soft-fp/q_util.c
881         (___Q_simulate_exceptions): Use real FP ops rather than writing
882         into the %fsr.
883         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
884         Likewise.
886 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
888         [BZ #14117]
889         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
890         * sysdeps/x86/bits/xtitypes.h: This.
892         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
893         * sysdeps/x86/bits/wordsize.h: This.
895         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
896         * sysdeps/x86/bits/huge_vall.h: This.
898         * sysdeps/i386/bits/select.h: Removed.
899         * sysdeps/x86_64/bits/select.h: Renamed to ...
900         * sysdeps/x86/bits/select.h: This.
902         * sysdeps/i386/bits/setjmp.h: Removed.
903         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
904         * sysdeps/x86/bits/setjmp.h: This.
906         * sysdeps/i386/bits/mathdef.h: Removed.
907         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
908         * sysdeps/x86/bits/mathdef.h: This.
910 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
912         [BZ #14132]
913         * include/sys/socket.h (__connect_internal)
914         (__libc_sa_len_internal): Remove declaration.
915         (__connect, __libc_sa_len): Declare hidden_proto.
916         (SA_LEN): Remove use of INTUSE.
917         * socket/connect.c: Add libc_hidden_def.
918         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
919         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
920         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
921         alias.
922         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
923         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
924         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
925         of adding _internal alias.
927 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
929         [BZ #14117]
930         * sysdeps/i386/bits/link.h: Removed.
931         * sysdeps/i386/bits/linkmap.h: Likewise.
932         * sysdeps/x86_64/bits/link.h: Renamed to ...
933         * sysdeps/x86/bits/link.h: This.
934         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
935         * sysdeps/x86/bits/linkmap.h: This.
937         * sysdeps/i386/bits/endian.h: Removed.
938         * sysdeps/x86_64/bits/endian.h: Renamed to ...
939         * sysdeps/x86/bits/endian.h: This.
941         * sysdeps/i386/bits/byteswap.h: Removed.
942         * sysdeps/i386/bits/byteswap-16.h: Likewise.
943         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
944         * sysdeps/x86/bits/byteswap.h: This.
945         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
946         * sysdeps/x86/bits/byteswap-16.h: This.
947         * sysdeps/i386/Implies: Add x86.
948         * sysdeps/x86_64/Implies: Likewise.
950 2012-05-30  David S. Miller  <davem@davemloft.net>
952         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
953         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
954         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
955         (FP_TRAPPING_EXCEPTIONS): Define.
956         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
957         (FP_TRAPPING_EXCEPTIONS): Define.
958         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
959         subnormals only when inexact has been signalled or underflow
960         exceptions are enabled.
961         (_FP_PACK_CANONICAL): Likewise.
963 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
965         [BZ #14183]
966         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
967         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
969 2012-05-30  Richard Henderson  <rth@twiddle.net>
971         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
972         with #ifndef NOT_IN_libc.
974         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
975         marked to avoid plt entry.
977 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
979         [BZ #14112]
980         * Makeconfig (default-abi): New macro.
981         (abi-includes): Likewise.
982         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
983         $(abi-$(default-abi)-lib-soname) for soname if defined.
984         ($(common-objpfx)gnu/lib-names.stmp): Generate from
985         abi-variants.
986         * Makefile (installed-stubs): Likewise.
987         * include/stubs-biarch.h: Removed.
988         * scripts/lib-names.awk: Only handle one library at a time.
989         * scripts/soversions.awk: Remove WORDSIZE support.
990         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
991         entries.
992         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
993         Removed.
994         (syscall-list-default-condition): Likewise.
995         (syscall-list-default-condition): Likewise.
996         (syscall-list-includes): Likewise.
997         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
998         syscall-list-* with abi-*.  Handle undefined abi-variants.
999         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1000         * sysdeps/unix/sysv/linux/i386/Implies: New file.
1001         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1002         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1003         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1004         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1005         Removed.
1006         (syscall-list-32-options): Likewise.
1007         (syscall-list-32-condition): Likewise.
1008         (syscall-list-64-options): Likewise.
1009         (syscall-list-64-condition): Likewise.
1010         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1011         macro.
1012         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1013         Renamed to ...
1014         (abi-*): This.
1015         (abi-64-ld-soname): New macro.
1016         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1017         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1018         Renamed to ...
1019         (abi-*): This.
1020         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1021         * sysdeps/x86_64/x32/shlib-versions: Likewise.
1023 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
1025         * sysdeps/unix/sysv/linux/kernel-features.h
1026         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1027         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1028         include <kernel-features.h>.
1029         [!__NR_ftruncate64]: Remove conditional code.
1030         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1031         [__NR_ftruncate64]: Make code unconditional.
1032         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1033         * sysdeps/unix/sysv/linux/truncate64.c: Do not
1034         include <kernel-features.h>.
1035         [!__NR_ftruncate64]: Remove conditional code.
1036         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1037         [__NR_ftruncate64]: Make code unconditional.
1038         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1040         include <kernel-features.h>.
1041         [!__NR_ftruncate64]: Remove conditional code.
1042         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1043         [__NR_ftruncate64]: Make code unconditional.
1044         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1046         include <kernel-features.h>.
1047         [!__NR_ftruncate64]: Remove conditional code.
1048         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1049         [__NR_ftruncate64]: Make code unconditional.
1050         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1052         * configure.in (libc_cv_fpie): Weaken to a compile test using
1053         LIBC_TRY_CC_OPTION.
1054         * configure: Regenerated.
1056 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1062         Refreshed.
1063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1069         Refreshed.
1071 2012-05-27  David S. Miller  <davem@davemloft.net>
1073         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1074         (___Q_zero): New.
1075         (__Q_simulate_exceptions): Return void.  Change to simulate
1076         exceptions by writing into the %fsr.
1077         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1078         (__Qp_handle_exceptions): Likewise.
1079         (numbers): Delete.
1080         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1081         __Qp_handle_exceptions.
1082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1083         __Qp_handle_exceptions.
1084         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1085         as unused and give dummy FP_RND_NEAREST initializer.
1086         (FP_INHIBIT_RESULTS): Define.
1087         (___Q_simulate_exceptions): Update declaration.
1088         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1089         formatting.
1090         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1091         as unused and give dummy FP_RND_NEAREST initializer.
1092         (__Qp_handle_exceptions): Update declaration.
1093         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1094         formatting.
1096 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
1098         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1099         the temporary FPU control word.
1100         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1101         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1102         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1103         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1104         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1105         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1106         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1107         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1108         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1109         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1110         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1112 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1114         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1115         fields.
1117 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
1119         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1120         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1121         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1122         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1123         Likewise.
1124         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1125         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1126         Likewise.
1128 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
1130         * po/h.po: Update from translation team.
1132 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
1134         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1136         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1137         handling of denormals.
1138         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1139         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1140         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1141         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1142         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1143         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1144         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1145         Likewise.
1147 2012-05-26  Marek Polacek  <polacek@redhat.com>
1149         [BZ #14152]
1150         * math/libm-test.inc (fma_test): Don't always expect underflow
1151         exception.
1153 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1155         [BZ #12416]
1156         * elf/tst-execstack.c: Include stackinfo.h.
1157         (do_test): Adjust test case to ensure that pthread_getattr_np
1158         behaviour remains the same after marking stack executable.
1160 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1162         * sysdeps/unix/sysv/linux/kernel-features.h
1163         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1164         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1165         kernel-features.h.
1166         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1167         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1168         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1169         kernel-features.h.
1170         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1171         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1173 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1175         * configure.in: Define the default includes to being none.
1176         * configure: Regenerated.
1178 2012-05-25  Roland McGrath  <roland@hack.frob.com>
1180         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1181         * sysdeps/x86_64/setjmp.S: Likewise.
1182         * sysdeps/i386/bsd-setjmp.S: Likewise.
1183         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1184         * sysdeps/i386/setjmp.S: Likewise.
1185         * sysdeps/i386/__longjmp.S: Likewise.
1186         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1187         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1189         * include/stap-probe.h: New file.
1190         * configure.in: Handle --enable-systemtap.
1191         * configure: Regenerated.
1192         * config.h.in (USE_STAP_PROBE): New #undef.
1193         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1194         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1195         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1197 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1199         [BZ #13717]
1200         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1201         to 2.4.0 where earlier.
1202         * sysdeps/unix/sysv/linux/configure: Regenerated.
1203         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1204         <kernel-features.h>.
1205         [__ASSUME_32BITUIDS]: Make code unconditional.
1206         [!__ASSUME_32BITUIDS]: Remove conditional code.
1207         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1208         <kernel-features.h>.
1209         [__ASSUME_32BITUIDS]: Make code unconditional.
1210         [!__ASSUME_32BITUIDS]: Remove conditional code.
1211         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1212         [__ASSUME_32BITUIDS]: Make code unconditional.
1213         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1214         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1215         <kernel-features.h>.
1216         [__ASSUME_32BITUIDS]: Make code unconditional.
1217         [!__ASSUME_32BITUIDS]: Remove conditional code.
1218         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1219         <kernel-features.h>.
1220         [__ASSUME_32BITUIDS]: Make code unconditional.
1221         [!__ASSUME_32BITUIDS]: Remove conditional code.
1222         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1223         <kernel-features.h>.
1224         [__ASSUME_32BITUIDS]: Make code unconditional.
1225         [!__ASSUME_32BITUIDS]: Remove conditional code.
1226         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1227         <kernel-features.h>.
1228         [__ASSUME_32BITUIDS]: Make code unconditional.
1229         [!__ASSUME_32BITUIDS]: Remove conditional code.
1230         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1231         <kernel-features.h>.
1232         [__ASSUME_32BITUIDS]: Make code unconditional.
1233         [!__ASSUME_32BITUIDS]: Remove conditional code.
1234         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1235         <kernel-features.h>.
1236         [__ASSUME_32BITUIDS]: Make code unconditional.
1237         [!__ASSUME_32BITUIDS]: Remove conditional code.
1238         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1239         <kernel-features.h>.
1240         [__ASSUME_32BITUIDS]: Make code unconditional.
1241         [!__ASSUME_32BITUIDS]: Remove conditional code.
1242         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1243         <kernel-features.h>.
1244         [__ASSUME_32BITUIDS]: Make code unconditional.
1245         [!__ASSUME_32BITUIDS]: Remove conditional code.
1246         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1247         <kernel-features.h>.
1248         [__ASSUME_32BITUIDS]: Make code unconditional.
1249         [!__ASSUME_32BITUIDS]: Remove conditional code.
1250         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1251         <kernel-features.h>.
1252         [__ASSUME_32BITUIDS]: Make code unconditional.
1253         [!__ASSUME_32BITUIDS]: Remove conditional code.
1254         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1255         <kernel-features.h>.
1256         [__NR_setresgid] (__setresgid): Do not declare.
1257         [__ASSUME_32BITUIDS]: Make code unconditional.
1258         [!__ASSUME_32BITUIDS]: Remove conditional code.
1259         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1260         <kernel-features.h>.
1261         [__NR_setresuid] (__setresuid): Do not declare.
1262         [__ASSUME_32BITUIDS]: Make code unconditional.
1263         [!__ASSUME_32BITUIDS]: Remove conditional code.
1264         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1265         <kernel-features.h>.
1266         [__ASSUME_32BITUIDS]: Make code unconditional.
1267         [!__ASSUME_32BITUIDS]: Remove conditional code.
1268         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1269         <kernel-features.h>.
1270         [__ASSUME_32BITUIDS]: Make code unconditional.
1271         [!__ASSUME_32BITUIDS]: Remove conditional code.
1272         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1273         <kernel-features.h>.
1274         [__ASSUME_32BITUIDS]: Make code unconditional.
1275         [!__ASSUME_32BITUIDS]: Remove conditional code.
1276         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1277         <kernel-features.h>.
1278         [__ASSUME_32BITUIDS]: Make code unconditional.
1279         [!__ASSUME_32BITUIDS]: Remove conditional code.
1280         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1281         <kernel-features.h>.
1282         [__ASSUME_32BITUIDS]: Make code unconditional.
1283         [!__ASSUME_32BITUIDS]: Remove conditional code.
1284         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1285         <kernel-features.h>.
1286         [__ASSUME_32BITUIDS]: Make code unconditional.
1287         [!__ASSUME_32BITUIDS]: Remove conditional code.
1288         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1289         <kernel-features.h>.
1290         [__ASSUME_32BITUIDS]: Make code unconditional.
1291         [!__ASSUME_32BITUIDS]: Remove conditional code.
1292         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1293         <kernel-features.h>.
1294         [__ASSUME_32BITUIDS]: Make code unconditional.
1295         [!__ASSUME_32BITUIDS]: Remove conditional code.
1296         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1297         <kernel-features.h>.
1298         [__ASSUME_32BITUIDS]: Make code unconditional.
1299         [!__ASSUME_32BITUIDS]: Remove conditional code.
1300         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1301         <kernel-features.h>.
1302         [__ASSUME_32BITUIDS]: Make code unconditional.
1303         [!__ASSUME_32BITUIDS]: Remove conditional code.
1304         * sysdeps/unix/sysv/linux/kernel-features.h
1305         (__ASSUME_SETRESUID_SYSCALL): Remove.
1306         (__ASSUME_SETRESGID_SYSCALL): Likewise.
1307         (__ASSUME_32BITUIDS): Likewise.
1308         (__ASSUME_LDT_WORKS): Likewise.
1309         (__ASSUME_O_DIRECTORY): Likewise.
1310         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1311         architecture but not kernel version.
1312         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1313         (__ASSUME_MMAP2_SYSCALL): Likewise.
1314         (__ASSUME_STAT64_SYSCALL): Likewise.
1315         (__ASSUME_IPC64): Likewise.
1316         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1317         <kernel-features.h>.
1318         [__ASSUME_32BITUIDS]: Make code unconditional.
1319         [!__ASSUME_32BITUIDS]: Remove conditional code.
1320         * sysdeps/unix/sysv/linux/opendir.c: Do not include
1321         <kernel-features.h>.
1322         [__ASSUME_O_DIRECTORY]: Make code unconditional.
1323         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1324         132096]: Remove conditional code.
1325         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1326         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1327         <kernel-features.h>.
1328         [__ASSUME_32BITUIDS]: Make code unconditional.
1329         [!__ASSUME_32BITUIDS]: Remove conditional code.
1330         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1331         <kernel-features.h>.
1332         [__ASSUME_32BITUIDS]: Make code unconditional.
1333         [!__ASSUME_32BITUIDS]: Remove conditional code.
1334         * sysdeps/unix/sysv/linux/setegid.c: Do not include
1335         <kernel-features.h>.
1336         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1337         unconditional.
1338         (__setresgid): Do not declare.
1339         [__ASSUME_32BITUIDS]: Make code unconditional.
1340         [!__ASSUME_32BITUIDS]: Remove conditional code.
1341         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1342         <kernel-features.h>.
1343         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1344         unconditional.
1345         (__setresuid): Do not declare.
1346         [__ASSUME_32BITUIDS]: Make code unconditional.
1347         [!__ASSUME_32BITUIDS]: Remove conditional code.
1348         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1349         <kernel-features.h>.
1350         [__ASSUME_32BITUIDS]: Make code unconditional.
1351         [!__ASSUME_32BITUIDS]: Remove conditional code.
1352         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1353         <kernel-features.h>.
1354         [__ASSUME_32BITUIDS]: Make code unconditional.
1355         [!__ASSUME_32BITUIDS]: Remove conditional code.
1357 2012-05-25  Richard Henderson  <rth@twiddle.net>
1359         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1360         dl_hwcap to ifunc resolver.
1361         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1362         elf_ifunc_invoke.
1363         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1364         dl_hwcap to ifunc resolver.
1365         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1367 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1369         [BZ #14153]
1370         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1371         for |x| <= 2**-26, not 2**-57.
1372         * math/libm-test.inc (acos_test): Do not allow spurious underflow
1373         exception.
1375 2012-05-24  Jeff Law  <law@redhat.com>
1377         * stdio-common/Makefile (tests): Add bug25.
1378         * stdio-common/bug25.c: New test.
1380 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1382         [BZ #13576]
1383         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1384         multiple of MALLOC_ALIGNMENT in size.
1385         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1387 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1389         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1390         Require >= 256.
1391         (FILENAME_MAX): Use macro-int-constant.
1392         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
1393         (_IOFBF): Use macro-int-constant.
1394         (_IOLBF): Likewise.
1395         (_IONBF): Likewise.
1396         (SEEK_CUR): Likewise.
1397         (SEEK_END): Likewise.
1398         (SEEK_SET): Likewise.
1399         (TMP_MAX): Likewise.
1400         (EOF): Use macro-int-constant.  Require < 0.
1401         (NULL): Use macro-constant.  Require == 0.
1402         (stdin): Require type to be FILE *.
1403         (stdout): Likewise.
1404         (stderr): Likewise.
1405         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1406         macro-int-constant.
1407         (EXIT_SUCCESS): Likewise.
1408         (NULL): Use macro-constant.  Require == 0.
1409         (RAND_MAX): Use macro-int-constant.
1410         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1411         [C99-based standards] (strtof): Require function.
1412         [C99-based standards] (strtold): Likewise.
1413         [C99-based standards] (strtoll): Likewise.
1414         [C99-based standards] (strtoull): Likewise.
1415         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1416         [ISO || ISO99 || ISO11] (limits.h): Likewise.
1417         [ISO || ISO99 || ISO11] (math.h): Likewise.
1418         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1419         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1420         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1422 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
1424         [BZ #14132]
1425         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1426         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1427         * intl/dgettext.c (DCGETTEXT): Likewise.
1428         * intl/gettext.c (DCGETTEXT): Likewise.
1429         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1430         * posix/regex_internal.h (gettext): Likewise.
1431         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1432         Remove declaration.
1433         * include/argz.h (__argz_count_internal)
1434         (__argz_stringify_internal): Remove declaration.
1435         (__argz_count, __argz_stringify): Declare hidden proto.
1436         * intl/dcgettext.c: Remove use of INTDEF.
1437         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1438         * string/argz-stringify.c: Likewise.
1439         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1440         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1441         Declare hidden proto.
1442         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1443         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1444         Declare hidden proto.
1445         * include/stdio.h (__asprintf_internal): Don't declare.
1446         (__asprintf): Don't define as macro.  Declare hidden proto.
1447         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1448         (__fsetlocking): Declare hidden proto.
1449         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1450         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1451         hidden proto.
1452         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1453         (_IO_setlinebuf): Remove use of INTUSE.
1454         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1455         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1456         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1457         Remove declaration.
1458         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1459         (_IO_do_flush): Remove use of INTUSE.
1460         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1461         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1462         (_IO_adjust_column, _IO_least_wmarker)
1463         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1464         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1465         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1466         (_IO_default_doallocate, _IO_wdefault_doallocate)
1467         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1468         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1469         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1470         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1471         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1472         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1473         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1474         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1475         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1476         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1477         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1478         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1479         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1480         proto.
1481         (_IO_flush_all_internal, _IO_adjust_column_internal)
1482         (_IO_default_uflow_internal, _IO_default_finish_internal)
1483         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1484         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1485         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1486         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1487         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1488         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1489         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1490         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1491         (_IO_file_close_internal, _IO_file_close_it_internal)
1492         (_IO_file_underflow_internal, _IO_file_overflow_internal)
1493         (_IO_file_init_internal, _IO_file_attach_internal)
1494         (_IO_file_fopen_internal, _IO_file_read_internal)
1495         (_IO_file_sync_internal, _IO_file_seek_internal)
1496         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1497         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1498         (_IO_str_underflow_internal, _IO_str_overflow_internal)
1499         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1500         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1501         (_IO_list_all_internal, _IO_link_in_internal)
1502         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1503         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1504         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1505         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1506         (_IO_do_write_internal, _IO_padn_internal)
1507         (_IO_getline_info_internal, _IO_getline_internal)
1508         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1509         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1510         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1511         (_IO_vfscanf_internal, _IO_vfprintf_internal)
1512         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1513         (_IO_init_internal, _IO_un_link_internal): Don't declare.
1514         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1515         with libc_hidden_ver, remove use of INTUSE.
1516         * libio/genops.c: Likewise.
1517         * libio/freopen.c: Likewise.
1518         * libio/freopen64.c: Likewise.
1519         * libio/iofclose.c: Likewise.
1520         * libio/iofdopen.c: Likewise.
1521         * libio/iofflush.c: Likewise.
1522         * libio/iofflush_u.c: Likewise.
1523         * libio/iofgets.c: Likewise.
1524         * libio/iofgets_u.c: Likewise.
1525         * libio/iofopen.c: Likewise.
1526         * libio/iofopncook.c: Likewise.
1527         * libio/iofread.c: Likewise.
1528         * libio/iofread_u.c: Likewise.
1529         * libio/ioftell.c: Likewise.
1530         * libio/iofwrite.c: Likewise.
1531         * libio/iogetline.c: Likewise.
1532         * libio/iogets.c: Likewise.
1533         * libio/iogetwline.c: Likewise.
1534         * libio/iopadn.c: Likewise.
1535         * libio/iopopen.c: Likewise.
1536         * libio/ioseekoff.c: Likewise.
1537         * libio/ioseekpos.c: Likewise.
1538         * libio/iosetbuffer.c: Likewise.
1539         * libio/iosetvbuf.c: Likewise.
1540         * libio/ioungetc.c: Likewise.
1541         * libio/ioungetwc.c: Likewise.
1542         * libio/iovdprintf.c: Likewise.
1543         * libio/iovsprintf.c: Likewise.
1544         * libio/iovsscanf.c: Likewise.
1545         * libio/memstream.c: Likewise.
1546         * libio/obprintf.c: Likewise.
1547         * libio/oldfileops.c: Likewise.
1548         * libio/oldiofclose.c: Likewise.
1549         * libio/oldiofdopen.c: Likewise.
1550         * libio/oldiofopen.c: Likewise.
1551         * libio/oldiopopen.c: Likewise.
1552         * libio/oldstdfiles.c: Likewise.
1553         * libio/putc.c: Likewise.
1554         * libio/setbuf.c: Likewise.
1555         * libio/setlinebuf.c: Likewise.
1556         * libio/stdfiles.c: Likewise.
1557         * libio/strops.c: Likewise.
1558         * libio/vasprintf.c: Likewise.
1559         * libio/vscanf.c: Likewise.
1560         * libio/vsnprintf.c: Likewise.
1561         * libio/vswprintf.c: Likewise.
1562         * libio/wfiledoalloc.c: Likewise.
1563         * libio/wfileops.c: Likewise.
1564         * libio/wgenops.c: Likewise.
1565         * libio/wmemstream.c: Likewise.
1566         * libio/wstrops.c: Likewise.
1567         * libio/__fpurge.c: Likewise.
1568         * libio/__fsetlocking.c: Likewise.
1569         * assert/assert.c: Likewise.
1570         * debug/fgets_chk.c: Likewise.
1571         * debug/fgets_u_chk.c: Likewise.
1572         * debug/fread_chk.c: Likewise.
1573         * debug/fread_u_chk.c: Likewise.
1574         * debug/gets_chk.c: Likewise.
1575         * debug/obprintf_chk.c: Likewise.
1576         * debug/vasprintf_chk.c: Likewise.
1577         * debug/vdprintf_chk.c: Likewise.
1578         * debug/vsnprintf_chk.c: Likewise.
1579         * debug/vsprintf_chk.c: Likewise.
1580         * malloc/mtrace.c: Likewise.
1581         * misc/error.c: Likewise.
1582         * misc/syslog.c: Likewise.
1583         * stdio-common/asprintf.c: Likewise.
1584         * stdio-common/fxprintf.c: Likewise.
1585         * stdio-common/getw.c: Likewise.
1586         * stdio-common/isoc99_fscanf.c: Likewise.
1587         * stdio-common/isoc99_scanf.c: Likewise.
1588         * stdio-common/isoc99_vfscanf.c: Likewise.
1589         * stdio-common/isoc99_vscanf.c: Likewise.
1590         * stdio-common/isoc99_vsscanf.c: Likewise.
1591         * stdio-common/printf-prs.c: Likewise.
1592         * stdio-common/printf_fp.c: Likewise.
1593         * stdio-common/printf_fphex.c: Likewise.
1594         * stdio-common/printf_size.c: Likewise.
1595         * stdio-common/putw.c: Likewise.
1596         * stdio-common/scanf.c: Likewise.
1597         * stdio-common/sprintf.c: Likewise.
1598         * stdio-common/tmpfile.c: Likewise.
1599         * stdio-common/vfprintf.c: Likewise.
1600         * stdio-common/vfscanf.c: Likewise.
1601         * stdlib/strfmon_l.c: Likewise.
1602         * sunrpc/openchild.c: Likewise.
1603         * sunrpc/xdr_stdio.c: Likewise.
1604         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1605         * sysdeps/mach/hurd/tmpfile.c: Likewise.
1607 2012-05-24  Roland McGrath  <roland@hack.frob.com>
1609         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1611         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1612         in the third column, to generate for the shared library an IFUNC
1613         that uses _dl_vdso_vsym.
1614         * Makerules (COMPILE.c, compile-stdin.c): New variables.
1615         * Makeconfig (object-suffixes-noshared): New variable.
1617         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1618         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1619         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1620         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1622         [BZ #14132]
1623         * include/sys/time.h (__gettimeofday): Remove macro.
1624         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1625         * time/gettimeofday.c (__gettimeofday): Remove #undef.
1626         Remove INTDEF.
1627         (__gettimeofday): Add libc_hidden_def.
1628         (gettimeofday): Add libc_hidden_weak.
1629         * sysdeps/mach/gettimeofday.c: Likewise.
1630         * sysdeps/posix/gettimeofday.c: Likewise.
1631         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1632         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1633         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1634         (__gettimeofday_internal): Remove strong_alias.
1635         (__gettimeofday): Add libc_hidden_def.
1636         (gettimeofday): Add libc_hidden_weak.
1637         * sysdeps/unix/syscalls.list (gettimeofday):
1638         Remove __gettimeofday_internal alias.
1640 2012-05-24  Daniel Jacobowitz  <drow@false.org>
1641             H.J. Lu  <hongjiu.lu@intel.com>
1643         [BZ #12495]
1644         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1645         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1646         (largebin_index_32_big): New.
1647         (largebin_index): Use it for 16-byte alignment.
1648         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
1649         correction with front_misalign.
1651 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1655         Likewise.
1656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1657         Likewise.
1658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1659         Likewise.
1660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1661         Likewise.
1662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1663         Likewise.
1664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1665         Likewise.
1666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1667         Likewise.
1668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1669         Likewise.
1670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1671         Likewise.
1672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1673         Likewise.
1674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1675         Likewise.
1676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1677         Likewise.
1679         * scripts/data/c++-types-x32-linux-gnu.data: New file.
1680         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1682 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1684         [BZ #10846]
1685         [BZ #14036]
1686         * math/libm-test.inc (exp_test): Add test from bug 14036.
1687         (pow_test): Add test from bug 10846.
1689         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1690         and other flags.
1691         (special_function): Do not include flags in test name.
1692         (parse_args): Likewise.
1693         * sysdeps/i386/fpu/libm-test-ulps: Update.
1694         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1695         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1696         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1699         * math/gen-libm-test.pl (%beautify): Add entries for underflow
1700         exceptions.
1701         * math/libm-test.inc ("Philosophy"): Update comment about
1702         exception testing.
1703         (UNDERFLOW_EXCEPTION): New macro.
1704         (UNDERFLOW_EXCEPTION_OK): Likewise.
1705         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1706         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1707         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1708         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1709         (INVALID_EXCEPTION_OK): Update value.
1710         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1711         (OVERFLOW_EXCEPTION_OK): Likewise.
1712         (IGNORE_ZERO_INF_SIGN): Likewise.
1713         (test_exceptions): Handle underflow exceptions.
1714         (acos_test): Update for underflow exception expectations.
1715         (cexp_test): Likewise.
1716         (clog_test): Likewise.
1717         (clog10_test): Likewise.
1718         (csqrt_test): Likewise.
1719         (ctan_test): Likewise.
1720         (ctanh_test): Likewise.
1721         (exp_test): Likewise.
1722         (exp10_test): Likewise.
1723         (exp2_test): Likewise.
1724         (expm1_test): Likewise.
1725         (fma_test): Likewise.
1726         (j0_test): Likewise.
1727         (jn_test): Likewise.
1728         (nexttoward_test): Likewise.
1729         (pow_test): Likewise.
1730         (scalbn_test): Likewise.
1731         (scalbln_test): Likewise.
1732         (tan_test): Likewise.
1733         (y1_test): Likewise.
1734         * sysdeps/i386/fpu/libm-test-ulps: Update.
1735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1737 2012-05-23  David S. Miller  <davem@davemloft.net>
1739         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1740         (__libc_sigaction): Remove unused local variables.
1742 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1744         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1746 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
1748         mktime: avoid signed integer overflow
1749         * time/mktime.c (__mktime_internal): Do not mishandle the case
1750         where diff == INT_MIN.
1752         mktime: simplify computation of average
1753         * time/mktime.c (ranged_convert): Use new time_t_avg function
1754         instead of rolling our own (probably-slower) code.
1756         mktime: do not assume signed right shift propagates sign bit
1757         * time/mktime.c (isdst_differ): New static function.
1758         (__mktime_internal): No need to normalize tm_isdst now.
1759         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1760         tm_isdst values.
1762         mktime: merge another wrapv change from gnulib
1763         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1764         from some compilers.
1766         mktime: remove incorrect attempt at unusual arithmetics
1767         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1768         The code didn't really work on such machines anyway.
1769         (TYPE_MINIMUM): Assume two's complement.
1770         (twos_complement_arithmetic): Verify that long_int and time_t
1771         are two's complement (or unsigned, in the latter case).
1773         mktime: check signed shifts on long_int and time_t, too
1774         * time/mktime.c (SHR): Check that shifts work as desired
1775         on the types long_int and time_t too, as SHR is used on
1776         such types.
1778         mktime: do not assume 'long' is wide enough
1779         * time/mktime.c (verify): Move decl up.
1780         (long_int): New type.
1781         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1782         to remove assumption in the code that 'long' is wide enough to
1783         store year values.  This assumption is not true on x32 and on
1784         some non-glibc platforms.
1786         mktime: merge wrapv change from gnulib
1787         * time/mktime.c (WRAPV): New macro.
1788         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1789         (guess_time_tm, __mktime_internal): Do not assume that signed
1790         integer overflow wraps around; modern compilers generate code
1791         where this assumption is no longer valid.
1793 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1795         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1796         Replace "jmp L(pseudo_end)" with "ret".
1797         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1798         Likewise.
1800 2012-05-23  Andreas Jaeger  <aj@suse.de>
1802         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1803         * sysdeps/unix/sysv/linux/poll.c: Remove file.
1805 2012-05-23  Andreas Jaeger  <aj@suse.de>
1806             Maximilian Attems  <max@stro.at>
1808         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1809         New macros.
1811 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1813         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1814         code so that pseudo_end is just ret and the stack pointer is
1815         correct also for static library in error case.
1817 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
1819         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1820         move to syscalls.list.
1821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1826         * manual/install.texi (Running make install): Do not mention Linux
1827         kernel version for which pt_chown is not needed.
1828         (Linux): Do not mention problems with nscd with 2.0 kernels.
1829         * INSTALL: Regenerated.
1831 2012-05-23  Andreas Jaeger  <aj@suse.de>
1833         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1834         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1835         macro.
1836         * sysdeps/unix/sysv/linux/s390/bits/mman.h
1837         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1838         * sysdeps/unix/sysv/linux/sh/bits/mman.h
1839         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1840         * sysdeps/unix/sysv/linux/i386/bits/mman.h
1841         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1842         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1843         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1844         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1845         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1846         * sysdeps/unix/sysv/linux/bits/in.h
1847         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1849 2012-05-22  Roland McGrath  <roland@hack.frob.com>
1851         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1852         (PREPARE_VERSION): Just use assert instead, it will be elided
1853         under [NDEBUG] anyway.
1855 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1857         * sysdeps/unix/sysv/linux/Makefile: Include
1858         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1859         (sysdep_routines): Remove sysctl.
1860         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1861         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1862         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1863         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1864         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1866 2012-05-22  Andreas Jaeger  <aj@suse.de>
1868         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1869         that pseudo_end is just ret and the stack pointer is correct also
1870         for static library in error case.
1872 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1874         [BZ #14122]
1875         * nss/nsswitch.c (defconfig_entries): New variable.
1876         (__nss_database_lookup): Don't leak defconfig entries.
1877         (nss_parse_service_list): Don't leak on error paths.
1878         (free_database_entries): New function.
1879         (free_defconfig): New function.
1880         (free_mem): Move common code to free_database_entries.
1882 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1884         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1885         Add arch_prctl.
1886         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1888         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1889         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1891         New macro.
1892         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1893         (INTERNAL_SYSCALL_TYPES): Likewise.
1894         (LOAD_ARGS_TYPES_[1-6]): Likewise.
1895         (LOAD_REGS_TYPES_[1-6]): Likewise.
1896         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1897         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1899 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1901         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1902         copysignl for GLIBC_2_0.
1903         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1904         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1905         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1906         logbl for GLIBC_2_0.
1907         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1908         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1910 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1912         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1913         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
1915         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1916         Use "neg %eax".
1918         * time/mktime.c: Update copyright years.
1920 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1922         mktime: merge comment-quoting-style change from gnulib
1923         * time/mktime.c: Quote 'like this' in comments.
1924         The GNU coding standards suggest that we no longer quote `like this',
1925         as "`" and "'" are typically rendered asymmetrically nowadays.
1926         The typical gnulib style is to quote 'like this' when quoting
1927         code, and "like this" when quoting English.
1929         * time/mktime.c (compile-command): Add "-I.".
1931         mktime: merge mktime-internal.h change from gnulib
1932         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1934         mktime: merge time_r change from gnulib
1935         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1937         mktime: merge DEBUG change from gnulib
1938         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1939         case system <time.h> has a #define.
1941         mktime: merge <sys/types.h> change from gnulib
1942         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1943         since <time.t> is now guaranteed to define time_t.
1945         mktime: merge HAVE_CONFIG_H change from gnulib
1946         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1948 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1950         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1951         Use "neg %eax".
1953         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1954         __rlim_t cast.
1955         (struct rusage): Use anonymous union to pad each field to
1956         __syscall_slong_t.
1958 2012-05-21  David S. Miller  <davem@davemloft.net>
1960         * Makefules (o-iterator): Remove .s cases.
1961         (compile-command.s): Delete.
1962         (COMPILE.s): Delete.
1963         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1965 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
1967         * configure.in (libc_cv_predef_stack_protector): Only consider
1968         "foobar" and "__stack_chk_fail" lines in libc_undefs.
1969         * configure: Regenerated.
1971 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1974         New macro.  Use R*LP on int and pointer.
1975         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1976         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1977         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1978         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1980         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1981         [__WORDSIZE_TIME64_COMPAT32] instead of
1982         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1983         (struct utmp): Likewise.
1984         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1985         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1986         Renamed to ...
1987         (__WORDSIZE_TIME64_COMPAT32): This.
1988         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1989         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1990         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1991         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1992         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1993         (__WORDSIZE_TIME64_COMPAT32): New macro.
1995 2012-05-21  Andreas Jaeger  <aj@suse.de>
1997         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1998         only if [SHARED]. Add prototype for __wcschr_ia32.
2000 2012-05-21  Roland McGrath  <roland@hack.frob.com>
2002         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2003         of %rbp unmolested in the jmp_buf while mangling the low bits.
2004         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2005         unmolested high bits of %rbp while demangling the low bits.
2006         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2008 2012-05-21  Andreas Jaeger  <aj@suse.de>
2010         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2011         * sunrpc/svc_simple.c: Use it for registerrpc.
2012         * sunrpc/xcrypt.c: Use it for passwd2des.
2014         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2016 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2018         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2019         Don't define if [__SYSCALL_WORDSIZE != 32].
2020         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2021         New macro.
2023 2012-05-21  Bruno Haible  <bruno@clisp.org>
2024             Andreas Jaeger  <aj@suse.de>
2026         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2027         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2028         inptr and inend for must_buffer_ch.
2029         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2030         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2031         * stdio-common/Makefile (tests): Remove bug15.
2032         (bug15-ENV): Remove macro.
2033         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2034         anymore.
2036 2012-05-19  Andreas Jaeger  <aj@suse.de>
2037             Roland McGrath  <roland@hack.frob.com>
2039         * manual/contrib.texi: Completely rewritten. It contains now an
2040         alphabetical list of contributors and their contributions.
2042 2012-05-21  Richard Henderson  <rth@twiddle.net>
2044         * misc/getauxval.c (__getauxval): Use unsigned long int.
2045         * misc/sys/auxv.h: Include <sys/cdefs.h>.
2046         (getauxval): Use unsigned long int.
2048 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2050         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2052 2012-05-21  Roland McGrath  <roland@hack.frob.com>
2054         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2055         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2056         __alignof__ (long double).
2058 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2062 2012-05-20  Richard Henderson  <rth@twiddle.net>
2064         * misc/getauxval.c: New file.
2065         * misc/sys/auxv.h: New file.
2066         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2067         (routines): Add getauxval.
2068         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2069         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2070         * elf/dl-sysdep.c (_dl_auxv): Remove.
2071         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2072         * elf/dl-support.c (_dl_auxv): New variable.
2073         (_dl_aux_init): Initialize it.
2074         * manual/startup.texi (Auxiliary Vector): New node.
2075         * sysdeps/generic/bits/hwcap.h: New file.
2076         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2077         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
2078         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2079         * sysdeps/sparc/sysdep.h: ... here.  Include it.
2080         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2081         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2083         Update.
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2087         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2093 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2097 2012-05-19  David S. Miller  <davem@davemloft.net>
2099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2101 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
2103         [BZ #14123]
2104         * math/s_ccosh.c: Include <float.h>
2105         (__ccosh): Avoid internal overflow calculating sinh and cosh
2106         values before multiplying by sin and cos values.
2107         * math/s_ccoshf.c: Likewise.
2108         * math/s_ccoshl.c: Likewise.
2109         * math/s_csin.c: Likewise.
2110         * math/s_csinf.c: Likewise.
2111         * math/s_csinl.c: Likewise.
2112         * math/s_csinh.c: Likewise.
2113         * math/s_csinhf.c: Likewise.
2114         * math/s_csinhl.c: Likewise.
2115         * math/libm-test.inc (ccos_test): Add more tests.
2116         (ccosh_test): Likewise.
2117         (csin_test): Likewise.
2118         (csinh_test): Likewise.
2119         * sysdeps/i386/fpu/libm-test-ulps: Update.
2120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2122 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2124         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2125         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2127         * sysdeps/x86_64/x32/_itoa.h: Add comment.
2129 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
2131         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2132         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2133         * sysdeps/powerpc/soft-fp/Versions: Likewise.
2134         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2135         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2136         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2137         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2138         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2139         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2140         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2141         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2142         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2143         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2144         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2145         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2146         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2147         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2148         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2149         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2150         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2151         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2152         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2153         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2154         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2155         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2156         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2157         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2158         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2159         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2160         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2161         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2163 2012-05-18  Andreas Jaeger  <aj@suse.de>
2165         * csu/.gitignore: Delete.
2167 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2169         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2170         (timex): Use __syscall_slong_t.
2172 2012-05-18  Andreas Jaeger  <aj@suse.de>
2173             Carlos O'Donell  <carlos_odonell@mentor.com>
2175         * manual/install.texi (Configuring and compiling): Update
2176         description about files modified in the source directory.
2177         * INSTALL: Regenerated.
2179 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2181         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2182         value.  Use "or" to set return value to -1.
2183         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2184         negate return value.
2186 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2188         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2189         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2190         failure if the compiler has Graphite support disabled.
2191         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2192         Likewise.
2193         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2194         CFLAGS-memmove.c): Likewise.
2195         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2196         Likewise.
2198 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2200         * sysdeps/x86_64/x32/_itoa.h: New file.
2202         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2203         getdents system call only if kernel and user dirents have the
2204         same d_ino and d_off.
2206         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2207         LLONG_MAX != LONG_MAX.
2208         (_itoa_word): Use _ITOA_WORD_TYPE on value.
2209         (_fitoa_word): Likewise.
2211         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2212         years.
2213         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2214         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2215         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2217         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2218         include <bits/wordsize.h>.  Check __x86_64__ instead of
2219         __WORDSIZE.
2220         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2221         if __x86_64__ is defined.  Use anonymous union on fpstate.
2223         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2224         anonymous union.
2226 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
2228         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2229         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2230         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2231         Refer to _rtld_local_ro instead of _rtld_global_ro.
2232         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2233         Likewise.
2234         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2235         Likewise.
2236         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2237         Likewise.
2238         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2239         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2240         of _rtld_global, and rtld_progname instead of _dl_argv[0].
2242         * sysdeps/powerpc/powerpc32/dl-machine.c
2243         (__elf_machine_runtime_setup) [PROF]: Don't reference
2244         _dl_prof_resolve.
2246 2012-05-18  Andreas Jaeger  <aj@suse.de>
2248         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2249         function only available for GCCs before 3.4 since GCC 3.4
2250         introduced a builtin.
2251         (lrint): Likewise.
2252         (llrintf): Likewise.
2253         (llrint): Likewise.
2254         (fmaxf): Likewise.
2255         (fmax): Likewise.
2256         (fminf): Likewise.
2257         (fmin): Likewise.
2258         (rint): Likewise.
2259         (rintf): Likewise.
2260         (nearbyint): Likewise.
2261         (nearbyintf): Likewise.
2262         (ceil): Likewise.
2263         (ceilf): Likewise.
2264         (floor): Likewise.
2265         (floorf): Likewise.
2267 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2269         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2270         on both fields and cast pointer to __syscall_ulong_t.
2272         * bits/types.h (__fsword_t): New type.
2273         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2274         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2275         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2276         (__FSWORD_T_TYPE): Likewise.
2277         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2278         (__FSWORD_T_TYPE): Likewise.
2279         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2280         (__FSWORD_T_TYPE): Likewise.
2281         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2282         (__FSWORD_T_TYPE): Likewise.
2283         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2284         __SWORD_TYPE with __fsword_t.
2285         (statfs64): Likewise.
2287 2012-05-17  David S. Miller  <davem@davemloft.net>
2289         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2291 2012-05-17  Andreas Jaeger  <aj@suse.de>
2293         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2294         warning.
2296 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2298         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2300 2012-05-17  Andreas Jaeger  <aj@suse.de>
2302         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2303         when it is used.
2305 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
2307         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2309 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2311         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2312         * sysdeps/x86_64/tst-mallocalign1.c: New file.
2314 2012-05-17  Andreas Jaeger  <aj@suse.de>
2315             Carlos O'Donell  <carlos_odonell@mentor.com>
2317         [BZ #14059]
2318         * sysdeps/x86_64/multiarch/init-arch.h
2319         (bit_YMM_Usable): Rename to...
2320         (bit_AVX_Usable): ... this.
2321         (bit_FMA4_Usable): New macro.
2322         (bit_XMM_state): New macro.
2323         (bit_YMM_state): New macro.
2324         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2325         [__ASSEMBLER__] (index_AVX_Usable): ... this.
2326         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2327         (CPUID_OSXSAVE): New macro.
2328         (CPUID_AVX): New macro.
2329         (CPUID_FMA4): New macro.
2330         (index_YMM_Usable): Rename to...
2331         (index_AVX_Usable): ... this.
2332         (HAS_AVX): Use HAS_ARCH_FEATURE.
2333         (HAS_FMA4): Likewise.
2334         (HAS_YMM_USABLE): Remove.
2335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2336         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2337         are present.
2338         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2339         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2340         * sysdeps/x86_64/multiarch/Makefile: Likewise.
2341         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2342         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2344 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
2346         * math/libm-test.c: Support platforms without multiple rounding modes.
2347         * math/bug-nextafter.c: Support platforms without FP exceptions.
2348         * math/bug-nexttoward.c: Likewise.
2349         * math/test-fenv.c: Likewise.
2350         * math/test-misc.c: Likewise.
2351         * stdlib/bug-getcontext.c: Likewise.
2353 2012-05-17  Andreas Jaeger  <aj@suse.de>
2355         * manual/examples/search.c (critter_cmp): Change signature to
2356         avoid warnings.
2357         * manual/string.texi (Collation Functions): Likewise.
2359 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2361         * bits/types.h: Fold copyright years.
2362         * bits/typesizes.h: Likewise.
2363         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2364         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2365         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2366         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2367         * time/time.h: Likewise.
2369 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
2371         [BZ #208]
2372         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2373         in instead of returning them.  Return void.
2374         (__libc_mallinfo): Accumulate over all arenas.
2375         (__malloc_stats): Adjust for change in int_mallinfo interface.
2377 2012-05-16  Roland McGrath  <roland@hack.frob.com>
2379         [BZ #10375]
2380         * configure.in (NM): Add AC_CHECK_TOOL for it.
2381         (libc_extra_cflags): New substituted variable.
2382         Check for -fstack-protector being used implicitly.
2383         * configure: Regenerated.
2384         * config.make.in (config-extra-cflags): New variable,
2385         gets @libc_extra_cflags@.
2386         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2388         [BZ #10375]
2389         * configure.in: Check for _FORTIFY_SOURCE being predefined.
2390         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2391         * configure: Regenerated.
2392         * config.make.in (CPPUNDEFS): New substituted variable.
2393         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2394         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2395         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2397 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2399         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2400         (mq_attr): Use __syscall_slong_t.
2402 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2404         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2405         Check __x86_64__ instead of __WORDSIZE.
2406         (_STAT_VER_LINUX): Likewise.
2407         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
2408         __syscall_ulong_t and __syscall_slong_t.
2409         (stat64): Likewise.
2411 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2413         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2415 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2417         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2419 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2421         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2422         __syscall_ulong_t.
2424         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2425         include <bits/wordsize.h>.  Check __x86_64__ instead of
2426         __WORDSIZE.
2427         (greg_t): Use "__extension__ long long int" if __x86_64__ is
2428         defined.
2429         (mcontext_t): Replace "unsigned long" with "unsigned long long".
2431         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2432         include <bits/wordsize.h>.  Check __x86_64__ instead of
2433         __WORDSIZE.
2434         (user_regs_struct): Use "__extension__ unsigned long long"
2435         instead of "unsigned long" if __x86_64__ is defined.
2436         (user): Likewise.  Pad after pointer field if __ILP32__ is
2437         defined.
2439 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
2441         * configure.in (makeinfo): Require version 4.5 or later.  Allow
2442         versions 5 to 9.
2443         * configure: Regenerated.
2444         * manual/install.texi (texinfo): Increase version requirement to
2445         4.5 or later.
2446         * INSTALL: Regenerated.
2448         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2450 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2452         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2454         * sysdeps/x86_64/x32/ffs.c: New file.
2456         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2457         __syscall_ulong_t.
2458         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2459         defined.  Use __syscall_ulong_t.
2460         (shminfo): Use __syscall_ulong_t.
2461         (shm_info): Likewise.
2463         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2464         __syscall_ulong_t.
2466         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2467         <bits/wordsize.h>.
2468         (msgqnum_t): Use __syscall_ulong_t.
2469         (msglen_t): Likewise.
2470         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
2471         __syscall_ulong_t.
2473         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2474         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
2476         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2478         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2479         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2481         * sysvipc/sys/msg.h (msgbuf): Replace long int with
2482         __syscall_slong_t.
2484         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2485         include <bits/wordsize.h>.  Check __x86_64__ instead of
2486         __WORDSIZE.
2488         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2489         "unsigned long long int" if __x86_64__ is defined.
2490         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2492         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2493         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
2494         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2496         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2497         <stdint.h>.
2498         (GET_PC): Cast to uintptr_t first.
2499         (GET_FRAME): Likewise.
2500         (GET_STACK): Likewise.
2502         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2503         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2504         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2505         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2506         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2507         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2508         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2509         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2510         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2511         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2512         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2513         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2514         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2515         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2516         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2517         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2518         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2519         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2520         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2521         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2522         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2523         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2524         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2525         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2526         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2527         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2528         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2529         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2530         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2532 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
2534         * Makerules (+depfiles): Also collect depfiles from .oS in
2535         $(extra-objs).
2536         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2537         .oS, $(libnldbl-routines)).
2539         * Makerules (native-compile-mkdep-flags): Define.
2540         * sunrpc/Makefile (extra-objs): Add $(addprefix
2541         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2542         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2543         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
2544         calling $(make-target-directory).
2546 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2548         * bits/types.h (__snseconds_t): Removed.
2549         * time/time.h (struct timespec): Replace __snseconds_t with
2550         __syscall_slong_t.
2551         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2552         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2553         Likewise.
2554         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2555         (__SNSECONDS_T_TYPE): Likewise.
2556         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2557         (__SNSECONDS_T_TYPE): Likewise.
2558         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2559         (__SNSECONDS_T_TYPE): Likewise.
2561 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2563         * sysdeps/mach/hurd/bits/typesizes.h
2564         (__SYSCALL_SLONG_TYPE): New macro.
2565         (__SYSCALL_ULONG_TYPE): Likewise.
2567 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2569         * bits/types.h (__syscall_slong_t): New type.
2570         (__syscall_ulong_t): Likewise.
2572         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2573         (__SYSCALL_ULONG_TYPE): Likewise.
2574         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2575         (__SYSCALL_SLONG_TYPE): Likewise.
2576         (__SYSCALL_ULONG_TYPE): Likewise.
2577         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2578         (__SYSCALL_SLONG_TYPE): Likewise.
2579         (__SYSCALL_ULONG_TYPE): Likewise.
2580         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2581         (__SYSCALL_SLONG_TYPE): Likewise.
2582         (__SYSCALL_ULONG_TYPE): Likewise.
2584 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2586         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2587         Add sigaltstack-offsets.sym.
2588         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2589         <sigaltstack-offsets.h>.
2590         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
2591         longjmp_msg pointer.
2592         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
2593         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2594         signal stack.
2595         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2597 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
2599         * elf/stackguard-macros.h: Remove file.
2600         * sysdeps/generic/stackguard-macros.h: New file.
2601         * sysdeps/i386/stackguard-macros.h: Likewise.
2602         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2603         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2604         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2605         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2606         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2607         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2608         * sysdeps/x86_64/stackguard-macros.h: Likewise.
2609         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2610         <elf/stackguard-macros.h>.
2612         [BZ #14109]
2613         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2614         __aligned__ in attribute.
2615         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2616         (gregset_t): Likewise.
2618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2620         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2621         * sysdeps/x86_64/64/Implies-after: Here.  New file.
2622         * sysdeps/x86_64/x32/Implies-after: New file.
2624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2626         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2627         and access return value for _dl_profile_fixup.  Use R10_LP to
2628         load frame size.
2630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2632         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2636         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2637         * sysdeps/x86_64/x32/sysdep.h: New file.
2639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2641         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2642         * sysdeps/x86_64/setjmp.S: Likewise.
2644 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2646         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2647         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2648         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2649         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2650         remove unused global constant.
2652 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
2654         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2655         include of <not-cancel.h>.
2657 2012-05-15  Roland McGrath  <roland@hack.frob.com>
2659         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2661 2012-05-15  Jeff Law  <law@redhat.com>
2662             Andreas Jaeger  <aj@suse.de>
2664         [BZ #13594]
2665         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2666         out from...
2667         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2668         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2669         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2670         code changing __hst_map_handle.map.
2672 2012-05-15  Roland McGrath  <roland@hack.frob.com>
2674         * configure.in (sysnames): Look for Implies-before and Implies-after
2675         files.
2676         * configure: Regenerated.
2678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2680         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2681         8-byte data alignment with LP_SIZE alignment.
2683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2685         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2686         into R10_LP.
2688 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2690         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2692 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2694         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2695         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2696         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2697         Likewise.
2698         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2700 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2702         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2703         (stackinfo_sub_sp): Likewise.
2705 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2707         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2708         RAX_LP.
2710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2712         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2713         into R*_LP.
2715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2717         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2718         sizes into R*_LP.
2720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2722         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2726         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2727         into R11_LP and load __x86_64_shared_cache_size_half into
2728         R8_LP.
2730 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2732         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2733         R8_LP.
2735 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2737         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2738         logb for POWER7.
2739         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2740         logbf for POWER7.
2741         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2742         logbl for POWER7.
2743         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2744         powerpc32/power7/fpu/s_logb.c via #include.
2745         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2746         powerpc32/power7/fpu/s_logbf.c via #include.
2747         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2748         powerpc32/power7/fpu/s_logbl.c via #include.
2750 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
2752         * README.libm: Remove file.
2754 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2756         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2757         count for x32.  Use R*_LP and omit operand-size suffix.
2759 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2761         * shlib-versions: Move x86_64-.*-linux.* entries to ...
2762         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
2763         * sysdeps/x86_64/x32/shlib-versions: New file.
2765 2012-05-14  Roland McGrath  <roland@hack.frob.com>
2767         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2768         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2769         Use _dl_fatal_printf instead.
2771 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
2773         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2774         set if not set by the user.  Do not allow for being unset.
2775         * sysdeps/unix/sysv/linux/configure: Regenerated.
2777 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2779         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2780         the `q' suffix from lea and replace .quad with ASM_ADDR.
2782 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2784         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2785         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
2786         instead of $17.
2787         (PTR_DEMANGLE): Likewise.
2789 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2791         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2792         (LP_OP): Likewise.
2793         (ASM_ADDR): Likewise.
2794         (RAX_LP): Likewise.
2795         (RBP_LP): Likewise.
2796         (RBX_LP): Likewise.
2797         (RCX_LP): Likewise.
2798         (RDI_LP): Likewise.
2799         (RSI_LP): Likewise.
2800         (RSP_LP): Likewise.
2801         (R8_LP): Likewise.
2802         (R9_LP): Likewise.
2803         (R10_LP): Likewise.
2804         (R10_LP): Likewise.
2805         (R11_LP): Likewise.
2806         (R12_LP): Likewise.
2807         (R13_LP): Likewise.
2808         (R14_LP): Likewise.
2809         (R15_LP): Likewise.
2811 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2813         * sysdeps/x86_64/x32/dl-machine.h: New file.
2815 2012-05-14  Andreas Jaeger  <aj@suse.de>
2817         * manual/Makefile (subdir): Remove export of subdir.
2818         (all): Remove target.
2819         (.PHONY): Remove all from list.
2820         (mkinstalldirs): Remove.
2821         (.PHONY): Remove installdirs from list.
2822         ($(inst_infodir)/libc.info): Use make-target-directory.
2823         (installdirs): Remove.
2824         (subdir_%): Remove.
2825         (glibc-targets): Remove.
2826         (lib): Remove.
2827         (stubs): Remove.
2828         ($(objpfx)stubs ../po/manual.pot): Remove.
2829         ($(objpfx)stamp%): Remove.
2830         (make-target-directory): Remove.
2831         (subdir_install): Remove.
2832         (routines): Remove.
2833         (aux): Remove.
2834         (sources): Remove.
2835         (objects): Remove.
2836         (headers): Remove.
2838         [BZ #13750]
2839         * manual/.gitignore: Remove, it's not needed anymore.
2840         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2841         all files in it.
2842         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2843         directory.
2844         (texis): Renamed to $(objpfx)texis.
2845         (texis-path): New, contains path to generated files.
2846         (chapters.%): Use texis-path for complete path, add extra argument
2847         libc-texinfo.sh.
2848         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2849         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2850         (summary,texi, stamp-summary): Use complete path of
2851         files. Generate files in build dir.
2852         (dir-add.texi): Build in build dir.
2853         (libm-err.texi,stamp-libm-err): Likewise.
2854         (version.texi, stamp-version): Likewise.
2855         (.%c.texi): Likewise.
2856         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2857         (mostlyclean): Remove target.
2858         (realclean): Remove target.
2859         (generated): Add new variable with contents from mostlyclean and
2860         realclean, remove entries duplicated in common-mostlyclean, add
2861         stamp-libm-err and stamp-version.
2862         (generated-dirs): Add libc directory.
2863         ($(inst_infodir)/libc.info): Install files from build dir.
2865         * manual/install.texi (Configuring and compiling): Adjust since
2866         the info files are not part of the tar ball anymore.
2868 2012-05-14  Andreas Jaeger  <aj@suse.de>
2870         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2871         variable.
2873 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
2875         [BZ #13717]
2876         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2877         to 2.2.0 where earlier.
2878         * sysdeps/unix/sysv/linux/configure: Regenerated.
2879         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2880         Remove conditional code.
2881         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2882         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2883         Remove conditional code.
2884         [!__NR_lchown]: Likewise.
2885         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2886         [__NR_lchown]: Likewise.
2887         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2888         comment referencing __ASSUME_LCHOWN_SYSCALL.
2889         * sysdeps/unix/sysv/linux/i386/sigaction.c
2890         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2891         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2892         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2893         Remove conditional code.
2894         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2895         (__protocol_available): Remove #if 0 code.
2896         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2897         conditional code.
2898         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2899         * sysdeps/unix/sysv/linux/kernel-features.h
2900         (__ASSUME_GETCWD_SYSCALL): Don't define.
2901         (__ASSUME_REALTIME_SIGNALS): Likewise.
2902         (__ASSUME_PREAD_SYSCALL): Likewise.
2903         (__ASSUME_PWRITE_SYSCALL): Likewise.
2904         (__ASSUME_POLL_SYSCALL): Likewise.
2905         (__ASSUME_LCHOWN_SYSCALL): Likewise.
2906         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2907         non-SPARC.
2908         (__ASSUME_SIOCGIFNAME): Don't define.
2909         (__ASSUME_MSG_NOSIGNAL): Likewise.
2910         (__ASSUME_SENDFILE): Define unconditionally.
2911         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2912         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2913         conditional code.
2914         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2915         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2916         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2917         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2918         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2919         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2920         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2922         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2923         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2925         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2926         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2928         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2929         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2931         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2932         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2934         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2935         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2937         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2938         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2940         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2941         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2943         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2944         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2945         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2946         Remove conditional code.
2947         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2948         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2949         Remove conditional code.
2950         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2951         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2952         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2953         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2954         Remove conditional code.
2955         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2956         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2957         Remove conditional code.
2958         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2959         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2960         Remove conditional code.
2961         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2962         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2963         Remove conditional code.
2964         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2965         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2966         Remove conditional code.
2967         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2968         * sysdeps/unix/sysv/linux/sh/pwrite64.c
2969         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2970         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2971         * sysdeps/unix/sysv/linux/sigaction.c
2972         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2973         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2974         * sysdeps/unix/sysv/linux/sigpending.c
2975         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2976         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2977         * sysdeps/unix/sysv/linux/sigprocmask.c
2978         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2979         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2980         * sysdeps/unix/sysv/linux/sigsuspend.c
2981         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2982         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2983         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2984         (__libc_missing_rt_sigs): Remove.
2985         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2986         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2987         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2988         Remove conditional code.
2989         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2990         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2991         return 1.
2992         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2993         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2994         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2995         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2997 2012-05-14  Andreas Jaeger  <aj@suse.de>
2999         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3000         it's not used in glibc.
3001         (__coshm1): Likewise.
3002         (__acosh1p): Likewise.
3003         (__sgn): Likewise.
3005         * manual/string.texi (Copying and Concatenation): Add missing
3006         variable in concat example.
3007         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3009 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3011         [BZ #14103]
3012         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3013         __builtin_clzl with __builtin_clzll.
3015 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3017         [BZ #14104]
3018         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3019         libc_freeres_ptr.
3021 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3023         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3024         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3025         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3026         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3028 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
3030         * NEWS: Update ia64 info.
3032 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
3034         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3035         used as bcopy.
3037 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
3039         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3040         * sysdeps/unix/syscalls.list (dup3): Likewise.
3041         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3042         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3044 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3046         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3047         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3049 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3051         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3052         thread pointer.
3053         (TLS_IE): Use mov/add instead of movq/addq to load thread
3054         pointer.
3055         (TLS_GD_PREFIX): New.
3056         (TLS_GD): Use it.
3058 2012-05-11  David S. Miller  <davem@davemloft.net>
3060         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3061         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3062         (_FPU_SETCW): Likewise.
3064 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3066         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3067         is 32-byte aligned.
3069 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
3071         [BZ #11837]
3072         * iconvdata/gb18030.c: Update tables.
3073         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
3074         characters specially.
3075         (BODY for TO_LOOP): Add encoding of missing ranges.
3077 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
3079         [BZ #13673]
3080         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3081         * sysdeps/mach/hurd/dup3.c: Likewise.
3082         * sysdeps/mach/hurd/readlinkat.c: Likewise.
3083         * sysdeps/powerpc/memmove.c:: Likewise.
3085 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3087         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3088         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3090 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3092         * elf/elf.h (R_X86_64_RELATIVE64): New.
3093         (R_X86_64_NUM): Updated.
3094         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3095         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
3096         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3097         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3098         tst-quad1pie tst-quad2pie
3099         (modules-names): Add tst-quadmod1 tst-quadmod2.
3100         ($(objpfx)tst-quad1): New dependency.
3101         ($(objpfx)tst-quad2): Likewise.
3102         ($(objpfx)tst-quad1pie): Likewise.
3103         ($(objpfx)tst-quad2pie): Likewise.
3104         * sysdeps/x86_64/tst-quad1.c: New file.
3105         * sysdeps/x86_64/tst-quad1pie.c: New file.
3106         * sysdeps/x86_64/tst-quad2.c: Likewise.
3107         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3108         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3109         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3110         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3111         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3113 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3115         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3116         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3117         * streams/stropts.h (t_scalar_t): Define type.
3119         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3120         (_PATH_PRESERVE): Set to "/var/lib".
3121         (_PATH_RWHODIR): Set to "/var/spool/rwho".
3123         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3124         instead of int.
3126         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3127         if __dir_mkfile succeeded.
3129         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3130         checking for _hurd_dtablesize.  Unlock it right after having
3131         finished _hurd_dtable allocation.
3133 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3135         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3136         * sysdeps/mach/hurd/configure: Regenerated.
3137         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3138         special-casing to...
3139         * sysdeps/gnu/configure.in: ... this new file.
3140         * sysdeps/unix/sysv/linux/configure: Regenerated.
3141         * sysdeps/gnu/configure: New generated file.
3143         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3144         for Linux: use nsec instead of usec, as well as:
3145         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3146         members of type struct timespec.
3147         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3148         New macros.
3149         (struct stat64): Likewise.
3150         (_STATBUF_ST_NSEC): New macro.
3151         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3153         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3154         __strtoul_internal rather than strtoul.
3156 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3158         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3159         and reject them.
3161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3163         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3164         which preserves existing values.
3165         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3167 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3169         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3170         TIMEOUT values.  Return EINVAL for NFDS values either negative or
3171         greater than FD_SETSIZE.
3173 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3175         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3176         allocated, call __vm_protect to finish enabling the existing space, and
3177         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3178         allocate the remainder.
3180 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3182         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3183         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
3185 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3187         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3188         sysdeps/mach/hurd/readlink.c.
3190         * posix/tst-sysconf.c (posix_options): Only use
3191         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3192         _POSIX_SYNCHRONIZED_IO when they are defined
3193         * sysdeps/mach/hurd/bits/posix_opt.h:
3194         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3195         (_XOPEN_REALTIME): Undefine macro.
3196         (_XOPEN_REALTIME_THREADS): Undefine macro.
3197         (_XOPEN_SHM): Undefine macro.
3198         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3199         macro to -1.
3200         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3201         macro to -1.
3202         (_POSIX_ASYNC_IO): Undefine macro.
3203         (_POSIX_PRIORITIZED_IO): Undefine macro.
3204         (_POSIX_SPIN_LOCKS): Define macro to -1.
3206         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3207         SA_NODEFER, SA_RESETHAND.
3208         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3209         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3210         F_DUPFD_CLOEXEC.
3212 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3214         * elf/Makefile (pldd-modules): Define unconditionally.
3216 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3218         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3220 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3222         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3223         Return ENOENT when name is empty.
3224         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3226 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3228         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3230         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3232 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3234         Fix mlock in all cases except non-readable pages.
3235         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3236         instead of VM_PROT_ALL as parameter to __vm_wire function.
3238         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3239         (__mkdir): When path is `/', just fail with EEXIST.
3240         * sysdeps/mach/hurd/mkdirat.c: Likewise.
3242 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3244         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3245         <sys/uio.h> (for writev).
3246         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3247         and <sys/param.h> (for MIN).
3249 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3251         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3252         REQUESTED_TIME.  Properly set the remaining time and return EINTR
3253         if interrupted.
3255 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3257         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3258         Depend on against $(link-rpcuserlibs).
3260 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3262         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3263         (__libc_stack_end): Do not use attribute_relro.
3264         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3265         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3266         to libthread-provided value.
3267         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3268         attribute_relro.
3270 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3272         [BZ #3748]
3273         * bits/libc-lock.h (__libc_once_get): New macro.
3274         * sysdeps/mach/bits/libc-lock.h: Likewise.
3275         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3276         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3277         instead of using implementation details.
3279         * libio/fileops.c: Unconditionally include <kernel-features.h>.
3280         * libio/freopen.c: Likewise.
3281         * libio/freopen64.c: Likewise.
3282         * misc/syslog.c: Likewise.
3283         * nscd/connections.c: Likewise.
3284         * nscd/netgroupcache.c: Likewise.
3285         * sysdeps/posix/getcwd.c: Likewise.
3287 2012-05-10  Roland McGrath  <roland@hack.frob.com>
3289         * math/w_ilogbf.c: Add #include <limits.h>.
3291 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3293         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
3294         path instead of returning without unlocking.
3296         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3297         immediate-write ioctls.
3298         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3300 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3302         * sysdeps/mach/hurd/i386/init-first.c (init): Use
3303         __builtin_frame_address instead of making assumptions about the
3304         location of the return address relative to DATA.  Force early load of
3305         the return address.
3306         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3307         __builtin_frame_address.
3309         dup3 for GNU Hurd.
3310         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3311         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
3312         implement dup3 and do some further code clean-ups.
3313         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3314         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3316 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3318         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3320         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3321         HURD_CRITICAL_END around holding _hurd_dtable_lock.
3322         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3323         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3324         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3325         d->port.lock.
3327         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3328         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
3329         when handler == SIG_ERR, not when handler != SIG_ERR.
3331 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3333         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3334         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3335         definitions.
3337         accept4 for GNU Hurd.
3338         * include/sys/socket.h (__libc_accept4): New prototype.
3339         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
3340         to implement __libc_accept4.
3341         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3342         __libc_accept4.
3343         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3345         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3346         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3347         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3348         signal-defines.sym.
3350 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3352         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3354 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3356         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3357         assertion on O_CLOEXEC flag.
3358         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3359         * hurd/intern-fd.c: Likewise.
3360         * hurd/port2fd.c: Likewise.
3362 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3364         [BZ #3906]
3365         * bits/in.h (IPV6_PKTINFO): Define new macro.
3366         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3368 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3370         [BZ #13954]
3371         [BZ #13955]
3372         [BZ #13956]
3373         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3374         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3375         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3376         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3377         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3378         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3379         * math/libm-test.inc (logb_test) : Additional logb tests.
3381 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
3382             Andreas Jaeger  <aj@suse.de>
3384         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3385         * configure: Regenerated.
3386         * config.h.in (LINK_OBSOLETE_RPC): New macro.
3387         * config.make.in (link-obsolete-rpc): New substituted variable.
3388         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3389         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3390         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3391         (shared-only-routines): Don't set it under [link-obsolete-rpc],
3392         so that libc.a contains the symbols.
3393         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3394         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3395         * sunrpc/auth_none.c: Likewise.
3396         * sunrpc/auth_unix.c: Likewise.
3397         * sunrpc/authdes_prot.c: Likewise.
3398         * sunrpc/authuxprot.c: Likewise.
3399         * sunrpc/clnt_gen.c: Likewise.
3400         * sunrpc/clnt_perr.c: Likewise.
3401         * sunrpc/clnt_raw.c: Likewise.
3402         * sunrpc/clnt_simp.c: Likewise.
3403         * sunrpc/clnt_tcp.c: Likewise.
3404         * sunrpc/clnt_udp.c: Likewise.
3405         * sunrpc/clnt_unix.c: Likewise.
3406         * sunrpc/des_crypt.c: Likewise.
3407         * sunrpc/des_soft.c: Likewise.
3408         * sunrpc/get_myaddr.c: Likewise.
3409         * sunrpc/key_call.c: Likewise.
3410         * sunrpc/key_prot.c: Likewise.
3411         * sunrpc/netname.c: Likewise.
3412         * sunrpc/pm_getmaps.c: Likewise.
3413         * sunrpc/pm_getport.c: Likewise.
3414         * sunrpc/pmap_clnt.c: Likewise.
3415         * sunrpc/pmap_prot.c: Likewise.
3416         * sunrpc/pmap_prot2.c: Likewise.
3417         * sunrpc/pmap_rmt.c: Likewise.
3418         * sunrpc/publickey.c: Likewise.
3419         * sunrpc/rpc_cmsg.c: Likewise.
3420         * sunrpc/rpc_common.c: Likewise.
3421         * sunrpc/rpc_dtable.c: Likewise.
3422         * sunrpc/rpc_prot.c: Likewise.
3423         * sunrpc/rpc_thread.c: Likewise.
3424         * sunrpc/rtime.c: Likewise.
3425         * sunrpc/svc.c: Likewise.
3426         * sunrpc/svc_auth.c: Likewise.
3427         * sunrpc/svc_raw.c: Likewise.
3428         * sunrpc/svc_run.c: Likewise.
3429         * sunrpc/svc_tcp.c: Likewise.
3430         * sunrpc/svc_udp.c: Likewise.
3431         * sunrpc/svc_unix.c: Likewise.
3432         * sunrpc/svcauth_des.c: Likewise.
3433         * sunrpc/xcrypt.c: Likewise.
3434         * sunrpc/xdr.c: Likewise.
3435         * sunrpc/xdr_array.c: Likewise.
3436         * sunrpc/xdr_float.c: Likewise.
3437         * sunrpc/xdr_intXX_t.c: Likewise.
3438         * sunrpc/xdr_mem.c: Likewise.
3439         * sunrpc/xdr_rec.c: Likewise.
3440         * sunrpc/xdr_ref.c: Likewise.
3441         * sunrpc/xdr_sizeof.c: Likewise.
3442         * sunrpc/xdr_stdio.c: Likewise.
3444 2012-05-10  Roland McGrath  <roland@hack.frob.com>
3446         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3447         change.  Update copyright years.
3449 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
3451         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3453 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
3454             Joseph Myers  <joseph@codesourcery.com>
3455             Paul Pluzhnikov  <ppluzhnikov@google.com>
3457         [BZ #14012]
3458         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3459         requiring rpcgen.
3460         [cross-compiling] (extra-libs): Likewise.
3461         [cross-compiling] (extra-libs-others): Likewise.
3462         [cross-compiling] (librpcsvc-routines): Likewise.
3463         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3464         [cross-compiling] (omit-deps): Likewise.
3465         (sunrpc-CPPFLAGS): New variable.
3466         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3467         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3468         (cross-rpcgen-objs): New variable.
3469         (extra-objs): Append $(cross-rpcgen-objs).
3470         ($(cross-rpcgen-objs)): New rule.
3471         ($(objpfx)cross-rpcgen): Likewise.
3472         (rpcgen-cmd): Define to use $(built-program-file).  Expand
3473         comment.
3474         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3475         ($(objpfx)x%.stmp): Likewise.
3476         * sunrpc/proto.h [IS_IN_build] (_): Define.
3477         [IS_IN_build] (_libc_intl_domainname): Likewise.
3479 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3481         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3482         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3483         and R_X86_64_TPOFF64.
3485 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
3487         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3488         sysdeps/unix/sysv/syscalls.list.
3489         (stime): Likewise.
3490         (utime): Likewise.
3491         * sysdeps/unix/sysv/syscalls.list: Remove file.
3493 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3495         [BZ #3440]
3496         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3497         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3498         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3499         (__LC_IDENTIFICATION): Make these macros useful in #if
3500         expressions, as required by C99.
3502 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
3504         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3505         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
3506         after this.
3508 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
3510         * stdlib/longlong.h: Updated from GCC.
3512 2012-05-09  Andreas Jaeger  <aj@suse.de>
3514         * nscd/nscd.c (run_modes): Make named enum, reorder so that
3515         default is first entry.
3516         (run_mode): Set type.
3517         (main): Remove informal message about syslog.
3518         (options): Fix typo.
3520         [BZ #14053]
3521         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3522         to asm.
3523         (lrint): Likewise.
3524         (llrintf): Likewise.
3525         (llrint): Likewise.
3526         (rint): Likewise.
3527         (rintf): Likewise.
3528         (nearbyint): Likewise.
3529         (nearbyintf): Likewise.
3531 2012-05-09  Andreas Jaeger  <aj@suse.de>
3532             Pedro Alves  <palves@redhat.com>
3534         * nscd/nscd.c (run_mode): Use enum.
3535         (main): Cleanup coding style issue.
3537 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
3538             Andreas Jaeger  <aj@suse.de>
3540         * nscd/nscd.c (go_background): Replaced with...
3541         (run_mode): ... this.
3542         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3543         (options): Add -F --foreground.
3544         (main): Implement it.
3545         (parse_opt): Parse it.
3547 2012-05-09  Andreas Jaeger  <aj@suse.de>
3549         [BZ #14083]
3550         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3551         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3552         -Wconversion warning.
3553         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3554         Likewise.
3556 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
3558         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
3559         == 0.
3560         (LC_ALL): Use macro-int-constant.
3561         (LC_COLLATE): Likewise.
3562         (LC_CTYPE): Likewise.
3563         (LC_MESSAGES): Likewise.
3564         (LC_MONETARY): Likewise.
3565         (LC_NUMERIC): Likewise.
3566         (LC_TIME): Likewise.
3567         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3568         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3569         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3570         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3571         Specify type.
3572         [C99-based standards] (float_t): Expect type.
3573         [C99-based standards] (double_t): Expect type.
3574         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
3575         type.
3576         [C99-based standards] (HUGE_VALL): Likewise.
3577         [C99-based standards] (INFINITY): Likewise.
3578         [C99-based standards] (NAN): Likewise.
3579         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3580         [C99-based standards] (FP_NAN): Likewise.
3581         [C99-based standards] (FP_NORMAL): Likewise.
3582         [C99-based standards] (FP_SUBNORMAL): Likewise.
3583         [C99-based standards] (FP_ZERO): Likewise.
3584         [C99-based standards] (FP_FAST_FMA): Use
3585         optional-macro-int-constant.  Specify type.  Require == 1.
3586         [C99-based standards] (FP_FAST_FMAF): Likewise.
3587         [C99-based standards] (FP_FAST_FMAL): Likewise.
3588         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3589         [C99-based standards] (FP_ILOGBNAN): Likewise.
3590         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3591         Specify type.
3592         [C99-based standards] (MATH_ERREXCEPT): Likewise.
3593         [C99-based standards] (math_errhandling): Specify type.
3594         [ISO99 || ISO11] (signgam): Do not allow.
3595         [non-C99-based standards] (copysignf): Do not allow.
3596         [non-C99-based standards] (exp2f): Likewise.
3597         [non-C99-based standards] (log2f): Likewise.
3598         [non-C99-based standards] (modff): Allow.
3599         [non-C99-based standards] (erff): Do not allow.
3600         [non-C99-based standards] (erfcf): Likewise.
3601         [non-C99-based standards] (gammaf): Likewise.
3602         [non-C99-based standards] (hypotf): Likewise.
3603         [non-C99-based standards] (j0f): Likewise.
3604         [non-C99-based standards] (j1f): Likewise.
3605         [non-C99-based standards] (jnf): Likewise.
3606         [non-C99-based standards] (lgammaf): Likewise.
3607         [non-C99-based standards] (tgammaf): Likewise.
3608         [non-C99-based standards] (y0f): Likewise.
3609         [non-C99-based standards] (y1f): Likewise.
3610         [non-C99-based standards] (ynf): Likewise.
3611         [non-C99-based standards] (isnanf): Likewise.
3612         [non-C99-based standards] (acoshf): Likewise.
3613         [non-C99-based standards] (asinhf): Likewise.
3614         [non-C99-based standards] (atanhf): Likewise.
3615         [non-C99-based standards] (cbrtf): Likewise.
3616         [non-C99-based standards] (expm1f): Likewise.
3617         [non-C99-based standards] (ilogbf): Likewise.
3618         [non-C99-based standards] (log1pf): Likewise.
3619         [non-C99-based standards] (logbf): Likewise.
3620         [non-C99-based standards] (nextafterf): Likewise.
3621         [non-C99-based standards] (remainderf): Likewise.
3622         [non-C99-based standards] (rintf): Likewise.
3623         [non-C99-based standards] (scalbf): Likewise.
3624         [non-C99-based standards] (copysignl): Likewise.
3625         [non-C99-based standards] (exp2l): Likewise.
3626         [non-C99-based standards] (log2l): Likewise.
3627         [non-C99-based standards] (modfl): Allow.
3628         [non-C99-based standards] (erfl): Do not allow.
3629         [non-C99-based standards] (erfcl): Likewise.
3630         [non-C99-based standards] (gammal): Likewise.
3631         [non-C99-based standards] (hypotl): Likewise.
3632         [non-C99-based standards] (j0l): Likewise.
3633         [non-C99-based standards] (j1l): Likewise.
3634         [non-C99-based standards] (jnl): Likewise.
3635         [non-C99-based standards] (lgammal): Likewise.
3636         [non-C99-based standards] (tgammal): Likewise.
3637         [non-C99-based standards] (y0l): Likewise.
3638         [non-C99-based standards] (y1l): Likewise.
3639         [non-C99-based standards] (ynl): Likewise.
3640         [non-C99-based standards] (isnanl): Likewise.
3641         [non-C99-based standards] (acoshl): Likewise.
3642         [non-C99-based standards] (asinhl): Likewise.
3643         [non-C99-based standards] (atanhl): Likewise.
3644         [non-C99-based standards] (cbrtl): Likewise.
3645         [non-C99-based standards] (expm1l): Likewise.
3646         [non-C99-based standards] (ilogbl): Likewise.
3647         [non-C99-based standards] (log1pl): Likewise.
3648         [non-C99-based standards] (logbl): Likewise.
3649         [non-C99-based standards] (nextafterl): Likewise.
3650         [non-C99-based standards] (remainderl): Likewise.
3651         [non-C99-based standards] (rintl): Likewise.
3652         [non-C99-based standards] (scalbl): Likewise.
3653         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3654         [non-C99-based standards] (FP_*): Do not allow.
3655         [C99-based standards] (FP_*): Change to
3656         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3657         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3658         allow.
3659         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3660         (SIG_ERR): Likewise.
3661         [X/Open-based standards] (SIG_HOLD): Likewise.
3662         (SIG_IGN): Likewise.
3663         (SIGABRT): Use macro-int-constant.  Specify type.  Require
3664         positive value.
3665         (SIGFPE): Likewise.
3666         (SIGILL): Likewise.
3667         (SIGINT): Likewise.
3668         (SIGSEGV): Likewise.
3669         (SIGTER): Likewise.
3670         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3671         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3672         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3673         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3674         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3675         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3676         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3677         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3678         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3679         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3680         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3681         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3682         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3683         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3684         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3685         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3686         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3687         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3688         [X/Open-based standards] (SIGTRAP): Likewise.
3689         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3690         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3691         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3692         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3693         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3694         allow.
3696 2012-05-08  Ian Wienand  <ianw@vmware.com>
3698         [BZ #14080]
3699         * time/tzset.c (__tzset_parse_tz): Update default rules for
3700         daylight time changes in the Energy Policy Act of 2005.
3702 2012-05-09  Andreas Jaeger  <aj@suse.de>
3704         [BZ #13983]
3705         * elf/ldconfig.c (parse_conf): Change string to make clear that
3706         ldconfig only issued a warning if ld.so.conf does not exist.
3708 2012-05-08  David S. Miller  <davem@davemloft.net>
3710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3711         movxtod instead of popping the value on the stack.
3713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3715 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
3717         * config.h.in: Add HAVE_ARM_PCS_VFP.
3719 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
3721         [BZ #13979]
3722         * include/features.h: Warn if user requests __FORTIFY_SOURCE
3723         checking but the checks are disabled for any reason.
3725 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3727         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3728         and ELF64_R_TYPE with ELFW(R_TYPE).
3730 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
3732         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3733         (ulimit): Likewise.
3735         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3736         (settimeofday): Likewise.
3738 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
3740         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
3741         a struct th_u2 inside the union, and move tu_block/tu_code into
3742         a new th_u3 union of tu_block/tu_code inside of that.  Move
3743         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
3744         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
3745         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3746         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3747         (th_stuff): Change to th_u1.tu_stuff.
3748         (th_data): Define.
3749         (th_msg): Change to th_u1.th_u2.tu_data.
3751 2012-05-07  David S. Miller  <davem@davemloft.net>
3753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3755         [BZ #14074]
3756         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3757         (SETUP_PIC_REG): Use it.
3758         (SETUP_PIC_REG_LEAF): Use it.
3760 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
3762         [BZ #13885]
3763         [BZ #13923]
3764         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3765         USE_AS_EXPM1L.
3766         (EXPL_FINITE): Likewise.
3767         (FLDLOG): Likewise.
3768         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3769         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3770         e_expl.S.
3771         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3772         USE_AS_EXPM1L.
3773         (EXPL_FINITE): Likewise.
3774         (FLDLOG): Likewise.
3775         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3776         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3777         e_expl.S.
3778         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
3779         test of -max_value argument for long double.
3780         * sysdeps/i386/fpu/libm-test-ulps: Update.
3781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3783 2012-05-06  David S. Miller  <davem@davemloft.net>
3785         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3786         quad soft-float symbols whose references which are compiler
3787         generated.
3788         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3790 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
3792         [BZ #13884]
3793         [BZ #13914]
3794         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3795         USE_AS_EXP10L.
3796         (EXPL_FINITE): Likewise.
3797         (FLDLOG): Likewise.
3798         (c0): Likewise.
3799         (c1): Likewise.
3800         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
3801         Adjust comments for base varying.
3802         (__expl_finite): Change alias to EXPL_FINITE.
3803         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3804         e_expl.S.
3805         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3806         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3807         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3808         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3809         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3810         USE_AS_EXP10L.
3811         (EXPL_FINITE): Likewise.
3812         (FLDLOG): Likewise.
3813         (c0): Likewise.
3814         (c1): Likewise.
3815         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
3816         Adjust comments for base varying.
3817         (__expl_finite): Change alias to EXPL_FINITE.
3818         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
3819         tests for bugs.
3820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3822         [BZ #14064]
3823         * math/libm-test.inc (check_float_internal): Correct ulp
3824         calculation for subnormal expected results.
3826 2012-05-06  Andreas Jaeger  <aj@suse.de>
3828         * Makeconfig (+math-flags): New, set to -frounding-math.
3829         (+cflags): Add +math-flags so that all of glibc gets compiled with
3830         it.
3832         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3834 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
3836         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3837         Disable one test.
3839         [BZ #13787]
3840         [BZ #13922]
3841         [BZ #14036]
3842         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3843         (__ieee754_expl): Allow for and saturate large arguments.
3844         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3845         (u_threshold): Likewise.
3846         (__exp): Call __ieee754_exp before checking for overflow and
3847         underflow.
3848         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3849         (u_threshold): Likewise.
3850         (__expf): Call __ieee754_expf before checking for overflow and
3851         underflow.
3852         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3853         (u_threshold): Likewise.
3854         (__expl): Call __ieee754_expl before checking for overflow and
3855         underflow.
3856         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3857         (__ieee754_expl): Allow for and saturate large arguments.
3858         * math/libm-test.inc (exp_test): Add another test.  Do not allow
3859         missing overflow exception on overflow.
3860         (expm1_test): Do not allow missing overflow exception on overflow.
3862         * sysdeps/i386/fpu/e_expl.c: Move to ...
3863         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
3864         rather than using inline asm.
3865         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3866         * sysdeps/x86_64/fpu/e_expl.S: Copy from
3867         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3869         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3870         (nice): Likewise.
3871         (poll): Likewise.
3872         (signal): Likewise.
3873         (time): Likewise.
3874         (times): Likewise.
3876 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3878         * sysdeps/unix/syscalls.list (adjtime): Add entry from
3879         sysdeps/unix/common/syscalls.list.
3880         (fchmod): Likewise.
3881         (fchown): Likewise.
3882         (ftruncate): Likewise.
3883         (getrusage): Likewise.
3884         (gettimeofday): Likewise.
3885         (setpgid): Likewise.
3886         (setregid): Likewise.
3887         (setreuid): Likewise.
3888         (sigaction): Likewise.
3889         (truncate): Likewise.
3890         (vhangup): Likewise.
3891         * sysdeps/unix/common/syscalls.list: Remove file.
3892         * sysdeps/unix/bsd/Implies: Don't include unix/common.
3893         * sysdeps/unix/sysv/linux/Implies: Likewise.
3895 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
3897         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3899         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3900         Moved to ...
3901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3902         Here.
3903         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3904         to ...
3905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3906         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3907         to ...
3908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3909         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3910         to ...
3911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3912         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3913         to ...
3914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3915         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3916         to ...
3917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3918         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3919         to ...
3920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3921         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3922         to ...
3923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3924         Here.
3925         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3926         to ...
3927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3928         Here.
3929         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3930         to ...
3931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3932         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3933         Moved to ...
3934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3935         Here.
3936         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3937         to ...
3938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3940 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3942         * sysdeps/unix/common/bits/dirent.h: Remove file.
3943         * sysdeps/unix/common/bits/fcntl.h: Likewise.
3945         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3946         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3947         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3948         * sysdeps/unix/bsd/isatty.c: Likewise.
3949         * sysdeps/unix/bsd/tcdrain.c: Likewise.
3950         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3951         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3953 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3955         [BZ #13563]
3956         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3957         long double comparison inaccuracies.
3958         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3961 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
3963         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3964         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3966 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3968         [BZ #14049]
3969         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3970         nonzero digits before rounding a hex value.
3971         * stdlib/tst-strtod.c (tests): Add another test.
3973 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3975         * sysdeps/s390/fpu/libm-test-ulps: Update.
3977 2012-05-03  Andreas Jaeger  <aj@suse.de>
3979         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3980         does not get optimized out.
3981         (malloc_opt_barrier): New.
3983 2012-05-03  Andreas Jaeger  <aj@suse.de>
3984             Roland McGrath  <roland@hack.frob.com>
3986         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3987         intermediate file deletion.
3988         (generated): Add .symlist files.
3990 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
3992         [BZ #13775]
3993         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3994         Redirect under this condition.
3995         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3996         [__USE_GNU] (__dprintf_chk): Not under this condition.
3997         [__USE_GNU] (__vdprintf_chk): Likewise.
3998         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3999         under this condition.
4000         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4001         [__USE_XOPEN2K8] (dprintf): Define under this condition.
4002         [__USE_XOPEN2K8] (vdprintf): Likewise.
4003         [__USE_GNU] (__dprintf_chk): Not under this condition.
4004         [__USE_GNU] (__vdprintf_chk): Likewise.
4005         [__USE_GNU] (dprintf): Likewise.
4006         [__USE_GNU] (vdprintf): Likewise.
4008 2012-05-03  Roland McGrath  <roland@hack.frob.com>
4010         * elf/Makefile (common-generated): Set this instead of generated for
4011         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
4012         $(all-built-dso)-derived lists.
4014 2012-05-03  Andreas Jaeger  <aj@suse.de>
4016         * sysdeps/i386/fpu/libm-test-ulps: Update.
4018         * FAQ: Removed.
4019         * FAQ.in: Likewise.
4020         * scripts/gen-FAQ.pl: Likewise.
4021         * manual/install.texi (Installation): Point to online location of
4022         FAQ.
4023         * Makefile (files-for-dist): Remove FAQ.
4024         (FAQ): Remove.
4026 2012-05-02  Allan McRae  <allan@archlinux.org>
4028         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4029         (LDFLAGS-reldepmod5.so): Likewise.
4030         (LDFLAGS-reldep6mod1.so): Likewise.
4031         (LDFLAGS-reldep6mod4.so): Likewise.
4032         (LDFLAGS-reldep8mod3.so): Likewise.
4033         (LDFLAGS-unload4mod1.so): Likewise.
4034         (LDFLAGS-unload4mod2.so): Likewise.
4035         (LDFLAGS-tst-initorder): Likewise.
4036         (LDFLAGS-tst-initordera2.so): Likewise.
4037         (LDFLAGS-tst-initordera3.so): Likewise.
4038         (LDFLAGS-tst-initordera4.so): Likewise.
4039         (LDFLAGS-tst-initorderb2.so): Likewise.
4040         (LDFLAGS-noload): Likewise.
4041         (LDFLAGS-next): Likewise.
4042         (LDFLAGS-order2mod1.so): Likewise.
4043         (LDFLAGS-order2mod2.so): Likewise.
4044         (LDFLAGS-tst-initorder2): Likewise.
4045         (LDFLAGS-tst-initorder2a.so): Likewise.
4046         (LDFLAGS-tst-initorder2b.so): Likewise.
4047         (LDFLAGS-tst-initorder2c.so): Likewise.
4048         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4050 2012-05-02  David S. Miller  <davem@davemloft.net>
4052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4054 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4056         [BZ #14055]
4057         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4059 2012-05-02  Andreas Jaeger  <aj@suse.de>
4061         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4062         since we manipulate rounding mode.
4063         (CPPFLAGS-test-idouble.c): Likewise.
4064         (CPPFLAGS-test-ifloat.c): Likewise.
4065         (CFLAGS-test-ldouble.c): Likewise.
4066         (CFLAGS-test-double.c): Likewise.
4067         (CFLAGS-test-float.c): Likewise.
4068         (CFLAGS-test-misc.c): Likewise.
4069         (CFLAGS-test-test-fenv.c): Likewise.
4071 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4073         [BZ #2550]
4074         [BZ #2570]
4075         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4076         comparisons to determine direction to adjust input.
4078 2012-05-01  Roland McGrath  <roland@hack.frob.com>
4080         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4081         output to the target.
4083         * scripts/localplt.awk: New file.
4084         * elf/Makefile ($(objpfx)check-localplt): Target removed.
4085         (check-localplt-CFLAGS): Variable removed.
4086         ($(all-built-dso:=.jmprel)): New static pattern rule.
4087         (generated): Add those targets.
4088         (localplt-built-dso): New variable.
4089         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4091         * elf/check-localplt.c: File removed.
4093         * scripts/check-execstack.awk: New file.
4094         * elf/Makefile ($(objpfx)check-execstack): Target removed.
4095         (check-execstack-CFLAGS): Variable removed.
4096         ($(objpfx)check-execstack.h): Target removed.
4097         ($(objpfx)execstack-default): New target.
4098         (generated): Add that instead of check-execstack.h.
4099         ($(all-built-dso:=.phdr)): New static pattern rule.
4100         (generated): Add those targets.
4101         * elf/check-execstack.c: File removed.
4103         * scripts/check-textrel.awk: New file.
4104         * elf/Makefile ($(objpfx)check-textrel): Target removed.
4105         (check-textrel-CFLAGS): Variable removed.
4106         (all-built-dso): Use := to define.o
4107         ($(all-built-dso:=.dyn)): New static pattern rule.
4108         (generated): Add those targets.
4109         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4110         * config.make.in (READELF): New substituted variable.
4111         * elf/check-textrel.c: File removed.
4113 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
4115         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4116         allow.
4117         * conform/data/ctype.h-data [C99-based standards] (isblank):
4118         Expect function.
4119         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4120         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4121         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4122         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4123         Specify type.  Require positive value.
4124         (EILSEQ): Likewise.
4125         (ERANGE): Likewise.
4126         [ISO || POSIX] (EILSEQ): Do not expect.
4127         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4128         Specify type.  Require positive value.
4129         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4130         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4131         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4132         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4133         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4134         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4135         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4136         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4137         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4138         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4139         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4140         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4141         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4142         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4143         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4144         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4145         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4146         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4147         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4148         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4149         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4150         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4151         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4152         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4153         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4154         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4155         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4156         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4157         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4158         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4159         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4160         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4161         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4162         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4163         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4164         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4165         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4166         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4167         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4168         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4169         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4170         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4171         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4172         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4173         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4174         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4175         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4176         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4177         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4178         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4179         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4180         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4181         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4182         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4183         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4184         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4185         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4186         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4187         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4188         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4189         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4190         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4191         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4192         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4193         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4194         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4195         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4196         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4197         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4198         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4199         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4200         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4201         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4202         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4203         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4204         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4205         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4206         Require >= 2.
4207         (FLT_ROUNDS): Expect as macro, not constant.
4208         (FLT_MANT_DIG): Use macro-int-constant.
4209         (DBL_MANT_DIG): Likewise.
4210         (LDBL_MANT_DIG): Likewise.
4211         (FLT_DIG): Likewise.
4212         (DBL_DIG): Likewise.
4213         (LDBL_DIG): Likewise.
4214         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
4215         (DBL_MIN_EXP): Likewise.
4216         (LDBL_MIN_EXP): Likewise.
4217         (FLT_MAX_EXP): Use macro-int-constant.
4218         (DBL_MAX_EXP): Likewise.
4219         (LDBL_MAX_EXP): Likewise.
4220         (FLT_MAX_10_EXP): Likewise.
4221         (DBL_MAX_10_EXP): Likewise.
4222         (LDBL_MAX_10_EXP): Likewise.
4223         (FLT_MAX): Use macro-constant.
4224         (DBL_MAX): Likewise.
4225         (LDBL_MAX): Likewise.
4226         (FLT_EPSILON): Use macro-constant.  Give upper bound.
4227         (DBL_EPSILON): Likewise.
4228         (LDBL_EPSILON): Likewise.
4229         (FLT_MIN): Likewise.
4230         (DBL_MIN): Likewise.
4231         (LDBL_MIN): Likewise.
4232         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4233         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4234         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4235         [ISO11] (FLT_HAS_SUBNORM): Likewise.
4236         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4237         [ISO11] (DBL_DECIMAL_DIG): Likewise.
4238         [ISO11] (FLT_DECIMAL_DIG): Likewise.
4239         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4240         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4241         [ISO11] (FLT_TRUE_MIN): Likewise.
4242         [ISO11] (LDBL_TRUE_MIN): Likewise.
4243         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4244         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4245         (SCHAR_MIN): Use macro-int-constant.  Specify type.
4246         (SCHAR_MAX): Likewise.
4247         (UCHAR_MAX): Likewise.
4248         (CHAR_MIN): Likewise.
4249         (CHAR_MAX): Likewise.
4250         (MB_LEN_MAX): Use macro-int-constant.
4251         (SHRT_MIN): Use macro-int-constant.  Specify type.
4252         (SHRT_MAX): Likewise.
4253         (USHRT_MAX): Likewise.
4254         (INT_MAX): Likewise.
4255         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
4256         bound negative.
4257         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
4258         bound with "U".
4259         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
4260         bound with "L".
4261         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
4262         bound negative.  Suffix upper bound with "L".
4263         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
4264         bound with "UL".
4265         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4266         Specify type.
4267         [C99-based standards] (LLONG_MAX): Likewise.
4268         [C99-based standards] (ULLONG_MAX): Likewise.
4269         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
4270         == 0.
4271         [ISO11] (max_align_t): Require type.
4272         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4274         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4275         from $CFLAGS, without defining away __attribute__ calls.
4276         (checknamespace): Use $CFLAGS_namespace.
4278         * conform/conformtest.pl (@keywords): Only include C99 keywords
4279         for standards based on C99 or C11.
4281         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4282         Disable tests.
4283         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4284         UNIX98]: Likewise.
4286         * conform/conformtest.pl: Handle "macro-int-constant" and test for
4287         usability of symbols in #if.
4289         * conform/conformtest.pl: If macro or constant types start
4290         "promoted:", expect the symbol to be of the following type
4291         promoted by the integer promotions.
4293         * conform/conformtest.pl: Parse all "constant" and "macro" lines
4294         in one place.  Also handle "macro-constant".
4296         * conform/conformtest.pl: Only accept expected macro values with
4297         "==".  Parse all "macro" lines in one place.
4298         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4300         * conform/conformtest.pl: Handle braced types on "constant" lines
4301         instead of handling "typed-constant".
4302         * conform/data/signal.h-data: Use "constant" instead of
4303         "typed-constant".
4305         * conform/conformtest.pl: Handle "optional-" at start of lines in
4306         one place rather than duplicating several cases.  Handle each
4307         format of "macro" line with initial "optional-".
4309         * conform/conformtest.pl: Only accept expected constant or
4310         optional-constant values with "==".  Parse all "constant" lines in
4311         one place.  Parse all "optional-constant" lines in one place.
4312         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4313         * conform/data/fmtmsg.h-data: Likewise.
4314         * conform/data/netinet/in.h-data: Likewise.
4315         * conform/data/tar.h-data: Likewise.
4316         * conform/data/limits.h-data: Use "==" form on "constant" and
4317         "optional-constant" lines.
4319         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4320         Use -std=c99 for XOPEN2K.
4321         (@knownproblems): Remove.
4322         (newtoken): Don't check %isknown.
4324         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4325         Do not expect macro.
4326         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4327         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4328         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4329         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4330         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4331         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4332         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4333         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4334         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4335         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4336         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4337         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4338         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4339         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4340         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4341         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4342         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4343         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4344         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4345         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4346         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4347         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4348         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4349         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4350         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4351         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4352         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4353         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4354         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4355         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4356         [XPG3] (acosh): Likewise.
4357         [XPG3] (asinh): Likewise.
4358         [XPG3] (atanh): Likewise.
4359         [XPG3] (cbrt): Likewise.
4360         [XPG3] (expm1): Likewise.
4361         [XPG3] (ilogb): Likewise.
4362         [XPG3] (log1p): Likewise.
4363         [XPG3] (logb): Likewise.
4364         [XPG3] (nextafter): Likewise.
4365         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4366         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4367         [XPG3] (remainder): Likewise.
4368         [XPG3] (rint): Likewise.
4369         [XPG3 || XPG4 || UNIX98] (round): Likewise.
4370         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4371         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4372         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4373         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4374         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4375         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4376         [UNIX98 || XOPEN2K] (scalb): Expect.
4377         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4378         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4379         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4380         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4381         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4382         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4383         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4384         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4385         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4386         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4387         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4388         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4389         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4390         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4391         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4392         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4393         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4394         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4395         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4396         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4397         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4398         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4399         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4400         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4401         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4402         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4403         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4404         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4405         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4406         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4407         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4408         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4409         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4410         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4411         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4412         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4413         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4414         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4415         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4416         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4417         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4418         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4419         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4420         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4421         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4422         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4423         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4424         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4425         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4426         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4427         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4428         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4429         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4430         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4431         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4432         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4433         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4434         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4435         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4436         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4437         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4438         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4439         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4440         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4441         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4442         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4443         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4444         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4445         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4446         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4447         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4448         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4449         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4450         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4451         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4452         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4453         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4454         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4455         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4456         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4457         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4458         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4459         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4460         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4461         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4462         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4463         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4464         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4465         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4466         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4467         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4468         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4469         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4470         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4471         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4472         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4473         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4474         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4475         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4476         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4477         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4478         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4479         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4480         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4481         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4482         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4483         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4484         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4485         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4486         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4487         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4488         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4489         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4490         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4491         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4492         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4493         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4494         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4495         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4496         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4497         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4498         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4499         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4500         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4501         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4502         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4503         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4504         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4505         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4506         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4507         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4508         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4509         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4510         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4511         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4512         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4513         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4515         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4516         _XOPEN_SOURCE_EXTENDED for XPG4.
4518         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4520         * Makeconfig (localtime): Remove variable.
4521         (inst_localtime-file): Likewise.
4523 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4526         Update.
4527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4528         Update.
4529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4530         Update.
4531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4532         Update.
4533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4534         Update.
4535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4536         Update.
4537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4538         Update.
4539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4540         Update.
4541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4542         Update.
4544 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
4546         [BZ #2550]
4547         [BZ #2570]
4548         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4549         comparisons to determine direction to adjust input.
4550         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4551         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4552         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4553         Likewise.
4554         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4555         Likewise.
4556         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4557         Likewise.
4558         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4559         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4560         Likewise.
4561         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4562         Likewise.
4563         * math/libm-test.inc (nexttoward_test): Add more tests.
4565 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4567         [BZ #14040]
4568         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4569         in version GLIBC_2.1, not GLIBC_2.0.
4570         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4571         Likewise.
4573 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
4575         [BZ #13942]
4576         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4577         (1 - x) * (1 + x).
4578         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4579         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4580         * math/libm-test.inc (acos_test): Add more tests.
4581         (asin_test): Likewise.
4582         * sysdeps/i386/fpu/libm-test-ulps: Update.
4583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4585         [BZ #14034]
4586         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4587         of square root.
4588         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4589         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4590         * math/libm-test.inc (acos_test_tonearest): New function.
4591         (acos_test_towardzero): Likewise.
4592         (acos_test_downward): Likewise.
4593         (acos_test_upward): Likewise.
4594         (asin_test_tonearest): Likewise.
4595         (asin_test_towardzero): Likewise.
4596         (asin_test_downward): Likewise.
4597         (asin_test_upward): Likewise.
4598         (main): Call the new functions.
4599         * sysdeps/i386/fpu/libm-test-ulps: Update.
4600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4602         [BZ #13884]
4603         [BZ #13924]
4604         * math/e_exp10.c: Include <float.h>.
4605         (__ieee754_exp10): Handle underflow here rather than multiplying
4606         large negative argument by M_LN10.
4607         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4608         of __ieee754_expf.
4609         * math/e_exp10l.c: Include <float.h>.
4610         (__ieee754_exp10l): Handle underflow here rather than multiplying
4611         large negative argument by M_LN10l.
4612         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
4613         spurious overflow exception on underflow.
4615 2012-04-29  Marek Polacek  <polacek@redhat.com>
4617         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4618         (__fortify_function): New macro.
4619         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4620         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4621         __extern_always_inline.
4622         * libio/bits/stdio2.h: Likewise.
4623         * libio/bits/stdio.h: Likewise.
4624         * string/string.h: Likewise.
4625         * string/bits/string3.h: Likewise.
4626         * include/stdio.h: Likewise.
4627         * stdlib/bits/stdlib.h: Likewise.
4628         * stdlib/stdlib.h: Likewise.
4629         * rt/bits/mqueue2.h: Likewise.
4630         * rt/mqueue.h: Likewise.
4631         * posix/bits/unistd.h: Likewise.
4632         * posix/unistd.h: Likewise.
4633         * io/bits/poll2.h: Likewise.
4634         * io/bits/fcntl2.h: Likewise.
4635         * io/fcntl.h: Likewise.
4636         * io/sys/poll.h: Likewise.
4637         * misc/bits/syslog.h: Likewise.
4638         * misc/bits/syslog-ldbl.h: Likewise.
4639         * misc/sys/syslog.h: Likewise.
4640         * socket/bits/socket2.h: Likewise.
4641         * socket/sys/socket.h: Likewise.
4642         * debug/tst-chk1.c: Likewise.
4643         * wcsmbs/bits/wchar2.h: Likewise.
4644         * wcsmbs/bits/wchar-ldbl.h: Likewise.
4645         * wcsmbs/wchar.h: Likewise.
4647 2012-04-29  Andreas Jaeger  <aj@suse.de>
4649         * Makerules (tests): Remove enable-check-abi protection.
4650         (check-abi-warn): Remove.
4651         (check-abi-%): Remove check-abi-warn usage.
4653         * configure.in: Remove check-abi configure option.
4654         * configure: Regenerated.
4655         * config.make.in (enable-check-abi): Remove.
4657 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
4659         [BZ #14033]
4660         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4661         double functions to double *_finite functions.
4663         [BZ #13941]
4664         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4665         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4666         LDBL_MIN_EXP.
4667         * stdio-common/Makefile (tests): Add tst-sprintf3.
4668         * stdio-common/tst-sprintf3.c: New file.
4670         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4671         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4673 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
4675         * conform/conformtest.pl: Remove duplicate typed-constant
4676         handling.
4678 2012-04-28  David S. Miller  <davem@davemloft.net>
4680         * Makerules (%.abilist): Add vpath on sysdep_dirs.
4681         (check-abi-%): Remove AWK script prerequisite and explicit
4682         abilist directory.
4683         (check-abi): Rewrite to just diff the symlist with the abilist.
4684         (config-tls, config-abi-config): Delete, no longer used.
4685         (update-abi-%): Remove AWK script and explicit abilist directory.
4686         (update-abi): Rewrite to simply compare and conditionally copy the
4687         symlist and the sysdep abilist file.  Remove update-abi-config
4688         checks.
4689         * abilist/ld.abilist: Remove.
4690         * abilist/libBrokenLocale.abilist: Remove.
4691         * abilist/libanl.abilist: Remove.
4692         * abilist/libcrypt.abilist: Remove.
4693         * abilist/libdl.abilist: Remove.
4694         * abilist/librt.abilist: Remove.
4695         * abilist/libthread_db.abilist: Remove.
4696         * abilist/libutil.abilist: Remove.
4697         * scripts/extract-abilist.awk: Remove.
4698         * scripts/merge-abilist.awk: Remove.
4699         * sysdeps/generic/libcidn.abilist: New file.
4700         * sysdeps/generic/libnss_compat.abilist: New file.
4701         * sysdeps/generic/libnss_db.abilist: New file.
4702         * sysdeps/generic/libnss_dns.abilist: New file.
4703         * sysdeps/generic/libnss_files.abilist: New file.
4704         * sysdeps/generic/libnss_hesiod.abilist: New file.
4705         * sysdeps/generic/libnss_nis.abilist: New file.
4706         * sysdeps/generic/libnss_nisplus.abilist: New file.
4707         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4708         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4709         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4710         file.
4711         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4712         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4713         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4714         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4715         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4716         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4717         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4718         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4719         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4720         file.
4721         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4722         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4723         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4724         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4725         file.
4726         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4727         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4728         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4729         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4730         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4731         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4732         file.
4733         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4734         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4735         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4736         file.
4737         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4738         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4739         New file.
4740         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4741         New file.
4742         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4743         New file.
4744         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4745         New file.
4746         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4747         New file.
4748         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4749         New file.
4750         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4751         New file.
4752         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4753         New file.
4754         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4755         New file.
4756         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4757         New file.
4758         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4759         New file.
4760         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4761         New file.
4762         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4763         New file.
4764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4765         file.
4766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4767         New file.
4768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4769         New file.
4770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4771         file.
4772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4773         New file.
4774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4775         New file.
4776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4777         file.
4778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4779         New file.
4780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4781         New file.
4782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4783         New file.
4784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4785         New file.
4786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4787         New file.
4788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4789         New file.
4790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4792         file.
4793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4794         New file.
4795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4796         file.
4797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4798         file.
4799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4800         file.
4801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4802         file.
4803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4804         file.
4805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4806         New file.
4807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4808         file.
4809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4810         file.
4811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4812         New file.
4813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4814         file.
4815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4817         file.
4818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4819         New file.
4820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4821         file.
4822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4823         file.
4824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4825         file.
4826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4827         file.
4828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4829         file.
4830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4831         New file.
4832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4833         file.
4834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4835         file.
4836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4837         New file.
4838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4839         file.
4840         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4841         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4842         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4843         file.
4844         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4845         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4846         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4847         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4848         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4849         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4850         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4851         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4852         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4853         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4856         file.
4857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4858         New file.
4859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4860         file.
4861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4862         file.
4863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4864         file.
4865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4866         file.
4867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4868         file.
4869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4870         New file.
4871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4872         New file.
4873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4874         file.
4875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4876         New file.
4877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4878         file.
4879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4881         file.
4882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4883         New file.
4884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4885         file.
4886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4887         file.
4888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4889         file.
4890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4891         file.
4892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4893         file.
4894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4895         New file.
4896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4897         New file.
4898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4899         file.
4900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4901         New file.
4902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4903         file.
4905 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
4907         * conform/conformtest.pl: Fix typo in handling typed-constant from
4908         allow-header.
4910 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
4912         * README: Cut down references to pre-2.6 Linux kernels and
4913         Linuxthreads.  Update lists of configurations in libc and ports
4914         and sort alphabetically.  Say "or newer" with Linux kernel version
4915         requirements.
4917         * config.h.in [IS_IN_build]: Allow compiling without optimization.
4919 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4921         [BZ #887]
4922         * math/libm-test.inc (logb_test_downward): New test to expose
4923         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4924         rounding mode.
4926 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
4928         [BZ #14027]
4929         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4930         to be done.
4931         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4932         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4934 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
4936         * sysdeps/unix/i386/brk.S: Remove file.
4937         * sysdeps/unix/i386/dl-brk.S: Likewise.
4938         * sysdeps/unix/i386/pipe.S: Likewise.
4939         * sysdeps/unix/i386/sigreturn.S: Likewise.
4940         * sysdeps/unix/i386/syscall.S: Likewise.
4941         * sysdeps/unix/i386/vfork.S: Likewise.
4942         * sysdeps/unix/i386/wait.S: Likewise.
4944         * sysdeps/unix/common/tcsendbrk.c: Move to ...
4945         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4947         * configure.in (arm*-none*): Do not allow without
4948         --enable-hacker-mode.
4949         (netbsd*): Remove case setting base_os.
4950         (386bsd*): Likewise.
4951         (freebsd*): Likewise.
4952         (bsdi*): Likewise.
4953         (osf*): Likewise.
4954         (sunos*): Likewise.
4955         (ultrix*): Likewise.
4956         (newsos*): Likewise.
4957         (dynix*): Likewise.
4958         (*bsd*): Likewise.
4959         (sysv*): Likewise.
4960         (isc*): Likewise.
4961         (esix*): Likewise.
4962         (sco*): Likewise.
4963         (minix*): Likewise.
4964         (irix4*): Likewise.
4965         (irix6*): Likewise.
4966         (solaris[2-9]*): Likewise.
4967         (none): Likewise.
4968         * configure: Regenerated.
4970 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4972         [BZ #11521]
4973         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4974         overflow or cancellation in calculating denominator.
4975         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4976         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4977         down expression to avoid unexpected rounding in newer GCCs.
4978         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4980 2012-04-26  David S. Miller  <davem@davemloft.net>
4982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4983         long-double compat symbols.
4984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4998 2012-04-25  David S. Miller  <davem@davemloft.net>
5000         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5001         HWCAP_* values only after the memory barriers have been defined.
5002         (atomic_full_barrier): Define.
5003         (atomic_read_barrier): Define.
5004         (atomic_write_barrier): Define.
5006 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5008         * shlib-versions: Add libgcc_s version information.
5009         * sysdeps/generic/libgcc_s.h: Remove.
5010         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5011         libgcc_s.h.
5012         * sysdeps/gnu/unwind-resume.c: Likewise.
5013         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5015 2012-04-25  David S. Miller  <davem@davemloft.net>
5017         * sysdeps/unix/sparc/brk.S: Delete.
5018         * sysdeps/unix/sparc/dl-brk.S: Delete.
5019         * sysdeps/unix/sparc/pipe.S: Delete.
5020         * sysdeps/unix/sparc/sysdep.S: Delete.
5021         * sysdeps/unix/sparc/sysdep.h: Delete.
5022         * sysdeps/unix/sparc/vfork.S: Delete.
5023         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5024         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5025         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5026         ret_ERRVAL, r0, r1, MOVE): Define.
5027         (JUMPTARGET): Remove.
5028         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5029         sysdeps/unix/sparc/sysdep.h
5030         (ENTRY, END): Remove.
5031         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5033 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
5035         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5036         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5037         -DIS_IN_build.
5039         * timezone/README: Update upstream location and email address for
5040         tzcode and tzdata.
5041         * timezone/zdump.c: Update from tzcode 2012b.
5042         * timezone/zic.c: Likewise.
5044         * configure.in (libc_cv_as_needed): Remove test.
5045         * configure: Regenerated.
5046         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5047         conditional definition.
5048         [$(have-as-needed) != yes] (no-as-needed): Likewise.
5049         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5050         * config.make.in (have-as-needed): Remove variable.
5052 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5053             Paul Pluzhnikov  <ppluzhnikov@google.com>
5055         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5056         strings correctly.
5058 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5060         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5061         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5062         * sysdeps/sh/strlen.S: Likewise.
5064 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5066         * sysdeps/unix/fork.S: Remove file.
5067         * sysdeps/unix/i386/fork.S: Likewise.
5068         * sysdeps/unix/sparc/fork.S: Likewise.
5070         * sysdeps/unix/system.c: Remove file.
5071         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5073         * sysdeps/unix/getegid.S: Remove file.
5074         * sysdeps/unix/geteuid.S: Likewise.
5076 2012-04-24  Roland McGrath  <roland@hack.frob.com>
5078         * scripts/check-localplt.awk: New file.
5079         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5080         of diff.
5081         * scripts/data/localplt-generic.data: Add a comment.
5083         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5084         NODE when __dir_mkfile failed.
5085         * sysdeps/mach/hurd/symlinkat.c: Likewise.
5086         Reported by Ludovic Courtès <ludo@gnu.org>.
5088 2012-04-24  Andreas Jaeger  <aj@suse.de>
5090         * Makerules (common-clean): Also remove gen-as-const-headers
5091         files.
5093 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5095         * Makerules (native-compile): Do not change working directory for
5096         build.  Use $(OUTPUT_OPTION) in command.
5097         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5099 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5101         [BZ #13886]
5102         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5103         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5104         * math/libm-test.inc (floor_test): Add more tests.
5105         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5107 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5109         * sysdeps/unix/getdents.c: Remove file.
5110         * sysdeps/unix/sysv/getdents.c: Likewise.
5111         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5113         * sysdeps/unix/syscalls.list (madvise): Add syscall from
5114         sysdeps/unix/mman/syscalls.list.
5115         (mmap): Likewise.
5116         (mprotect): Likewise.
5117         (msync): Likewise.
5118         (munmap): Likewise.
5119         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5120         * sysdeps/unix/mman/syscalls.list: Remove.
5121         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5123         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5124         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5125         * configure: Regenerated.
5126         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5127         $(libgcc_s_suffix).
5128         * config.make.in (libgcc_s_suffix): Remove variable.
5130 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
5132         * sysdeps/unix/sysv/gethostname.c: Move to ...
5133         * sysdeps/posix/gethostname.c: ... here.
5135         * sysdeps/unix/execve.S: Remove file.
5137         * sysdeps/unix/_exit.S: Remove file.
5139 2012-04-23  Andreas Jaeger  <aj@suse.de>
5141         [BZ #13739]
5142         * manual/Makefile: Remove make dist support, there's no
5143         need for a stand-alone documentation tar ball.
5144         (TEXI2DVI): Define always, it's not in Makeconfig.
5145         (dist): Removed.
5146         (tar-it): Removed.
5147         (edition): Removed.
5148         (glibc-doc-$(edition).tar): Removed
5149         (%.Z): Removed.
5150         (%.gz): Removed.
5151         (%.uu): Removed.
5152         (ETAGS): Remove, it's in Makeconfig.
5153         (move-if-change): Remove, it's in Makeconfig.
5155 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
5157         [BZ #13970]
5158         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5159         (strtod, strtof, strtold, strtol, strtoul, strtoq)
5160         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5161         (strtod_l, strtof_l, strtold_l): Remove __wur.
5162         It is not necessarily an error to ignore strtol's return value.
5163         One can reliably look at the stored endptr to decide whether
5164         the number had valid syntax.
5166 2012-04-21  Andreas Jaeger  <aj@suse.de>
5168         [BZ #13739]
5169         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5171 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
5173         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5174         * sysdeps/unix/sysv/Versions: Remove file.
5176 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
5178         [BZ #13927]
5179         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5181 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
5183         [BZ #7064]
5184         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5185         version from __vm86.
5187 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
5189         * sysdeps/unix/common/lxstat.c: Remove file.
5190         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5192         * sysdeps/unix/sysv/Makefile: Remove file.
5194         * sysdeps/unix/sysv/direct.h: Remove file.
5196         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5197         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5198         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5199         * sysdeps/unix/sysv/bits/signum.h: Likewise.
5200         * sysdeps/unix/sysv/bits/stat.h: Likewise.
5201         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5202         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5204         * sysdeps/unix/sysv/setrlimit.c: Remove file.
5206         * sysdeps/unix/xmknod.c: Remove file.
5207         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5209         * sysdeps/unix/sysv/settimeofday.c: Remove file.
5211         * sysdeps/unix/sysv/i386/time.S: Remove file.
5213         * sysdeps/unix/fxstat.c: Remove file.
5214         * sysdeps/unix/xstat.c: Likewise.
5215         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5217         * sysdeps/unix/sysv/sigaction.c: Remove file.
5219         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5220         (sysdep_headers): Remove variable.
5221         [termio.h not in sysdep_headers] (generated): Likewise.
5222         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5223         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5224         * sysdeps/unix/sysv/tcdrain.c: Likewise.
5225         * sysdeps/unix/sysv/tcflow.c: Likewise.
5226         * sysdeps/unix/sysv/tcflush.c: Likewise.
5227         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5228         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5229         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5230         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5231         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5233         * sysdeps/unix/siglist.c: Remove file.
5235         * sysdeps/unix/getppid.S: Remove file.
5237         * sysdeps/unix/mkdir.c: Remove file.
5238         * sysdeps/unix/rmdir.c: Likewise.
5240 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
5242         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5243         ERR_MAX value.
5244         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5245         errlist-compat value.
5247 2012-04-18  David S. Miller  <davem@davemloft.net>
5249         * sysdeps/generic/memcopy.h (reg_char): Delete.
5250         * debug/strcat_chk.c: Use char, not reg_char.
5251         * debug/strcpy_chk.c: Likewise.
5252         * debug/strncat_chk.c: Likewise.
5253         * debug/strncpy_chk.c: Likewise.
5254         * string/memchr.c: Likewise.
5255         * string/memrchr.c: Likewise.
5256         * string/rawmemchr.c: Likewise.
5257         * string/strcat.c: Likewise.
5258         * string/strchr.c: Likewise.
5259         * string/strchrnul.c: Likewise.
5260         * string/strcmp.c: Likewise.
5261         * string/strcpy.c: Likewise.
5262         * string/strncat.c: Likewise.
5263         * string/strncmp.c: Likewise.
5264         * string/strncpy.c: Likewise.
5266 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
5268         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5269         __builtin_memcopy is called when src and dest ranges are known to not
5270         overlap.
5272 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
5274         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5275         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5276         fwd_align_merge macro call.
5277         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5278         bwd_align_merge macro call.
5279         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5281 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
5283         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5284         bwd_align_merge macros.
5285         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5286         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5287         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5289 2012-04-18  David S. Miller  <davem@davemloft.net>
5291         * sysdeps/sparc/sparc64/memcopy.h: Delete.
5293 2012-04-18  Andreas Jaeger  <aj@suse.de>
5295         [BZ# 6794]
5296         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5297         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5298         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5300         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5301         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5302         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5304         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5305         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5306         Adjust for changed ldbl-128 files.
5308         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5309         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5310         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5312 2012-04-17  David S. Miller  <davem@davemloft.net>
5314         * sysdeps/sparc/sparc32/memcopy.h: Delete.
5316 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
5318         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5319         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5320         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5321         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5322         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5323         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5325 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5327         [BZ #6794]
5328         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5329         * math/libm-test.inc: Add ilogb errno and exception tests.
5330         * math/w_ilogb.c: New file: ilogb wrapper.
5331         * math/w_ilogbf.c: New file: ilogbf wrapper.
5332         * math/w_ilogbl.c: New file: ilogbl wrapper.
5333         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5334         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5335         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5336         exception being thrown with 0.0 as argument.
5337         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5338         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5339         exception being thrown with 0.0 as argument.
5340         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5341         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5342         exception being thrown with 0.0 as argument.
5343         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5344         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5345         exception being thrown with 0.0 as argument.
5346         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5347         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5348         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5349         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5350         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5351         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5352         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5353         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5354         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5356 2012-04-17  Petr Baudis  <pasky@ucw.cz>
5358         * include/sys/uio.h: Change __vector to __iovec to avoid clash
5359         with altivec.
5361 2012-04-16  Marek Polacek  <polacek@redhat.com>
5363         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5365 2012-04-16  Marek Polacek  <polacek@redhat.com>
5367         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5368         operands of fdivp instruction.
5370 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
5372         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5373         * elf/tst-auditmod3b.c: Likewise.
5374         * elf/tst-auditmod4b.c: Likewise.
5375         * elf/tst-auditmod5b.c: Likewise.
5376         * elf/tst-auditmod6b.c: Likewise.
5377         * elf/tst-auditmod6c.c: Likewise.
5378         * elf/tst-auditmod7b.c: Likewise.
5379         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5380         * sysdeps/x86_64/preconfigure.in: Likewise.
5381         * sysdeps/x86_64/preconfigure: Regenerated.
5383 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
5385         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5386         __ILP32__.
5388 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
5390         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5391         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5393 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
5395         [BZ #13973]
5396         * locale/iso-639.def: Fix gl language name. Spotted by
5397         Yaron Shahrabani.
5399 2012-04-12  Roland McGrath  <roland@hack.frob.com>
5401         [BZ #2074]
5402         * libio/libio.h (__io_write_fn): Update comment.
5404 2012-04-12  Petr Baudis  <pasky@ucw.cz>
5406         [BZ #2074]
5407         * stdio.texi (Hook Functions): The user provided writer function
5408         is not allowed to return -1.
5410 2012-04-11  David S. Miller  <davem@davemloft.net>
5412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5414 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
5416         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5417         Add a leading slash to rtkaio.
5419 2012-04-11  Jim Meyering  <meyering@redhat.com>
5421         [BZ #11959]
5422         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5423         It is not necessarily an error to ignore fwrite's return
5424         value.  One can reliably use ferror to test for errors after
5425         the fact.
5427 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5429         * bits/types.h (__snseconds_t): New type.
5430         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5432         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5433         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5434         (__SNSECONDS_T_TYPE): Likewise.
5435         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5436         (__SNSECONDS_T_TYPE): Likewise.
5437         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5438         (__SNSECONDS_T_TYPE): Likewise.
5440 2012-04-10  Andreas Jaeger  <aj@suse.de>
5442         [BZ #2636]
5443         * manual/time.texi (Processor Time): Return type of times is
5444         elapsed real time since an arbitrary point in the past.
5445         (CPU Time): Move CLK_TCK from here...
5446         (Processor Time): ...to here.  Correct description.
5447         * manual/conf.texi (Constants for Sysconf): Correct description of
5448         _SC_CLK_TCK.
5450 2012-04-10  David S. Miller  <davem@davemloft.net>
5452         [BZ #13967]
5453         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5454         where the is a gap between DT_REL(A) and DT_JMPREL.
5456 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5458         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5459         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5460         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5462 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5464         * elf/dl-support.c (_dl_inhibit_cache): New variable.
5465         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5466         (dl_main): Handle --inhibit-cache.
5467         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5468         _dl_inhibit_cache.
5469         * elf/dl-load.c (_dl_map_object): Use it.
5470         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5472 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
5474         [BZ #13872]
5475         * sysdeps/i386/fpu/e_powl.S (p78): New object.
5476         (__ieee754_powl): Saturate large exponents rather than testing for
5477         overflow of y*log2(x).
5478         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5479         * math/libm-test.inc (pow_test): Do not permit spurious overflow
5480         exceptions.
5482         [BZ #11521]
5483         * math/s_ctan.c: Include <float.h>.
5484         (__ctan): Avoid internal overflow or cancellation in calculating
5485         denominator.
5486         * math/s_ctanf.c: Likewise.
5487         * math/s_ctanl.c: Likewise.
5488         * math/s_ctanh.c: Likewise.
5489         * math/s_ctanhf.c: Likewise.
5490         * math/s_ctanhl.c: Likewise.
5491         * math/libm-test.inc (ctan_test): Add more tests.
5492         (ctanh_test): Likewise.
5493         * sysdeps/i386/fpu/libm-test-ulps: Update.
5494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5496 2012-04-09  Andreas Jaeger  <aj@suse.de>
5498         [BZ #6894]
5499         * manual/filesys.texi (Directory Entries): Mention that d_namlen
5500         is an optional BSD extension.
5502         [BZ #10254]
5503         * manual/stdio.texi (Opening Streams): Document additional fopen
5504         parameters.
5506 2012-04-09  Roland McGrath  <roland@hack.frob.com>
5508         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5509         %eax without telling the compiler.
5511 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
5513         [BZ # 13963]
5514         * manual/install.texi: Use sourceware.org.
5516 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
5518         [BZ #13873]
5519         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5520         (__ieee754_pow): Generate overflow and underflow using huge*huge
5521         and tiny*tiny rather than just returning constant infinity or zero
5522         for large exponents.
5523         * math/libm-test.inc (pow_test): Require overflow exceptions for
5524         applicable cases of large exponents.
5526         [BZ #706]
5527         * sysdeps/i386/fpu/e_pow.S (p10): New object.
5528         (__ieee754_pow): Use iterative multiplication algorithm only for
5529         integer exponents with absolute value below 1024.  Check for odd
5530         integer exponents when using algorithm for real exponents.
5531         * math/libm-test.inc (pow_test): Add more tests.
5532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5534 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
5536         [BZ #13705]
5537         * math/libm-test.inc (exp_test): Do not allow overflow exception
5538         on underflow test.
5540 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
5542         [BZ #13705]
5543         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5544         instead of __kernel_standard_f.
5546 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
5548         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5549         * sysdeps/x86_64/memset_chk.S: Likewise.
5551 2012-04-08  Andreas Jaeger  <aj@suse.de>
5553         [BZ #10153]
5554         * manual/startup.texi (Environment Access): Describe return value
5555         for putenv and setenv.
5557         [BZ #6895]
5558         * manual/filesys.texi (Directory Entries): Add description for
5559         DT_LNK.
5561         [BZ #6890]
5562         * manual/filesys.texi (Directory Entries): Clarify that it's file
5563         system not operating system in the description of DT_UNKNOWN.
5565         [BZ #6578]
5566         * manual/syslog.texi (closelog): Fix reference, it's openlog.
5568 2012-04-08  Stephen Compall  <s11@member.fsf.org>
5570         [BZ #6649]
5571         * manual/llio.texi (Opening and Closing Files): Add cross
5572         reference to explain mode argument.
5574 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
5576         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5577         * sysdeps/x86_64/memset_chk.S: Likewise.
5579 2012-04-07  David S. Miller  <davem@davemloft.net>
5581         * elf/elf.h (R_SPARC_WDISP10): Define.
5582         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5583         R_SPARC_SIZE32.
5584         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5585         R_SPARC_SIZE64 and R_SPARC_H34.
5587 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
5589         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5590         conditions and remove no longer applicable assertion.
5592 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
5594         * bits/byteswap.h: Include <features.h>.
5595         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5596         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5598 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
5600         * bits/byteswap.h (__bswap_16): Removed.
5601         Include <bits/byteswap-16.h> to get __bswap_16.
5602         * sysdeps/i386/bits/byteswap.h: Likewise.
5603         * sysdeps/s390/bits/byteswap.h: Likewise.
5604         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5605         * bits/byteswap-16.h: New file.
5606         * sysdeps/i386/bits/byteswap-16.h: Likewise.
5607         * sysdeps/s390/bits/byteswap-16.h: Likewise.
5608         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5609         * string/Makefile (headers): Add bits/byteswap-16.h.
5611 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5613         [BZ #13895]
5614         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5615         extra indirection.
5616         * nss/Makefile (tests-static, tests): Add tst-nss-static.
5617         * nss/tst-nss-static.c: New.
5619 2012-04-06  Robert Millan  <rmh@gnu.org>
5621         [BZ #6486]
5622         * manual/llio.texi (File Position Primitive): lseek
5623         refers to WHENCE when it really means OFFSET.
5625 2012-04-06  Andreas Jaeger  <aj@suse.de>
5627         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5628         strncmp declarations.
5630         * abilist/libc.abilist: Add __poll and __ppoll.
5632 2012-04-05  David S. Miller  <davem@davemloft.net>
5634         * scripts/check-local-headers.sh: Accept a host triplet in the
5635         path matched by the exclude regexp.
5637         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5638         definition.
5639         * sysdeps/powerpc/powerpc32/dl-machine.h
5640         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5641         * sysdeps/s390/s390-32/dl-machine.h
5642         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5643         * sysdeps/sparc/sparc32/dl-machine.h
5644         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5645         * sysdeps/sparc/sparc64/dl-machine.h
5646         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5648         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5649         lazy binding.
5650         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5651         undefined symbol errors.
5653         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5654         DT_NEEDED entries.
5656 2012-04-05  Michael Matz  <matz@suse.de>
5658         [BZ #13592]
5659         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5661 2012-04-05  Andreas Jaeger  <aj@suse.de>
5663         [BZ #13908]
5664         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5665         comment.
5667 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5669         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5670         which ROUND is no valid rounding mode.
5672 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5674         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5675         read again.
5676         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5678 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5680         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5681         an exception using FPU order intentionally.
5683 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5685         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5686         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5687         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5688         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5690 2012-04-05  Simon Josefsson  <simon@josefsson.org>
5692         [BZ #12340]
5693         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5694         EINVAL when BUFLEN is too smal.
5696 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
5698         [BZ #13553]
5699         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5700         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5702 2012-04-03  Andreas Jaeger  <aj@suse.de>
5704         [BZ #13938]
5705         * manual/setjmp.texi (System V contexts): Fix sentence.
5707         [BZ #13926]
5708         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5709         New macro for this case.
5710         [!__GNUC__] (__bswap_64): New inline function for this case.
5711         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5712         * bits/byteswap.h: Likewise.
5713         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5714         ull, guard with __GLIBC_HAVE_LONG_LONG.
5716         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5717         __GLIBC_HAVE_LONG_LONG.
5719         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5720         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5722 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5724         [BZ #13691]
5725         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5726         inptr and inend, rather than using last_ch.
5728 2012-04-02  David S. Miller  <davem@davemloft.net>
5730         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5731         * stdio-common/printf-parse.h (read_int): Change return type to
5732         'int', return -1 on INT_MAX overflow.
5733         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5734         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
5735         overflows INT_MAX.  Check for overflow of in-format-string precision
5736         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
5737         SIZE_MAX not INT_MAX for integer overflow test.
5738         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5739         skip the construct in the format string but do not record anything.
5740         * stdio-common/bug22.c: Adjust to test both width/prevision
5741         INT_MAX overflow as well as total length INT_MAX overflow.  Check
5742         explicitly for proper errno values.
5744 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
5746         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5747         CHAR_MAX.
5748         * string/test-strcmp.c [! WIDE]: Likewise.
5749         * time/tst-mktime2.c: Likewise for INT_MAX.
5750         * string/test-string.h: #include <sys/param.h> for MIN.
5752         * csu/init-first.c (__libc_init_first): Call __ctype_init.
5753         * sysdeps/i386/init-first.c (init): Likewise.
5754         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5755         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5756         * sysdeps/sh/init-first.c (init): Likewise.
5758 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
5760         * po/ru.po: Update from translation team.
5761         * po/vi.po: Likewise.
5763 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5765         * resolv/nss_dns/dns-host.c: Merge copyright years.
5767 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5769         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5770         Optimize memcpy with prefetch if
5771         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
5772         src, dst pointers have unequal 16 byte alignments.
5774 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5776         [BZ #13928]
5777         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5778         from a CNAME entry and return the minimum ttl for the query.
5779         (gaih_getanswer_slice): Likewise.
5781 2012-03-30  Jeff Law  <law@redhat.com>
5783         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5784         due to long keys.
5785         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5786         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5788         * resolv/nss_dns/dns-host.c: Update copyright year.
5790 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
5792         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5793         requests to save a system call.  Fix check that all bytes are sent.
5795         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5796         comments for sendmmsg.
5798 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5800         [BZ #13691]
5801         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5802         with only 1 character between 0x0041 and 0x01b0.
5803         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5804         * wcsmbs/tst-mbsnrtowcs.c: New file.
5806 2012-03-29  David S. Miller  <davem@davemloft.net>
5808         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5809         small copies by hand.
5811 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5813         [BZ #13761]
5814         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5815         _nss_compat_initgroups_dyn): Fall back to malloc/free
5816         for large group memberships.
5818 2012-03-28  David S. Miller  <davem@davemloft.net>
5820         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5821         that branches into memcpy.
5822         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5823         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5824         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5825         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5826         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5827         bits.
5828         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5829         implementation too.
5830         * sysdeps/sparc/mempcpy.S: New file.
5832         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5833         the IFUNC routine in the libc case.
5834         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5836         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5837         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5838         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5839         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5840         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5841         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5842         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5843         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5845         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5846         loop to 256 bytes instead of 64 bytes and fix test signedness.
5848         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5849         * sysdeps/sparc/sparc32/Makefile: rather than here...
5850         * sysdeps/sparc/sparc64/Makefile: and here.
5852 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
5854         * malloc/mallocbug.c: Avoid warnings about unused variables.
5856 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5858         [BZ #13760]
5859         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5860         in the right place. Discard and retry query if response is
5861         larger than input buffer size.
5863 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
5865         [BZ #369]
5866         [BZ #2678]
5867         [BZ #3866]
5868         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5869         x for large integer exponent.
5870         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5871         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
5872         sign of result as needed afterwards.
5873         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5874         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5875         result for underflowing pow the same as for overflow.
5876         (__kernel_standard_l): Handle powl overflow and underflow here
5877         rather than calling __kernel_standard.
5878         * math/libm-test.inc (pow_test): Add more tests.
5880         [BZ #3868]
5881         [BZ #13879]
5882         [BZ #13910]
5883         [BZ #13911]
5884         [BZ #13912]
5885         [BZ #13913]
5886         [BZ #13915]
5887         [BZ #13916]
5888         [BZ #13917]
5889         [BZ #13918]
5890         [BZ #13919]
5891         [BZ #13920]
5892         [BZ #13921]
5893         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5894         * sysdeps/ieee754/k_standard.c: Include <float.h>.
5895         (__kernel_standard_l): New function.
5896         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5897         __kernel_standard.
5898         * math/w_acosl.c (__acosl): Likewise.
5899         * math/w_asinl.c (__asinl): Likewise.
5900         * math/w_atan2l.c (__atan2l): Likewise.
5901         * math/w_atanhl.c (__atanhl): Likewise.
5902         * math/w_coshl.c (__coshl): Likewise.
5903         * math/w_exp10l.c (__exp10l): Likewise.
5904         * math/w_exp2l.c (__exp2l): Likewise.
5905         * math/w_fmodl.c (__fmodl): Likewise.
5906         * math/w_hypotl.c (__hypotl): Likewise.
5907         * math/w_j0l.c (__j0l, __y0l): Likewise.
5908         * math/w_j1l.c (__j1l, __y1l): Likewise.
5909         * math/w_jnl.c (__jnl, __ynl): Likewise.
5910         * math/w_lgammal.c (__lgammal): Likewise.
5911         * math/w_log10l.c (__log10l): Likewise.
5912         * math/w_log2l.c (__log2l): Likewise.
5913         * math/w_logl.c (__logl): Likewise.
5914         * math/w_powl.c (__powl): Likewise.
5915         * math/w_remainderl.c (__remainderl): Likewise.
5916         * math/w_scalbl.c (sysv_scalbl): Likewise.
5917         * math/w_sinhl.c (__sinhl): Likewise.
5918         * math/w_sqrtl.c (__sqrtl): Likewise.
5919         * math/w_tgammal.c (__tgammal): Likewise.
5920         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5921         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5922         * math/libm-test.inc (acos_test): Add more tests.
5923         (acosh_test): Likewise.
5924         (asin_test): Likewise.
5925         (atanh_test): Likewise.
5926         (exp_test): Likewise.
5927         (exp10_test): Likewise.
5928         (exp2_test): Likewise.
5929         (expm1_test): Likewise.
5930         (lgamma_test): Likewise.
5931         (log_test): Likewise.
5932         (log10_test): Likewise.
5933         (log1p_test): Likewise.
5934         (log2_test): Likewise.
5935         (pow_test): Do not allow some spurious overflow exceptions.
5936         (sqrt_test): Add more tests.
5937         (tgamma_test): Likewise.
5938         (y0_test): Likewise.
5939         (y1_test): Likewise.
5940         (yn_test): Likewise.
5942 2012-03-27  Anton Blanchard  <anton@samba.org>
5944         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5945         MAP_HUGETLB.
5946         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5947         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5948         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5950 2012-03-27  David S. Miller  <davem@davemloft.net>
5952         * conform/Makefile: Run run-conformtest.sh using $(BASH).
5954         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5955         have-as-vis3 check.
5957 2012-03-27  Andreas Jaeger  <aj@suse.de>
5959         * sysdeps/x86_64/elf/configure.in: Moved to ...
5960         * sysdeps/x86_64/configure.in: ... here.
5961         * sysdeps/x86_64/elf/start.S: Moved to ...
5962         * sysdeps/x86_64/start.S: ... here.
5963         * sysdeps/x86_64/elf/configure: Delete.
5965         * sysdeps/x86_64/configure.in: Merge contents from
5966         sysdeps/i386/configure.in (without i686 check).
5968         * sysdeps/i386/elf/Versions: Merge into ...
5969         * sysdeps/i386/Versions: ... this.
5970         * sysdeps/i386/elf/Versions: Delete file.
5971         * sysdeps/i386/elf/start.S: Moved to ...
5972         * sysdeps/i386/start.S: ...here.
5973         * sysdeps/i386/elf/configure.in: Merge into...
5974         * sysdeps/i386/configure.in: ...here.
5975         * sysdeps/i386/elf/configure.in: Delete file.
5976         * sysdeps/i386/elf/configure: Delete file.
5978         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5979         * debug/backtracesyms.c: ... here.
5980         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5981         * debug/backtracesymsfd.c: ... here.
5982         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5983         * sysdeps/generic/ifunc-sel.h: ... here.
5985         * sysdeps/unix/i386/start.c: Delete file.
5986         * sysdeps/unix/sparc/start.c: Delete file.
5987         * sysdeps/unix/start.c: Delete file.
5989         * sysdeps/sh/elf/configure.in: Moved to ...
5990         * sysdeps/sh/configure.in: ... here.
5991         * sysdeps/sh/elf/start.S: Moved to ...
5992         * sysdeps/sh/start.S: ... here.
5993         * sysdeps/sh/elf/configure: Delete file.
5995         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5996         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5997         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5998         * sysdeps/powerpc/powerpc64/entry.h: ... here.
5999         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6000         * sysdeps/powerpc/powerpc64/start.S: here.
6001         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6002         * sysdeps/powerpc/powerpc64/Makefile: ... this.
6003         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6004         * sysdeps/powerpc/powerpc64/configure.in: ... this.
6005         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6007         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6008         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6009         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6010         * sysdeps/powerpc/powerpc32/start.S: ... here.
6011         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6012         * sysdeps/powerpc/powerpc32/configure.in: ... this.
6013         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6015         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6016         * sysdeps/powerpc/ifunc-sel.h: ... here.
6017         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6018         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6020         * sysdeps/sparc/elf/configure.in: Moved to ...
6021         * sysdeps/sparc/configure.in: ... here.
6022         * sysdeps/sparc/elf/configure: Delete file.
6023         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6024         * sysdeps/sparc/sparc32/start.S: ... here.
6025         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6026         * sysdeps/sparc/sparc64/start.S: ... here.
6027         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6028         * sysdeps/sparc/sparc32/Makefile: ... this.
6029         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6030         * sysdeps/sparc/sparc64/Makefile: ... this.
6032         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6033         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6034         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6035         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6036         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6037         * sysdeps/s390/s390-32/setjmp.S: ... here.
6038         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6039         * sysdeps/s390/s390-32/configure.in: ... here.
6040         * sysdeps/s390/s390-32/elf/configure: Delete file.
6041         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6042         * sysdeps/s390/s390-32/start.S: ... here.
6044         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6045         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6046         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6047         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6048         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6049         * sysdeps/s390/s390-64/setjmp.S: ... here.
6050         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6051         * sysdeps/s390/s390-64/configure.in: ... here
6052         * sysdeps/s390/s390-64/elf/configure: Delete file.
6053         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6054         * sysdeps/s390/s390-64/start.S: ... here.
6055         * sysdeps/s390/s390-64/elf/configure: Delete.
6057         * configure.in: Remove support for elf directories in sysdeps.
6059         * configure: Regenerated.
6060         * sysdeps/i386/configure: Regenerated.
6061         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6062         * sysdeps/powerpc/powerpc64/configure: Regenerated.
6063         * sysdeps/s390/s390-32/configure: Regenerated.
6064         * sysdeps/s390/s390-64/configure: Regenerated.
6065         * sysdeps/sh/configure: Regenerated.
6066         * sysdeps/sparc/configure: Regenerated.
6067         * sysdeps/x86_64/configure: Regenerated.
6069 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
6071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6073         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6074         denormal result into account.
6076 2012-03-25  Roland McGrath  <roland@hack.frob.com>
6078         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6079         Reported by Allan McRae <allan@archlinux.org>.
6081 2012-03-23  Jeff Law  <law@redhat.com>
6083         * nss/getnssent.c (__nss_getent): Fix typo.
6085 2012-03-23  David S. Miller  <davem@davemloft.net>
6087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6089 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
6091         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6092         to pad to uint64_t for each field.
6093         (dl_tls_index): Replace unsigned long with uint64_t.
6095 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
6096         Paul Pluzhnikov  <ppluzhnikov@google.com>
6098         [BZ #6528]
6099         * grp/Makefile (otherlibs): Don't set it.
6100         * inet/Makefile (otherlibs): Likewise.
6101         * login/Makefile (otherlibs): Likewise.
6102         * nscd/Makefile (otherlibs): Likewise.
6103         * posix/Makefile (otherlibs): Likewise.
6104         * pwd/Makefile (otherlibs): Likewise.
6105         * rt/Makefile (otherlibs): Likewise.
6106         * sunrpc/Makefile (otherlibs): Likewise.
6107         * nss/Makefile (otherlibs): Likewise.
6108         Add libnss_files to routines and static-only-routines.
6109         ($(objpfx)getent): Remove rule.
6110         * resolv/Makefile: Add libnss_dns and libresolv to routines and
6111         static-only-routines.
6113 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
6115         [BZ #13892]
6116         * math/s_cexp.c: Include <float.h>.
6117         (__cexp): Handle exp result overflowing not necessarily
6118         overflowing both real and imaginary parts of result.
6119         * math/s_cexpf.c: Likewise.
6120         * math/s_cexpl.c: Likewise.
6121         * math/libm-test.inc (cexp_test): Add more tests.
6122         * sysdeps/i386/fpu/libm-test-ulps: Update.
6123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6125 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6127         * include/link.h (ELFW): New macro.
6128         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6129         Replace ELF64_R_TYPE with ELFW(R_TYPE).
6131 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6133         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6134         with uint64_t.
6136 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6138         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6139         declaration.
6140         (struct La_x32_retval): Likewise.
6142 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6144         * sysdeps/x86_64/preconfigure.in: New file.
6145         * sysdeps/x86_64/preconfigure: New generated file.
6147 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
6149         [BZ #13824]
6150         * math/e_exp2l.c: Include <float.h>.
6151         (__ieee754_exp2l): Handle overflow and underflow cases
6152         separately.  Only pass fractional part of argument to
6153         __ieee754_expl.
6154         * math/libm-test.inc (exp2_test): Add more tests.
6156         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6157         negating x to take absolute value.
6158         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6159         Likewise.
6160         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6161         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6162         Likewise.
6163         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6164         computing low part if x was negated.
6165         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6167 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6169         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6170         la_x32_gnu_pltexit.
6171         (pltexit): Cast int_retval to ptrdiff_t.
6172         * elf/tst-auditmod3b.c: Likewise.
6173         * elf/tst-auditmod4b.c: Likewise.
6174         * elf/tst-auditmod5b.c: Likewise.
6175         * elf/tst-auditmod6b.c: Likewise.
6176         * elf/tst-auditmod6c.c: Likewise.
6177         * elf/tst-auditmod7b.c: Likewise.
6179         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6180         and x32_gnu_pltexit.
6182         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6183         __ELF_NATIVE_CLASS.
6184         (La_x32_regs): New macro.
6185         (La_x32_retval): Likewise.
6186         (la_x32_gnu_pltenter): New function prototype.
6187         (la_x32_gnu_pltexit): Likewise.
6189 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
6191         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6192         exponent.
6194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6196         * configure.in (libc_cv_cc_nofma): Check for option to disable
6197         generation of FMA instructions.
6198         * configure: Regenerate.
6199         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6200         * sysdeps/ieee754/dbl-64/Makefile: New file.
6201         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6202         Remove brandred-fma4.
6203         (CFLAGS-brandred-fma4.c): Remove.
6204         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6205         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6206         define.
6207         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6208         define.
6210 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6212         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6213         LLONG_MAX != LONG_MAX.
6214         (_itoa_word): Use _ITOA_WORD_TYPE on value.
6215         (_fitoa_word): Likewise.
6216         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6217         LLONG_MAX != LONG_MAX.
6218         * stdio-common/_itowa.h: Include <_itoa.h>.
6219         (_itowa_word): Use _ITOA_WORD_TYPE on value.
6220         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
6221         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
6222         only if not defined.
6223         (_ITOA_WORD_TYPE): Likewise.
6224         (_itoa_word): Use _ITOA_WORD_TYPE on value.
6225         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6227 2012-03-21  David S. Miller  <davem@davemloft.net>
6229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6231 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6233         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6234         of x86_64 when setting libc_cv_slibdir, libdir and
6235         libc_cv_localedir.
6236         * sysdeps/unix/sysv/linux/configure: Regenerated.
6238 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
6240         * manual/lang.texi (Old Varargs): Remove section.
6241         (How Variadic): Update menu.
6242         (va_start): Do not mention varargs.h.
6244 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6245             Joseph Myers  <joseph@codesourcery.com>
6247         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6248         link test.
6249         * configure: Regenerated.
6251 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6253         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6254         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6255         conformtest.pl
6257 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
6259         * NOTES: Remove.
6260         * Makefile (files-for-dist): Remove NOTES.
6261         (NOTES): Remove rule.
6262         * README: Don't refer to NOTES.
6263         * manual/creature.texi: Don't include macros.texi.
6264         * manual/intro.texi (creature.texi): Remove comment referring to
6265         NOTES.
6267         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6268         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6269         * configure: Regenerated.
6270         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6271         LIBC_TRY_CC_OPTION.
6272         (libc_cv_as_i686): Likewise.
6273         (libc_cv_cc_avx): Likewise.
6274         (libc_cv_cc_sse2avx): Likewise.
6275         (libc_cv_cc_fma4): Likewise.
6276         (libc_cv_cc_novzeroupper): Likewise.
6277         * sysdeps/i386/configure: Regenerated.
6279         [BZ #13883]
6280         * sysdeps/i386/fpu/s_cexp.S: Remove.
6281         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6282         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6283         * math/libm-test.inc (cexp_test): Add more tests.
6284         * sysdeps/i386/fpu/libm-test-ulps: Update.
6285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6287 2012-03-21  Allan McRae  <allan@archlinux.org>
6289         * timezone/Makefile: Do not install iso3166.tab and zone.tab
6291 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
6293         [BZ #13871]
6294         * math/w_exp2.c: Do not include <float.h>.
6295         (o_threshold, u_threshold): Remove.
6296         (__exp2): Calculate result before checking finiteness and calling
6297         __kernel_standard.
6298         * math/w_exp2f.c: Likewise.
6299         * math/w_exp2l.c: Likewise.
6300         * math/libm-test.inc (exp2_test): Require overflow exception for
6301         1e6 input.
6303         [BZ #3866]
6304         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6305         range of signed 64-bit integers before using fistpll.  Remove
6306         checks for whether integers fit in mantissa bits.
6307         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6308         the range of signed 32-bit integers before using fistpl.  Remove
6309         checks for whether integers fit in mantissa bits.
6310         * sysdeps/i386/fpu/e_powl.S (p64): New object.
6311         (__ieee754_powl): Test for y outside the range of signed 64-bit
6312         integers before using fistpll.  Reduce 64-bit values to 63-bit
6313         ones as needed.
6314         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6315         divide-by-zero is raised for zero to large negative powers.
6316         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6317         (__ieee754_powl): Test for y outside the range of signed 64-bit
6318         integers before using fistpll.  Reduce 64-bit values to 63-bit
6319         ones as needed.
6320         * math/libm-test.inc (pow_test): Add more tests.
6322 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6324         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6325         <stdio-common/_itoa.h>.
6326         * debug/segfault.c: Likewise.
6327         * elf/dl-cache.c: Likewise.
6328         * elf/dl-minimal.c: Likewise.
6329         * elf/dl-misc.c: Likewise.
6330         * elf/dl-sysdep.c: Likewise.
6331         * elf/dl-version.c: Likewise.
6332         * elf/rtld.c: Likewise.
6333         * hurd/hurdsock.c: Likewise.
6334         * hurd/lookup-retry.c: Likewise.
6335         * malloc/malloc.c: Likewise.
6336         * malloc/mtrace.c: Likewise.
6337         * nscd/nscd_getgr_r.c: Likewise.
6338         * nscd/nscd_getpw_r.c: Likewise.
6339         * nscd/nscd_getserv_r.c: Likewise.
6340         * posix/getopt_init.c: Likewise.
6341         * posix/wordexp.c: Likewise.
6342         * stdio-common/_itoa.c: Likewise.
6343         * stdio-common/printf_fphex.c: Likewise.
6344         * stdio-common/vfprintf.c: Likewise.
6345         * string/_strerror.c: Likewise.
6346         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6347         * sysdeps/i386/i686/hp-timing.h: Likewise.
6348         * sysdeps/mach/_strerror.c: Likewise.
6349         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6350         * sysdeps/mach/hurd/sethostid.c: Likewise.
6351         * sysdeps/mach/hurd/xmknodat.c: Likewise.
6352         * sysdeps/mach/xpg-strerror.c: Likewise.
6353         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6354         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6355         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6356         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6357         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6358         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6359         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6360         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6361         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6362         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6363         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6364         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6365         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6366         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6367         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6368         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6369         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6370         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6371         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6372         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6373         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6375         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6377         * stdio-common/_itoa.h: Moved to ...
6378         * sysdeps/generic/_itoa.h: Here.
6380         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6382         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6383         instead of "_itoa.h" and "_itowa.h".
6384         * stdio-common/vfprintf.: Likewise.
6386 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6388         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6389         <bits/wordsize.h>.
6390         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6391         (__signbit): Likwise.
6392         (llrintf): Likwise.
6393         (llrint): Likwise.
6395 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6397         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6398         __WORDSIZE != 64.
6400 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
6402         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6403         OVERFLOW_EXCEPTION_OK.
6404         * math/libm-test.inc ("Philosophy"): Update comment about
6405         exception testing.
6406         (OVERFLOW_EXCEPTION): Define.
6407         (OVERFLOW_EXCEPTION_OK): Likewise.
6408         (INVALID_EXCEPTION_OK): Renumber.
6409         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6410         (IGNORE_ZERO_INF_SIGN): Likewise.
6411         (test_exceptions): Handle FE_OVERFLOW.
6412         (exp10_test): Expect overflow exceptions.
6413         (exp2_test): Likewise.
6414         (expm1_test): Likewise.
6415         (nextafter_test): Likewise.
6416         (pow_test): Likewise.
6417         (scalbn_test): Likewise.
6418         (scalbln_test): Likewise.
6420 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6422         * sysdeps/x86_64/bits/atomic.h
6423         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6424         64bit integer.
6425         (atomic_exchange_acq): Likewise.
6426         (__arch_exchange_and_add_body): Likewise.
6427         (__arch_add_body): Likewise.
6428         (atomic_add_negative): Likewise.
6429         (atomic_add_zero): Likewise.
6431 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6433         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6434         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6436 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6438         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6439         Check __x86_64__ instead of __WORDSIZE.
6441 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6443         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6445 2012-03-19  David S. Miller  <davem@davemloft.net>
6447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6449         * sysdeps/sparc/fpu/fenv_private.h: New file.
6450         * sysdeps/sparc/fpu/math_private.h: Use it.
6451         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6452         Remove.
6453         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6454         (libc_feholdexcept_setroundl): Remove.
6455         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6456         Remove.
6457         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6458         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6460 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6462         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6463         int64_t instead of long int.
6464         (INSERT_WORDS64): Likwise.
6466 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6468         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6469         _Unwind_GetCFA return to _Unwind_Ptr first.
6471 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
6473         [BZ #13629]
6474         * math/s_clog.c: Include <float.h>.
6475         (__clog): Scale large or subnormal inputs.
6476         * math/s_clogf.c: Likewise.
6477         * math/s_clogl.c: Likewise.
6478         * math/s_clog10.c: Include <float.h>.
6479         (M_LOG10_2): Define.
6480         (__clog10): Scale large or subnormal inputs.
6481         * math/s_clog10f.c: Likewise.
6482         * math/s_clog10l.c: Likewise.
6483         * math/libm-test.inc (clog_test): Add more tests.
6484         (clog10_test): Likewise.
6485         * sysdeps/i386/fpu/libm-test-ulps: Update.
6486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6488         [BZ #11451]
6489         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6490         x and y.
6491         * math/libm-test.inc (atan2_test): Add another test.
6493         * Makerules (common-objdir-compile): Remove.
6494         * sysdeps/unix/Makefile (config-generated): Do not add
6495         $(unix-generated) to variable.
6496         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6497         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6498         Remove rule.
6499         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6500         Likewise.
6501         [generic bits/local_lim.h] (before-compile): Do not append to
6502         variable.
6503         [generic bits/local_lim.h] (common-generated): Likewise.
6504         [generic sys/param.h] (before-compile): Do not append to variable.
6505         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6506         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6507         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6508         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6509         include.
6510         [generic sys/param.h] (sys/param.h-includes): Remove variable.
6511         [generic sys/param.h] (sys/param.h-includes): Remove rule.
6512         [generic sys/param.h] ($(addprefix
6513         $(common-objpfx),$(sys/param.h-includes))): Likewise.
6514         [generic sys/param.h] (common-generated): Do not append to
6515         variable.
6516         [generic sys/param.h] (sysdep_headers): Likewise.
6517         [generic bits/errno.h] (before-compile): Do not append to
6518         variable.
6519         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6520         rule.
6521         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6522         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6523         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6524         [generic bits/errno.h] (common-generated): Do not append to
6525         variable.
6526         [generic bits/ioctls.h] (before-compile): Do not append to
6527         variable.
6528         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6529         rule.
6530         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6531         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6532         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6533         rule.
6534         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6535         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6536         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6537         [generic bits/ioctls.h] (common-generated): Do not append to
6538         variable.
6539         [generic sys/syscall.h] (syscall.h): Remove variable.
6540         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6541         rule.
6542         [generic sys/syscall.h] (before-compile): Do not append to
6543         variable.
6544         [generic sys/syscall.h] (common-generated): Likewise.
6545         * sysdeps/unix/errnos-tmpl.c: Remove file.
6546         * sysdeps/unix/errnos.awk: Likewise.
6547         * sysdeps/unix/ioctls-tmpl.c: Likewise.
6548         * sysdeps/unix/ioctls.awk: Likewise.
6549         * sysdeps/unix/mk-local_lim.c: Likewise.
6550         * sysdeps/unix/snarf-ioctls: Likewise.
6552 2012-03-19  Richard Henderson  <rth@twiddle.net>
6554         * sysdeps/i386/fpu/fenv_private.h: New file.
6555         * sysdeps/i386/fpu/math_private.h: Use it.
6556         (math_opt_barrier, math_force_eval): Remove.
6557         (libc_feholdexcept_setround_53bit): Remove.
6558         (libc_feupdateenv_53bit): Remove.
6559         * sysdeps/x86_64/fpu/math_private.h: Likewise.
6560         (math_opt_barrier, math_force_eval): Remove.
6561         (libc_feholdexcept): Remove.
6562         (libc_feholdexcept_setround): Remove.
6563         (libc_fetestexcept, libc_fesetenv): Remove.
6564         (libc_feupdateenv_test): Remove.
6565         (libc_feupdateenv, libc_feholdsetround): Remove.
6566         (libc_feresetround): Remove.
6568         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6569         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6571         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6572         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6573         (libc_feupdateenv_testl): New.
6574         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6575         (libc_feupdateenv_testf): New.
6576         (libc_feupdateenv): Use libc_feupdateenv_test.
6577         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6578         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6580         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6581         (libc_feholdsetroundf, libc_feholdsetroundl): New.
6582         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6583         (libc_feresetround_noex): New.
6584         (libc_feresetround_noexf): New.
6585         (libc_feresetround_noexl): New.
6586         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6587         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6588         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6589         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6590         SET_RESTORE_ROUND.
6591         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6592         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6593         (__cos): Likewise.
6594         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6595         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6596         SET_RESTORE_ROUND_NOEX.
6597         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6598         SET_RESTORE_ROUND_NOEXF.
6599         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6600         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6601         (libc_feholdsetroundf): New.
6602         (libc_feresetround, libc_feresetroundf): New.
6604         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6605         (libc_feholdexcept_setround_53bit): Convert from macro to function.
6606         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
6608         * sysdeps/generic/math_private.h: Include <fenv.h>.
6609         (default_libc_feholdexcept): New.
6610         (default_libc_feholdexcept_setround): New.
6611         (default_libc_fesetenv, default_libc_feupdateenv): New.
6612         (libc_feholdexcept): Only define if undefined.
6613         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6614         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6615         (libc_feholdexcept_setroundl): Likewise.
6616         (libc_feholdexcept_setround_53bit): Likewise.
6617         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6618         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6619         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6620         (libc_feupdateenv_53bit): Likewise.
6621         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6622         (libc_feholdexcept): Convert from macro to inline function.
6623         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6624         (libc_fesetenv, libc_feupdateenv): Likewise.
6626         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6627         not previously defined.
6628         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6629         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6630         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6631         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6632         * sysdeps/ieee754/flt-32/math_private.h: New file.
6633         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6634         math_private.h below SET_FLOAT_WORD.
6635         (__isnan, __isinf_ns, __finite): Remove.
6636         (__isnanf, __isinf_nsf, __finitef): Remove.
6638 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
6640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6642 2012-03-17  David S. Miller  <davem@davemloft.net>
6644         [BZ #6471]
6645         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6646         for 2.16.
6648 2012-03-16  David S. Miller  <davem@davemloft.net>
6650         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6651         warnings.
6653         [BZ #6471]
6654         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6655         properly.
6656         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6657         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6658         sysdep_routines when subdir is sysvipc.
6659         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6660         __getshmlba helper.
6662         * sysdeps/sparc/fpu/libm-test/ulps: Update.
6664 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6666         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6667         [__LP64__].
6669 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6671         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6672         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6673         (__lround): Renamed to ...
6674         (__llround): This.  Replace long int with long long int.
6675         Define lround functions as aliases of llround functions.
6676         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6678 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6680         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6681         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
6682         adresses to uintptr_t.  Replace "long int" and "unsigned long
6683         int" with "greg_t" on va_arg.
6685 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6687         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6688         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6690         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6691         Move e_machine check before EI_CLASS check.  Handle x32
6692         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6693         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6694         SKIP_EM_IA_64 and include
6695         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6697         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6698         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6699         (add_system_dir): New macro.
6701         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6702         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6704 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
6706         [BZ #2551]
6707         [BZ #2552]
6708         [BZ #2553]
6709         [BZ #2554]
6710         [BZ #2562]
6711         [BZ #2563]
6712         [BZ #2565]
6713         [BZ #2566]
6714         [BZ #2576]
6715         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6716         (y0): Likewise.
6717         * math/w_j0f.c (j0f): Likewise.
6718         (y0f): Likewise.
6719         * math/w_j0l.c (__j0l): Likewise.
6720         (__y0l): Likewise.
6721         * math/w_j1.c (j1): Likewise.
6722         (y1): Likewise.
6723         * math/w_j1f.c (j1f): Likewise.
6724         (y1f): Likewise.
6725         * math/w_j1l.c (__j1l): Likewise.
6726         (__y1l): Likewise.
6727         * math/w_jn.c (jn): Likewise.
6728         (yn): Likewise.
6729         * math/w_jnf.c (jnf): Likewise.
6730         (ynf): Likewise.
6731         * math/w_jnl.c (__jnl): Likewise.
6732         (__ynl): Likewise.
6733         * math/libm-test.inc (j0_test): Add more tests.
6734         (j1_test): Likewise.
6735         (jn_test): Likewise.  Add trailing semicolon to existing test.
6736         (y0_test): Likewise.
6737         (y1_test): Likewise.
6738         * sysdeps/i386/fpu/libm-test-ulps: Update.
6739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6741         [BZ #13851]
6742         [BZ #13854]
6743         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6744         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6745         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6746         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6747         (__tanl): Set errno for infinite argument.
6748         * sysdeps/i386/fpu/mptan.c: Remove.
6749         * sysdeps/i386/fpu/s_tan.S: Likewise.
6750         * sysdeps/i386/fpu/s_tanl.S: Likewise.
6751         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6752         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6753         * math/libm-test.inc (tan_test): Add more tests and enable more
6754         tests for double and long double.
6755         * sysdeps/i386/fpu/libm-test-ulps: Update.
6756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6758 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6760         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6761         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6763 2012-03-16  Roland McGrath  <roland@hack.frob.com>
6765         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6766         * configure.in: Use it for both main tree and add-ons.
6767         * configure: Regenerated.
6769 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6771         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6773 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
6775         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6776         in comment.
6778         [BZ #13851]
6779         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6780         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6781         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6782         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6783         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6784         infinite argument.
6785         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6786         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6787         != 0 for prec == 2.
6788         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6789         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6790         * sysdeps/i386/fpu/s_cosl.S: Likewise.
6791         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6792         * sysdeps/i386/fpu/s_sinl.S: Likewise.
6793         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6794         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6795         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6796         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6797         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6798         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6799         * math/libm-test.inc (cos_test): Add more tests and enable more
6800         tests for long double.
6801         (sin_test): Likewise.
6802         (sincos_test): Likewise.
6803         * sysdeps/i386/fpu/libm-test-ulps: Update.
6804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6806 2012-03-16  David S. Miller  <davem@davemloft.net>
6808         * sysdeps/sparc/fpu/math_private.h: New file.
6810 2012-03-15  David S. Miller  <davem@davemloft.net>
6812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6813         file.
6814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6816         file.
6817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6818         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6819         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6820         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6822         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6823         sysdep routines.
6824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6826         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6827         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6829         * sysdeps/sparc/sparc-ifunc.h: New file.
6830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6831         sparc-ifunc.h
6832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6834         Likewise.
6835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6836         Likewise.
6837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6841         Likewise.
6842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6847         Likewise.
6848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6849         Likewise.
6850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6854         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6855         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6856         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6857         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6860         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6861         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6862         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6863         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6864         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6865         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6866         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6867         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6868         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6869         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6870         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6871         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6872         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6873         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6875 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
6877         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6878         scaling.
6879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6881 2012-03-15  Andreas Jaeger  <aj@suse.de>
6883         [BZ #13852]
6884         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6885         ieee754/flt-32 implementation for sin, cos and sincos.
6886         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6887         * sysdeps/i386/fpu/s_cosf.S: Likewise.
6888         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6889         * sysdeps/i386/fpu/s_sinf.S: Likewise.
6890         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6891         ieee754/flt-32 implementation for tan.
6893         * math/libm-test.inc (cos_test): Enable some large input tests for
6894         float as well
6895         (sin_test): Likewise.
6896         (sincos_test): Likewise.
6897         (tan_test): Add tests for large input.
6899         * sysdeps/i386/fpu/libm-test-ulps: Update.
6901 2012-03-15  Andreas Jaeger  <aj@suse.de>
6903         [BZ #13658]
6904         * math/libm-test.inc (cos_test): Add more test cases.
6905         (sin_test): Likewise.
6906         (sincos_test): Likewise.
6908 2012-03-15  Andreas Jaeger  <aj@suse.de>
6910         [BZ #13837]
6911         * math/libm-test.inc (cos_test): Add a test case for large input
6912         value.
6913         (sin_test): Likewise.
6914         (sincos_test): Likewise.
6916 2012-03-15  Andreas Jaeger  <aj@suse.de>,
6917         Joseph Myers  <joseph@codesourcery.com>
6919         [BZ #13658]
6920         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6921         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6922         * sysdeps/i386/fpu/branred.c: Likewise.
6923         * sysdeps/i386/fpu/dosincos.c: Likewise.
6924         * sysdeps/i386/fpu/mpa.c: Likewise.
6925         * sysdeps/i386/fpu/s_cos.S: Likewise.
6926         * sysdeps/i386/fpu/s_sin.S: Likewise.
6927         * sysdeps/i386/fpu/s_sincos.S: Likewise.
6928         * sysdeps/i386/fpu/sincos32.c: Likewise.
6930         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6931         Define.
6932         (libc_feupdateenv_53bit): Define.
6933         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6934         Define.
6935         (libc_feupdateenv_53bit): Define.
6937         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6938         53 bit (without extend i386 double precision).
6940         * math/libm-test.inc (sincos_test): Add tests for large input.
6941         (sin): Likewise.
6942         (cos): Likewise.
6944         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6946 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
6948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6950 2012-03-15  David S. Miller  <davem@davemloft.net>
6952         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6953         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6954         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6955         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6960         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6961         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6962         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6963         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6964         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6965         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6968         file.
6969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6971         file.
6972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6974         file.
6975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6977         file.
6978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6979         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6980         fmin/fmax sysdep routines.
6981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6983 2012-03-14  David S. Miller  <davem@davemloft.net>
6985         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6987         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6988         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6989         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6990         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6991         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6992         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6996         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6997         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6998         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6999         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7000         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7001         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7002         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7003         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7004         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7005         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7006         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7007         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7008         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7009         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7010         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7011         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7012         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7013         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7014         routines.
7015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7016         file.
7017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7019         file.
7020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7022         file.
7023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7025         file.
7026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7028         file.
7029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7031         file.
7032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7033         file.
7034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7035         file.
7036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7037         file.
7038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7039         New file.
7040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7041         file.
7042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7043         file.
7044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7046         file.
7047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7049         file.
7050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7052         file.
7053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7055         VIS3 routines.
7057         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7058         New file.
7060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7062         * sysdeps/sparc/configure.in: New file.
7063         * sysdeps/sparc/configure: Generate.
7064         * configure.in (libc_cv_sparc_as_vis3): Substitute.
7065         * configure: Regenerate.
7066         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7067         * config.make.in (have-as-vis3): New.
7068         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7069         available use -Av9d instead of -Av9a.
7070         * sysdeps/sparc/sparc64/Makefile: Likewise.
7071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7073         New file.
7074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7075         file.
7076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7077         New file.
7078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7079         file.
7080         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7081         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7082         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7083         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7084         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7086         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7087         fzeros/fnegs to load 0x80000000 into a float register instead of
7088         using the stack.
7089         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7091 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
7093         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7094         bits/syscall.h.
7095         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7096         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7097         ($(inst_includedir)/bits/syscall.h): Remove rule.
7098         ($(objpfx)bits/syscall.d): Include instead of
7099         $(objpfx)syscall-list.d.
7100         (generated): Change syscall-list.h and syscall-list.d to
7101         bits/syscall.h and bits/syscall.d.
7103 2012-03-14  Roland McGrath  <roland@hack.frob.com>
7105         [BZ #13846]
7106         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7108 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
7110         [BZ #13841]
7111         * math/s_csqrt.c: Include <float.h>.
7112         (__csqrt): Scale large or subnormal inputs.
7113         * math/s_csqrtf.c: Likewise.
7114         * math/s_csqrtl.c: Likewise.
7115         * math/libm-test.inc (csqrt_test): Add more tests.
7116         * sysdeps/i386/fpu/libm-test-ulps: Update.
7117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7119         [BZ #13840]
7120         * math/libm-test.inc (hypot_test): Add more tests.
7122 2012-03-13  David S. Miller  <davem@davemloft.net>
7124         [BZ #13840]
7125         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7126         double-precision for the calculation instead of scaling.
7128 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
7130         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7131         manipulate bits before adding and subtracting TWO52[sx].
7132         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7133         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7134         Likewise.
7135         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7137 2012-03-13  David S. Miller  <davem@davemloft.net>
7139         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7140         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7141         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7142         rtld-global-offsets.h
7143         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7145         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7146         large parameters.
7148         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7150         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7151         'err' in the ifdef scope in which it is actually used.
7153         * nss/nss_db/db-init.c: Include string.h
7155 2012-03-12  David S. Miller  <davem@davemloft.net>
7157         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7158         masking out of the most significant byte of random value used.
7159         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7160         Fix coding style in previous change.
7162         * sysdeps/unix/sysv/linux/kernel-features.h
7163         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7164         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7165         expression.
7166         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7167         later.
7169 2012-03-11  David S. Miller  <davem@davemloft.net>
7171         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7172         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7173         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7174         for 'resultvar' otherwise things get truncated on 64-bit.
7176         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7177         Fix masking out of the most significant byte of random value used.
7179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7181 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
7183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7185 2012-03-09  David S. Miller  <davem@davemloft.net>
7187         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7188         variables with appropriate CPP guards.
7189         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7190         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
7191         on resulting framesize and the management of the outregs buffer for pltexit.
7192         Preserve floating point return values across _dl_call_pltexit call.
7193         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7194         framesize and the management of the outregs buffer for pltexit.
7195         Preserve floating point return values across _dl_call_pltexit
7196         call.
7197         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7198         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7199         (print_exit): Fix format string for return register value.
7201 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
7203         * sunrpc/Makefile (others): Add rpcgen.
7204         ($(objpfx)rpcgen): Remove special build rule and dependency on
7205         libc.
7206         * sunrpc/rpcgen.c: New file.
7208 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
7210         [BZ #13673]
7211         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7212         * stdio-common/bug-vfprintf-nargs.c: Likewise.
7213         * sysdeps/i386/crti.S: Likewise.
7214         * sysdeps/i386/crtn.S: Likewise.
7215         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7216         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7217         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7218         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7219         * sysdeps/sh/crti.S: Likewise.
7220         * sysdeps/sh/crtn.S: Likewise.
7221         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7223         [BZ #13673]
7224         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7225         with URL.
7226         * locale/programs/locfile-kw.gperf: Likewise.
7227         * locale/programs/charmap-kw.h: Regenerated.
7228         * locale/programs/locfile-kw.h: Likewise.
7230         [BZ #13673]
7231         * intl/plural.y: Replace FSF snail mail address with URL.
7232         * intl/plural.c: Regenerated.
7234 2012-03-09  Richard Henderson  <rth@twiddle.net>
7236         * include/math_private.h: Remove file.
7237         * math/math_private.h: Move file ...
7238         * sysdeps/generic/math_private.h: ... here.
7240         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7241         * sysdeps/powerpc/fpu/math_private.h: Likewise.
7242         * sysdeps/x86_64/fpu/math_private.h: Likewise.
7244         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7245         and <math_private.h>.
7246         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7247         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7248         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7249         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7250         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7251         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7252         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7253         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7254         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7255         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7256         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7257         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7258         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7259         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7260         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7261         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7262         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7263         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7264         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7265         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7266         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7267         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7268         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7269         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7270         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7271         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7272         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7273         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7274         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7275         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7276         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7277         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7278         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7279         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7280         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7281         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7282         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7283         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7284         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7285         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7286         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7287         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7288         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7289         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7290         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7291         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7292         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7293         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7294         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7295         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7296         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7297         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7298         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7299         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7300         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7301         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7302         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7303         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7304         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7305         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7306         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7307         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7308         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7309         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7310         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7311         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7312         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7313         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7314         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7315         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7316         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7317         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7318         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7319         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7320         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7321         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7322         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7323         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7324         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7325         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7326         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7327         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7328         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7329         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7330         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7331         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7332         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7333         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7334         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7335         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7336         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7337         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7338         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7339         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7340         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7341         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7342         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7343         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7344         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7345         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7346         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7347         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7348         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7349         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7350         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7351         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7352         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7353         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7354         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7355         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7356         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7357         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7358         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7359         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7360         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7361         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7362         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7363         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7364         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7365         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7366         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7367         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7368         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7369         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7370         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7371         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7372         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7373         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7374         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7375         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7376         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7377         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7378         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7379         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7380         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7381         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7382         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7383         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7384         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7385         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7386         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7387         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7388         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7389         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7390         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7391         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7392         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7393         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7394         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7395         * sysdeps/ieee754/k_standard.c: Likewise.
7396         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7397         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7398         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7399         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7400         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7401         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7402         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7403         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7404         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7405         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7406         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7407         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7408         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7409         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7410         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7411         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7412         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7413         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7414         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7415         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7416         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7417         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7418         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7419         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7420         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7421         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7422         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7423         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7424         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7425         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7426         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7427         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7428         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7429         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7430         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7431         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7432         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7433         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7434         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7435         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7436         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7437         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7438         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7439         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7440         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7441         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7442         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7443         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7444         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7445         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7446         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7447         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7448         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7449         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7450         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7451         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7452         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7453         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7454         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7455         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7456         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7457         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7458         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7459         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7460         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7461         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7462         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7463         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7464         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7465         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7466         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7467         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7468         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7469         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7470         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7471         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7472         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7473         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7474         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7475         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7476         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7477         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7478         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7479         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7480         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7481         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7482         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7483         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7484         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7485         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7486         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7487         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7488         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7489         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7490         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7491         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7492         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7493         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7494         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7495         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7496         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7497         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7498         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7499         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7500         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7501         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7502         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7503         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7504         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7505         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7506         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7507         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7508         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7509         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7510         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7511         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7512         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7513         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7514         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7515         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7516         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7517         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7518         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7519         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7520         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7521         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7522         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7523         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7524         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7525         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7526         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7527         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7528         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7529         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7530         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7531         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7532         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7533         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7534         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7535         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7536         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7537         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7538         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7539         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7540         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7541         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7542         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7543         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7544         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7545         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7546         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7547         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7548         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7549         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7550         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7551         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7552         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7553         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7554         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7555         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7556         * sysdeps/ieee754/s_lib_version.c: Likewise.
7557         * sysdeps/ieee754/s_matherr.c: Likewise.
7558         * sysdeps/ieee754/s_signgam.c: Likewise.
7559         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7560         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7561         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7562         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7563         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7564         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7565         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7566         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7567         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7568         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7569         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7570         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7571         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7572         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7573         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7574         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7575         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7576         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7577         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7578         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7579         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7581 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
7583         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7584         * sunrpc/rpc_main.c: Likewise.
7585         * sunrpc/rpc_svcout.c: Likewise.
7587 2012-03-09  David S. Miller  <davem@davemloft.net>
7589         * include/math_private.h: New file.
7591 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
7593         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7594         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7595         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7596         from <bits/socket_type.h>.
7597         (enum __socket_type): Don't define here.
7598         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7599         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7600         bits/socket_type.h.
7602         [BZ #13566]
7603         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7604         checking __USE_GNU.
7606         * Makerules ($(inst_includedir)/%.h): New rule.
7607         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7608         (install-others): Remove variable setting.
7609         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7611 2012-03-08  Richard Henderson  <rth@twiddle.net>
7613         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7614         from macro to inline function; merge with the
7615         !__LIBC_INTERNAL_MATH_INLINES version.
7616         (__ieee754_sqrtf): Likewise.
7618         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7619         to inline function.
7620         (__rintf, __floor, __floorf): Likewise.
7622         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7623         macro to inline function.
7624         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7626         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7627         not <math/math_private.h>.
7629 2012-03-08  David S. Miller  <davem@davemloft.net>
7631         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7632         copyright year.
7633         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7635 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
7637         * resolv/gai_misc.c (handle_requests): Fix struct timespec
7638         normalization.
7639         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7640         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7642 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
7644         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
7645         be defined individually, they must be defined as a block.  Define
7646         S for printing a string instead of hidint the different by using a
7647         macro for adding the 'l'.
7648         * stdio-common/tst-fphex-wide.c: Adjust.
7650 2012-03-07  Marek Polacek  <polacek@redhat.com>
7652         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7654 2012-03-08  Marek Polacek  <polacek@redhat.com>
7656         [BZ #13806]
7657         * stdio-common/Makefile (tests): Add tst-fphex-wide.
7658         * stdio-common/tst-fphex.c: Define a few macros to make the
7659         test reusable.  Use them.
7660         * stdio-common/tst-fphex-wide.c: New file.
7662 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
7664         [BZ #6911]
7665         * manual/macros.texi (gnusystems): New macro.
7666         (nongnusystems): Likewise.
7667         (gnulinuxhurdsystems): Likewise.
7668         (gnuhurdsystems): Likewise..
7669         (gnulinuxsystems): Likewise.
7670         * manual/charset.texi: Use new macros or @theglibc{} to refer to
7671         variants of the GNU system, not "GNU system".
7672         * manual/conf.texi: Likewise.
7673         * manual/errno.texi: Likewise.  Update example of errno macro
7674         expansion.
7675         * manual/filesys.texi: Likewise.
7676         (getumask): Document as specific to GNU/Hurd.
7677         * manual/install.texi: Likewise.  Reword some references to
7678         GNU/Linux.
7679         * manual/intro.texi: Likewise.
7680         * manual/io.texi: Likewise.
7681         (File Name Portability): Detail which constraints are inapplicable
7682         to all GNU systems and which are only inapplicable to GNU/Hurd.
7683         * manual/job.texi: Likewise.
7684         * manual/llio.texi: Likewise.
7685         (O_NOCTTY): Document as present on GNU/Linux.
7686         * manual/maint.texi: Likewise.
7687         * manual/memory.texi: Likewise.
7688         * manual/pattern.texi: Likewise.
7689         * manual/pipe.texi: Likewise.
7690         * manual/process.texi: Likewise.
7691         * manual/resource.texi: Likewise.
7692         (RUSAGE_CHILDREN): Remove statement about specifying a particular
7693         child on GNU/Hurd.
7694         * manual/setjmp.texi: Likewise.
7695         * manual/signal.texi: Likewise.
7696         * manual/startup.texi: Likewise.
7697         * manual/stdio.texi: Likewise.
7698         * manual/terminal.texi: Likewise.
7699         (ONLCR): Document as POSIX.
7700         (OXTABS): Document availability on GNU/Linux as XTABS.
7701         (ONOEOT): Document availability separately from other bits.
7702         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7703         * manual/time.texi: Likewise.
7704         * manual/users.texi: Likewise.
7705         * INSTALL: Regenerated.
7706         * sysdeps/gnu/errlist.c: Regenerated.
7708         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7709         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7710         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
7711         puts.
7712         * configure: Regenerated.
7714 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
7716         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7717         default includes instead of AC_HEADER_CHECK.
7718         * sysdeps/i386/configure: Regenerated.
7720         [BZ #10716]
7721         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7722         * math/s_cacoshf.c (__cacoshf): Likewise.
7723         * math/s_cacoshl.c (__cacoshl): Likewise.
7724         * math/s_casinh.c (__casinh): Set signs of result from argument.
7725         * math/s_casinhf.c (__casinhf): Likewise.
7726         * math/s_casinhl.c (__casinhl): Likewise.
7727         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7728         (casinh_test): Add more tests.
7729         * sysdeps/i386/fpu/libm-test-ulps: Update.
7730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7732 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
7734         * po/zh_TW.po: Update from translation team.
7736         * login/Makefile (distribute): Remove variable.
7737         * catgets/Makefile: Likewise.
7738         * mach/Makefile: Likewise.
7739         * malloc/Makefile: Likewise.
7740         * misc/Makefile: Likewise.
7741         * iconv/Makefile: Likewise.
7742         * nscd/Makefile: Likewise.
7743         * hurd/Makefile: Likewise.
7744         * manual/Makefile: Likewise.
7745         * locale/Makefile: Likewise.
7746         * intl/Makefile: Likewise.
7747         * conform/Makefile: Likewise.
7748         * nss/Makefile: Likewise.
7749         * time/Makefile: Likewise.
7750         * soft-fp/Makefile: Likewise.
7751         * dirent/Makefile: Likewise.
7752         * gmon/Makefile: Likewise.
7753         * po/Makefile: Likewise.
7754         * rt/Makefile: Likewise.
7755         * socket/Makefile: Likewise.
7756         * math/Makefile: Likewise.
7757         * signal/Makefile: Likewise.
7758         * debug/Makefile: Likewise.
7759         * elf/Makefile: Likewise.
7760         * timezone/Makefile: Likewise.
7761         * stdlib/Makefile: Likewise.
7762         * iconvdata/Makefile: Likewise.
7763         * sunrpc/Makefile: Likewise.
7764         * io/Makefile: Likewise.
7765         * argp/Makefile: Likewise.
7766         * inet/Makefile: Likewise.
7767         * hesiod/Makefile: Likewise.
7768         * grp/Makefile: Likewise.
7769         * csu/Makefile: Likewise.
7770         * wctype/Makefile: Likewise.
7771         * crypt/Makefile: Likewise.
7772         * libio/Makefile: Likewise.
7773         * string/Makefile: Likewise.
7774         * nis/Makefile: Likewise.
7775         * resolv/Makefile: Likewise.
7776         * stdio-common/Makefile: Likewise.
7777         * wcsmbs/Makefile: Likewise.
7778         * dlfcn/Makefile: Likewise.
7779         * posix/Makefile: Likewise.
7781         [BZ #6959]
7782         * timezone/Makefile: Don't install timezone files, just the programs
7783         and scripts.
7785 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
7787         * nss/databases.def: Add missing gshadow entry.
7789         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
7791 2012-03-06  Marek Polacek  <polacek@redhat.com>
7793         [BZ #13726]
7794         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7795         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7796         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7797         * stdio-common/tst-long-dbl-fphex.c: New file.
7799 2012-03-06  David S. Miller  <davem@davemloft.net>
7801         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7802         (set_obp_int): New function.
7803         (get_obp_int): New function.
7804         (__get_clockfreq_via_dev_openprom): Likewise.
7805         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7806         Avoid unused variable warnings on 'val' and use builtin_expect.
7807         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7808         __builtin_expect.
7809         (INLINE_CLONE_SYSCALL): Likewise.
7811 2012-03-05  David S. Miller  <davem@davemloft.net>
7813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7815 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
7817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7819         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7820         only for |x| >= 40.
7821         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7823 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7825         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7826         Replace gettimeofday with __vdso_gettimeofday.
7828         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7829         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7830         __vdso_clock_gettime and __vdso_getcpu.
7832         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7833         time with __vdso_time.
7835 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
7837         * manual/lang.texi (size_t): Note types to which size_t may be
7838         equivalent with the GNU C Library, but do not describe when
7839         differences between them are significant.
7841 2012-03-05  Andreas Jaeger  <aj@suse.de>
7843         * sysdeps/i386/fpu/libm-test-ulps: Update.
7845 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
7847         [BZ #3976]
7848         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7849         (__ieee754_pow): Save and restore rounding mode and use
7850         round-to-nearest for main computations.
7851         * math/libm-test.inc (pow_test_tonearest): New function.
7852         (pow_test_towardzero): Likewise.
7853         (pow_test_downward): Likewise.
7854         (pow_test_upward): Likewise.
7855         (main): Call the new functions.
7856         * sysdeps/i386/fpu/libm-test-ulps: Update.
7857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7859         [BZ #3976]
7860         * math/libm-test.inc (cosh_test_tonearest): New function.
7861         (cosh_test_towardzero): Likewise.
7862         (cosh_test_downward): Likewise.
7863         (cosh_test_upward): Likewise.
7864         (sinh_test_tonearest): Likewise.
7865         (sinh_test_towardzero): Likewise.
7866         (sinh_test_downward): Likewise.
7867         (sinh_test_upward): Likewise.
7868         (main): Call the new functions.
7869         * sysdeps/i386/fpu/libm-test-ulps: Update.
7870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7872 2012-03-05  Tom de Vries  <tom@codesourcery.com>
7874         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7875         default stack guard is set in last bytes.
7876         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7878 2012-03-05  Kees Cook  <keescook@chromium.org>
7880         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7882         [BZ #13656]
7883         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7884         possibly allocate from heap instead of stack.
7885         * stdio-common/bug-vfprintf-nargs.c: New file.
7886         * stdio-common/Makefile (tests): Add nargs overflow test.
7888 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
7890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7892 2012-03-03  Marek Polacek  <polacek@redhat.com>
7894         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7895         * math/math_private.h: Likewise.
7896         * stdlib/tst-strtod.c: Likewise.
7897         * sysdeps/i386/i486/bits/atomic.h: Likewise.
7898         * sysdeps/x86_64/bits/atomic.h: Likewise.
7900 2012-03-02  David S. Miller  <davem@davemloft.net>
7902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7906         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7907         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7908         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7909         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7911 2012-03-02  Roland McGrath  <roland@hack.frob.com>
7913         [BZ #13792]
7914         * manual/examples/README: New file, says the example source files
7915         can be used under GPL>=2.
7916         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7917         line containing just "*/".
7918         * manual/examples/add.c: Add copyright header (GPL>=2).
7919         * manual/examples/argp-ex1.c: Likewise.
7920         * manual/examples/argp-ex2.c: Likewise.
7921         * manual/examples/argp-ex3.c: Likewise.
7922         * manual/examples/argp-ex4.c: Likewise.
7923         * manual/examples/atexit.c: Likewise.
7924         * manual/examples/db.c: Likewise.
7925         * manual/examples/dir.c: Likewise.
7926         * manual/examples/dir2.c: Likewise.
7927         * manual/examples/execinfo.c: Likewise.
7928         * manual/examples/filecli.c: Likewise.
7929         * manual/examples/filesrv.c: Likewise.
7930         * manual/examples/fmtmsgexpl.c: Likewise.
7931         * manual/examples/genpass.c: Likewise.
7932         * manual/examples/inetcli.c: Likewise.
7933         * manual/examples/inetsrv.c: Likewise.
7934         * manual/examples/isockad.c: Likewise.
7935         * manual/examples/longopt.c: Likewise.
7936         * manual/examples/memopen.c: Likewise.
7937         * manual/examples/memstrm.c: Likewise.
7938         * manual/examples/mkfsock.c: Likewise.
7939         * manual/examples/mkisock.c: Likewise.
7940         * manual/examples/mygetpass.c: Likewise.
7941         * manual/examples/pipe.c: Likewise.
7942         * manual/examples/popen.c: Likewise.
7943         * manual/examples/rprintf.c: Likewise.
7944         * manual/examples/search.c: Likewise.
7945         * manual/examples/select.c: Likewise.
7946         * manual/examples/setjmp.c: Likewise.
7947         * manual/examples/sigh1.c: Likewise.
7948         * manual/examples/sigusr.c: Likewise.
7949         * manual/examples/stpcpy.c: Likewise.
7950         * manual/examples/strdupa.c: Likewise.
7951         * manual/examples/strftim.c: Likewise.
7952         * manual/examples/strncat.c: Likewise.
7953         * manual/examples/subopt.c: Likewise.
7954         * manual/examples/swapcontext.c: Likewise.
7955         * manual/examples/termios.c: Likewise.
7956         * manual/examples/testopt.c: Likewise.
7957         * manual/examples/testpass.c: Likewise.
7958         * manual/examples/timeval_subtract.c: Likewise.
7960         [BZ #13792]
7961         * manual/time.texi (Elapsed Time): Move timeval_subtract example
7962         function to ...
7963         * manual/timeval_subtract.c.texi: ... here, new file.
7965 2012-03-02  David S. Miller  <davem@davemloft.net>
7967         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7969 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
7971         [BZ #3976]
7972         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7973         (__sin): Save and restore rounding mode and use round-to-nearest
7974         for all computations.
7975         (__cos): Save and restore rounding mode and use round-to-nearest
7976         for all computations.
7977         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7978         <fenv.h>.
7979         (tan): Save and restore rounding mode and use round-to-nearest for
7980         all computations.
7981         * math/libm-test.inc (cos_test_tonearest): New function.
7982         (cos_test_towardzero): Likewise.
7983         (cos_test_downward): Likewise.
7984         (cos_test_upward): Likewise.
7985         (sin_test_tonearest): Likewise.
7986         (sin_test_towardzero): Likewise.
7987         (sin_test_downward): Likewise.
7988         (sin_test_upward): Likewise.
7989         (tan_test_tonearest): Likewise.
7990         (tan_test_towardzero): Likewise.
7991         (tan_test_downward): Likewise.
7992         (tan_test_upward): Likewise.
7993         (main): Call the new functions.
7994         * sysdeps/i386/fpu/libm-test-ulps: Update.
7995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7997         [BZ #10135]
7998         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7999         small n, then large n, before computing and testing k+n.
8000         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8001         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8002         Likewise.
8003         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8004         Likewise.
8005         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8006         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8007         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8008         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8009         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8010         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8011         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8012         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8013         * math/libm-test.inc (scalbn_test): Add more tests.
8014         (scalbln_test): Likewise.
8016         * manual/filesys.texi (mode_t): Describe constraints on size and
8017         signedness, not exact equivalence to a particular type.
8018         (ino_t): Likewise.
8019         (ino64_t): Likewise.
8020         (dev_t): Likewise.
8021         (nlink_t): Likewise.
8022         (blkcnt_t): Likewise.
8023         (blkcnt64_t): Likewise.
8024         * manual/llio.texi (off_t): Likewise.
8026         [BZ #3976]
8027         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8028         (__ieee754_exp): Save and restore rounding mode and use
8029         round-to-nearest for all computations.
8030         * math/libm-test.inc (exp_test_tonearest): New function.
8031         (exp_test_towardzero): Likewise.
8032         (exp_test_downward): Likewise.
8033         (exp_test_upward): Likewise.
8034         (main): Call the new functions.
8035         * sysdeps/i386/fpu/libm-test-ulps: Update.
8036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8038 2012-03-01  Chris Demetriou  <cgd@google.com>
8040         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8041         have predictable order.
8043 2012-03-01  David S. Miller  <davem@davemloft.net>
8045         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8047         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8048         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8049         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8050         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8052         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8053         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8054         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8056         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8057         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8058         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8059         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8060         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8064         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8065         * sysdeps/sparc/fpu/libm-test-ulps: to here.
8066         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8068         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8069         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8070         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8071         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8072         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8073         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8074         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8075         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8076         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8077         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8078         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8079         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8080         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8081         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8082         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8083         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8084         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8085         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8086         * sysdeps/sparc/elf/configure: Regenerated.
8088 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
8090         * configure.in (AS, LD): Require binutils 2.20 or later.
8091         * configure: Regenerated.
8092         * manual/install.texi (Tools for Compilation): Give binutils 2.20
8093         as required minimum version.
8094         * INSTALL: Regenerated.
8096         [BZ #2541]
8097         [BZ #4108]
8098         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8099         before squaring exponent.
8100         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8101         bottom long double and 27 bits of top long double before squaring
8102         exponent.
8103         * math/libm-test.inc (erfc_test): Add more tests.
8104         * sysdeps/i386/fpu/libm-test-ulps: Update.
8105         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8108 2012-03-01  Kai Tietz  <ktietz@redhat.com>
8110         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8111         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8112         containing bit-fields.
8113         * soft-fp/extended.h (_FP_UNION_E): Likewise.
8114         * soft-fp/single.h (_FP_UNION_S): Likewise.
8115         * soft-fp/double.h (_FP_UNION_D): Likewise.
8117 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
8119         [BZ #13786]
8120         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8121         not include ../strcmp.S.
8122         [USE_AS_STRNCASECMP_L]: Likewise.
8123         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8124         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8125         * sysdeps/i386/i686/multiarch/strncase_l-c.c
8126         (__strncasecmp_l_ia32): Define as alias to
8127         __strncasecmp_l_nonascii.
8129         [BZ #5794]
8130         * math/libm-test.inc (expm1_test): Add test for bug 5794.
8131         * sysdeps/i386/fpu/libm-test-ulps: Update.
8132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8134         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8137 2012-02-29  Jeff Law  <law@redhat.com>
8139         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8140         out of bounds read.
8142 2012-02-29  Marek Polacek  <polacek@redhat.com>
8144         [BZ #13706]
8145         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8146         * elf/Makefile: Add rules to run tst-unused-dep.out.
8148 2012-02-28  David S. Miller  <davem@davemloft.net>
8150         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8151         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8152         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8153         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8154         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8155         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8157 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
8159         * math/libm-test.inc (llround_test): Move one test from
8160         lround_test.  Use TEST_f_L in moved test.
8161         (lround_test): Move misplaced test to llround_test.  Add testcase
8162         from bug 2561.
8164 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
8166         * sysdeps/x86_64/fpu/e_expf.S: New file.
8167         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8169 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
8171         [BZ #13637]
8172         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8173         of remain_len that may cause incomplete multi-byte character and
8174         false match.
8175         * posix/bug-regex33.c: New file.
8176         * posix/Makefile (tests): Add bug-regex33.
8178 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
8180         * manual/macros.texi: New file.
8181         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8182         * manual/libc.texinfo: Include macros.texi.
8183         * manual/creatute.texi: Likewise.
8184         * manual/install.texi: Likewise.
8185         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8186         @glibcadj{} in references to the GNU C Library.
8187         * manual/charset.texi: Likewise.
8188         * manual/conf.texi: Likewise.
8189         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
8190         when not using those macros.
8191         * manual/creature.texi: Likewise.
8192         * manual/crypt.texi: Likewise.
8193         * manual/errno.texi: Likewise.
8194         * manual/filesys.texi: Likewise.
8195         * manual/header.texi: Likewise.
8196         * manual/install.texi: Likewise.
8197         * manual/intro.texi: Likewise.
8198         * manual/io.texi: Likewise.
8199         * manual/job.texi: Likewise.
8200         * manual/lang.texi: Likewise.
8201         * manual/libc.texiinfo: Likewise.
8202         * manual/llio.texi: Likewise.
8203         * manual/locale.texi: Likewise.
8204         * manual/maint.texi: Likewise.
8205         * manual/math.texi: Likewise.
8206         * manual/memory.texi: Likewise.
8207         * manual/message.texi: Likewise.
8208         * manual/nss.texi: Likewise.
8209         * manual/pattern.texi: Likewise.
8210         * manual/process.texi: Likewise.
8211         * manual/resource.texi: Likewise.
8212         * manual/search.texi: Likewise.
8213         * manual/setjmp.texi: Likewise.
8214         * manual/signal.texi: Likewise.
8215         * manual/socket.texi: Likewise.
8216         * manual/startup.texi: Likewise.
8217         * manual/stdio.texi: Likewise.
8218         * manual/string.texi: Likewise.
8219         * manual/sysinfo.texi: Likewise.
8220         * manual/syslog.texi: Likewise.
8221         * manual/terminal.texi: Likewise.
8222         * manual/time.texi: Likewise.
8223         * manual/users.texi: Likewise.
8224         * INSTALL: Regenerated.
8225         * NOTES: Regenerated.
8226         * sysdeps/gnu/errlist.c: Regenerated.
8228 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
8230         * include/dirent.h: Include <dirstream.h> before
8231         <dirent/dirent.h>.
8233 2012-02-28  David S. Miller  <davem@davemloft.net>
8235         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8236         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8237         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8238         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8240 2012-02-27  David S. Miller  <davem@davemloft.net>
8242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8244         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8245         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8248         frame pointer instead of stack pointer relative arg slot.
8249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8250         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8251         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8253 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
8255         [BZ #3992]
8256         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8258 2012-02-27  David S. Miller  <davem@davemloft.net>
8260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8264         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8265         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8266         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8267         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8269 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
8271         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8272         later.  Allow versions 5-9.
8273         * configure: Regenerated.
8274         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8275         required minimum version and 4.6 as recommended version.  Do not
8276         mention bugs in GCC 2.7 and 2.8.
8277         * INSTALL: Regenerated.
8279 2012-02-27  David S. Miller  <davem@davemloft.net>
8281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8285         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8286         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8287         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8288         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8290         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8291         manipulate bits before adding and subtracting TWO112[sx].
8292         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8294 2012-02-27  Roland McGrath  <roland@hack.frob.com>
8296         [BZ #13775]
8297         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8298         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8299         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8300         being in POSIX, because they are in 1003.1-2008.
8302         * rt/tst-aio.c: Include <fcntl.h>.
8303         * rt/tst-aio7.c: Likewise.
8304         * rt/tst-aio64.c: Likewise.
8306         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8308 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
8310         * manual/install.texi (--with-headers): Describe headers as
8311         interface headers, not private headers.
8312         (Specific advice for GNU/Linux systems): Describe use of headers
8313         from "make headers_install", not private headers from older
8314         kernels.
8315         * INSTALL: Regenerated.
8316         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8317         Change to 2.6.19.
8318         * sysdeps/unix/sysv/linux/configure: Regenerated.
8320         * manual/llio.texi (fclean): Remove documentation.
8322         * manual/Makefile (libc-texi-generated): New variable.  Include
8323         version.texi.
8324         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8325         $(libc-texi-generated), not duplicated list of files.
8326         (version.texi, stamp-version): New rules.
8327         (realclean): Remove $(libc-texi-generated), not individual files
8328         from that list.  Do not remove dir-add.texinfo.
8329         * manual/libc.texinfo: Comment out uses of edition numbers and
8330         references to printed manual.  Remove last-updated dates.
8331         (EDITION): Comment out.
8332         (ISBN): Likewise.
8333         (VERSION, UPDATED): Remove.
8334         (version.texi): Include.
8336 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
8338         * sysdeps/posix/spawni.c: Include <signal.h>.
8339         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8340         * sysdeps/pthread/aio_fsync.c: Likewise.
8342 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
8344         * conform/Makefile (tests): Run only when not cross-compiling and
8345         when fast-check is not defined.
8347         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8348         * conform/data/limits.h-data: Fixes for POSIX2008.
8349         * conform/run-conformtest.sh: Run all tests.
8350         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8351         headers.
8352         * include/bits/dlfcn.h: Likewise.
8353         * include/langinfo.h: Likewise.
8354         * include/monetary.h: Likewise.
8355         * include/sys/poll.h: Likewise.
8357         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8358         for __USE_GNU.
8359         * posix/spawn.h: Define __need_sigset_t.
8360         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8361         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8362         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
8363         to get sigevent_t only.
8364         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8365         only for __USE_GNU.
8366         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8367         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8368         process_vm_writev only for __USE_GNU.
8369         * termios/termios.h: Declare tcgetsid also for POSIX2008.
8371         * conform/Makefile: For now ignore errors from run-conformtest.
8372         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
8373         POSIX to avoid namespace pollution.  Don't prepend headers.
8374         * conform/data/aio.h-data: Fixes for POSIX testing.
8375         * conform/data/fcntl.h-data: Likewise.
8376         * conform/data/glob.h-data: Likewise.
8377         * conform/data/grp.h-data: Likewise.
8378         * conform/data/pthread.h-data: Likewise.
8379         * conform/data/pwd.h-data: Likewise.
8380         * conform/data/signal.h-data: Likewise.
8381         * conform/data/spawn.h-data: Likewise.
8382         * conform/data/stdio.h-data: Likewise.
8383         * conform/data/stdlib.h-data: Likewise.
8384         * conform/data/stropts.h-data: Likewise.
8385         * conform/data/sys/mman.h-data: Likewise.
8386         * conform/data/sys/stat.h-data: Likewise.
8387         * conform/data/sys/types.h-data: Likewise.
8388         * conform/data/sys/wait.h-data: Likewise.
8389         * conform/data/time.h-data: Likewise.
8390         * conform/data/unistd.h-data: Likewise.
8391         * conform/data/utime.h-data: Likewise.
8393         * io/sys/stat.h: fchmod was always in POSIX.
8394         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8395         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8396         * rt/aio.h: Define __need_timespec before including <time.h>.
8397         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8398         struct.  Add forward declaration of pthread_attr_t and use it in
8399         sigevent.
8400         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8401         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8402         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8403         always remove CLK_TCK definition.
8405 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
8407         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8409 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
8411         * conform/run-conformtest.sh: New file.
8412         * conform/Makefile: Run run-conformtest for tests.
8413         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
8414         support.
8416         * conform/data/uchar.h-data: New file.
8417         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8418         * conform/data/arpa/inet.h-data: Likewise.
8419         * conform/data/assert.h-data: Likewise.
8420         * conform/data/complex.h-data: Likewise.
8421         * conform/data/cpio.h-data: Likewise.
8422         * conform/data/ctype.h-data: Likewise.
8423         * conform/data/dirent.h-data: Likewise.
8424         * conform/data/dlfcn.h-data: Likewise.
8425         * conform/data/errno.h-data: Likewise.
8426         * conform/data/fcntl.h-data: Likewise.
8427         * conform/data/float.h-data: Likewise.
8428         * conform/data/fmtmsg.h-data: Likewise.
8429         * conform/data/fnmatch.h-data: Likewise.
8430         * conform/data/ftw.h-data: Likewise.
8431         * conform/data/glob.h-data: Likewise.
8432         * conform/data/grp.h-data: Likewise.
8433         * conform/data/iconv.h-data: Likewise.
8434         * conform/data/inttypes.h-data: Likewise.
8435         * conform/data/langinfo.h-data: Likewise.
8436         * conform/data/libgen.h-data: Likewise.
8437         * conform/data/limits.h-data: Likewise.
8438         * conform/data/locale.h-data: Likewise.
8439         * conform/data/math.h-data: Likewise.
8440         * conform/data/monetary.h-data: Likewise.
8441         * conform/data/mqueue.h-data: Likewise.
8442         * conform/data/ndbm.h-data: Likewise.
8443         * conform/data/net/if.h-data: Likewise.
8444         * conform/data/netdb.h-data: Likewise.
8445         * conform/data/netinet/in.h-data: Likewise.
8446         * conform/data/nl_types.h-data: Likewise.
8447         * conform/data/poll.h-data: Likewise.
8448         * conform/data/pthread.h-data: Likewise.
8449         * conform/data/pwd.h-data: Likewise.
8450         * conform/data/regex.h-data: Likewise.
8451         * conform/data/sched.h-data: Likewise.
8452         * conform/data/search.h-data: Likewise.
8453         * conform/data/semaphore.h-data: Likewise.
8454         * conform/data/setjmp.h-data: Likewise.
8455         * conform/data/signal.h-data: Likewise.
8456         * conform/data/spawn.h-data: Likewise.
8457         * conform/data/stdarg.h-data: Likewise.
8458         * conform/data/stdio.h-data: Likewise.
8459         * conform/data/stdlib.h-data: Likewise.
8460         * conform/data/string.h-data: Likewise.
8461         * conform/data/strings.h-data: Likewise.
8462         * conform/data/stropts.h-data: Likewise.
8463         * conform/data/sys/ipc.h-data: Likewise.
8464         * conform/data/sys/mman.h-data: Likewise.
8465         * conform/data/sys/msg.h-data: Likewise.
8466         * conform/data/sys/resource.h-data: Likewise.
8467         * conform/data/sys/select.h-data: Likewise.
8468         * conform/data/sys/sem.h-data: Likewise.
8469         * conform/data/sys/shm.h-data: Likewise.
8470         * conform/data/sys/socket.h-data: Likewise.
8471         * conform/data/sys/stat.h-data: Likewise.
8472         * conform/data/sys/statvfs.h-data: Likewise.
8473         * conform/data/sys/time.h-data: Likewise.
8474         * conform/data/sys/timeb.h-data: Likewise.
8475         * conform/data/sys/times.h-data: Likewise.
8476         * conform/data/sys/types.h-data: Likewise.
8477         * conform/data/sys/uio.h-data: Likewise.
8478         * conform/data/sys/un.h-data: Likewise.
8479         * conform/data/sys/utsname.h-data: Likewise.
8480         * conform/data/sys/wait.h-data: Likewise.
8481         * conform/data/syslog.h-data: Likewise.
8482         * conform/data/tar.h-data: Likewise.
8483         * conform/data/termios.h-data: Likewise.
8484         * conform/data/utime.h-data: Likewise.
8485         * conform/data/utmpx.h-data: Likewise.
8486         * conform/data/varargs.h-data: Likewise.
8487         * conform/data/wchar.h-data: Likewise.
8488         * conform/data/wctype.h-data: Likewise.
8489         * conform/data/wordexp.h-data: Likewise.
8491         * include/stropts.h: New file.
8492         * include/uchar.h: New file.
8493         * include/aio.h: Changes to allow conformtest.pl to use the headers.
8494         * include/assert.h: Likewise.
8495         * include/ctype.h: Likewise.
8496         * include/dirent.h: Likewise.
8497         * include/dlfcn.h: Likewise.
8498         * include/fcntl.h: Likewise.
8499         * include/fnmatch.h: Likewise.
8500         * include/glob.h: Likewise.
8501         * include/grp.h: Likewise.
8502         * include/libio.h: Likewise.
8503         * include/locale.h: Likewise.
8504         * include/math.h: Likewise.
8505         * include/net/if.h: Likewise.
8506         * include/netdb.h: Likewise.
8507         * include/netinet/in.h: Likewise.
8508         * include/pthread.h: Likewise.
8509         * include/pwd.h: Likewise.
8510         * include/regex.h: Likewise.
8511         * include/sched.h: Likewise.
8512         * include/search.h: Likewise.
8513         * include/setjmp.h: Likewise.
8514         * include/signal.h: Likewise.
8515         * include/stdio.h: Likewise.
8516         * include/stdlib.h: Likewise.
8517         * include/string.h: Likewise.
8518         * include/sys/cdefs.h: Likewise.
8519         * include/sys/mman.h: Likewise.
8520         * include/sys/msg.h: Likewise.
8521         * include/sys/resource.h: Likewise.
8522         * include/sys/select.h: Likewise.
8523         * include/sys/socket.h: Likewise.
8524         * include/sys/stat.h: Likewise.
8525         * include/sys/statvfs.h: Likewise.
8526         * include/sys/time.h: Likewise.
8527         * include/sys/times.h: Likewise.
8528         * include/sys/uio.h: Likewise.
8529         * include/sys/utsname.h: Likewise.
8530         * include/sys/wait.h: Likewise.
8531         * include/termios.h: Likewise.
8532         * include/time.h: Likewise.
8533         * include/ulimit.h: Likewise.
8534         * include/unistd.h: Likewise.
8535         * include/utime.h: Likewise.
8536         * include/wchar.h: Likewise.
8537         * include/wctype.h: Likewise.
8538         * include/wordexp.h: Likewise.
8540         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8542         * time/time.h: TIME_UTC must be a macro.
8543         Make timespec_get available for ISO C11 only as well.
8545 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
8547         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8548         Reported by Peng Haitao <penght@cn.fujitsu.com>.
8550 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8552         * configure.in: Use -o not -a in test for unsupported multi-arch.
8554 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8556         * manual/texinfo.tex: Update to version 2012-01-19.16.
8558 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8560         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8562 2012-02-24  Roland McGrath  <roland@hack.frob.com>
8564         [BZ #13738]
8565         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8566         * manual/fdl-1.3.texi: New file.
8567         * manual/fdl-1.1.texi: File removed.
8569         [BZ #13738]
8570         * manual/libc.texinfo (FDL_VERSION): New @set.
8571         Use it for mention of FDL in cover text.
8572         (Documentation License): Use it in @include file name.
8574 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8575             Roland McGrath  <roland@hack.frob.com>
8577         [BZ #5461]
8578         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8579         not LONG_LONG_MAX and LONG_LONG_MIN.
8580         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8581         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
8582         name.
8583         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8585 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8587         [BZ #2547]
8588         [BZ #11365]
8589         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8590         manipulate bits before adding and subtracting TWO23[sx].
8591         * math/libm-test.inc (nearbyint_test): Add more tests.
8593 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8595         [BZ #2548]
8596         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8597         bits before adding and subtracting TWO23[sx].
8598         * math/libm-test.inc (rint_test): Add more tests.
8599         (rint_test_tonearest): Likewise.
8600         (rint_test_towardzero): Likewise.
8601         (rint_test_downward): Likewise.
8602         (rint_test_upward: Likewise.
8604 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8606         [BZ #10110]
8607         * include/stdc-predef.h: New file.  Extracted from features.h.
8608         * include/features.h: Include stdc-predef.h.
8609         * Makefile (headers): Add stdc-predef.h.
8610         * CONFORMANCE (Compiler limitations): Update.
8612 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8614         * manual/libc.texinfo (VERSION, UPDATED): Revert.
8616 2012-02-21  David S. Miller  <davem@davemloft.net>
8618         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8619         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8621 2012-02-20  David S. Miller  <davem@davemloft.net>
8623         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8624         using a normal save/restore sequence, rather than allocating a
8625         dummy stack frame just to store a frame pointer and restore.
8626         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8628 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8630         * manual/install.texi: Fix stray word in line-wrapped comment.
8632 2012-02-20  David S. Miller  <davem@davemloft.net>
8634         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8635         both binutils and gcc support GOTDATA.
8637         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8638         "rd %pc" in the PIC register setup sequences.
8640         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8641         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8642         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8643         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8644         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8645         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8646         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8647         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8648         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8649         (SYSCALL_ERROR_HANDLER): Likewise.
8650         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8651         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8652         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8653         (SYSCALL_ERROR_HANDLER): Likewise.
8655         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8656         (HAVE_GCC_GOTDATA): New.
8657         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8658         relocation support in both binutils and gcc.
8659         * sysdeps/sparc/elf/configure: Regenerate.
8661         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8662         * sysdeps/sparc/sparc32/elf/configure: Delete.
8663         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8664         * sysdeps/sparc/sparc64/elf/configure: Delete.
8665         * sysdeps/sparc/elf/configure.in: New file.
8666         * sysdeps/sparc/elf/configure: Generate.
8668         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8669         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8670         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8671         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8672         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8674 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8676         * manual/install.texi: Do not mention specific glibc version
8677         numbers.
8678         * manual/libc.texinfo (VERSION, UPDATED): Update.
8679         (@copying): Use @copyright{} and range of years.
8681 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8683         [BZ #13695]
8684         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8685         [crti.S not in sysdirs] (generated): Do not append.
8686         [crti.S not in sysdirs] (omit-deps): Likewise.
8687         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8688         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8689         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8690         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8691         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8692         Likewise.
8693         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8694         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8695         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8696         * csu/defs.awk: Remove file.
8697         * sysdeps/generic/initfini.c: Likewise.
8698         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8699         variable.
8700         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8701         Likewise.
8703 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8705         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8706         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8707         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8708         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8709         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8710         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8711         <bits/epoll.h>.
8712         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8713         (__EPOLL_PACKED): Define to empty if not defined by
8714         <bits/epoll.h>.
8715         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8717         bits/epoll.h.
8719 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8721         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8722         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8723         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8724         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8725         <bits/timerfd.h>.
8726         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8727         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8728         bits/timerfd.h.
8730 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8732         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8733         in C locale.
8734         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8735         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8736         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8739 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
8741         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8742         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8744 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
8746         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8747         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8748         defined.
8749         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8750         Likewise.
8751         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8752         entry for 2.16.
8754 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
8756         * math/w_acos.c: Use non-signaling floating-point comparisons.
8757         * math/w_acosf.c: Likewise.
8758         * math/w_acosh.c: Likewise.
8759         * math/w_acoshf.c: Likewise.
8760         * math/w_acoshl.c: Likewise.
8761         * math/w_acosl.c: Likewise.
8762         * math/w_asin.c: Likewise.
8763         * math/w_asinf.c: Likewise.
8764         * math/w_asinl.c: Likewise.
8765         * math/w_atanh.c: Likewise.
8766         * math/w_atanhf.c: Likewise.
8767         * math/w_atanhl.c: Likewise.
8768         * math/w_exp2.c: Likewise.
8769         * math/w_exp2f.c: Likewise.
8770         * math/w_exp2l.c: Likewise.
8771         * math/w_j0.c: Likewise.
8772         * math/w_j0f.c: Likewise.
8773         * math/w_j0l.c: Likewise.
8774         * math/w_j1.c: Likewise.
8775         * math/w_j1f.c: Likewise.
8776         * math/w_j1l.c: Likewise.
8777         * math/w_jn.c: Likewise.
8778         * math/w_jnf.c: Likewise.
8779         * math/w_log.c: Likewise.
8780         * math/w_log10.c: Likewise.
8781         * math/w_log10f.c: Likewise.
8782         * math/w_log10l.c: Likewise.
8783         * math/w_log2.c: Likewise.
8784         * math/w_log2f.c: Likewise.
8785         * math/w_log2l.c: Likewise.
8786         * math/w_logf.c: Likewise.
8787         * math/w_logl.c: Likewise.
8788         * math/w_sqrt.c: Likewise.
8789         * math/w_sqrtf.c: Likewise.
8790         * math/w_sqrtl.c: Likewise.
8791         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8792         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8793         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8794         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8795         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8797 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8799         [BZ #9739]
8800         * manual/string.texi (strnlen): Use correct parameter name in
8801         equivalent expression.
8803 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8805         [BZ #11174]
8806         * manual/users.texi (seteuid): Consistently use neweuid for
8807         argument name.
8809 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8811         [BZ #13704]
8812         * manual/nss.texi (Services in the NSS configuration): Correct
8813         list of services in example configuration file.
8815 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
8817         [BZ #11322]
8818         * manual/arith.texi: Remove statements about negative zero
8819         behaving identically to zero.
8821 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
8823         [BZ #5993]
8824         * manual/install.texi: Do not document upgrading from libc5.
8826 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
8828         [BZ #4596]
8829         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8831 2012-02-18  David S. Miller  <davem@davemloft.net>
8833         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8834         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8835         %o7 across the call.
8836         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8837         instead.
8838         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8839         SETUP_PIC_REG_LEAF.
8840         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8841         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8842         * sysdeps/sparc/crtn.S: Likewise.
8844 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
8846         * aout/Makefile: Remove.
8848 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
8850         [BZ #13058]
8851         * manual/examples/argp-ex1.c (main): Format definition in GNU
8852         style.
8853         * manual/examples/argp-ex2.c (main): Likewise.
8854         * manual/examples/argp-ex3.c (main): Likewise.
8855         * manual/examples/argp-ex4.c (main): Likewise.
8856         * manual/examples/longopt.c (main): Use new-style prototype
8857         definition.
8858         * manual/examples/strncat.c (main): Specify return type and use
8859         (void) for arguments.
8860         * manual/examples/subopt.c (main): Use char **argv argument.
8862 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8864         [BZ #5077]
8865         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8866         rounding modes.
8868 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
8870         [BZ #6907]
8871         * manual/string.texi (strchr): Change when strchrnul is
8872         recommended.
8874 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
8876         [BZ #174]
8877         * manual/locale.texi (setlocale): Document LOCPATH.
8879 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8881         [BZ #10210]
8882         * manual/process.texi (execle): Move @dots{} before last argument.
8884 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
8886         [BZ #12047]
8887         * manual/charset.texi (Generic Charset Conversion): Fix typo
8888         (LC_TYPE -> LC_CTYPE).
8890 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
8892         [BZ #5805]
8893         * manual/arith.texi (scalbn): Use @var{} on parameter names.
8894         (scalbnf): Likewise.
8895         (scalbnl): Likewise.
8896         (scalbln): Likewise.
8897         (scalblnf): Likewise.
8898         (scalblnl): Likewise.
8899         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8900         (vwarnx): Likewise.
8901         (verr): Likewise.
8902         (verrx): Likewise.
8903         * manual/filesys.texi (telldir): Use braces around return type.
8904         * manual/llio.texi (mmap): Add space after comma.
8905         (mmap64): Likewise.
8906         * manual/math.texi (jn): Use @var{} on parameter names.
8907         (jnf): Likewise.
8908         (jnl): Likewise.
8909         (yn): Likewise.
8910         (ynf): Likewise.
8911         (ynl): Likewise.
8912         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8913         line.
8914         * manual/resource.texi (ulimit): Use @dots{} instead of literal
8915         "...".
8916         (sched_get_priority_min): Remove semicolon on @deftypefun line.
8917         (sched_get_priority_max): Likewise.
8918         * manual/signal.texi (sigvec): Add space after comma.
8919         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8920         names.
8921         (if_indextoname): Likewise.
8922         (if_freenameindex): Likewise.
8923         (sendto): Use ',' instead of '.' in prototype.
8924         * manual/startup.texi (syscall): Use @dots{} instead of literal
8925         "...".
8926         * manual/stdio.texi (__fpending): Separate initial words of
8927         paragraph from @deftypefun line.
8928         * manual/syslog.texi (syslog): Use @dots{} instead of literal
8929         "...".
8930         (vsyslog): Use @var{} on parameter names.
8931         * manual/terminal.texi (stty): Use @var{} on parameter names.
8932         * manual/users.texi (getutmp): Use @var{} on parameter names.
8933         (getutmpx): Likewise.
8935 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8937         [BZ #6884]
8938         * manual/stdio.texi (fopen): Fix typos in description of
8939         ",ccs=STRING".
8941 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
8943         [BZ #4026]
8944         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8945         get clock_id definition.
8947 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
8949         [BZ #4822]
8950         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8951         (madvise): Cast every argument to void on its own.
8953 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8955         [BZ #9902]
8956         * manual/startup.texi (Exit Status): Fix typo.
8958 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8960         [BZ #10140]
8961         * manual/examples/argp-ex1.c: Include <stdlib.h>.
8962         * manual/examples/argp-ex2.c: Likewise.
8963         * manual/examples/argp-ex3.c: Likewise.
8965 2012-02-16  Richard Henderson  <rth@redhat.com>
8967         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8968         * sysdeps/s390/s390-32/initfini.c: Remove.
8969         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8970         * sysdeps/s390/s390-64/initfini.c: Remove.
8972 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8974         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8975         compiler output for sysdeps/generic/initfini.c.
8976         * sysdeps/sh/elf/initfini.c: Remove file.
8978 2012-02-16  David S. Miller  <davem@davemloft.net>
8980         [BZ #11494]
8981         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8983         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8984         * sysdeps/sparc/crti.S: New file.
8985         * sysdeps/sparc/crtn.S: New file.
8986         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8987         * sysdeps/sparc/sparc64/Makefile: Likewise.
8989 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
8991         [BZ #3335]
8992         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8994 2012-02-15  Roland McGrath  <roland@hack.frob.com>
8996         [BZ #4822]
8997         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8999         * mach/devstream.c (cookie_io_functions_t): Macro removed.
9000         (write, read, close): Likewise.
9001         Patch by Aurelien Jarno <aurelien@aurel32.net>.
9003 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
9005         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9006         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9007         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9008         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9009         <bits/signalfd.h>.
9010         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9012         bits/signalfd.h.
9014 2012-02-14  Marek Polacek  <polacek@redhat.com>
9016         * sysdeps/x86_64/crti.S: New file.
9017         * sysdeps/x86_64/crtn.S: New file.
9018         * sysdeps/x86_64/elf/initfini.c: Remove file.
9020 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
9022         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9023         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9024         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9025         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9026         <bits/inotify.h>.
9027         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9028         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9029         bits/inotify.h.
9031 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
9033         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9034         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9035         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9036         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9037         <bits/eventfd.h>.
9038         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9040         bits/eventfd.h.
9042 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
9044         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9045         __feraiseexcept instead of feraiseexcept.
9047         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9048         nanosleep invocations.
9049         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9050         strings, and add error checking for a nanosleep invocations.
9052 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
9054         Replace FSF snail mail address with URLs, as per GNU coding standards.
9055         Most of the snail mail addresses were wrong anyway, and omitting
9056         them makes the source code easier to maintain.  Almost all of the
9057         changes are to license notices and to locale LC_IDENTIFICATION
9058         addresses, except for this one:
9059         * manual/libc.texinfo: In "Published by", give the FSF's URL,
9060         not its snail mail address.
9062 2012-02-09  Richard Henderson  <rth@twiddle.net>
9064         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9065         of kernel-features.h.
9067         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9069 2012-02-08  Marek Polacek  <polacek@redhat.com>
9071         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9072         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9073         * sysdeps/gnu/_G_config.h: Likewise.
9074         * sysdeps/generic/_G_config.h: Likewise.
9076 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
9078         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9079         tests.
9080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9082         * sysdeps/powerpc/powerpc32/crti.S: New file.
9083         * sysdeps/powerpc/powerpc32/crtn.S: New file.
9084         * sysdeps/powerpc/powerpc64/crti.S: New file.
9085         * sysdeps/powerpc/powerpc64/crtn.S: New file.
9087         * Makeconfig (have-initfini): Don't set.
9088         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9089         * configure.in (nopic_initfini): Don't substitute.
9090         * config.h.in (HAVE_INITFINI): Don't #undef.
9091         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9092         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9094 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
9096         Support crti.S and crtn.S provided directly by architectures.
9097         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9098         [crti.S in sysdirs] (omit-deps): Likewise.
9099         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9100         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9101         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9102         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9103         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9104         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9105         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9106         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9107         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9108         compiler output for sysdeps/generic/initfini.c.
9109         * sysdeps/i386/elf/Makefile: Remove file.
9110         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9112 2012-02-07  Marek Polacek  <polacek@redhat.com>
9114         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9115         * sysdeps/gnu/_G_config.h: Likewise.
9116         * sysdeps/mach/hurd/_G_config.h: Likewise.
9118 2012-02-07  Marek Polacek  <polacek@redhat.com>
9120         * math/Makefile (tests): Add tst-CMPLX2.
9121         * math/tst-CMPLX2.c: New file.
9123 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
9125         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9127         * math/libm-test.inc (jn_test): Add missing L suffix.
9129 2012-02-06  Marek Polacek  <polacek@redhat.com>
9131         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9132         * sysdeps/i386/fpu/e_powf.S: Likewise.
9133         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9134         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9135         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9136         * sysdeps/i386/fpu/e_pow.S: Likewise.
9137         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9138         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9139         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9140         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9141         * sysdeps/i386/fpu/e_log2.S: Likewise.
9142         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9143         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9144         * sysdeps/i386/fpu/e_powl.S: Likewise.
9145         * sysdeps/i386/fpu/s_log1p.S: Likewise.
9146         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9147         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9148         * sysdeps/i386/fpu/e_logl.S: Likewise.
9149         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9150         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9151         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9152         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9153         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9154         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9155         * sysdeps/i386/fpu/e_log.S: Likewise.
9156         * sysdeps/i386/fpu/s_cexp.S: Likewise.
9157         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9158         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9159         * sysdeps/i386/fpu/e_logf.S: Likewise.
9160         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9161         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9162         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9163         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9164         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9165         * sysdeps/i386/fpu/e_log10.S: Likewise.
9166         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9167         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9168         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9169         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9170         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9171         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9172         * sysdeps/i386/asm-syntax.h: Likewise.
9173         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9174         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9175         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9176         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9177         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9178         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9179         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9180         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9181         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9182         * sysdeps/powerpc/sysdep.h: Likewise.
9183         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9184         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9186 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
9188         [BZ #411]
9189         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9191 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
9193         * sysdeps/i386/sysdep.h: Include <features.h>.
9194         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9195         version.
9197 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
9199         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9200         Define.
9201         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9202         LOAD_PIC_REG_STR.
9204 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9206         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9207         (SETUP_PIC_REG): Use GET_PC_THUNK.
9208         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9209         macro.
9211 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9213         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9214         for non-PIC compilation.
9215         (SETUP_PIC_REG): Add .p2align directive.
9216         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9217         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9218         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9219         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9220         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9221         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9222         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9223         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9224         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9225         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9226         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9227         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9228         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9229         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9230         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9231         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9232         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9233         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9234         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9235         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9236         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9237         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9238         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9239         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9240         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9241         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9242         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9243         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9244         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9245         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9246         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9247         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9248         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9249         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9250         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9251         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9252         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9253         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9254         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9255         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9256         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9258 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9260         * math/tst-CMPLX.c: Include <stdio.h>.
9262 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
9264         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9265         float.
9266         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9267         * sysdeps/sparc/bits/mathdef.h: Likewise.
9269 2012-01-31  Marek Polacek  <polacek@redhat.com>
9271         * libio/libio.h: Don't define _PARAMS.
9272         * locale/programs/config.h: Don't define PARAMS.
9273         * stdlib/strtol_l.c: Likewise.
9274         (__strtol_l): Remove PARAMS from the prototype.
9276 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
9278         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
9279         names.  Just use the correct names.  Remove unnecessary wrapper
9280         functions.
9281         * malloc/arena.c: Likewise.
9282         * malloc/hooks.c: Likewise.
9284         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9285         ARENA_TEST says not to.  Simplify test for creation of a new arena.
9286         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9288 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
9290         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9291         into tail calls.
9292         (update_get_addr): New function.
9293         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9294         GET_ADDR_MODULE parameter.
9296 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
9298         * crypt/cert.c: Remove __STDC__ conditionals.
9299         * crypt/crypt-entry.c: Likewise.
9300         * crypt/crypt_util.c: Likewise.
9301         * libio/filedoalloc.c: Likewise.
9302         * libio/fileops.c: Likewise.
9303         * libio/genops.c: Likewise.
9304         * libio/iofclose.c: Likewise.
9305         * libio/iofdopen.c: Likewise.
9306         * libio/iofopen.c: Likewise.
9307         * libio/iofopen64.c: Likewise.
9308         * libio/iogetdelim.c: Likewise.
9309         * libio/iopopen.c: Likewise.
9310         * libio/obprintf.c: Likewise.
9311         * libio/oldfileops.c: Likewise.
9312         * libio/oldiofclose.c: Likewise.
9313         * libio/oldiofdopen.c: Likewise.
9314         * libio/oldiofopen.c: Likewise.
9315         * libio/oldiopopen.c: Likewise.
9316         * libio/wfiledoalloc.c: Likewise.
9317         * libio/wgenops.c: Likewise.
9318         * locale/programs/xmalloc.c: Likewise.
9319         * misc/syslog.c: Likewise.
9320         * stdio-common/xbug.c: Likewise.
9321         * string/memchr.c: Likewise.
9322         * string/memcmp.c: Likewise.
9323         * string/memrchr.c: Likewise.
9324         * string/rawmemchr.c: Likewise.
9325         * sysdeps/posix/getcwd.c: Likewise.
9326         * time/strftime_l.c: Likewise.
9328 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
9330         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9331         * config.make.in (config-cflags-sse2avx): Define.
9332         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9333         Fix typo.
9335 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
9337         * scripts/config.guess: Update from upstream config git repository.
9338         * scripts/config.sub: Likewise.
9340 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
9342         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9343         (EM_NUM): Update.
9344         (R_TILEPRO_*, R_TILEGX_*): New macros.
9346         * scripts/firstversions.awk: Fix bug in version range handling.
9348         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9350         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9352         * include/sys/epoll.h: New file.
9353         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9354         libc_hidden_def.
9356 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
9358         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9359         Avoid unnecessary __WORDSIZE == 64 test.
9360         (fmaxf): Use VEX format if possible.
9361         (fmax): Likewise.
9362         (fminf): Likewise.
9363         (fmin): Likewise.
9365         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9366         * math/math_private.h: Remove libc_fegetround* and
9367         libc_fesetround*.
9368         * sysdeps/i386/configure.in: Check for -msse2avx.
9369         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9370         also if SSE2AVX is defined.
9371         Remove libc_fegetround* and libc_fesetround*.
9372         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9373         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
9374         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9375         of HAS_YMM_USABLE.
9376         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9377         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9378         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9379         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9380         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9382         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9384 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9386         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9387         size is not set.
9388         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9390 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
9392         [BZ #13618]
9393         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9394         relocation.
9395         * Makeconfig (libm): Define.
9396         * elf/Makefile: Add rules to build and run tst-relsort1.
9397         * elf/tst-relsort1.c: New file.
9398         * elf/tst-relsort1mod1.c: New file.
9399         * elf/tst-relsort1mod2.c: New file.
9401 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
9403         * math/s_ldexp.c: Remove __STDC__ conditionals.
9404         * math/s_ldexpf.c: Likewise.
9405         * math/s_ldexpl.c: Likewise.
9406         * math/s_nextafter.c: Likewise.
9407         * math/s_nexttowardf.c: Likewise.
9408         * math/s_significand.c: Likewise.
9409         * math/s_significandf.c: Likewise.
9410         * math/s_significandl.c: Likewise.
9411         * math/w_jnl.c: Likewise.
9412         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9413         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9414         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9415         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9416         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9417         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9418         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9419         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9420         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9421         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9422         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9423         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9424         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9425         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9426         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9427         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9428         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9429         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9430         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9431         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9432         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9433         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9434         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9435         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9436         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9437         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9438         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9439         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9440         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9441         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9442         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9443         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9444         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9445         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9446         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9447         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9448         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9449         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9450         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9451         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9452         * sysdeps/ieee754/k_standard.c: Likewise.
9453         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9454         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9455         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9456         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9457         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9458         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9459         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9460         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9461         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9462         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9463         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9464         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9465         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9466         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9467         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9468         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9469         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9470         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9471         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9472         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9473         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9474         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9475         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9476         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9477         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9478         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9479         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9480         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9481         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9482         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9483         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9484         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9485         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9486         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9487         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9488         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9489         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9490         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9491         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9492         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9493         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9494         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9495         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9496         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9497         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9498         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9499         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9500         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9501         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9502         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9503         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9504         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9505         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9506         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9507         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9508         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9509         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9510         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9511         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9512         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9513         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9514         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9515         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9516         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9517         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9518         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9519         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9520         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9521         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9522         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9523         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9524         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9525         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9526         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9527         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9528         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9529         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9530         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9531         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9532         * sysdeps/ieee754/s_matherr.c: Likewise.
9533         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9534         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9535         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9536         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9538 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
9540         * crypt/md5.h: Remove __STDC__ conditionals.
9541         * libio/libioP.h: Likewise.
9542         * locale/programs/config.h: Likewise.
9543         * sysdeps/generic/sysdep.h: Likewise.
9544         * sysdeps/i386/asm-syntax.h: Likewise.
9545         * sysdeps/s390/asm-syntax.h: Likewise.
9546         * sysdeps/unix/sysdep.h: Likewise.
9547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9550 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
9552         * libio/libio.h: Remove __STDC__ conditionals.
9553         * malloc/obstack.h: Likewise.
9554         * math/complex.h: Likewise.
9555         * math/math.h: Likewise.
9556         * sysdeps/generic/_G_config.h: Likewise.
9557         * sysdeps/gnu/_G_config.h: Likewise.
9558         * sysdeps/mach/hurd/_G_config.h: Likewise.
9559         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9560         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9561         * sysdeps/sparc/bits/mathdef.h: Likewise.
9563 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
9565         [BZ #13583]
9566         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9567         Clean up HAS_* macros.
9568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9569         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9570         possible.
9571         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9572         HAS_AVX.
9573         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9574         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9575         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9576         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9577         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9579 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
9581         * elf/tst-unique3.cc (gets): Remove declaration.
9582         * elf/tst-unique3lib.cc (gets): Likewise.
9583         * elf/tst-unique3lib2.cc (gets): Likewise.
9584         * elf/tst-unique4.cc (gets): Likewise.
9586 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
9588         * include/stdio.h: Add C++ protection.  Add gets declarations and
9589         definitions.
9590         * debug/tst-chk1.c: Don't declare gets here.
9591         * stdio-common/tst-gets.c: Likewise.
9593 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
9595         * posix/glob: Remove directory.
9597 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
9599         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9601 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
9603         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9604         of the non-standard EPFNOSUPPORT.
9606 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9608         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9609         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9610         ANYWHERE set to 1 only on KERN_NO_SPACE error.
9612 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
9614         * wcsmbs/uchar.h: Test __STDC_VERSION__.
9616 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
9618         * nscd/aicache.c (addhstaiX): Do not cache negative results of
9619         transient errors.
9620         * nscd/grpcache.c (cache_addgr): Likewise.
9621         * nscd/hstcache.c (cache_addhst): Likewise.
9622         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9623         * nscd/pwdcache.c (cache_addpw): Likewise.
9624         * nscd/servicescache.c (cache_addserv): Likewise.
9626 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
9628         * malloc/malloc.c: Various cleanups.
9629         * malloc/hooks.c: Likewise.
9631         * stdlib/Makefile (tests): Add bug-fmtmsg1.
9632         * stdlib/bug-fmtmsg1.c: New file.
9634         * stdlib/fmtmsg.c (init): Add missing unlock.
9635         Patch by Peng Haitao <penght@cn.fujitsu.com>.
9637 2012-01-12  Marek Polacek  <polacek@redhat.com>
9639         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9640         and _GNU_SOURCE.
9642 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
9644         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9645         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9646         macro to ensure uniqueness of label name.
9647         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9648         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9650 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
9652         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9654         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9655         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9656         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9657         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9659 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
9661         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9663         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9664         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9665         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9667         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9669         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9670         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9671         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9672         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9674         * math/bits/math-finite.h: Add ldexp support.
9676 2012-01-10  Marek Polacek  <polacek@redhat.com>
9678         * locale/programs/localedef.h (show_archive_content): Add noreturn
9679         attribute.
9681 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
9683         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9685 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9687         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9689         * io/Makefile (headers): Add bits/poll2.h.
9691 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
9693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9694         typo #include statement.
9696 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9698         * include/sys/cdefs.h: Define __attribute_alloc_size.
9699         * catgets/gencat.c: Add alloc_size attribute and apply consistently
9700         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9701         * elf/pldd.c: Likewise.
9702         * iconv/iconv_charmap.c: Likewise.
9703         * iconv/iconvconfig.c: Likewise.
9704         * iconv/strtab.c: Likewise.
9705         * locale/programs/locale.c: Likewise.
9706         * locale/programs/localedef.h: Likewise.
9707         * locale/programs/simple-hash.c: Likewise.
9708         * nscd/nscd.h: Likewise.
9709         * nss/makedb.c: Likewise.
9710         * sysdeps/generic/ldconfig.h: Likewise.
9711         * locale/programs/localedef.c: Remove xmalloc prototype.
9712         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9714 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9716         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9717         appropriate.
9719 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9721         * math/Makefile (tests): Add tst-CMPLX.
9722         * math/tst-CMPLX.c: New file.
9724         * math/complex.h (CMPLXL): Fix typo.
9726         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9727         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9728         GLIBC_2.16.
9729         * debug/tst-chk1.c: Add poll and ppoll tests.
9730         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9731         * include/sys/poll.h: Add hidden proto for ppoll.
9732         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9733         * sysdeps/mach/hurd/ppoll.c: Likewise.
9734         * io/ppoll.c: Likewise.
9735         * debug/poll_chk.c: New file.
9736         * debug/ppoll_chk.c: New file.
9737         * include/bits/poll2.h: New file.
9738         * io/bits/poll2.h: New file.
9740         [BZ #1350]
9741         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9743         * configure.in: static is always set to yes.  Remove.
9744         * config.make.in: Don't set build-static.
9745         * Makeconfig: Remove use of build-static.
9746         * dlfcn/Makefile: Likewise.
9747         * elf/Makefile: Likewise.
9748         * math/Makefile: Likewise.
9749         * misc/Makefile: Likewise.
9750         * nptl/Makefile: Likewise.
9751         * sysdeps/mach/hurd/Makefile: Likewise.
9753         * configure.in: PWD_P is not used anymore.
9754         * config.make.in: Remove PWD_P entry.
9756         * configure.in: Remove last remnants of RANLIB.
9757         No need to check for signed size_t anymore.
9758         Don't set libc_commonpagesize and libc_relro_required here for Alpha
9759         and IA-64.
9760         Remove __builtin_expect test because we require at least gcc 3.4.
9761         * aclocal.m4: Likewise.
9763         * wcsmbs/mbrtoc16.c: Implement using towc function.
9764         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9765         * wcsmbs/wcsmbsload.c: Likewise.
9766         * iconv/gconv_simple.c: Likewise.
9767         * iconv/gconv_int.h: Likewise.
9768         * iconv/gconv_builtin.h: Likewise.
9769         * iconv/iconv_prog.c: Remove CHAR16 handling.
9771         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9773         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9775         * configure.in: Remove --with-elf and --enable-bounded options.
9776         Dont set base_machine for ia64.  More non-ELF conditions removed.
9777         Remove testing and setting of leading underscore information.
9778         * config.make.in (build-bounded): Set to no.
9779         * config.h.in: Remove NO_UNDERSCORES entry.
9780         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
9781         them.
9782         * csu/start.c: Remove !NO_UNDERSCORE code.
9783         * locale/localeinfo.h: Likewise.
9784         * sysdeps/generic/machine-gmon.h: Likewise.
9785         * sysdeps/generic/sysdep.h: Likewise.
9786         * sysdeps/i386/sysdep.h: Likewise.
9787         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9788         * sysdeps/mach/sysdep.h: Likewise.
9789         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9790         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9791         * sysdeps/sh/sysdep.h: Likewise.
9792         * sysdeps/sparc/sparc32/alloca.S: Likewise.
9793         * sysdeps/unix/i386/sysdep.S: Likewise.
9794         * sysdeps/unix/sparc/start.c: Likewise.
9795         * sysdeps/unix/sparc/sysdep.S: Likewise.
9796         * sysdeps/unix/sparc/sysdep.h: Likewise.
9797         * sysdeps/unix/start.c: Likewise.
9798         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9799         * sysdeps/x86_64/sysdep.h: Likewise.
9801 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
9803         [BZ #13553]
9804         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9805         for non-gcc.
9806         * argp/argp-fmtstream.h: Use const instead __const.
9807         * argp/argp.h: Likewise.
9808         * assert/assert.h: Likewise.
9809         * bits/fenv.h: Likewise.
9810         * bits/sched.h: Likewise.
9811         * bits/sigset.h: Likewise.
9812         * bits/sigthread.h: Likewise.
9813         * catgets/nl_types.h: Likewise.
9814         * conform/data/pthread.h-data: Likewise.
9815         * crypt/crypt-private.h: Likewise.
9816         * crypt/crypt.h: Likewise.
9817         * crypt/crypt_util.c: Likewise.
9818         * ctype/ctype.h: Likewise.
9819         * debug/execinfo.h: Likewise.
9820         * debug/mbsnrtowcs_chk.c: Likewise.
9821         * debug/mbsrtowcs_chk.c: Likewise.
9822         * debug/wcsnrtombs_chk.c: Likewise.
9823         * debug/wcsrtombs_chk.c: Likewise.
9824         * debug/wcstombs_chk.c: Likewise.
9825         * dirent/dirent.h: Likewise.
9826         * dlfcn/dlfcn.h: Likewise.
9827         * elf/neededtest4.c: Likewise.
9828         * grp/grp.h: Likewise.
9829         * gshadow/gshadow.h: Likewise.
9830         * iconv/gconv.h: Likewise.
9831         * iconv/gconv_int.h: Likewise.
9832         * iconv/gconv_simple.c: Likewise.
9833         * iconv/iconv.h: Likewise.
9834         * iconv/loop.c: Likewise.
9835         * iconv/skeleton.c: Likewise.
9836         * include/aio.h: Likewise.
9837         * include/aliases.h: Likewise.
9838         * include/argz.h: Likewise.
9839         * include/arpa/inet.h: Likewise.
9840         * include/assert.h: Likewise.
9841         * include/dirent.h: Likewise.
9842         * include/dlfcn.h: Likewise.
9843         * include/execinfo.h: Likewise.
9844         * include/fcntl.h: Likewise.
9845         * include/fenv.h: Likewise.
9846         * include/glob.h: Likewise.
9847         * include/grp.h: Likewise.
9848         * include/libintl.h: Likewise.
9849         * include/mntent.h: Likewise.
9850         * include/netdb.h: Likewise.
9851         * include/pwd.h: Likewise.
9852         * include/rpc/netdb.h: Likewise.
9853         * include/sched.h: Likewise.
9854         * include/search.h: Likewise.
9855         * include/shadow.h: Likewise.
9856         * include/signal.h: Likewise.
9857         * include/stdio.h: Likewise.
9858         * include/stdlib.h: Likewise.
9859         * include/string.h: Likewise.
9860         * include/sys/socket.h: Likewise.
9861         * include/sys/stat.h: Likewise.
9862         * include/sys/statfs.h: Likewise.
9863         * include/sys/statvfs.h: Likewise.
9864         * include/sys/syslog.h: Likewise.
9865         * include/sys/time.h: Likewise.
9866         * include/sys/uio.h: Likewise.
9867         * include/time.h: Likewise.
9868         * include/unistd.h: Likewise.
9869         * include/utmp.h: Likewise.
9870         * include/wchar.h: Likewise.
9871         * include/wctype.h: Likewise.
9872         * inet/aliases.h: Likewise.
9873         * inet/arpa/inet.h: Likewise.
9874         * inet/netinet/ether.h: Likewise.
9875         * inet/netinet/in.h: Likewise.
9876         * intl/libintl.h: Likewise.
9877         * io/bits/fcntl2.h: Likewise.
9878         * io/fcntl.h: Likewise.
9879         * io/ftw.h: Likewise.
9880         * io/sys/poll.h: Likewise.
9881         * io/sys/stat.h: Likewise.
9882         * io/sys/statfs.h: Likewise.
9883         * io/sys/statvfs.h: Likewise.
9884         * io/utime.h: Likewise.
9885         * libio/bits/stdio.h: Likewise.
9886         * libio/bits/stdio2.h: Likewise.
9887         * libio/libio.h: Likewise.
9888         * libio/libioP.h: Likewise.
9889         * libio/stdio.h: Likewise.
9890         * locale/lc-ctype.c: Likewise.
9891         * locale/locale.h: Likewise.
9892         * login/utmp.h: Likewise.
9893         * malloc/arena.c: Likewise.
9894         * malloc/malloc.c: Likewise.
9895         * malloc/malloc.h: Likewise.
9896         * malloc/mcheck.c: Likewise.
9897         * malloc/mtrace.c: Likewise.
9898         * math/bits/mathcalls.h: Likewise.
9899         * math/fenv.h: Likewise.
9900         * math/math_private.h: Likewise.
9901         * misc/bits/error.h: Likewise.
9902         * misc/bits/syslog.h: Likewise.
9903         * misc/err.h: Likewise.
9904         * misc/error.h: Likewise.
9905         * misc/fstab.h: Likewise.
9906         * misc/mntent.h: Likewise.
9907         * misc/regexp.h: Likewise.
9908         * misc/search.h: Likewise.
9909         * misc/sgtty.h: Likewise.
9910         * misc/sys/mman.h: Likewise.
9911         * misc/sys/syslog.h: Likewise.
9912         * misc/sys/uio.h: Likewise.
9913         * misc/sys/xattr.h: Likewise.
9914         * misc/ttyent.h: Likewise.
9915         * nis/rpcsvc/ypclnt.h: Likewise.
9916         * nss/nss.h: Likewise.
9917         * posix/bits/unistd.h: Likewise.
9918         * posix/fnmatch.h: Likewise.
9919         * posix/glob.h: Likewise.
9920         * posix/sched.h: Likewise.
9921         * posix/spawn.h: Likewise.
9922         * posix/sys/wait.h: Likewise.
9923         * posix/unistd.h: Likewise.
9924         * posix/wordexp.h: Likewise.
9925         * pwd/pwd.h: Likewise.
9926         * resolv/netdb.h: Likewise.
9927         * resource/sys/resource.h: Likewise.
9928         * rt/aio.h: Likewise.
9929         * rt/bits/mqueue2.h: Likewise.
9930         * rt/mqueue.h: Likewise.
9931         * shadow/shadow.h: Likewise.
9932         * signal/signal.h: Likewise.
9933         * socket/send.c: Likewise.
9934         * socket/sendto.c: Likewise.
9935         * socket/sys/socket.h: Likewise.
9936         * stdio-common/printf.h: Likewise.
9937         * stdlib/bits/stdlib.h: Likewise.
9938         * stdlib/fmtmsg.h: Likewise.
9939         * stdlib/monetary.h: Likewise.
9940         * stdlib/stdlib.h: Likewise.
9941         * stdlib/ucontext.h: Likewise.
9942         * streams/stropts.h: Likewise.
9943         * string/argz.h: Likewise.
9944         * string/bits/string2.h: Likewise.
9945         * string/string.h: Likewise.
9946         * string/strings.h: Likewise.
9947         * sunrpc/rpc/auth.h: Likewise.
9948         * sunrpc/rpc/auth_des.h: Likewise.
9949         * sunrpc/rpc/clnt.h: Likewise.
9950         * sunrpc/rpc/netdb.h: Likewise.
9951         * sunrpc/rpc/pmap_clnt.h: Likewise.
9952         * sunrpc/rpc/xdr.h: Likewise.
9953         * sysdeps/generic/inttypes.h: Likewise.
9954         * sysdeps/generic/net/if.h: Likewise.
9955         * sysdeps/generic/sys/swap.h: Likewise.
9956         * sysdeps/gnu/net/if.h: Likewise.
9957         * sysdeps/gnu/utmpx.h: Likewise.
9958         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9959         * sysdeps/i386/i486/bits/string.h: Likewise.
9960         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9961         * sysdeps/s390/bits/string.h: Likewise.
9962         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9963         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9964         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9965         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9966         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9967         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9968         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9969         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9970         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9971         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9972         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9973         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9974         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9975         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9976         * sysdeps/unix/sysv/linux/readv.c: Likewise.
9977         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9978         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9979         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9980         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9981         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9982         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9983         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9984         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9985         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9986         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9987         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9988         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9989         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9990         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9991         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9992         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9993         * sysvipc/sys/ipc.h: Likewise.
9994         * sysvipc/sys/msg.h: Likewise.
9995         * sysvipc/sys/sem.h: Likewise.
9996         * sysvipc/sys/shm.h: Likewise.
9997         * termios/termios.h: Likewise.
9998         * time/sys/time.h: Likewise.
9999         * time/time.h: Likewise.
10000         * wcsmbs/bits/wchar2.h: Likewise.
10001         * wcsmbs/uchar.h: Likewise.
10002         * wcsmbs/wchar.h: Likewise.
10003         * wctype/wctype.h: Likewise.
10005         [BZ #13551]
10006         * Makeconfig: Remove all but ELF support including AIX support.
10007         * Makerules: Likewise.
10008         * config.h.in: Likewise.
10009         * config.make.in: Likewise.
10010         * configure: Likewise.
10011         * configure.in: Likewise.
10012         * csu/Makefile: Likewise.
10013         * csu/version.c: Likewise.
10014         * debug/Makefile: Likewise.
10015         * dlfcn/Makefile: Likewise.
10016         * elf/Makefile: Likewise.
10017         * extra-lib.mk: Likewise.
10018         * iconv/Makefile: Likewise.
10019         * include/libc-symbols.h: Likewise.
10020         * include/shlib-compat.h: Likewise.
10021         * resolv/Makefile: Likewise.
10022         * resolv/res_libc.c: Likewise.
10023         * rt/Makefile: Likewise.
10024         * sysdeps/i386/asm-syntax.h: Likewise.
10025         * sysdeps/i386/sysdep.h: Likewise.
10026         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10027         * sysdeps/mach/sysdep.h: Likewise.
10028         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10029         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10030         * sysdeps/s390/asm-syntax.h: Likewise.
10031         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10032         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10033         * sysdeps/sh/sysdep.h: Likewise.
10034         * sysdeps/unix/sparc/sysdep.h: Likewise.
10035         * sysdeps/wordsize-32/divdi3.c: Likewise.
10036         * sysdeps/x86_64/sysdep.h: Likewise.
10038         * argp/Versions: Remove _argp_unlock_xxx.
10040         [BZ #13559]
10041         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
10042         * abilist/libBrokenLocale.abilist: Likewise.
10043         * abilist/libanl.abilist: Likewise.
10044         * abilist/libc.abilist: Likewise.
10045         * abilist/libcrypt.abilist: Likewise.
10046         * abilist/libdl.abilist: Likewise.
10047         * abilist/libm.abilist: Likewise.
10048         * abilist/libnsl.abilist: Likewise.
10049         * abilist/libpthread.abilist: Likewise.
10050         * abilist/libresolv.abilist: Likewise.
10051         * abilist/librt.abilist: Likewise.
10052         * abilist/libthread_db.abilist: Likewise.
10053         * abilist/libutil.abilist: Likewise.
10054         * abilist/libnss_db.abilist: New file.
10056         * scripts/abilist.awk: Add support for indirect functions.
10058         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10060         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10062         * shlib-versions: Remove entries for ports architectures.
10064         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
10065         files in ports.
10066         * elf/stackguard-macros.h: Remove support for IA-64.
10067         * elf/tst-auditmod1.c: Likewise.
10068         * sysdeps/generic/ldsodefs.h: Likewise.
10070         * sysdeps/unix/sysv/linux/configure.in: Ports should define
10071         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10072         configure files.
10074         [BZ #13552]
10075         * configure.in: Remove --enable-omitfp support.
10076         * FAQ.in: Adjust.
10077         * config.make.in: Likewise.
10078         * Makeconfig: Likewise.
10079         * manual/install.texi: Likewise.
10081         In case anyone cares, the IA-64 architecture could move to ports.
10082         * sysdeps/ia64/*: Removed.
10083         * sysdeps/unix/sysv/linux/ia64/*: Removed.
10084         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10086         [BZ #13555]
10087         * configure.in: Remove entries for unsupported architectures.
10089         [BZ #13533]
10090         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10091         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
10092         routines.
10093         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10094         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10095         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
10096         fall back to using wcrtomb.
10097         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10098         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
10099         renaming.
10100         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10101         * wcsmbs/tst-c16c32-1.c: New file.
10103         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10104         local variable.
10106         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10108         * elf/tst-unique3.cc: Add explicit declaration of gets.
10109         * elf/tst-unique3lib.cc: Likewise.
10110         * elf/tst-unique3lib2.cc: Likewise.
10111         * elf/tst-unique4.cc: Likewise.
10113         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10115 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
10117         [BZ #13566]
10118         * assert/assert.h (static_assert): Don't define for C++.
10119         * libio/stdio.h (gets): Do declare for C++ <= C++11.
10120         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10122 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
10124         * iconv/loop.c (single loop): Fix assertion in storing of
10125         remaining bytes.
10127         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10129 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
10131         * posix/getconf.c: Update copyright year.
10132         * nss/getent.c: Likewise.
10133         * nss/makedb.c: Likewise.
10134         * iconv/iconvconfig.c: Likewise.
10135         * iconv/iconv_prog.c: Likewise.
10136         * elf/ldconfig.c: Likewise.
10137         * elf/pldd.c: Likewise.
10138         * elf/sotruss.ksh: Likewise.
10139         * catgets/gencat.c: Likewise.
10140         * csu/version.c: Likewise.
10141         * elf/ldd.bash.in: Likewise.
10142         * elf/sprof.c (print_version): Likewise.
10143         * locale/programs/locale.c: Likewise.
10144         * locale/programs/localedef.c: Likewise.
10145         * login/programs/pt_chown.c: Likewise.
10146         * nscd/nscd.c (print_version): Likewise.
10147         * debug/xtrace.sh: Likewise.
10148         * malloc/memusage.sh: Likewise.
10149         * malloc/mtrace.pl: Likewise.
10150         * debug/catchsegv.sh: Likewise.
10152 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
10154         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10155         pure attribute.
10157 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
10159         [BZ #13533]
10160         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10161         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10162         transformations.
10163         * iconv/gconv_int.h: Likewise.
10164         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10165         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10166         from libc for GLIBC_2.16.
10167         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10168         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10169         * wcsmbs/uchar.h: Really define mbstate_t.
10170         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10171         * wcsmbs/c16rtomb.c: New file.
10172         * wcsmbs/mbrtoc16.c: New file.
10173         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10174         for C/POSIX locale.
10175         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10176         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10178         * wcsmbs/wchar.h: Add missing __restrict.
10180 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
10182         [BZ #13532]
10183         * time/Makefile (routines): Add timespec_get.
10184         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10185         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
10186         timespec for ISO C11.
10187         * time/timespec_get.c: New file.
10188         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10189         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10191         [BZ #13531]
10192         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10193         * stdlib/stdlib.h: Declare aligned_alloc.
10194         * Versions.def: Add GLIBC_2.16 for libc.
10195         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10197         [BZ 13527]
10198         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10199         ISO C11.
10201         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10202         code.
10204         [BZ #13528]
10205         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10207         [BZ #13529]
10208         * assert/assert.h (static_assert): Define.
10210         * version.h: Update for 2.16 development version.
10212         [BZ #13526]
10213         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10214         _ISOC11_SOURCE.
10216         * version.h (RELEASE): Bump for 2.15 release.
10217         * include/features.h (__GLIBC_MINOR__): Bump to 15.
10219         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10220         Patch by Marek Polacek <mpolacek@redhat.com>.
10222         * bits/byteswap.h: Protect long long constants with __extension__.
10223         * sysdeps/i386/bits/byteswap.h: Likewise.
10224         * sysdeps/ia64/bits/byteswap.h: Likewise.
10225         * sysdeps/s390/bits/byteswap.h: Likewise.
10226         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10228 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10230         [BZ #13540]
10231         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10232         destination buffer.
10233         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10235 2011-12-23  Marek Polacek  <polacek@redhat.com>
10237         * elf/dl-addr.c (determine_info): Add inline keyword.
10238         * elf/tst-auditmod4b.c (check_avx): Likewise.
10239         * elf/tst-auditmod6b.c (check_avx): Likewise.
10240         * elf/tst-auditmod6c.c (check_avx): Likewise.
10241         * elf/tst-auditmod7b.c (check_avx): Likewise.
10243 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
10245         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10246         !__SSE_MATH__.
10248 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10250         [BZ #13540]
10251         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10252         processing for last bytes.
10254 2011-08-06  Bruno Haible  <bruno@clisp.org>
10256         [BZ #13061]
10257         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10258         U+0385, not to U+1FEE.
10260         [BZ #13062]
10261         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10262         entry for U+00A5 U+0301.
10264 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
10266         [BZ #13166]
10267         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10268         buffer for the output is too small.
10270         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10271         optimization.
10273         [BZ #13185]
10274         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10275         SSE flags if possible.
10277 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10279         [BZ #13540]
10280         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10281         processing for last bytes.
10283 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
10285         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10286         (syscall-list-default-options, syscall-list-default-condition)
10287         (syscall-list-includes): Define.
10288         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10289         list of ABIs and options and #if conditions for each ABI.  Do not
10290         handle common syscalls between ABIs specially.
10291         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10292         Remove.
10293         (syscall-list-variants, syscall-list-32bit-options)
10294         (syscall-list-32bit-condition, syscall-list-64bit-options)
10295         (syscall-list-64bit-condition): Define.
10296         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10297         (syscall-list-variants, syscall-list-32bit-options)
10298         (syscall-list-32bit-condition, syscall-list-64bit-options)
10299         (syscall-list-64bit-condition): Define.
10300         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10301         Remove.
10302         (syscall-list-variants, syscall-list-32bit-options)
10303         (syscall-list-32bit-condition, syscall-list-64bit-options)
10304         (syscall-list-64bit-condition): Define.
10305         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10306         Remove.
10307         (syscall-list-variants, syscall-list-32bit-options)
10308         (syscall-list-32bit-condition, syscall-list-64bit-options)
10309         (syscall-list-64bit-condition): Define.
10311 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
10313         * locale/iso-639.def: Add brx entry.
10315         [BZ #13328]
10316         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10317         Proposed by Mariusz_Cukr <marcukr@op.pl>.
10319         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10320         __feraiseexcept_renamed.
10322 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
10324         [BZ #13538]
10325         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10326         EPOLLET with unsigned values.
10327         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10328         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10330         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10331         to large cancellation.
10332         * math/s_cacoshf.c: Likewise.
10333         * math/s_cacoshl.c: Likewise.
10335 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
10337         [BZ #13305]
10338         [BZ #12786]
10339         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10340         * math/s_cacoshf.c: Likewise.
10341         * math/s_cacoshl.c: Likewise.
10343 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
10345         [BZ #13439]
10346         * iconv/gconv.h: Define __GCONV_SWAP.
10347         * iconvdata/unicode.c: The swap bit must be stored in __flags.
10348         * iconvdata/utf-16.c: Likewise.
10349         * iconvdata/utf-32.c: Likewise.
10351 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
10353         [BZ #13524]
10354         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10355         numerator after shifting it by one limb.
10357 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
10359         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10360         under [__USE_EXTERN_INLINES].
10362 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
10364         [BZ #13446]
10365         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10367 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10369         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10370         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10371         optimized code.
10372         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10373         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10374         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10375         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10376         for strncasecmp/strncasecmp_l compilation.
10377         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10378         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10380 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
10382         [BZ #13484]
10383         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10384         of __asm__.
10386 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
10388         [BZ #13506]
10389         * time/tzfile.c (__tzfile_read): Check values from file header.
10391 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
10393         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10394         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10395         * powerpc/powerpc32/dl-start.S: Likewise.
10396         * powerpc/powerpc32/elf/start.S: Likewise.
10397         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10398         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10399         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10400         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10401         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10402         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10403         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10404         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10405         * powerpc/powerpc32/fpu/s_round.S: Likewise.
10406         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10407         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10408         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10409         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10410         * powerpc/powerpc32/memset.S: Likewise.
10411         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10412         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10413         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10414         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10415         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10416         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10417         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10418         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10419         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10420         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10421         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10422         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10423         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10425 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10427         * math/libm-test.inc: Added more nearbyint tests.
10428         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10429         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10430         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10431         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10433 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
10435         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10436         FD_CLOEXEC.
10438 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10440         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10441         Add wcscpy-ssse3 wcscpy-c.
10442         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10443         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10444         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10445         * sysdeps/x86_64/wcschr.S: New file.
10446         * sysdeps/x86_64/wcsrchr.S: New file.
10447         * string/test-strcmp.c: Remove checking of wcscmp function for
10448         wrong alignments.
10449         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10450         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10451         wcsrchr-sse2 wcsrchr-c.
10452         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10453         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10454         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10455         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10456         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10457         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10458         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10459         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10460         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10461         * wcsmbc/wcschr.c (WCSCHR): New macro.
10463 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10465         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10466         * wcsmbs/test-wcsrchr.c: New file.
10467         * string/test-strrchr.c: Add wcsrchr support.
10468         (WIDE): New macro.
10469         * wcsmbs/test-wcscpy.c: New file.
10470         * string/test-strcpy.c: Add wcscpy support.
10471         (WIDE): New macro.
10473 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
10475         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10476         the inner loop.
10478 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
10480         [BZ #13472]
10481         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10483 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
10485         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10486         Minor optimizations.
10488         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10489         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10490         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10492 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
10494         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10495         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10496         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10497         for gcc to avoid warnings.
10498         * inet/Makefile (tests): Add tst-checks.
10499         * inet/tst-checks.c: New file.
10501         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10502         warning.
10504         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10505         __wmemcmp_sse2.
10507         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10508         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10510         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10512 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
10514         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10515         problem.
10517         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10519 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
10521         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10522         conditional on GCC version.
10523         (__arch_compare_and_exchange_val_8_acq)
10524         (__arch_compare_and_exchange_val_16_acq)
10525         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10526         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10527         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10529 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
10531         * sysdeps/sh/backtrace.c: New file.
10533 2011-12-02  Andreas Schwab  <schwab@redhat.com>
10535         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
10536         parenthesis.
10538 2011-12-01  Andreas Schwab  <schwab@redhat.com>
10540         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10541         falling back to utime.
10543 2011-11-30  Andreas Schwab  <schwab@redhat.com>
10545         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10546         expectations for float.
10548 2011-11-29  Andreas Schwab  <schwab@redhat.com>
10550         * locale/weight.h (findidx): Add parameter len.
10551         * locale/weightwc.h (findidx): Likewise.
10552         * posix/fnmatch_loop.c (FCT): Adjust caller.
10553         * posix/regcomp.c (build_equiv_class): Likewise.
10554         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10555         * posix/regexec.c (check_node_accept_bytes): Likewise.
10556         * string/strcoll_l.c (STRCOLL): Likewise.
10557         * string/strxfrm_l.c (STRXFRM): Likewise.
10559 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
10561         * Makefile.in: Remove CVSOPT handling.
10562         * configure.in: Remove use of AC_REVISION.
10563         * iconvdata/Makefile (distribute): No need to filter out CVS.
10564         * scripts/list-sources.sh: Remove CVS, subversion and monotone
10565         handling.
10567 2011-11-16  Andreas Schwab  <schwab@redhat.com>
10569         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10570         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10571         [USE_AS_STRNCASECMP_L]: Likewise.
10572         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10573         NO_TLS_DIRECT_SEG_REFS.
10574         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10575         Fix argument offsets for non-PIC.
10576         [USE_AS_STRNCASECMP_L]: Likewise.
10577         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10578         NO_TLS_DIRECT_SEG_REFS.
10580 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
10582         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10583         O_CLOEXEC.
10584         * locale/loadlocale.c (_nl_load_locale): Likewise.
10586 2011-11-15  Andreas Schwab  <schwab@redhat.com>
10588         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10589         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10590         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10591         (SYSCALL_GETTIME): Set errno on error.
10593         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10594         count references to noai6ai_cached.
10596 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
10598         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10600         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10601         FD_CLOEXEC for /proc/self/maps.
10603         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10604         FD_CLOEXEC for /proc/meminfo.
10606         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10607         gai.conf.
10609         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
10610         FD_CLOEXEC for given file.
10612         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10614         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10615         FD_CLOEXEC for /etc/hosts.
10616         (_gethtent): Likewise.
10618         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10620         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10621         cancellation and set FD_CLOEXEC for /etc/netgroup.
10623         * nss/nss_files/files-key.c (search): Don't allow cancellation when
10624         reading /etc/publickey.
10626         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10627         allow cancellation when reading /etc/group.
10629         * nss/nss_files/files-alias.c (internal_setent): Don't allow
10630         cancellation.
10631         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
10633         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10634         when using data file.
10636         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10638         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10639         (write_nis_obj): Use "c" and "e" in fopen.
10641         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10643         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10645         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10647         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10649         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10650         locale.alias.
10652         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10654         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10656         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10658         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10659         file parsing and set FD_CLOEXEC.
10661 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
10663         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10665 2011-11-14  Andreas Schwab  <schwab@redhat.com>
10667         * malloc/arena.c (arena_get2): Don't call reused_arena when
10668         _int_new_arena failed.
10670 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
10672         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10673         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10674         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10675         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10676         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10677         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10678         to compile strcasecmp and strncasecmp.
10679         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10680         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10682         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10684 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
10686         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10687         locale-defines.sym to gen-as-const-headers.
10688         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10689         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10690         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10691         to compile strcasecmp and strncasecmp.
10692         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10693         strcasecmp_l and strncasecmp_l.
10694         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10695         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10696         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10697         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10698         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10699         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10700         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10701         * sysdeps/i386/i686/multiarch/strncase.S: New file.
10702         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10703         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10704         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10706 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
10708         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10709         result of SYSDEP_GETTIME_CPU to retval.
10710         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10711         parameter list to macro.  Remove trailing semicolon.  Adjust users.
10713         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10714         variable.
10716         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10717         mantissa words.
10718         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10720         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10721         from unused variable.
10723         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10724         DWARF definitions.
10725         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10726         for assembling.
10728         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10729         over namespaces.
10731         * sunrpc/rpc_prot.c (rejected): Fix case value.
10733         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10734         unsigned long long int to avoid warnings in shift.
10736         * posix/regex_internal.c (re_string_reconstruct): Actually use result
10737         of use of trans.
10738         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10739         variable tmp.
10741         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10742         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10743         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10745         * nis/nis_table.c (nis_list): Use variable of correct type for
10746         result of __follow_path call.
10748 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10750         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10751         of math functions ceil, trunc, floor, round, and sqrt, when
10752         avaliable on the platform.
10753         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10754         name clash.
10755         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10756         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10757         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10759 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
10761         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10762         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10764 2011-11-11  Roland McGrath  <roland@hack.frob.com>
10766         * include/unistd.h: Fix __readlink return type.
10767         Reported by Chris Metcalf <cmetcalf@tilera.com>.
10769 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
10771         * stdlib/ucontext.h: Undo last change for makecontext.
10773 2011-11-11  Andreas Schwab  <schwab@redhat.com>
10775         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10777         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10778         * setjmp/setjmp.h: Mark functions as non-leaf.
10779         * setjmp/bits/setjmp2.h: Likewise.
10780         * stdlib/ucontext.h: Likewise.
10782 2011-11-10  Andreas Schwab  <schwab@redhat.com>
10784         * malloc/arena.c (_int_new_arena): Don't increment narenas.
10785         (reused_arena): Don't check arena limit.
10786         (arena_get2): Atomically check arena limit.
10788 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
10790         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10791         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10793         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10794         instructions.
10796 2011-11-07  Andreas Schwab  <schwab@redhat.com>
10798         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10799         handler when locking.
10801         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10802         Fix size of allocated buffer.
10804 2011-11-04  Andreas Schwab  <schwab@redhat.com>
10806         [BZ #10103]
10807         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10808         declarations for long double functions.
10809         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10811         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10813 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10815         * nscd/nscd.c (main): Don't start AVC thread until credentials are
10816         installed.
10818         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10819         is disabled.
10821 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10823         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10825 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10827         * include/alloca.h (stackinfo_alloca_round): Define.
10828         (extend_alloca): Use it.
10829         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10830         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10831         here.
10833         * scripts/check-local-headers.sh: Ignore libaudit.h.
10835         * nscd/Makefile (extra-objs): Make recursively expanded.
10837 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
10839         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10840         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10842         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10843         * posix/tst-rfc3484-2.c: Likewise.
10844         * posix/tst-rfc3484-3.c: Likewise.
10846         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10847         process_vm_writev.
10848         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10849         process_vm_writev.
10850         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10851         process_vm_writev from libc using GLIBC_2.15 version.
10853         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10855 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
10857         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10858         stack usage.
10860 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
10862         [BZ #13367]
10863         * nss/getent.c (initgroups_keys): Show error message in case no group
10864         names are given.
10866         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10867         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10868         __bump_nl_timestamp.
10869         * nscd/connections (nscd_init): When host database is served open
10870         netlink socket and request notification about configuration changes.
10871         (main_loop_poll): Track netlink file descriptor and bump timestamp
10872         in case data becomes available.
10873         (main_loop_epoll): Likewise.
10874         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10875         (database_pers_head): Add extra_data fileds.
10876         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10877         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10878         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10879         Adjust caller.
10880         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10881         in6ai data, call __free_in6ai.
10882         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10883         Add -DHAVE_NETLINK.
10884         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
10885         interface information.  Reuse previous data if netlink timestamp
10886         is not changed.
10887         (__bump_nl_timestamp): New function.
10888         (__free_in6ai): New function.
10890 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
10892         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10893         close_not_cancel_no_status here.
10894         (__check_pf): Reorganize code a bit to not call close twice if OOM.
10896 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
10898         [BZ #13276]
10899         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10900         return value.
10902         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10903         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10904         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10906 2011-07-03  Andreas Jaeger  <aj@suse.de>
10908         [BZ #10709]
10909         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10910         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10911         * math/libm-test.inc (sin_test): Add test case.
10913 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
10915         [BZ #13337]
10916         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10917         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10919         * elf/chroot_canon.c (chroot_canon): Cleanups.
10921         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10923         [BZ #13335]
10924         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10925         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10927         * string/test-strchr.c: Make usable for strchrnul testing.
10928         * string/test-strchrnul.c: New file.
10929         * string/Makefile (strop-tests): Add strchrnul.
10931         * po/it.po: Update from translation team.
10932         * po/es.po: Likewise.
10934 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
10936         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10937         the three constants needed as parameters.  Drop the others.
10938         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10939         __m128i_strloadu_tolower.
10940         Create and initialize variable zero and use it in all the places
10941         where _mm_setzero_si128 was used.
10943         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10944         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10945         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10946         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10947         anymore.
10948         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10949         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10950         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10951         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10952         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10953         __mpranred, __mptan.
10954         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10955         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10956         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10957         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10958         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10959         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10960         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10961         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10962         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10964 2011-10-28  Andreas Schwab  <schwab@redhat.com>
10966         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10967         redefine if SHARED.
10968         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10970         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10971         wide char related routines to wcsmbs subdir.
10973 2011-10-27  Andreas Schwab  <schwab@redhat.com>
10975         [BZ #13344]
10976         * misc/sys/cdefs.h (__THROWNL): Define.
10977         * posix/unistd.h: Use __THREADNL instead of __THREAD
10978         for memory synchronization functions.
10980 2011-10-26  Roland McGrath  <roland@hack.frob.com>
10982         [BZ #13349]
10983         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10984         doesn't exist.
10985         * manual/stdio.texi (Obstack Streams): Node removed.
10987 2011-10-26  Andreas Schwab  <schwab@redhat.com>
10989         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10990         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10991         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10993         * math/math_private.h (math_force_eval): Allow non-addressable
10994         arguments.
10995         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10997 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10999         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11000         file is not needed.
11002         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11003         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11004         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11005         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11006         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11007         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11008         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11009         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11010         Add AVX variants.
11011         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11012         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11013         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11014         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11015         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11016         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11017         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11018         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11019         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11020         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11021         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11022         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11023         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11024         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11025         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11026         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11027         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11028         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11029         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11031         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11032         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
11034         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11035         place.  Use VEX encoding when compiling for AVX.
11037 2011-10-25  Andreas Schwab  <schwab@redhat.com>
11039         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11040         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11042         * string/test-strchr.c (do_test): Don't generate NUL bytes.
11044 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
11046         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11047         useless if() expression.
11048         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11049         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11050         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11051         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11052         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11053         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11054         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11055         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11056         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11057         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11058         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11059         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11060         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11061         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11062         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11063         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11064         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11065         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11066         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11068         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11070 2011-10-25  Andreas Schwab  <schwab@redhat.com>
11072         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11073         condition.
11074         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11076 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
11078         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11079         .text section.  Avoid duplicate constants.
11080         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11081         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11082         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11083         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11084         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11085         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11086         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11087         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11088         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11089         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11090         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11091         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11092         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11093         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11094         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11095         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11096         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11097         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11098         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11099         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11100         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11101         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11102         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11103         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11104         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11105         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11106         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11107         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11108         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11109         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11110         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11111         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11112         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11113         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11114         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11115         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11116         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11117         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11118         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11119         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11120         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11121         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11122         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11123         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11124         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11126 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
11128         * sysdeps/x86_64/dla.h: Move to ...
11129         * sysdeps/x86_64/fpu/dla.h: ...here.
11130         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11131         situations.  Use __builtin_fma only for gcc 4.6 and up.
11133         * config.make.in: Add have-mfma4 entry.
11134         * configure.in: Substitute libc_cv_cc_fma4.
11135         * math/Makefile (dbl-only-routines): Add sincostab.
11136         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11137         Use __sincostab not sincos.
11138         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11139         name is a macro.
11140         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11141         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11142         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11143         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
11144         using __copysign.
11145         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
11146         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
11147         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11148         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11149         and __inv.
11150         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11151         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11152         __copysign.
11153         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
11154         define aliases when function name is a macro.
11155         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11156         sysdeps/ieee754/dbl-64/sincos.tbl.
11157         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11158         fma4-enabled routines.
11159         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11160         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11161         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11162         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11163         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11164         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11165         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11166         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11167         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11168         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11169         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11170         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11171         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11172         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11173         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11174         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11175         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11176         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11177         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11178         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11179         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11180         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11181         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11182         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11183         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11184         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11185         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11186         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11187         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11188         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11190         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11191         rename.
11192         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11193         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11194         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11195         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11196         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11197         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11198         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11199         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11201 2011-10-24  Andreas Schwab  <schwab@redhat.com>
11203         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11205 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11207         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11209         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11210         prediction.
11211         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11213         * string/strnlen.c: Don't define STRNLEN, reverse logic.
11214         Remove unused variable magic_bits.
11215         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11217         * string/strnlen.c: Define and use STRNLEN macro.
11218         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11219         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11220         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11221         * wcsmbs/wcslen.c: Define and use WCSLEN.
11222         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11223         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11224         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11225         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11226         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11227         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11228         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11230 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11232         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11233         strnlen-sse2-no-bsf.
11234         Rename strlen-no-bsf to strlen-sse2-no-bsf.
11235         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11236         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11237         Add strnlen support.
11238         (USE_AS_STRNLEN): New macro.
11239         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11240         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11241         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11242         * sysdeps/x86_64/wcslen.S: New file.
11244 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
11246         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11247         XMM-moves are used for copying on small sizes.
11249 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11251         * wcsmbs/Makefile (strop-tests): Add wcschr.
11252         * wcsmbs/test-wcschr.c: New file.
11253         * string/test-strchr.c: Update.
11254         Add wcschr support.
11255         (WIDE): New macro.
11257 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11259         * wcsmbs/Makefile (strop-tests): Add wcslen.
11260         * wcsmbs/test-wcslen.c: New file.
11261         * string/test-strlen.c: Update.
11262         Add wcslen support.
11263         (WIDE): New macro.
11265 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11267         * po/it.po: Update from translation team.
11269 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11271         * sysdeps/x86_64/wcscmp.S: Update.
11272         Fix wrong comparison semantics.
11273         wcscmp shall use signed comparison not unsigned.
11274         Don't use substraction to avoid overflow bug.
11275         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11276         * wcsmbc/wcscmp.c: Likewise.
11277         * string/test-strcmp.c: Likewise.
11278         Add new tests to check cases with negative values.
11280 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11282         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11283         * sysdeps/x86_64/dla.h: ...here.  New file.
11284         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11285         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11286         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11287         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11288         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11289         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11290         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11291         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11292         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11294 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
11296         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11297         __ynl_finite aliases.
11299 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
11301         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11303         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11304         define DLA_FMA.
11305         [DLA_FMA] (EMULV): Use DLA_FMA.
11306         [DLA_FMA] (MUL12): Use EMULV.
11307         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11308         that are not needed.
11309         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11310         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11311         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11312         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11313         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11314         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11315         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11317 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
11319         * math/s_nan.c: Undef __nan.
11320         * math/s_nanf.c: Undef __nanf.
11321         * math/s_nanl.c: Undef __nanl.
11322         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11323         "math_private.h".
11325 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
11327         * math/s_catan.c: Add branch predictions.
11328         * math/s_catanf.c: Likewise.
11329         * math/s_catanh.c: Likewise.
11330         * math/s_catanhf.c: Likewise.
11331         * math/s_catanhl.c: Likewise.
11332         * math/s_catanl.c: Likewise.
11333         * math/s_cexp.c: Likewise.
11334         * math/s_cexpf.c: Likewise.
11335         * math/s_cexpl.c: Likewise.
11336         * math/s_clog.c: Likewise.
11337         * math/s_clog10.c: Likewise.
11338         * math/s_clog10f.c: Likewise.
11339         * math/s_clog10l.c: Likewise.
11340         * math/s_clogf.c: Likewise.
11341         * math/s_clogl.c: Likewise.
11342         * math/s_csqrt.c: Likewise.
11343         * math/s_csqrtf.c: Likewise.
11344         * math/s_csqrtl.c: Likewise.
11345         * math/s_ctanf.c: Likewise.
11346         * math/s_ctanh.c: Likewise.
11347         * math/s_ctanhf.c: Likewise.
11348         * math/s_ctanhl.c: Likewise.
11349         * math/s_ctanl.c: Likewise.
11351         * math/math_private.h: Define __nan, __nanf, __nanl.
11352         * math/s_cacosh.c: Include <math_private.h>.
11353         * math/s_cacoshl.c: Likewise.
11354         * math/s_casinh.c: Likewise.
11355         * math/s_casinhf.c: Likewise.
11356         * math/s_casinhl.c: Likewise.
11357         * math/s_ccos.c: Rely entire on ccosh.
11358         * math/s_ccosf.c: Rely entire on ccoshf.
11359         * math/s_ccosl.c: Rely entirely on ccoshl.
11360         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
11361         Remove tests for FE_INVALID.
11362         * math/s_ccoshf.c: Likewise.
11363         * math/s_ccoshl.c: Likewise.
11364         * math/s_csin.c: Likewise.
11365         * math/s_csinf.c: Likewise.
11366         * math/s_csinh.c Likewise.
11367         * math/s_csinhf.c: Likewise.
11368         * math/s_csinhl.c: Likewise.
11369         * math/s_csinl.c: Likewise.
11370         * math/s_ctan.c: Likewise.
11371         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11372         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11373         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11375 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
11377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11378         compilation problems.
11380         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11381         __builtin_expect.
11383 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
11385         * sysdeps/i386/configure.in: Test for -mfma4 option.
11386         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11387         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11388         COMMON_CPUID_INDEX_80000001.
11389         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11390         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11391         use it if FMA3 is not supported.
11392         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11394         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11395         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11397 2011-10-20  Andreas Schwab  <schwab@redhat.com>
11399         [BZ #12892]
11400         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11401         it would create a cycle with a link time dependency.
11403 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
11405         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11406         instruction.
11407         * string/Makefile (strop-tests): Add rawmemchr.
11408         * string/test-rawmemchr.c: New file.
11410         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11411         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
11412         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
11413         when compiling str{,n}casecmp and when AVX is available.  Hook up
11414         new optimized code in initializers.
11416 2011-10-19  Andreas Schwab  <schwab@redhat.com>
11418         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11419         __feraiseexcept instead of feraiseexcept.
11421 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
11423         * math/math_private.h: Define defaults for libc_fetestexcept and
11424         libc_feupdateenv.
11425         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11426         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11427         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11428         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11429         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11430         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11431         libc_fetestexcept and libc_feupdateenv.
11433         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11434         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11435         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11436         * sysdeps/x86_64/fpu/math_private.h: Define special version of
11437         libc_feholdexcept_setround.
11439         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11440         Add s_nearbyint-c and s_nearbyintf-c.
11441         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11442         nearbyintf inlines.
11443         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11444         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11445         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11446         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11448         * math/math_private.h: Define defaults for libc_fegetround,
11449         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11450         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11451         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11452         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11453         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11454         standard functions.
11455         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11456         Remove comments and hacks for old compiler versions.
11457         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11458         libc_fegetround, libc_fesetround, libc_feholdexcept, and
11459         libc_feholdexceptl.
11461 2011-10-18  Andreas Schwab  <schwab@redhat.com>
11463         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11464         (__feraiseexcept_renamed): Add __NTH.
11465         (feraiseexcept): Add __NTH.  Rename local variables to fix
11466         namespace violations.
11468 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
11470         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11472         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11474         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11475         recently added interfaces.
11476         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11478         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11479         about macro parameter expansion.
11481         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11482         __NO_MATH_INLINES is defined.  Cleanups.
11484         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11485         and __floorf is target has SSE4.1.
11486         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11487         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11488         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11489         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11491         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11492         name.
11493         (floorf): Likewise.
11495         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11497 2011-10-17  Andreas Schwab  <schwab@redhat.com>
11499         * misc/sys/cdefs.h: Fix last change.
11501         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11502         database lookup.
11504 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
11506         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11508         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11509         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11510         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11511         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11512         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11513         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11514         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11515         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11516         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11517         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11518         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11519         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11520         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11521         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11522         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11523         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11524         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11525         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11526         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11527         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11528         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11529         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11531         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11532         ceil, ceilf, floor, floorf.
11534         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11535         Perform IRELATIVE relocations last.
11537         * elf/do-rel.h: Add another parameter nrelative, replacing the
11538         local variable with the same name.  Change name of the function
11539         to end in Rel or Rela (uppercase).
11540         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11541         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
11542         elf_dynamic_do_##reloc function.
11544 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
11546         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11547         is sufficient, at least on modern CPUs.
11549         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11551         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11552         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11554         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11555         __expl_finite.
11556         * math/bits/math-finite.h: Add entries for exp.
11557         * math/e_expl.c: Add __*_finite alias.
11558         * sysdeps/i386/fpu/e_exp.S: Likewise.
11559         * sysdeps/i386/fpu/e_expf.S: Likewise.
11560         * sysdeps/i386/fpu/e_expl.c: Likewise.
11561         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11562         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11563         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11564         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11565         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11566         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11567         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11569         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11570         is sufficient, at least on modern CPUs.
11572         * ctype/ctype-info.c (__ctype_init): Define.
11573         * include/ctype.h (__ctype_init): Declare.
11574         (__ctype_b_loc): The variable is always initialized.
11575         (__ctype_toupper_loc): Likewise.
11576         (__ctype_tolower_loc): Likewise.
11577         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11578         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11580 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
11582         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11584         * configure.in: Also look in $cxxmachine/include for C++ system
11585         headers.
11587 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11589         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11590         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11591         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11592         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
11593         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11594         (USE_AS_WMEMCMP): New macro.
11595         Fixing indents.
11596         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11597         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11598         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11599         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11600         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11601         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11602         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11603         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11604         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11605         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11606         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11607         (USE_AS_WMEMCMP): New macro.
11608         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11609         * sysdeps/string/test-memcmp.c: Update.
11610         Fix simple_wmemcmp.
11611         Add new tests.
11612         * wcsmbs/wmemcmp.c: Update.
11613         (WMEMCMP): New macro.
11614         Fix overflow bug.
11616 2011-10-12  Andreas Jaeger  <aj@suse.de>
11618         [BZ #13268]
11619         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11621 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
11623         * libio/iofwide.c (do_length): Avoid warning.
11625         * ctype/ctype.h (__isctype_f): Add missing __THROW.
11627 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
11629         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11631         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11632         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11633         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11634         * sysdeps/i386/i686/fpu/e_log.S: New file.
11635         * sysdeps/i386/i686/fpu/e_logf.S: New file.
11636         * sysdeps/i386/i686/fpu/e_logl.S: New file.
11638         * ctype/ctype.h: Add support for inlined isXXX functions when
11639         compiling C++ code.
11641 2011-10-14  Andreas Schwab  <schwab@redhat.com>
11643         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11645         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11647 2011-10-13  Roland McGrath  <roland@hack.frob.com>
11649         [BZ #13291]
11650         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11652 2011-10-13  Andreas Schwab  <schwab@redhat.com>
11654         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11655         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11656         feraiseexcept.
11658         * sysdeps/x86_64/memrchr.S: Check for zero size.
11660         * string/stratcliff.c: Add memrchr tests.
11662 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11664         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11665         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11666         rawmemchr-sse2 rawmemchr-sse2-bsf.
11667         * sysdeps/i386/i686/multiarch/memchr.S: New file.
11668         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11669         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11670         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11671         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11672         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11673         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11674         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11675         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11676         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11677         * string/memrchr.c (MEMRCHR): New macro.
11679 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
11681         Add integration with gcc's -ffinite-math-only and optimize wrapper
11682         functions in libm.
11683         * Versions.def: Define GLIBC_2.15 version for libm.
11684         * math/Makefile (headers): Add bits/math-finite.h.
11685         * math/bits/math-finite.h: New file.
11686         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11687         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11688         * math/e_acoshl.c: Add __*_finite alias.
11689         * math/e_acosl.c: Likewise.
11690         * math/e_asinl.c: Likewise.
11691         * math/e_atan2l.c: Likewise.
11692         * math/e_atanhl.c: Likewise.
11693         * math/e_coshl.c: Likewise.
11694         * math/e_exp10.c: Likewise.
11695         * math/e_exp10f.c: Likewise.
11696         * math/e_exp10l.c: Likewise.
11697         * math/e_exp2l.c: Likewise.
11698         * math/e_fmodl.c: Likewise.
11699         * math/e_gammal_r.c: Likewise.
11700         * math/e_hypotl.c: Likewise.
11701         * math/e_j0l.c: Likewise.
11702         * math/e_j1l.c: Likewise.
11703         * math/e_jnl.c: Likewise.
11704         * math/e_lgammal_r.c: Likewise.
11705         * math/e_log10l.c: Likewise.
11706         * math/e_log2l.c: Likewise.
11707         * math/e_logl.c: Likewise.
11708         * math/e_powl.c: Likewise.
11709         * math/e_sinhl.c: Likewise.
11710         * math/e_sqrtl.c: Likewise.
11711         * math/e_scalb.c: Completely rewritten and optimized.
11712         * math/e_scalbf.c: Likewise.
11713         * math/e_scalbl.c: Likewise.
11714         * math/w_acos.c: Likewise.
11715         * math/w_acosf.c: Likewise.
11716         * math/w_acosl.c: Likewise.
11717         * math/w_acosh.c: Likewise.
11718         * math/w_acoshf.c: Likewise.
11719         * math/w_acoshl.c: Likewise.
11720         * math/w_asin.c: Likewise.
11721         * math/w_asinf.c: Likewise.
11722         * math/w_asinl.c: Likewise.
11723         * math/w_atan2.c: Likewise.
11724         * math/w_atan2f.c: Likewise.
11725         * math/w_atan2l.c: Likewise.
11726         * math/w_atanh.c: Likewise.
11727         * math/w_atanhf.c: Likewise.
11728         * math/w_atanhl.c: Likewise.
11729         * math/w_exp10.c: Likewise.
11730         * math/w_exp10f.c: Likewise.
11731         * math/w_exp10l.c: Likewise.
11732         * math/w_fmod.c: Likewise.
11733         * math/w_fmodf.c: Likewise.
11734         * math/w_fmodl.c: Likewise.
11735         * math/w_j0.c: Likewise.
11736         * math/w_j0f.c: Likewise.
11737         * math/w_j0l.c: Likewise.
11738         * math/w_j1.c: Likewise.
11739         * math/w_j1f.c: Likewise.
11740         * math/w_j1l.c: Likewise.
11741         * math/w_jn.c: Likewise.
11742         * math/w_jnf.c: Likewise.
11743         * math/w_log.c: Likewise.
11744         * math/w_logf.c: Likewise.
11745         * math/w_logl.c: Likewise.
11746         * math/w_log10.c: Likewise.
11747         * math/w_log10f.c: Likewise.
11748         * math/w_log10l.c: Likewise.
11749         * math/w_log2.c: Likewise.
11750         * math/w_log2f.c: Likewise.
11751         * math/w_log2l.c: Likewise.
11752         * math/w_pow.c: Likewise.
11753         * math/w_powf.c: Likewise.
11754         * math/w_powl.c: Likewise.
11755         * math/w_remainder.c: Likewise.
11756         * math/w_remainderf.c: Likewise.
11757         * math/w_remainderl.c: Likewise.
11758         * math/w_scalb.c: Likewise.
11759         * math/w_scalbf.c: Likewise.
11760         * math/w_scalbl.c: Likewise.
11761         * math/w_sqrt.c: Likewise.
11762         * math/w_sqrtf.c: Likewise.
11763         * math/w_sqrtl.c: Likewise.
11764         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11765         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
11766         used.
11767         * math/math_private.h: Declare __kernel_standard_f.
11768         * math/w_cosh.c: Remove cruft and optimize a bit.
11769         * math/w_coshf.c: Likewise.
11770         * math/w_coshl.c: Likewise.
11771         * math/w_exp2.c: Likewise.
11772         * math/w_exp2f.c: Likewise.
11773         * math/w_exp2l.c: Likewise.
11774         * math/w_hypot.c: Likewise.
11775         * math/w_hypotf.c: Likewise.
11776         * math/w_hypotl.c: Likewise.
11777         * math/w_lgamma.c: Likewise.
11778         * math/w_lgamma_r.c: Likewise.
11779         * math/w_lgammaf.c: Likewise.
11780         * math/w_lgammaf_r.c: Likewise.
11781         * math/w_lgammal.c: Likewise.
11782         * math/w_lgammal_r.c: Likewise.
11783         * math/w_sinh.c: Likewise.
11784         * math/w_sinhf.c: Likewise.
11785         * math/w_sinhl.c: Likewise.
11786         * math/w_tgamma.c: Likewise.
11787         * math/w_tgammaf.c: Likewise.
11788         * math/w_tgammal.c: Likewise.
11789         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11790         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11791         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11792         Minor optimizations.  Pretty printing.  Remove cruft.
11793         * sysdeps/i386/fpu/e_acosf.S: Likewise.
11794         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11795         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11796         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11797         * sysdeps/i386/fpu/e_acosl.c: Likewise.
11798         * sysdeps/i386/fpu/e_asin.S: Likewise.
11799         * sysdeps/i386/fpu/e_asinf.S: Likewise.
11800         * sysdeps/i386/fpu/e_atan2.S: Likewise.
11801         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11802         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11803         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11804         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11805         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11806         * sysdeps/i386/fpu/e_exp10.S: Likewise.
11807         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11808         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11809         * sysdeps/i386/fpu/e_exp2.S: Likewise.
11810         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11811         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11812         * sysdeps/i386/fpu/e_fmod.S: Likewise.
11813         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11814         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11815         * sysdeps/i386/fpu/e_hypot.S: Likewise.
11816         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11817         * sysdeps/i386/fpu/e_log.S: Likewise.
11818         * sysdeps/i386/fpu/e_log10.S: Likewise.
11819         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11820         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11821         * sysdeps/i386/fpu/e_log2.S: Likewise.
11822         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11823         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11824         * sysdeps/i386/fpu/e_logf.S: Likewise.
11825         * sysdeps/i386/fpu/e_logl.S: Likewise.
11826         * sysdeps/i386/fpu/e_pow.S: Likewise.
11827         * sysdeps/i386/fpu/e_powf.S: Likewise.
11828         * sysdeps/i386/fpu/e_powl.S: Likewise.
11829         * sysdeps/i386/fpu/e_remainder.S: Likewise.
11830         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11831         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11832         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11833         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11834         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11835         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11836         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11837         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11838         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11839         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11840         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11841         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11842         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11843         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11844         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11845         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11846         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11847         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11848         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11849         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11850         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11851         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11852         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11853         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11854         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11855         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11856         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11857         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11858         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11859         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11860         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11861         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11862         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11863         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11864         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11865         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11866         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11867         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11868         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11869         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11870         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11871         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11872         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11873         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11874         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11875         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11876         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11877         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11878         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11879         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11880         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11881         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11882         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11883         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11884         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11885         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11886         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11887         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11888         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11889         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11890         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11891         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11892         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11893         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11894         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11895         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11896         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11897         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11898         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11899         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11900         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11901         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11902         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11903         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11904         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11905         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11906         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11907         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11908         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11909         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11910         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11911         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11912         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11913         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11914         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11915         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11916         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11917         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11918         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11919         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11920         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11921         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11922         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11923         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11924         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11925         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11926         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11927         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11928         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11929         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11930         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11931         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11932         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11933         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11934         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11935         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11936         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11937         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11938         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11939         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11940         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11941         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11942         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11943         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11944         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11945         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11946         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11947         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11948         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
11949         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11950         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11951         (__isnanf): Likewise.
11952         (__isinf_ns): Likewise.
11953         (__isinf_nsf): Likewise.
11954         (__finite): Likewise.
11955         (__finitef): Likewise.
11956         (__ieee754_sqrt): Define as macro.
11957         (__ieee754_sqrtf): Define as macro.
11958         (__ieee754_sqrtl): Define as macro.
11959         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11960         inlined copy.
11961         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11962         __FINITE_MATH_ONLY__ consistent.
11963         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11965 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
11967         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11968         of rawmemchr.
11970         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11972 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
11974         * po/ja.po: Update from translation team.
11976 2011-10-08  Roland McGrath  <roland@hack.frob.com>
11978         * locale/programs/locarchive.c (prepare_address_space): New function.
11979         (create_archive, enlarge_archive, open_archive): Use it.
11981         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11982         inside [SHARED], where it is used.
11984         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11986         * nss/getent.c (netgroup_keys): Remove unused variable.
11987         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11989 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
11991         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11992         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11993         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11994         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11995         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11996         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11997         * math/Makefile (libm-calls): Add s_isinf_ns.
11998         * math/divtc3.c: Use __isinf_nsl instead of isinf.
11999         * math/multc3.c: Likewise.
12000         * math/s_casin.c: Likewise.
12001         * math/s_casinf.c: Likewise.
12002         * math/s_casinl.c: Likewise.
12003         * math/s_ccos.c: Likewise.
12004         * math/s_ccosf.c: Likewise.
12005         * math/s_ccosl.c: Likewise.
12006         * math/s_ctan.c: Likewise.
12007         * math/s_ctanf.c: Likewise.
12008         * math/s_ctanh.c: Likewise.
12009         * math/s_ctanhf.c: Likewise.
12010         * math/s_ctanhl.c: Likewise.
12011         * math/s_ctanl.c: Likewise.
12012         * math/w_fmod.c: Likewise.
12013         * math/w_fmodf.c: Likewise.
12014         * math/w_fmodl.c: Likewise.
12015         * math/w_remainder.c: Likewise.
12016         * math/w_remainderf.c: Likewise.
12017         * math/w_remainderl.c: Likewise.
12018         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12019         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12020         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12021         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12022         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12023         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12024         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12025         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12027         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12028         of the number.
12029         * stdio-common/printf_fphex.c: Likewise.
12030         * stdio-common/printf_size.c: Likewise.
12032         * math/e_exp10.c: Include math_private.h using <...> not "...".
12033         * math/e_exp10f.c: Likewise.
12034         * math/e_exp10l.c: Likewise.
12035         * math/e_exp2l.c: Likewise.
12036         * math/e_j0l.c: Likewise.
12037         * math/e_j1l.c: Likewise.
12038         * math/e_jnl.c: Likewise.
12039         * math/e_lgammal_r.c: Likewise.
12040         * math/e_rem_pio2l.c: Likewise.
12041         * math/e_scalb.c: Likewise.
12042         * math/e_scalbf.c: Likewise.
12043         * math/e_scalbl.c: Likewise.
12044         * math/k_cosl.c: Likewise.
12045         * math/k_sinl.c: Likewise.
12046         * math/k_tanl.c: Likewise.
12047         * math/s_cacoshf.c: Likewise.
12048         * math/s_catan.c: Likewise.
12049         * math/s_catanf.c: Likewise.
12050         * math/s_catanh.c: Likewise.
12051         * math/s_catanhf.c: Likewise.
12052         * math/s_catanhl.c: Likewise.
12053         * math/s_catanl.c: Likewise.
12054         * math/s_ccosh.c: Likewise.
12055         * math/s_ccoshf.c: Likewise.
12056         * math/s_ccoshl.c: Likewise.
12057         * math/s_cexp.c: Likewise.
12058         * math/s_cexpf.c: Likewise.
12059         * math/s_cexpl.c: Likewise.
12060         * math/s_clog.c: Likewise.
12061         * math/s_clog10.c: Likewise.
12062         * math/s_clog10f.c: Likewise.
12063         * math/s_clog10l.c: Likewise.
12064         * math/s_clogf.c: Likewise.
12065         * math/s_clogl.c: Likewise.
12066         * math/s_csin.c: Likewise.
12067         * math/s_csinf.c: Likewise.
12068         * math/s_csinh.c: Likewise.
12069         * math/s_csinhf.c: Likewise.
12070         * math/s_csinhl.c: Likewise.
12071         * math/s_csinl.c: Likewise.
12072         * math/s_csqrt.c: Likewise.
12073         * math/s_csqrtf.c: Likewise.
12074         * math/s_csqrtl.c: Likewise.
12075         * math/s_ctan.c: Likewise.
12076         * math/s_ctanf.c: Likewise.
12077         * math/s_ctanh.c: Likewise.
12078         * math/s_ctanhf.c: Likewise.
12079         * math/s_ctanhl.c: Likewise.
12080         * math/s_ctanl.c: Likewise.
12081         * math/s_ldexp.c: Likewise.
12082         * math/s_ldexpf.c: Likewise.
12083         * math/s_ldexpl.c: Likewise.
12084         * math/s_significand.c: Likewise.
12085         * math/s_significandf.c: Likewise.
12086         * math/s_significandl.c: Likewise.
12087         * math/w_acos.c: Likewise.
12088         * math/w_acosf.c: Likewise.
12089         * math/w_acosh.c: Likewise.
12090         * math/w_acoshf.c: Likewise.
12091         * math/w_acoshl.c: Likewise.
12092         * math/w_acosl.c: Likewise.
12093         * math/w_asin.c: Likewise.
12094         * math/w_asinf.c: Likewise.
12095         * math/w_asinl.c: Likewise.
12096         * math/w_atan2.c: Likewise.
12097         * math/w_atan2f.c: Likewise.
12098         * math/w_atan2l.c: Likewise.
12099         * math/w_atanh.c: Likewise.
12100         * math/w_atanhf.c: Likewise.
12101         * math/w_atanhl.c: Likewise.
12102         * math/w_cosh.c: Likewise.
12103         * math/w_coshf.c: Likewise.
12104         * math/w_coshl.c: Likewise.
12105         * math/w_dremf.c: Likewise.
12106         * math/w_exp10.c: Likewise.
12107         * math/w_exp10f.c: Likewise.
12108         * math/w_exp10l.c: Likewise.
12109         * math/w_exp2.c: Likewise.
12110         * math/w_exp2f.c: Likewise.
12111         * math/w_fmod.c: Likewise.
12112         * math/w_fmodf.c: Likewise.
12113         * math/w_fmodl.c: Likewise.
12114         * math/w_hypot.c: Likewise.
12115         * math/w_hypotf.c: Likewise.
12116         * math/w_hypotl.c: Likewise.
12117         * math/w_j0.c: Likewise.
12118         * math/w_j0f.c: Likewise.
12119         * math/w_j0l.c: Likewise.
12120         * math/w_j1.c: Likewise.
12121         * math/w_j1f.c: Likewise.
12122         * math/w_j1l.c: Likewise.
12123         * math/w_jn.c: Likewise.
12124         * math/w_jnf.c: Likewise.
12125         * math/w_jnl.c: Likewise.
12126         * math/w_lgamma.c: Likewise.
12127         * math/w_lgamma_r.c: Likewise.
12128         * math/w_lgammaf.c: Likewise.
12129         * math/w_lgammaf_r.c: Likewise.
12130         * math/w_lgammal.c: Likewise.
12131         * math/w_lgammal_r.c: Likewise.
12132         * math/w_log.c: Likewise.
12133         * math/w_log10.c: Likewise.
12134         * math/w_log10f.c: Likewise.
12135         * math/w_log10l.c: Likewise.
12136         * math/w_log2.c: Likewise.
12137         * math/w_log2f.c: Likewise.
12138         * math/w_log2l.c: Likewise.
12139         * math/w_logf.c: Likewise.
12140         * math/w_logl.c: Likewise.
12141         * math/w_pow.c: Likewise.
12142         * math/w_powf.c: Likewise.
12143         * math/w_powl.c: Likewise.
12144         * math/w_remainder.c: Likewise.
12145         * math/w_remainderf.c: Likewise.
12146         * math/w_remainderl.c: Likewise.
12147         * math/w_scalb.c: Likewise.
12148         * math/w_scalbf.c: Likewise.
12149         * math/w_scalbl.c: Likewise.
12150         * math/w_sinh.c: Likewise.
12151         * math/w_sinhf.c: Likewise.
12152         * math/w_sinhl.c: Likewise.
12153         * math/w_sqrt.c: Likewise.
12154         * math/w_sqrtf.c: Likewise.
12155         * math/w_sqrtl.c: Likewise.
12156         * math/w_tgamma.c: Likewise.
12157         * math/w_tgammaf.c: Likewise.
12158         * math/w_tgammal.c: Likewise.
12160         * po/ja.po: Update from translation team.
12162 2011-09-29  Andreas Jaeger  <aj@suse.de>
12164         [BZ #13179]
12165         * sunrpc/netname.c (netname2host): Fix logic.
12167         [BZ #6779]
12168         [BZ #6783]
12169         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12170         correctly.
12171         * math/w_remainder.c (__remainder): Likewise.
12172         * math/w_remainderf.c (__remainderf): Likewise.
12173         * math/libm-test.inc (remainder_test): Add test cases.
12175 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12177         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
12178         sdiv_qrnnd.
12180 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
12182         * string/test-memcmp.c: Avoid unncessary #defines.
12183         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12185 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12187         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12188         Use new sse2 version for core i3 - i7 as it's faster
12189         than sse42 version.
12190         (bit_Prefer_PMINUB_for_stringop): New.
12191         * sysdeps/x86_64/rawmemchr.S: Update.
12192         Replace with faster SSE2 version.
12193         * sysdeps/x86_64/memrchr.S: New file.
12194         * sysdeps/x86_64/memchr.S: Update.
12195         Replace with faster SSE2 version.
12197 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
12199         * elf/dl-load.c (lose): Add cast to avoid warning.
12201 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
12203         * po/ca.po: Update from translation team.
12205         * inet/getnetgrent_r.c: Hook up nscd.
12206         * nscd/Makefile (routines): Add nscd_netgroup.
12207         (nscd-modules): Add netgroupcache.
12208         (CFLAGS-netgroupcache.c): Define.
12209         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12210         (cache_search): Add const to second parameter.
12211         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12212         INNETGR.
12213         (dbs): Add netgrdb entry.
12214         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12215         (verify_persistent_db): Handle netgrdb.
12216         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12217         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12218         GETFDNETGR.
12219         (netgroup_response_header): Define.
12220         (innetgroup_response_header): Define.
12221         (datahead): Add netgroup_response_header and innetgroup_response_header
12222         elements.
12223         * nscd/nscd.conf: Add entries for netgroup cache.
12224         * nscd/nscd.h (dbtype): Add netgrdb.
12225         (_PATH_NSCD_NETGROUP_DB): Define.
12226         (netgroup_iov_disabled): Declare.
12227         (xmalloc, xcalloc, xrealloc): Move declarations here.
12228         (cache_search): Adjust prototype.
12229         Add netgroup-related prototypes.
12230         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12231         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12232         (__nscd_innetgr): Declare.
12233         * nscd/selinux.c (perms): Use access_vector_t as element type and
12234         add netgroup-related initializers.
12235         * nscd/netgroupcache.c: New file.
12236         * nscd/nscd_netgroup.c: New file.
12237         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12238         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12239         For four parameters use innetgr.
12240         * nss/nss_files/files-init.c: Add definition and callback for netgr.
12241         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12242         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12243         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12245         * nscd/connections.c (register_traced_file): Don't register file
12246         for disabled databases.
12248 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
12250         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12252         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12253         from tree and freeing node.
12255 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
12257         * nss/nsswitch.c (__nss_database_lookup): Handle
12258         nss_parse_service_list out of memory case.
12260 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
12262         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12263         out of memory case.
12265 2011-10-04  Andreas Schwab  <schwab@redhat.com>
12267         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12268         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12269         pass it down.
12270         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12271         elf_machine_rela, elf_machine_lazy_rel.
12272         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12273         (ELF_DYNAMIC_DO_REL): Likewise.
12274         (ELF_DYNAMIC_DO_RELA): Likewise.
12275         (ELF_DYNAMIC_RELOCATE): Likewise.
12276         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12277         to ELF_DYNAMIC_DO_REL.
12278         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12279         (dl_main): In trace mode always set __RTLD_NOIFUNC.
12280         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12281         elf_machine_rela.
12282         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12283         skip_ifunc, don't call ifunc function if non-zero.
12284         (elf_machine_rela): Likewise.
12285         (elf_machine_lazy_rel): Likewise.
12286         (elf_machine_lazy_rela): Likewise.
12287         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12288         (elf_machine_lazy_rel): Likewise.
12289         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12290         Likewise.
12291         (elf_machine_lazy_rel): Likewise.
12292         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12293         Likewise.
12294         (elf_machine_lazy_rel): Likewise.
12295         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12296         (elf_machine_lazy_rel): Likewise.
12297         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12298         (elf_machine_lazy_rel): Likewise.
12299         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12300         (elf_machine_lazy_rel): Likewise.
12301         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12302         (elf_machine_lazy_rel): Likewise.
12303         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12304         (elf_machine_lazy_rel): Likewise.
12305         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12306         (elf_machine_lazy_rel): Likewise.
12308 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
12310         * nss/nss_files/files-init.c (_nss_files_init): Use static
12311         initialization for all the *_traced_file variables.
12313 2011-09-28  Andreas Schwab  <schwab@redhat.com>
12315         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12317 2011-09-27  Roland McGrath  <roland@hack.frob.com>
12319         [BZ #13226]
12320         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12322 2011-09-27  Andreas Schwab  <schwab@redhat.com>
12324         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12325         Reread the line before reparsing it.
12327 2011-09-26  Andreas Schwab  <schwab@redhat.com>
12329         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12331 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
12332             Maxim Kuvyrkov  <maxim@codesourcery.com>
12333             Joseph Myers  <joseph@codesourcery.com>
12335         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12336         if needed for __stack_chk_guard.
12338 2011-09-19  Roland McGrath  <roland@hack.frob.com>
12340         * sysdeps/posix/spawni.c (script_execute): Always define it.
12341         It will be optimized away if unused.
12342         (maybe_script_execute): New function.
12343         (__spawni): Call it.
12345         * Makerules: Don't include tls.make.
12346         (config-tls): Always set to thread.
12347         * tls.make.c: File removed.
12349 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
12351         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12352         * config.make.in (CPPFLAGS-config): New substituted variable.
12354 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
12356         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12358         [BZ #13192]
12359         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12360         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12362 2011-09-15  Roland McGrath  <roland@hack.frob.com>
12364         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12365         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12366         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12367         (CALL_FAIL): Likewise.
12368         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12369         (CALL_FAIL): Macro removed.
12370         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12372 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
12374         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12375         for __FINITE_MATH_ONLY__ == 1.
12377 2011-09-15  Andreas Schwab  <schwab@redhat.com>
12379         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12380         __ieee754_sqrt instead of sqrt.
12381         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12382         __ieee754_sqrtf instead of sqrtf.
12383         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12384         __floorf instead of floorf.
12385         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12386         __floorf, __truncf instead of floorf, truncf.
12388 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
12390         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12392         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12393         __extern_always_inline.
12394         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12395         32-bit.
12397 2011-09-14  Andreas Schwab  <schwab@redhat.com>
12399         * elf/rtld.c (dl_main): Also relocate in dependency order when
12400         doing symbol dependency testing.
12402 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
12404         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12405         Always define `refsym'.
12407 2011-09-13  Andreas Schwab  <schwab@redhat.com>
12409         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12410         (__FD_ELT): Renamed from __FDELT.
12411         * misc/bits/select2.h (__FD_ELT): Likewise.
12412         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12413         __FD_MASK instead of __FDELT, __FDMASK.
12414         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12415         Likewise.
12416         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12417         Likewise.
12419         * elf/Makefile (gen-ldd): Fix pattern.
12421         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12422         (init_tls): Likewise.
12424 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
12426         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12428 2011-09-12  Andreas Schwab  <schwab@redhat.com>
12430         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12431         `struct cmsghdr *' instead of `void *'.
12432         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12433         Likewise.
12435 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
12437         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12438         if non-absolute.
12439         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12440         ldd_rewrite_script.
12442 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
12444         * configure.in: Remove --with-tls option.
12445         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12446         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12447         out in case it is missing.
12448         * sysdeps/ia64/elf/configure.in: Likewise.
12449         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12450         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12451         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12452         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12453         * sysdeps/sh/elf/configure.in: Likewise.
12454         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12455         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12456         * sysdeps/x86_64/elf/configure.in: Likewise.
12457         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12458         * sysdeps/mach/hurd/tls.h: Likewise.
12460         [BZ #13067]
12461         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12463         [BZ #13090]
12464         * configure.in: Fix use of AC_INIT.
12466         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12468 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
12470         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12471         __set_errno.
12472         * malloc/hooks.c: Likewise.
12474         [BZ #11929]
12475         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
12476         variables statically.
12477         (narenas): Initialize.
12478         (list_lock): Initialize.
12479         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
12480         initializtion of main_arena and list_lock.  Small cleanups.
12481         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12482         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
12483         Add initializers to main_arena and mp_.
12484         (malloc_state): Remove pagesize member.  Change all users to use
12485         GLRO(dl_pagesize).
12487         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12488         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
12489         is always initialized.
12491         * malloc/malloc.c: Removed unused configurations and dead code.
12492         * malloc/arena.c: Likewise.
12493         * malloc/hooks.c: Likewise.
12494         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12496         * include/tls.h: Removed.  USE___THREAD must always be defined.
12497         * bits/libc-tsd.h: Don't handle !USE___THREAD.
12498         * elf/dl-libc.c: Likewise.
12499         * elf/dl-tsd.c: Likewise.
12500         * include/errno.h: Likewise.
12501         * include/netdb.h: Likewise.
12502         * include/resolv.h: Likewise.
12503         * inet/herrno-loc.c: Likewise.
12504         * inet/herrno.c: Likewise.
12505         * malloc/arena.c: Likewise.
12506         * malloc/hooks.c: Likewise.
12507         * malloc/malloc.c: Likewise.
12508         * resolv/res-state.c: Likewise.
12509         * resolv/res_libc.c: Likewise.
12510         * sysdeps/i386/dl-machine.h: Likewise.
12511         * sysdeps/ia64/dl-machine.h: Likewise.
12512         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12513         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12514         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12515         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12516         * sysdeps/sh/dl-machine.h: Likewise.
12517         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12518         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12519         * sysdeps/unix/i386/sysdep.S: Likewise.
12520         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12521         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12522         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12523         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12524         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12525         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12526         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12527         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12528         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12530         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12531         * sysdeps/x86_64/dl-machine.h: Likewise.
12532         * tls.make.c: Likewise.
12534         * configure.in: Remove --with-__thread option.  Make tests for
12535         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12536         tls_model attribute fail if no support is available.  Remove
12537         USE_IN_LIBIO.
12538         * Makeconfig: Adjust for dropped configure option.  All features are
12539         now mandatory.
12540         * Makerules: Likewise.
12541         * Versions.def: Likewise.
12542         * argp/argp-fmtstream.c: Likewise.
12543         * argp/argp-fmtstream.h: Likewise.
12544         * argp/argp-help.c: Likewise.
12545         * assert/assert.c: Likewise.
12546         * config.h.in: Likewise.
12547         * config.make.in: Likewise.
12548         * configure: Likewise.
12549         * configure.in: Likewise.
12550         * csu/Versions: Likewise.
12551         * csu/init.c: Likewise.
12552         * elf/tst-audit2.c: Likewise.
12553         * elf/tst-tls10.c: Likewise.
12554         * elf/tst-tls10.h: Likewise.
12555         * elf/tst-tls11.c: Likewise.
12556         * elf/tst-tls12.c: Likewise.
12557         * elf/tst-tls14.c: Likewise.
12558         * elf/tst-tlsmod11.c: Likewise.
12559         * elf/tst-tlsmod12.c: Likewise.
12560         * elf/tst-tlsmod13.c: Likewise.
12561         * elf/tst-tlsmod13a.c: Likewise.
12562         * elf/tst-tlsmod14a.c: Likewise.
12563         * elf/tst-tlsmod15b.c: Likewise.
12564         * elf/tst-tlsmod16a.c: Likewise.
12565         * elf/tst-tlsmod16b.c: Likewise.
12566         * elf/tst-tlsmod7.c: Likewise.
12567         * elf/tst-tlsmod8.c: Likewise.
12568         * elf/tst-tlsmod9.c: Likewise.
12569         * gmon/gmon.c: Likewise.
12570         * grp/fgetgrent_r.c: Likewise.
12571         * grp/putgrent.c: Likewise.
12572         * hurd/fopenport.c: Likewise.
12573         * include/libc-symbols.h: Likewise.
12574         * include/tls.h: Likewise.
12575         * intl/gettextP.h: Likewise.
12576         * intl/loadinfo.h: Likewise.
12577         * locale/global-locale.c: Likewise.
12578         * locale/localeinfo.h: Likewise.
12579         * mach/devstream.c: Likewise.
12580         * malloc/arena.c: Likewise.
12581         * malloc/set-freeres.c: Likewise.
12582         * misc/err.c: Likewise.
12583         * misc/getttyent.c: Likewise.
12584         * misc/mntent_r.c: Likewise.
12585         * posix/getopt.c: Likewise.
12586         * posix/wordexp.c: Likewise.
12587         * pwd/fgetpwent_r.c: Likewise.
12588         * resolv/Versions: Likewise.
12589         * resolv/res_hconf.c: Likewise.
12590         * shadow/fgetspent_r.c: Likewise.
12591         * shadow/putspent.c: Likewise.
12592         * stdio-common/printf_fphex.c: Likewise.
12593         * stdio-common/tmpfile.c: Likewise.
12594         * stdlib/abort.c: Likewise.
12595         * stdlib/fmtmsg.c: Likewise.
12596         * sunrpc/auth_unix.c: Likewise.
12597         * sunrpc/clnt_perr.c: Likewise.
12598         * sunrpc/clnt_tcp.c: Likewise.
12599         * sunrpc/clnt_udp.c: Likewise.
12600         * sunrpc/clnt_unix.c: Likewise.
12601         * sunrpc/openchild.c: Likewise.
12602         * sunrpc/svc_simple.c: Likewise.
12603         * sunrpc/svc_tcp.c: Likewise.
12604         * sunrpc/svc_udp.c: Likewise.
12605         * sunrpc/svc_unix.c: Likewise.
12606         * sunrpc/xdr.c: Likewise.
12607         * sunrpc/xdr_array.c: Likewise.
12608         * sunrpc/xdr_rec.c: Likewise.
12609         * sunrpc/xdr_ref.c: Likewise.
12610         * sunrpc/xdr_stdio.c: Likewise.
12612 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12614         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12616 2011-07-03  Andreas Jaeger  <aj@suse.de>
12618         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12619         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12620         regenerate with gen-libm-tests.pl.
12622 2010-05-12  Petr Baudis  <pasky@suse.cz>
12624         [BZ #11589]
12625         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12626         around j0() zero points by switching to j1().
12627         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12628         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12629         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12630         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12632 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12634         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12635         instead of 0.
12636         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12637         instead of 0.                              .
12638         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12639         Patch in part by Pavel Roskin <proski@gnu.org>.
12641         [BZ #13138]
12642         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12643         realloc.
12644         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
12645         Free memory block if necessary.
12647         [BZ #12847]
12648         * libio/genops.c (INTDEF): For string streams the _lock pointer can
12649         be NULL.  Don't lock in this case.
12651 2011-09-09  Roland McGrath  <roland@hack.frob.com>
12653         * elf/elf.h (ELFOSABI_GNU): New macro.
12654         (ELFOSABI_LINUX): Define to that.
12656 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
12658         * string/strncat.c (strncat): Undef the symbol in case it has been
12659         defined in bits/string.h.
12661 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12663         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12665         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12666         link map.
12668 2011-08-17  Andreas Jaeger  <aj@suse.de>
12670         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12672 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12673             Ian Lance Taylor  <iant@google.com>
12675         * math/libm-test.inc (lround_test): New testcase.
12676         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12678 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
12680         * Makefile: Remove support for automatic cvs check-ins.
12681         * Makerules: Likewise.
12682         * config.make.in: Likewise.
12683         * configure.in: Likewise.
12684         * intl/Makefile: Likewise.
12685         * locale/Makefile: Likewise.
12686         * po/Makefile: Likewise.
12687         * posix/Makefile: Likewise.
12688         * sysdeps/gnu/Makefile: Likewise.
12689         * sysdeps/mach/hurd/Makefile: Likewise.
12690         * sysdeps/sparc/sparc32/Makefile: Likewise.
12692         [BZ #13118]
12693         * posix/Makefile (bug-regex32-ENV): Define.
12694         Patch by John Stanley <jpsinthemix@verizon.net>.
12696         * misc/Makefile (headers): Add bits/select2.h.
12697         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12698         * misc/bits/select2.h: New file.
12699         * include/bits/select2.h: New file.
12700         * debug/Makefile (routines): Add fdelt_chk.
12701         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12702         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12703         FD_ISSET.
12704         * debug/fdelt_chk.c: New file.
12706         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
12707         * wcsmbs/test-wmemcmp.c: Likewise.
12708         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12709         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12711 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12713         * string/Makefile (strop-tests): Add memcmp.
12714         * string/test-wmemcmp.c: New file.
12715         * string/test-memcmp.c: Add wmemcmp support.
12717 2011-09-08  Roland McGrath  <roland@hack.frob.com>
12719         [BZ #13153]
12720         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12721         2011-07-19 change.
12723         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12724         garbage value in a __mach_port_mod_refs call in the cases of the
12725         task-self and thread-self ports.
12727 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12729         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12731 2011-09-08  Andreas Schwab  <schwab@redhat.com>
12733         * elf/dl-load.c (lose): Check for non-null L.
12735 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
12737         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12739         * elf/dl-libc.c (dlerror_run): Pass back error code from
12740         dl_catch_error.
12742         [BZ #13123]
12743         * elf/dl-load.c (lose): Free l_origin if it is valid.
12745         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12746         names.
12747         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12748         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12749         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12750         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12751         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12752         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12754 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12756         * sysdeps/powerpc/fpu/e_hypot.c: New file.
12757         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12758         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12759         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12760         * sysdeps/powerpc/fpu/k_cosf.c: New file.
12761         * sysdeps/powerpc/fpu/k_sinf.c: New file.
12762         * sysdeps/powerpc/fpu/s_cosf.c: New file.
12763         * sysdeps/powerpc/fpu/s_sinf.c: New file.
12764         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12765         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12767 2011-08-15  Alan Modra  <amodra@gmail.com>
12769         [BZ #13092]
12770         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12771         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12772         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
12773         ppc_mcount to static-only-routines.
12774         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12775         __mcount_internal.
12776         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12777         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
12779 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
12781         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12782         for finite and infinity parameters.
12784 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
12786         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12787         and add nop instructions for throughput optimization.
12788         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12790 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
12792         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12793         aligned copy for power7 with vector-scalar instructions.
12794         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12796 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
12798         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12799         AVX check.
12801 2011-09-07  Andreas Schwab  <schwab@redhat.com>
12803         [BZ #13144]
12804         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12805         last change.
12807 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
12809         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12810         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12811         syscall wrapper around clock_gettime in __vdso_clock_gettime.
12812         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12813         clock_gettime.
12815 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
12817         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12818         Forgot to demangle the pointer.
12820         * sysdeps/i386/sysdep.h: Define atom_text_section.
12821         * sysdeps/x86_64/sysdep.h: Likewise.
12822         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12823         section with atom_text_section.
12824         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12825         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12826         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12827         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12828         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12830         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12831         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12832         already be defined.  Change to take two parameters and don't assign
12833         result to variable.  Adjust all users.
12834         Define INTERNAL_GETTIME if not already defined.
12835         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12836         call.
12837         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12838         HAVE_CLOCK_GETTIME_VSYSCALL.
12839         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12841         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12842         gettimeofday vsyscall, just use time.
12844 2011-09-06  Andreas Schwab  <schwab@redhat.com>
12846         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12847         <errno.h>.
12849 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
12851         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12852         syscall on x86-64.
12853         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12854         syscall.
12855         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12856         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12857         syscall if possible.
12859 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12861         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12862         e_ident.  Don't pass to find_mapsXX.
12863         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12865 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12868         strchr-sse2-no-bsf strrchr-sse2-no-bsf
12869         * sysdeps/x86_64/multiarch/strchr.S: Update.
12870         Check bit_slow_BSF bit.
12871         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12872         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12873         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12875 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12877         [BZ #13134]
12878         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12879         before glibc 2.15.
12880         (tryshell): Define.
12881         (__spawni): Change last parameter to be flag.  Test
12882         SPAWN_XFLAGS_USE_PATH flag to use path or not.
12883         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12884         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12885         * posix/spawni.c: Likewise.
12886         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12887         * posix/spawnp.c: Likewise.  Change normal version to use
12888         SPAWN_XFLAGS_USE_PATH.
12889         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12890         SPAWN_XFLAGS_TRY_SHELL.
12892         [BZ #13150]
12893         * posix/glob.h: Remove gcc 1.x support.
12895         [BZ #13068]
12896         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12898 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12900         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12901         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12902         strrchr-sse2-bsf
12903         * sysdeps/i386/i686/multiarch/strchr.S: New file.
12904         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12905         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12906         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12907         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12908         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12910 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12912         * sysdeps/x86_64/wcscmp.S: New file.
12914         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12915         wcscmp-c wcscmp-sse2
12916         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12917         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12918         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12919         * wcsmbs/wcscmp.c: Allow renaming.
12921 2011-09-05  David S. Miller  <davem@davemloft.net>
12923         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12924         stack slot, rather than the struct return pointer slot.
12925         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12926         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12928         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12930 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12932         * po/ja.po: Update from translation team.
12934         [BZ #13144]
12935         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12936         kernel in 64-bit binaries.
12938 2011-09-01  David S. Miller  <davem@davemloft.net>
12940         * elf/elf.h (HWCAP_SPARC_*): Move to..
12941         * sysdeps/sparc/sysdep.h: this new file and add new values.
12942         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12943         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12944         _DL_HWCAP_COUNT to 24.
12945         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12946         entries.
12947         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12948         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12949         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12950         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12951         instead of magic constants.
12952         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12954 2011-08-31  David S. Miller  <davem@davemloft.net>
12956         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12957         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12958         Reimplement to do errno handling inline.
12959         (SYSCALL_ERROR_HANDLER): New macro.
12960         (__SYSCALL_STRING): Do not do errno handling in asm.
12961         (__CLONE_SYSCALL_STRING): Delete.
12962         (__INTERNAL_SYSCALL_STRING): Delete.
12963         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12964         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12965         (PSEUDO): Reimplement to do errno handling inline.
12966         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12967         (SYSCALL_ERROR_HANDLER): New macro.
12968         (__SYSCALL_STRING): Do not do errno handling in asm.
12969         (__CLONE_SYSCALL_STRING): Delete.
12970         (__INTERNAL_SYSCALL_STRING): Delete.
12971         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12972         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12973         i386.
12974         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12975         (inline_syscall*): Add 'err' argument.
12976         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12977         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12978         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12979         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12981         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12982         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12984 2011-08-30  Andreas Schwab  <schwab@redhat.com>
12986         * elf/rtld.c (dl_main): Relocate objects in dependency order.
12988 2011-08-29  Jiri Olsa <jolsa@redhat.com>
12990         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12991         directive.
12993 2011-08-24  David S. Miller  <davem@davemloft.net>
12995         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12997 2011-08-24  Andreas Schwab  <schwab@redhat.com>
12999         * elf/Makefile: Add rules to build and run unload8 test.
13000         * elf/unload8.c: New file.
13001         * elf/unload8mod1.c: New file.
13002         * elf/unload8mod1x.c: New file.
13003         * elf/unload8mod2.c: New file.
13004         * elf/unload8mod3.c: New file.
13006         * elf/dl-close.c (_dl_close_worker): Reset private search list if
13007         it wasn't used.
13009 2011-08-23  David S. Miller  <davem@davemloft.net>
13011         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13012         subtract stack bias.
13013         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13014         %sp not %fp in calculations.
13015         (_JMPBUF_UNWINDS_ADJ): Likewise.
13017         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13018         (aio_suspend): Call it to force an exception region around the
13019         AIO_MISC_WAIT() invocation.
13021 2011-08-23  Andreas Schwab  <schwab@redhat.com>
13023         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13024         backslash.
13026 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
13028         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13029         protection macro.
13030         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13031         and <dl-machine.h>.
13032         (Elf64_FuncDesc): Remove.
13034 2011-08-22  David S. Miller  <davem@davemloft.net>
13036         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13037         sigaltstack check, add missing cfi directives.
13038         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13039         missing cfi directives, and sigaltstack handling.
13041 2011-08-16  Andreas Schwab  <schwab@redhat.com>
13043         [BZ #11724]
13044         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13045         object is seen twice.
13046         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13048         * elf/Makefile (distribute): Add tst-initorder2.c.
13049         (tests): Add tst-initorder2.
13050         (modules-names): Add tst-initorder2a tst-initorder2b
13051         tst-initorder2c tst-initorder2d.  Add rules to build them.
13052         ($(objpfx)tst-initorder2.out): New rule.
13053         * elf/tst-initorder2.c: New file.
13054         * elf/tst-initorder2.exp: New file.
13056 2011-08-22  Andreas Schwab  <schwab@redhat.com>
13058         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13060         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13061         dependencies back to end of function.
13063         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13064         $(elfobjdir)/ld.so.
13066 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
13068         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13069         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13070         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13071         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13072         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13073         of __vdso_gettimeofday.
13074         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13075         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
13076         attribute_hidden.
13077         (_libc_vdso_platform_setup): Remove initialization of
13078         __vdso_gettimeofday and __vdso_time.
13080 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
13082         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13083         and fgetc_unlocked.
13084         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13085         getc_unlocked.
13087         * elf/dl-open.c (add_to_global): Report additions to the global scope
13088         for LD_DEBUG=scopes.
13089         (dl_open_worker): Also print scope of newly loaded dependencies.
13090         (_dl_show_scope): Indicate if there is no scope.
13092         [BZ #13114]
13093         * stdio-common/Makefile (tests): Add bug24.
13094         * stdio-common/bug24.c: New file.
13096 2011-08-19  Andreas Jaeger  <aj@suse.de>
13098         [BZ #13114]
13099         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13100         non-existant file when using close-on-exec mode.
13102 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
13104         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13105         the very first instruction.
13107         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13108         the CFI state in the end.
13109         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13110         inclusion of dl-trampoline.h.
13111         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13113 2011-08-19  Andreas Schwab  <schwab@redhat.com>
13115         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13116         expectations for long double.
13118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13119         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13121 2011-08-14  David S. Miller  <davem@davemloft.net>
13123         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13124         artificual limit depends upon the system page size.
13126 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
13128         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13129         * resolv/Makefile: Define CFLAGS-libresolv.
13131 2011-08-17  Andreas Schwab  <schwab@redhat.com>
13133         * nss/makedb.c (compute_tables): Make variables used in nested
13134         function static.
13136 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
13138         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13139         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13140         if buffer was too small.
13142         * elf/pldd.c (main): Attach to all threads in the process.
13143         Rewrite /proc handling to use *at functions.
13145 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
13147         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13148         specifies first scope to show.
13149         (dl_open_worker): Update callers.  Move printing scope of new
13150         object to before the relocation.
13151         * elf/rtld.c (dl_main): Update _dl_show_scope call.
13152         * sysdeps/generic/ldsodefs.h: Update declaration.
13154         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13155         string for the scope number.
13157 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
13159         * nscd/servicescache.c (cache_addserv): Make sure written is always
13160         initialized.
13162 2011-08-14  Roland McGrath  <roland@hack.frob.com>
13164         * sysdeps/i386/i486/bits/atomic.h
13165         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13166         statement expression, so as to suppress "set but not used" warning.
13167         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13169         * string/strncat.c (STRNCAT): Use prototype definition.
13171         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13172         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13173         -Iprograms here.
13174         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13175         (localedef-modules): Add localedef.
13176         (locale-modules): Add locale.
13178         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13179         * elf/rtld.c (dl_main): Invert order of assignment in last change,
13180         to avoid a warning.
13182 2011-08-14  David S. Miller  <davem@davemloft.net>
13184         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13185         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13187 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
13189         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13190         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13191         * elf/rtld.c (dl_main): Set l_name of vDSO.
13192         Call _dl_show_scope when DL_DEBUG_SCOPES.
13193         (process_dl_debug): Recognize scopes flag and also set it for all.
13194         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13195         Declare _dl_show_scope.
13197         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13198         (do_dlopen): Pass caller_dlopen to dl_open.
13199         (__libc_dlopen_mode): Initialize caller_dlopen.
13201         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13202         of libc.  Make tolower call locale-independent.  Optimize a bit by
13203         using isdigit instead of isalnum.
13204         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13206 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
13208         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13209         was a dependency or dynamically loaded.
13211 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
13213         * intl/l10nflist.c: Allow architecture-specific pop function.
13214         * sysdeps/x86_64/l10nflist.c: New file.
13216         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13217         classification.
13219 2011-08-10  Andreas Schwab  <schwab@redhat.com>
13221         * include/dirent.h: Add libc_hidden_proto for scandirat and
13222         scandirat64.  Don't declare __scandirat64.
13223         * dirent/scandirat.c: Add libc_hidden_def.
13224         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13225         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13227 2011-08-10  David S. Miller  <davem@davemloft.net>
13229         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13230         enum.
13231         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13232         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13233         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13235 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
13237         * Versions.def [libc]: Add GLIBC_2.15.
13238         * dirent/Makefile (routines): Add scandirat and scandirat64.
13239         * dirent/Versions [libc]: Export scandirat and scandirat64 for
13240         GLIBC_2.15.
13241         * dirent/dirent.h: Declare scandirat and scandirat64.
13242         * dirent/scandirat.c: New file.
13243         * dirent/scandirat64.c: New file.
13244         * sysdeps/wordsize-64/scandirat.c: New file.
13245         * sysdeps/wordsize-64/scandirat64.c: New file.
13246         * dirent/opendir.c: Define opendirat.
13247         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
13248         using scandirat.
13249         * dirent/scandir64.c: Adjust for scandir.c change.
13250         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
13251         __scandirat64, and __scandir_cancel_handler.
13252         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
13253         additional parameter and use openat instead of open (outside of ld.so).
13254         Add new __opendir as wrapper around __opendirat.
13255         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13256         here without requiring old scandirat implementation.
13258 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
13260         * dirent/scandir.c (cancel_handler): Renamed to
13261         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
13262         defined.  Adjust users.
13263         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13264         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13266 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
13268         * string/test-string.h (IMPL): Use __STRING to expand name and then
13269         stringify it.
13271         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
13272         of cleanups.
13274 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13276         * string/Makefile: Update.
13277         (strop-tests): Append strncat.
13278         * string/test-wcscmp.c: New file.
13279         New comprehensive test for wcscmp.
13280         * string/test-strcmp.c: Update.
13281         (WIDE): New define.
13283 2011-07-22  Andreas Schwab  <schwab@redhat.com>
13285         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13286         line.
13288 2011-07-26  Andreas Schwab  <schwab@redhat.com>
13290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13291         encoding to ACE if AI_IDN.
13293 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
13295         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13296         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13298 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13300         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13301         Fix overflow bug in strncat.
13302         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13304         * string/test-strncat.c: Update.
13305         Add new tests for checking overflow bugs.
13307 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13309         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13310         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13311         * sysdeps/i386/i686/multiarch/strcat.S: New file.
13312         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13313         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13314         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13315         * sysdeps/i386/i686/multiarch/strncat.S: New file.
13316         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13317         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13319         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13320         (USE_AS_STRCAT): Define.
13321         Add strcat and strncat support.
13322         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13324 2011-07-25  Andreas Schwab  <schwab@redhat.com>
13326         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13327         __n bigger than INT_MAX+1.
13328         (__strncmp_g): Likewise.
13330 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
13332         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13333         * libio/stido.h: Likewise.
13335         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13336         (AF_NFC): Define.
13337         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13338         (AF_NFC): Define.
13340         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13341         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13342         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13343         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13344         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13346         [BZ #13021]
13347         * scripts/test-installation.pl: Don't expect libnss_test1 to be
13348         installed.
13350         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13351         typo.
13352         (_dl_x86_64_save_sse): Likewise.
13354 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
13356         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13357         OSXSAVE.
13358         (_dl_x86_64_save_sse): Likewise.
13360         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13362         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13364 2011-07-21  Andreas Schwab  <schwab@redhat.com>
13366         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13367         change.
13368         (_dl_x86_64_save_sse): Use correct AVX check.
13370 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13372         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13373         bug in strncpy/strncat.
13374         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13376 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
13378         * string/tester.c (test_strcat): Add tests for different alignments
13379         of source and destination.
13380         (test_strncat): Likewise.
13382 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
13384         [BZ #12852]
13385         * posix/glob.c (glob): Check passed in values before using them in
13386         expressions to avoid some overflows.
13387         (glob_in_dir): Likewise.
13389         [BZ #13007]
13390         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13391         check for AVX enablement so that we don't crash with old kernels and
13392         new hardware.
13393         * elf/tst-audit4.c: Add same checks here.
13394         * elf/tst-audit6.c: Likewise.
13396         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13398 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
13400         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13402 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
13404         * po/cs.po: Update from translation team.
13405         * po/bg.po: Likewise.
13407 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
13409         * misc/sys/cdefs.h: Add support for const attribute.
13410         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13411         to gnu_dev_{major,minor,makedev} functions.
13413 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
13415         * intl/dcigettext.c (get_output_charset): Add missing bracket.
13417 2011-07-20  Andreas Schwab  <schwab@redhat.com>
13419         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13420         strlen results.
13422 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13424         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13425         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13426         register in order to avoid conflicts with the soft frame pointer
13427         being held in r11 when necessary.
13428         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13429         (INTERNAL_VSYSCALL_NCS): Likewise.
13431 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
13433         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13434         * elf/dl-fini.c (_dl_fini): Adjust caller.
13435         * elf/dl-close.c (_dl_close_worker): Likewise.
13436         * sysdeps/generic/ldsodefs.h: Adjust declaration.
13438 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
13440         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13441         "aux_cache->nlibs < 0".
13443         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13444         in the reload-count case.
13446 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13449         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13450         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13451         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13452         * sysdeps/x86_64/multiarch/strcat.S: New file.
13453         * sysdeps/x86_64/multiarch/strncat.S: New file.
13454         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13455         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13456         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13457         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13458         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13459         (USE_AS_STRCAT): Define.
13460         Add strcat and strncat support.
13461         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13462         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13463         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13464         * string/strncat.c: Update.
13465         (USE_AS_STRNCAT): Define.
13466         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13467         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13468         and i7.
13469         * sysdeps/x86_64/multiarch/init-arch.h
13470         (bit_Prefer_PMINUB_for_stringop): New.
13471         (index_Prefer_PMINUB_for_stringop): Likewise.
13472         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13473         bit_Prefer_PMINUB_for_stringop.
13475 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
13477         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13478         buffer64.
13479         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13480         of casting of buffer.
13481         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13482         buffer32 and buffer64.
13483         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13484         writes instead of casting of buffer.
13485         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13486         buffer32.
13487         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13488         casting of buffer.
13490 2011-07-19  Andreas Schwab  <schwab@redhat.com>
13492         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13494 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
13496         * nscd/nscd.c (termination_handler): Don't do anything for a database
13497         if it has not yet been initialized.
13499 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
13501         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13503 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
13505         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13507 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
13509         * po/nl.po: Update from translation team.
13510         * po/sv.po: Likewise.
13512 2011-07-16  Roland McGrath  <roland@hack.frob.com>
13514         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13515         now disallowed by GCC.
13517         * configure.in (use-default-link): Default to yes if a test -shared
13518         link meets our qualifications.
13519         * configure: Regenerated.
13521         * config.make.in (output-format): New variable.
13522         * configure.in: Check for ld --print-output-format support.
13523         * configure: Regenerated.
13524         * Makerules ($(common-objpfx)format.lds)
13525         [$(output-format) != unknown]: Just use $(output-format),
13526         instead of the linker-script munging.
13528 2011-07-14  Roland McGrath  <roland@hack.frob.com>
13530         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13531         of $(common-objpfx)shlib.lds.
13532         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13534         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13535         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13537         * configure.in (-z relro check): Adjust test code to add a large
13538         writable data section after it.
13539         * configure: Regenerated.
13541 2011-07-11  Roland McGrath  <roland@hack.frob.com>
13543         * configure.in (-z relro check): Fix test code to make the variable
13544         truly const.
13545         * configure: Regenerated.
13547 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
13549         * nscd/nscd.h (struct traced_file): Define.
13550         (struct database_dyn): Remove inotify_descr, reset_res, and filename
13551         elements.  Add traced_files.
13552         (inotify_fd): Declare.
13553         (register_traced_file): Declare.
13554         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13555         (inotify_fd): Export.
13556         (resolv_conf_descr): Remove.
13557         (nscd_init): Move inotify descriptor creation to main.
13558         Don't register files for notification here.
13559         (register_traced_file): New function.
13560         (invalidate_cache): Don't use reset_res to determine whether to call
13561         res_init, go through the list of registered files.
13562         (main_loop_poll): The inotify descriptors are now stored in the
13563         structures for the traced files.
13564         (main_loop_epoll): Likewise
13565         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
13566         to __nss_disable_nscd.
13567         * nscd/cache.c (prune_cache): There is no single inotify descriptor
13568         for a database anymore.  Check the records for all the registered
13569         files instead.
13570         * nss/Makefile (libnss_files-routines): Add files-init.
13571         (libnss_db-routines): Add db-init.
13572         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13573         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13574         * nss/nss_db/db-init.c: New file.
13575         * nss/nss_files/files-init.c: New file.
13576         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
13577         __nss_lookup_function.
13578         (__nss_lookup_function): Call nss_load_library.
13579         (nss_load_all_libraries): New function.
13580         (__nss_disable_nscd): Take parameter with callback function for files
13581         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
13582         used for the cached services.
13583         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13584         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13585         options for features to all the files in nscd.
13587         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13589 2011-07-10  Roland McGrath  <roland@hack.frob.com>
13591         * csu/elf-init.c (__libc_csu_init): Comment typo.
13593 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
13595         * po/pl.po: Update from translation team.
13596         * po/ja.po: Likewise.
13597         * po/ru.po: Likewise.
13598         * po/ko.po: Likewise.
13599         * po/fr.po: Likewise.
13601 2011-07-09  Roland McGrath  <roland@hack.frob.com>
13603         * configure.in (.ctors/.dtors header and trailer check):
13604         Use an empirical test on a built program.
13605         * configure: Regenerated.
13607         * configure.in (-z relro check): Use an empirical test on a built DSO.
13608         Detect, but do not require, on ia64.
13609         * configure: Regenerated.
13611         * configure.in (READELF): Find it with AC_CHECK_TOOL.
13612         Update tests that use readelf to use $READELF instead.
13613         * configure: Regenerated.
13615 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
13617         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13618         if the result is not used.
13620 2011-07-05  Andreas Jaeger  <aj@suse.de>
13622         [BZ#9696]
13623         * stdlib/tst-strtod.c: Add testcase.
13625 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
13627         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13628         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13629         The latter has a higher limit.  Take additional parameter to pass to
13630         the new function.
13631         (__pathconf): Pass file to __statfs_link_max.
13632         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13633         __statfs_link_max.
13634         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13635         __statfs_link_max.
13637         [BZ #12868]
13638         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13639         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13640         Handle Lustre.
13641         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13642         (__statfs_filesize_max): Likewise.
13643         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13645 2011-07-05  Andreas Jaeger  <aj@suse.de>
13647         * resolv/res_comp.c (dn_skipname): Remove unused variable.
13649 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
13651         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13652         `status' variable.
13653         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13654         Likewise.
13656 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
13658         * Makefile (strop-tests): Add strncat.
13659         * string/test-strncat.c: New file.
13661 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
13663         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13665 2011-06-21  Andreas Jaeger  <aj@suse.de>
13667         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13668         Copy rule from iconvdata/Makefile.
13670 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
13672         [BZ #12922]
13673         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13674         but no long options are defined, just return 'W'.
13676 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
13678         [BZ #9696]
13679         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13681 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
13683         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13684         netgroups to read.
13685         (innetgr): Likewise.
13687 2011-07-05  Roland McGrath  <roland@hack.frob.com>
13689         * config.make.in (install_root): Default to $(DESTDIR).
13691 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
13693         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13695 2011-07-02  Roland McGrath  <roland@hack.frob.com>
13697         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13699         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13700         containing directory rather than embedding absolute directory names.
13702         * scripts/check-local-headers.sh: Rewritten using awk.
13703         Match by word, not by line.  Print error messages for matches.
13704         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13706         * Makerules [shlib-lds-flags empty]:
13707         ($(common-objpfx)libc_pic.opts): New target.
13708         ($(common-objpfx)libc_pic.os.clean): New target.
13709         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13711         * config.make.in (OBJCOPY): New variable.
13712         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13713         * configure: Regenerated.
13715         * config.make.in (use-default-link): New variable.
13716         * configure.in (use_default_link): Grok --with-default-link to set it.
13717         * configure: Regenerated.
13718         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13719         (shlib-lds, shlib-lds-flags): Define to empty.
13721         * Makerules (shlib-lds): New variable.
13722         (shlib-lds-flags): New variable.
13723         (build-shlib, build-moduile, build-module-asneeded): Use it.
13724         ($(common-objpfx)libc.so): Use $(shlib-lds).
13725         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13726         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13728         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13729         DT_FLAGS/DT_FLAGS_1 with zero flags.
13731         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13732         linker script munging.
13734 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
13736         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13737         as 128-bit value.
13738         * crypt/sha512.c (sha512_process_block): Perform total addition using
13739         128-bit if possible.
13740         (__sha512_finish_ctx): Likewise.
13741         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13742         as 64-bit value.
13743         * crypt/sha256.c (SWAP64): Define.
13744         (sha256_process_block): Perform total addition using 64-bit if
13745         possible.
13746         (__sha256_finish_ctx): Likewise.
13748 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
13750         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
13751         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13752         * nscd/hstcache.c (cache_addhst): Likewise.
13753         * nscd/grpcache.c (cache_addgr): Likewise.
13754         * nscd/aicache.c (addhstaiX): Likewise
13755         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13757 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
13759         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13760         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13761         * nscd/hstcache.c (cache_addhst): Likewise.
13762         * nscd/grpcache.c (cache_addgr): Likewise.
13763         * nscd/aicache.c (addhstaiX): Likewise
13765 2011-07-01  Andreas Schwab  <schwab@redhat.com>
13767         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13768         domain only when needed.
13770 2011-06-30  Andreas Schwab  <schwab@redhat.com>
13772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13773         is always restored.
13775 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
13777         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13778         are re-adding the entry.
13779         * nscd/servicescache.c (cache_addserv): Likewise.
13781 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13783         * sysdeps/generic/dl-irel.h: fix protection against multiple
13784         inclusions.
13785         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13787 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
13789         [BZ #12935]
13790         * malloc/memusage.sh: Fix quoting in message.
13791         * debug/xtrace.sh: Likewise.
13793         * configure.in: Remove support for --experimental-malloc option, make
13794         it the default.
13795         * config.make.in: Likewise.
13796         * malloc/Makefile: Likewise.
13798 2011-06-27  Andreas Schwab  <schwab@redhat.com>
13800         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13801         two-byte characters.
13803 2011-06-27  Roland McGrath  <roland@hack.frob.com>
13805         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13806         AC_CACHE_CHECK invocation.
13807         * configure: Regenerated.
13809         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13811 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
13813         [BZ #12350]
13814         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
13815         bit from old_res_options.
13817         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13819         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13820         value type for setfct.
13822 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
13824         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13825         __gettimeofday instead of gettimeofday.
13827 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
13829         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13831 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13833         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13835         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13836         info.
13838 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
13840         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13841         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13842         strcpy-sse2-unaligned strncpy-sse2-unaligned
13843         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13844         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13845         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13846         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13847         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13848         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13849         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13850         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13851         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13852         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13853         (STRCPY): Support SSE2 and SSSE3 versions.
13855 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
13857         [BZ #12874]
13858         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13859         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13860         kernels which artificially limit size of requests.
13862 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
13864         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13865         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13866         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13867         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13868         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13869         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13870         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13871         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13872         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13873         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13874         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13875         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13876         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13877         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13878         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13879         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13880         Enable unaligned load optimization for Intel Core i3, i5 and i7
13881         processors.
13882         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13883         Define.
13884         (index_Fast_Unaligned_Load): Define.
13885         (HAS_FAST_UNALIGNED_LOAD): Define.
13887 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
13889         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13891 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
13893         [BZ #12907]
13894         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13895         until it is clear that the information is realy needed.
13896         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13898 2011-06-22  Andreas Schwab  <schwab@redhat.com>
13900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13902 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
13904         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13905         /sys/devices/system/cpu/online if it is usable.
13907         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13908         reading the information from the /proc filesystem to once a second.
13910 2011-06-21  Andreas Jaeger  <aj@suse.de>
13912         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13913         NULL after inclusion of kernel headers.
13915 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
13917         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13918         calls to internal_setent.
13920         [BZ #12885]
13921         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13922         addresses using gethostbyname4_r ignore IPv4 addresses.
13924         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13925         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
13927         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13929 2011-06-20  David S. Miller  <davem@davemloft.net>
13931         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13932         inclusions.
13933         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13935         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13936         (elf_irel): Use it.
13937         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13938         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13939         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13940         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13941         * sysdeps/x86_64/dl-irel.h: Likewise.
13943         * elf/dl-runtime.c: Use elf_ifunc_invoke.
13944         * elf/dl-sym.c: Likewise.
13946 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
13948         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
13949         need to dereference resplen2.
13951 2011-06-14  Andreas Schwab  <schwab@redhat.com>
13953         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13955 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
13957         * Makeconfig: Define vardbdir and inst_vardbdir.
13958         * nss/Makefile: Add rules to install db-Makefile.
13960         * nss/nss_db/db-XXX.c: Cleanup.
13962         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13963         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13964         GLIBC_PRIVATE.
13965         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13966         * nss/makedb.c: Implement -g option to specify that value strings
13967         are generated and should not be added to table iterated over for
13968         get*ent calls.
13969         * nss/nss_db/db-initgroups.c: New file.
13971         * nss/getent.c: Add support for initgroups lookups through getgrouplist
13972         interface.
13974         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13975         (internal_getgrouplist): Adjust to name change.
13976         Update use_initgroups_entry if this is not the first call.
13977         * nss/databases.def: Add initgroups entry.
13979         * nss/makedb.c (compute_tables): Check result of multiple hash table
13980         sizes to minimize maximum chain length.
13982 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
13984         * Versions.def: Add entry for libnss_db.
13985         * shlib-versions: Likewise.
13986         * nss/Makefile: Add rules to build libnss_db.
13987         * nss/Versions: Add libnss_db information.  Organize libnss_files
13988         entries better.
13989         * nss/db-Makefile: Add gshadow support.  Change rules for the new
13990         makedb progra.  Some minor improvements to generate smaller files.
13991         * nss/nss_db/nss_db.h: Move NSS database header data structures to
13992         here from...
13993         * nss/makedb.c: ...here.
13994         Improve database format to be smaller and require less memory at
13995         runtime.
13996         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
13997         db anymore.
13998         * nss/nss_db/db-netgrp.c: Likewise.
13999         * nss/nss_db/db-open.c: Likewise.
14000         * nss/nss_files/flies-XXX.x: Adjust comments.
14001         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14002         * nss/nss_files/files-grp.c: Likewise.
14003         * nss/nss_files/files-hosts.c: Likewise.
14004         * nss/nss_files/files-network.c: Likewise.
14005         * nss/nss_files/files-proto.c: Likewise.
14006         * nss/nss_files/files-pwd.c: Likewise.
14007         * nss/nss_files/files-rpc.c: Likewise.
14008         * nss/nss_files/files-service.c: Likewise.
14009         * nss/nss_files/files-sgrp.c: Likewise.
14010         * nss/nss_files/files-spwd.c: Likewise.
14011         * nss/nss_db/db-alias.c: Removed.
14012         * nss/nss_db/dummy-db.h: Removed.
14014 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
14016         * nss/makedb.c: Rewritten to not use database library.
14017         * nss/Makefile: Update to build new makedb program.
14019 2011-06-14  Andreas Jaeger  <aj@suse.de>
14021         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14022         memset declaration.
14024 2011-06-10  Andreas Schwab  <schwab@redhat.com>
14026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14027         tmpbuf.
14029 2011-06-10  Roland McGrath  <roland@hack.frob.com>
14031         * Makerules (shlib.lds): Fail if the linker script comes out empty.
14032         * elf/Makefile ($(objpfx)ld.so): Likewise.
14034         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14035         Don't list ld.so twice in dependencies.
14037         * posix/bug-regex31.c: Include <stdlib.h>.
14039         * nscd/hstcache.c (cache_addhst): Remove unused variable.
14041         * nis/nss_compat/compat-spwd.c
14042         (getspent_next_nss_netgr): Remove unused variable.
14043         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14045         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14046         nonmembers" output to use the right array.
14048         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14050         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14052         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14053         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14054         * catgets/gencat.c (read_input_file): Likewise.
14055         * locale/programs/locarchive.c (enlarge_archive): Likewise.
14057         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14058         variable definition inside #if's controlling its use.
14060         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14062         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14064         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14066         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14067         unreachable code.
14069         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14071         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14072         * configure: Regenerated.
14074         * Makerules: Revert last change.
14075         * elf/Makefile: Likewise.
14077 2011-06-09  Roland McGrath  <roland@hack.frob.com>
14079         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14080         * elf/Makefile ($(objpfx)librtld.os): Likewise.
14081         (reloc-link): Likewise.
14083 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
14085         * elf/Makefile: Add rules to build pldd.
14086         * elf/pldd.c: New file.
14087         * elf/pldd-xx.c: New file.
14089 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
14091         * version.h: Update for 2.15 development version.
14093 2011-06-07  David S. Miller  <davem@davemloft.net>
14095         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14096         ifuncs.
14097         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14098         elf_machine_lazy_rel): Likewise.
14099         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14100         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14101         elf_machine_lazy_rel): Likewise.
14102         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14103         dl_hwcap via passed in argument.
14104         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14105         Likewise.
14107 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14109         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
14111 2011-06-06  Roland McGrath  <roland@hack.frob.com>
14113         [BZ #12849]
14114         * manual/fdl-1.1.texi: New file, verbatim from:
14115         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14116         * manual/lgpl-2.1.texi: New file, verbatim from:
14117         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14118         * manual/Makefile (licenses): New variable, list those new file names.
14119         (texis): Use it.
14120         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14122         * manual/fdl.texi: File removed.
14123         * manual/lesser.texi: File removed.
14124         * manual/libc.texinfo (Copying, Documentation License):
14125         Use new @include file names, put @appendix directive before @include.
14127 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
14129         [BZ #12841]
14130         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14131         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14132         (mq_open): Add __NTH.
14134 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
14136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14137         Assume Intel Core i3/i5/i7 processor if AVX is available.
14139 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
14141         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14142         typo.
14144 2011-05-31  Andreas Schwab  <schwab@redhat.com>
14146         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14147         memory.  Use alloca_account.  Fix memory leak when retrying.
14149 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
14151         * version.h (RELEASE): Bump for 2.14 release.
14152         * include/features.h (__GLIBC_MINOR__): Bump to 14.
14154         * config.make.in (RANLIB): Remove entry.
14156 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
14158         * po/Makefile (po-sed-cmd): Add ksh to extensions.
14159         (libc.pot): Work around missing support for .ksh extension in xgettext.
14161         [BZ #12684]
14162         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14163         if both request failed.
14164         (send_dg): In case of server errors clear resplen or *resplen2.
14166         [BZ #12454]
14167         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14168         when there are multiple maps.
14169         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14170         (_dl_fini): Remove test here.
14172         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14174 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
14176         [BZ #12350]
14177         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14178         bit from old_res_options.
14179         (gaih_inet): Likewise.
14181         [BZ #11099]
14182         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14183         as signed.
14185         * resolv/res_init.c (res_setoptions): Make the code more compact.
14187         [BZ #11558]
14188         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14189         set RES_USEVC.
14191         [BZ #11634]
14192         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14194         * malloc/malloc.h: Mark malloc hook variables as deprecated.
14196         [BZ #11781]
14197         * malloc/malloc.h: Declare malloc hook variables as volatile.
14199         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14200         in last patch.
14202         [BZ #11799]
14203         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14204         raise in the comment.
14205         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14206         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14207         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14209 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
14211         [BZ #12811]
14212         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14213         grow the buffers more if it already has to be sufficient.
14214         (build_wcs_upper_buffer): Likewise.
14215         * posix/regexec.c (check_matching): Likewise.
14216         (clean_state_log_if_needed): Likewise.
14217         (extend_buffers): Don't enlarge buffers beyond size of the input
14218         buffer.
14219         Patches mostly by Emil Wojak <emil@wojak.eu>.
14220         * posix/bug-regex32.c: New file.
14221         * posix/Makefile (tests): Add bug-regex32.
14223         * locale/findlocale.c (_nl_find_locale): Return right away if
14224         _nl_explode_name failed.
14225         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14227         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14229         * debug/xtrace.sh: Unify messages.
14230         * malloc/memusage.sh: Likewise.
14232         [BZ #12813]
14233         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14234         time symbol from vDSO.  Substitute with vsyscall if not available.
14235         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14236         __vdso_time.
14238         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14239         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14240         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14241         Add sendmmsg and internal_sendmmsg.
14242         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14243         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14244         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14246         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14247         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14248         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14250 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
14252         [BZ #12813]
14253         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14254         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
14255         available.
14256         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14257         __vdso_getcpu.
14259         [BZ #12814]
14260         * iconvdata/Makefile (tests): Add bug-iconv9.
14261         * iconvdata/bug-iconv9.c: New file.
14263 2011-05-27  Andreas Schwab  <schwab@redhat.com>
14265         [BZ #12814]
14266         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14268 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
14270         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14271         (struct user_regs_struct): Change intcs field back to cs.
14273 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
14275         * po/ja.po: Update from translation team.
14277 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
14279         [BZ #12795]
14280         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14281         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14283 2011-05-20  Andreas Schwab  <schwab@redhat.com>
14285         * stdlib/longlong.h: Update from GCC.
14287 2011-05-23  Andreas Schwab  <schwab@redhat.com>
14289         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14290         parameter name.
14291         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14292         Add parameter name.
14293         (__sysconf): Pass it down.
14295 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
14297         [BZ #12671]
14298         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14299         some situations.
14300         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14301         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14302         add in in __libc_use_alloca calls.  Adjust callers.
14303         (glob): Use malloc in some situations.
14305         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14306         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14307         pltexit.
14309 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
14311         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14312         and CLOCK_BOOTTIME_ALARM.
14314         [BZ #12782]
14315         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14316         is returned.
14318         * string/_strerror.c (__strerror_r): Print negative errors as signed
14319         numbers.
14321         [BZ #12777]
14322         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14323         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14324         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14326         * configure.in: Fix typo in redirection and correct removal of test
14327         files in two cases.
14329         [BZ #12788]
14330         * locale/setlocale.c (new_composite_name): Fix test to check for
14331         identical name of all categories.
14333         [BZ #12792]
14334         * libio/filedoalloc.c (local_isatty): New function.
14335         (_IO_file_doallocate): Use local_isatty.
14336         * stdio-common/perror.c (perror): In case a new stream is used
14337         forward the stream error.
14338         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14339         error flag.
14341 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
14343         [BZ #11869]
14344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14345         alloca.
14346         * include/alloca.h (extend_alloca_account): Define.
14348         [BZ #11857]
14349         * posix/regex.h: Fix comments with documentation of user-accessible
14350         fields after compilation and describe correct free'ing of pattern
14351         after re_compile_pattern.
14352         Patch by Reuben Thomas <rrt@sc3d.org>.
14354 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
14356         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14357         and -mno-altivec to prevent the compiler from using Altivec and/or
14358         VSX instructions when the corresponding registers are not available.
14360 2011-05-19  Andreas Schwab  <schwab@redhat.com>
14362         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14364 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
14366         * libio/freopen.c (freopen): Use __dup2, not dup2.
14367         * libio/freopen64.c (freopen64): Likewise.
14369 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
14371         [BZ #12775]
14372         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14373         * math/Makefile (tests): Add test-powl.
14374         (CFLAGS-test-powl.c): Define.
14375         * math/test-powl.c: New file.
14377 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14379         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14381 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
14383         [BZ #11837]
14384         * iconvdata/gb18030.c: Update to GB18020-2005.
14386 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
14388         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14389         RE_SYNTAX_POSIX_AWK): Update to match recent development.
14390         Patch by Aharon Robbins <arnold@skeeve.com>.
14392         [BZ #11892]
14393         * stdlib/putenv.c (putenv): Don't always create copy of the variable
14394         on the stack.
14396         [BZ #11895]
14397         * misc/pselect.c (__pselect): Handle timeout value errors hidden
14398         through underflows.
14400         [BZ #12766]
14401         * misc/error.c (error_at_line): Ensure file_name and old_file_name
14402         point to strings before performing equality test for error_one_per_line
14403         mode.
14405         [BZ #11697]
14406         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14408         [BZ #11820]
14409         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14410         (struct user_fpregs_struct): Avoid __uint*_t types.
14412         [BZ #6420]
14413         * malloc/mtrace.c (tr_where): Add additional parameter to point to
14414         symbol info.  Use it instead of calling _dl_addr locally.
14415         (lock_and_info): New function.
14416         (tr_freehook): Call lock_and_info and pass symbol info as additional
14417         parameter to tr_where.
14418         (tr_mallochook): Likewise.
14419         (tr_reallochook): Likewise.
14420         (tr_memalignhook): Likewise.
14422         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
14423         used and couldn't be at all thread-safe.
14425 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
14427         * libio/freopen.c (freopen): Don't close old file descriptor
14428         before the new one is opened.  Instead dup the new file descriptor
14429         to the old one after the new stream is created.
14430         * libio/freopen64.c (freopen64): Likewise.
14431         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14432         * libio/fileops.c (_IO_new_file_close_it): Handle new
14433         _IO_FLAGS2_NOCLOSE flag.
14434         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14435         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14436         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14437         _IO_FLAGS2_NOCLOSE flag.
14438         * include/unistd.h: Add hidden_proto for dup3.
14439         Define __have_dup3.
14440         * io/dup3.c: Define hidden symbol.
14441         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14443         [BZ #7101]
14444         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14445         when an incomplete long option is used.
14446         * posix/tst-getopt_long1.c: New file.
14447         * posix/Makefile (tests): Add tst-getopt_long1.
14449         [BZ #10138]
14450         * scripts/config.guess: Update from autoconf-2.68.
14451         * scripts/config.sub: Likewise.
14453         [BZ #10157]
14454         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14455         tests into ...
14456         (has_cpuclock): ...this.  New function.
14457         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14458         macro here based on has_cpuclock code.
14460         [BZ #10149]
14461         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14462         First byte (not low byte) is now always NUL.
14463         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14465         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14466         Use non-cancelable interfaces.
14468         [BZ #9809]
14469         * locale/iso-639.def: Add entry for Sorani.
14471         [BZ #11901]
14472         * include/stdlib.h: Move include protection to the right place.
14473         Define abort_msg_s.  Declare __abort_msg with it.
14474         * stdlib/abort.c (__abort_msg): Adjust type.
14475         * assert/assert.c (__assert_fail_base): New function.  Majority
14476         of code from __assert_fail.  Allocate memory for __abort_msg with
14477         mmap.
14478         (__assert_fail): Now call __assert_fail_base.
14479         * assert/assert-perr.c: Remove bulk of implementation.  Use
14480         __assert_fail_base.
14481         * include/assert.hL Declare __assert_fail_base.
14482         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14483         mmap.
14484         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14486 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
14488         [BZ #11952]
14489         [BZ #12453]
14490         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14491         until all modules are registered in the DTV.
14492         * elf/Makefile: Add rules to build and run tst-tls19.
14493         * elf/tst-tls19.c: New file.
14494         * elf/tst-tls19mod1.c: New file.
14495         * elf/tst-tls19mod2.c: New file.
14496         * elf/tst-tls19mod3.c: New file.
14497         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14499         [BZ #12083]
14500         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14501         correctly.
14503         [BZ #12601]
14504         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14505         two-byte sequence errors.
14506         * iconvdata/Makefile (tests): Add bug-iconv8.
14507         * iconvdata/bug-iconv8.c: New file.
14509         [BZ #12626]
14510         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14511         buf2 definition.
14513         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14515         [BZ #12432]
14516         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14517         (dummy_getcfa): New function.
14518         (init): Get _Unwind_GetCFA address, use dummy if not found.
14519         (backtrace_helper): In recursion check, also check whether CFA changes.
14520         (__backtrace): Completely initialize arg.
14522         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14523         storing incomplete byte sequence in state object.  Avoid testing for
14524         guaranteed too small input if we know there is enough data available.
14526 2011-05-11  Andreas Schwab  <schwab@redhat.com>
14528         * Makeconfig (+link-pie): Indent.
14529         * Rules (binaries-pie): Define if $(have-fpie) and
14530         $(build-shared).
14531         (binaries-shared): Also filter out $(binaries-pie).
14532         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14533         * nscd/Makefile (others-pie): Add nscd.
14534         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14535         ($(objpfx)nscd): Remove command override.
14536         * login/Makefile (others-pie): Add pt_chown.
14537         ($(objpfx)pt_chown): Remove command override.
14538         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14539         remove command overrides.
14541 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
14543         * libio/tst_putwc.c: Fix error messages.
14545         [BZ #12724]
14546         * libio/fileops.c (_IO_new_file_close_it): Always flush when
14547         currently writing and seek to current position when not.
14548         * libio/Makefile (tests): Add bug-fclose1.
14549         * libio/bug-fclose1.c: New file.
14551 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
14553         [BZ #12511]
14554         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14555         don't set DF_1_NODELETE here.
14556         (do_lookup_x): When entering new entry test for copy relocation
14557         and if necessary set DF_1_NODELETE flag.
14558         * elf/tst-unique4.cc: New file.
14559         * elf/tst-unique4.h: New file.
14560         * elf/tst-unique4lib.cc: New file.
14561         * elf/Makefile: Add rules to build and run tst-unique4.
14562         Patch by Piotr Bury <pbury@goahead.com>.
14564 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
14566         [BZ #12052]
14567         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14569         [BZ #12625]
14570         * misc/mntent_r.c (addmntent): Flush the stream after the output
14572         [BZ #12393]
14573         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14574         (is_trusted_path_normalize): Skip initial colon.  Append slash
14575         to empty buffer.  Duplicate is_trusted_path code but allow
14576         constructed patch to be prefix.
14577         (is_dst): Allow $ORIGIN followed by /.
14578         (_dl_dst_substitute): Correct clearing of check_for_trusted.
14579         Correct testing of result of is_trusted_path_normalize
14580         (decompose_rpath): Fix warning.
14582 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
14584         [BZ #11257]
14585         * grp/initgroups.c (internal_getgrouplist): When we found the service
14586         list through the initgroups entry in nsswitch.conf do not always
14587         continue on a successful lookup.  Don't always use the
14588         __nss_group_database value if it is set.
14589         * nss/nsswitch.conf (initgroups): Change action for successful db
14590         lookup to continue for compatibility.
14592 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
14594         [BZ #11532]
14595         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14596         and CP774 modules.
14597         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14598         and CP774 modules.
14599         * iconvdata/tst-tables.sh: Likewise.
14600         * iconvdata/cp770.c: New file.
14601         * iconvdata/cp771.c: New file.
14602         * iconvdata/cp772.c: New file.
14603         * iconvdata/cp773.c: New file.
14604         * iconvdata/cp774.c: New file.
14605         * iconvdata/testdata/CP770: New file.
14606         * iconvdata/testdata/CP770..UTF8: New file.
14607         * iconvdata/testdata/CP771: New file.
14608         * iconvdata/testdata/CP771..UTF8: New file.
14609         * iconvdata/testdata/CP772: New file.
14610         * iconvdata/testdata/CP772..UTF8: New file.
14611         * iconvdata/testdata/CP773: New file.
14612         * iconvdata/testdata/CP773..UTF8: New file.
14613         * iconvdata/testdata/CP774: New file.
14614         * iconvdata/testdata/CP774..UTF8: New file.
14616         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14617         END CHARMAP line.
14618         * iconvdata/gen-8bit-gap.sh: Likewise.
14619         * iconvdata/gen-8bit.sh: Likewise.
14621         * locale/iso-639.def: Add ary entry.
14623         [BZ #11258]
14624         * locale/C-translit.h.in: Add U20A1 transliteration.
14626         [BZ #12178]
14627         * locale/iso-639.def: Add wae entry.
14628         Patch by Kevin Bortis <bortis@translate-wae.ch>.
14630         [BZ #12545]
14631         * locale/programs/localedef.c (construct_output_path): Use ssize_t
14632         for n.
14634         [BZ #12711]
14635         * locale/C-translit.h.in: Add entry for U20B9.
14636         Patch by pravin.d.s@gmail.com.
14638 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
14640         [BZ #12713]
14641         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14642         ENAMETOOLONG use generic getcwd.
14643         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
14644         in rtld.  Use *stat64.
14645         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14646         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14647         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14648         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14649         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14650         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14651         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14652         __fstatat64 macros.
14653         * include/dirent.h: Add libc_hidden_proto for rewinddir.
14654         * dirent/rewinddir.c: Add libc_hidden_def.
14655         * sysdeps/mach/hurd/rewinddir.c: Likewise.
14656         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
14658         * include/dirent.h (__alloc_dir): Add flags parameter.
14659         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14660         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14661         __alloc_dir.
14662         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
14663         from fdopendir if O_CLOEXEC is already set.
14665 2011-03-15  Alan Modra  <amodra@gmail.com>
14667         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14668         l_tls_firstbyte_offset non-zero.  Save padding offset in
14669         l_tls_firstbyte_offset for later use.
14670         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14671         freeing static tls block.
14673 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
14675         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14676         where #ifdef was intended.  The intent is to prevent ARG_MAX from
14677         being defined by the kernel headers.
14679 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
14681         [BZ #12734]
14682         * resolv/resolv.h: Define RES_NOTLDQUERY.
14683         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14684         no-tld-query and set RES_NOTLDQUERY.
14685         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14686         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14687         modern BIND to search name as TLD unless forbidden.
14689 2011-05-07  Petr Baudis  <pasky@suse.cz>
14690             Ulrich Drepper  <drepper@gmail.com>
14692         [BZ #12393]
14693         * elf/dl-load.c (fillin_rpath): Move trusted path check...
14694         (is_trusted_path): ...to here.
14695         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14696         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14697         using is_trusted_path_normalize() in setuid scripts.
14699 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14701         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14702         __BEGIN/__END_DECLS.
14704 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
14706         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14707         NSS_STATUS_NOTFOUND if no record was found.
14709 2011-05-05  Andreas Schwab  <schwab@redhat.com>
14711         * sunrpc/Makefile (headers): Add rpc/netdb.h.
14712         (headers-not-in-tirpc): Remove rpc/netdb.h
14713         * resolv/netdb.h: Revert last change.
14715 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14717         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14718         circular dependency between libgcc.a and libc.a.
14720 2011-05-05  Andreas Schwab  <schwab@redhat.com>
14722         * resolv/netdb.h: Don't include <rpc/netdb.h>.
14723         * nis/Makefile: Don't install rpcsvc/*.
14724         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14725         instead of <rpc/types.h>.
14726         (MAXHOSTNAMELEN): Define.
14728 2011-05-03  Andreas Schwab  <schwab@redhat.com>
14730         * elf/ldconfig.c (add_dir): Don't crash on empty path.
14732 2011-04-28  Maciej Babinski  <mbabinski@google.com>
14734         [BZ #12714]
14735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14736         gethostbyname4_r when IPv6 results are possible.
14738 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
14740         [BZ #12723]
14741         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14742         _PC_PIPE_BUF handling.
14744 2011-04-30  Bruno Haible  <bruno@clisp.org>
14746         [BZ #12717]
14747         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14748         * resolv/netdb.h (getnameinfo): Change type of flags parameter
14749         to 'int'.
14750         * inet/getnameinfo.c (getnameinfo): Likewise.
14752 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
14754         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14755         to groups setting in database lookup.
14756         * nss/nsswitch.conf: Add initgroups entry.
14758 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
14760         [BZ #12685]
14761         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14762         mode string.
14763         Patch by Eric Blake <eblake@redhat.com>.
14765 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
14767         * sunrpc/Makefile (need-export-routines): Add svc_run.
14768         (routines): Remove svc_run.
14769         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14770         * sunrpc/clnt_perr.c (clnt_perrno): Export.
14771         * sunrpc/svc_run.c (svc_run): Likewise.
14772         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14774 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
14776         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14777         problem in reallocation in last patch.
14779 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
14781         * sunrpc/Makefile: Move inclusion of Rules.
14783 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
14785         * nss/nss_files/files-initgroups.c: New file.
14786         * nss/Makefile (libnss_files-routines): Add files-initgroups.
14787         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14788         _nss_files_initgroups_dyn.
14790 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
14792         * elf/elf.h (R_ARM_IRELATIVE): Define.
14794 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
14796         * po/ru.po: Update from translation team.
14798 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
14800         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14801         dependencies.
14803 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
14805         [BZ #12653]
14806         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14807         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14808         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14809         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14810         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14812 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
14814         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14815         differing bytes.
14816         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14817         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14818         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14820 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
14822         [BZ #12420]
14823         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14824         storing it.
14825         * stdlib/bug-getcontext.c: New file.
14826         * stdlib/Makefile: Add rules to build and run bug-getcontext.
14828 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14830         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14831         instructions into .machine "z9-109".
14832         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14833         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14835 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14837         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14838         between environment variables and auxiliary vector.
14840 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
14842         * Makefile: Add rules to build linkobj/libc.so.
14843         * include/libc-symbols.h: Define libc_hidden_nolink.
14844         * include/rpc/auth.h: Mark functions which are to be hidden.
14845         * include/rpc/auth_des.h: Likewise.
14846         * include/rpc/auth_unix.h: Likewise.
14847         * include/rpc/clnt.h: Likewise.
14848         * include/rpc/des_crypt.h: Likewise.
14849         * include/rpc/key_prot.h: Likewise.
14850         * include/rpc/pmap_clnt.h: Likewise.
14851         * include/rpc/pmap_prot.h: Likewise.
14852         * include/rpc/pmap_rmt.h: Likewise.
14853         * include/rpc/rpc_msg.h: Likewise.
14854         * include/rpc/svc.h: Likewise.
14855         * include/rpc/svc_auth.h: Likewise.
14856         * include/rpc/xdr.h: Likewise.
14857         * nis/Makefile: Link all DSOs against linkobj/libc.so.
14858         * nss/Makefile: Likewise.
14859         * sunrpc/Makefile: Don't install headers.  Build library with normal
14860         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
14861         * sunrpc/auth_des.c: Hide exported symbols by default, export some
14862         for the compat linking library.  Remove use of INTDEF/INTUSE.
14863         * sunrpc/auth_none.c: Likewise.
14864         * sunrpc/auth_unix.c: Likewise.
14865         * sunrpc/authdes_prot.c: Likewise.
14866         * sunrpc/authuxprot.c: Likewise.
14867         * sunrpc/clnt_gen.c: Likewise.
14868         * sunrpc/clnt_perr.c: Likewise.
14869         * sunrpc/clnt_raw.c: Likewise.
14870         * sunrpc/clnt_simp.c: Likewise.
14871         * sunrpc/clnt_tcp.c: Likewise.
14872         * sunrpc/clnt_udp.c: Likewise.
14873         * sunrpc/clnt_unix.c: Likewise.
14874         * sunrpc/des_crypt.c: Likewise.
14875         * sunrpc/des_soft.c: Likewise.
14876         * sunrpc/get_myaddr.c: Likewise.
14877         * sunrpc/key_call.c: Likewise.
14878         * sunrpc/key_prot.c: Likewise.
14879         * sunrpc/netname.c: Likewise.
14880         * sunrpc/pm_getmaps.c: Likewise.
14881         * sunrpc/pm_getport.c: Likewise.
14882         * sunrpc/pmap_clnt.c: Likewise.
14883         * sunrpc/pmap_prot.c: Likewise.
14884         * sunrpc/pmap_prot2.c: Likewise.
14885         * sunrpc/pmap_rmt.c: Likewise.
14886         * sunrpc/publickey.c: Likewise.
14887         * sunrpc/rpc_cmsg.c: Likewise.
14888         * sunrpc/rpc_common.c: Likewise.
14889         * sunrpc/rpc_dtable.c: Likewise.
14890         * sunrpc/rpc_prot.c: Likewise.
14891         * sunrpc/rpc_thread.c: Likewise.
14892         * sunrpc/rtime.c: Likewise.
14893         * sunrpc/svc.c: Likewise.
14894         * sunrpc/svc_auth.c: Likewise.
14895         * sunrpc/svc_authux.c: Likewise.
14896         * sunrpc/svc_raw.c: Likewise.
14897         * sunrpc/svc_run.c: Likewise.
14898         * sunrpc/svc_simple.c: Likewise.
14899         * sunrpc/svc_tcp.c: Likewise.
14900         * sunrpc/svc_udp.c: Likewise.
14901         * sunrpc/svc_unix.c: Likewise.
14902         * sunrpc/svcauth_des.c: Likewise.
14903         * sunrpc/xcrypt.c: Likewise.
14904         * sunrpc/xdr.c: Likewise.
14905         * sunrpc/xdr_array.c: Likewise.
14906         * sunrpc/xdr_float.c: Likewise.
14907         * sunrpc/xdr_intXX_t.c: Likewise.
14908         * sunrpc/xdr_mem.c: Likewise.
14909         * sunrpc/xdr_rec.c: Likewise.
14910         * sunrpc/xdr_ref.c: Likewise.
14911         * sunrpc/xdr_sizeof.c: Likewise.
14912         * sunrpc/xdr_stdio.c: Likewise.
14914 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
14916         [BZ #12650]
14917         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14918         * sysdeps/ia64/dl-tls.h: Likewise.
14919         * sysdeps/powerpc/dl-tls.h: Likewise.
14920         * sysdeps/s390/dl-tls.h: Likewise.
14921         * sysdeps/sh/dl-tls.h: Likewise.
14922         * sysdeps/sparc/dl-tls.h: Likewise.
14923         * sysdeps/x86_64/dl-tls.h: Likewise.
14924         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14926 2011-03-14  Andreas Schwab  <schwab@redhat.com>
14928         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14929         rpath element also skip the following colon.
14930         (expand_dynamic_string_token): Add is_path parameter and pass
14931         down to DL_DST_REQUIRED and _dl_dst_substitute.
14932         (decompose_rpath): Call expand_dynamic_string_token with
14933         non-zero is_path.  Ignore empty rpaths.
14934         (_dl_map_object_from_fd): Call expand_dynamic_string_token
14935         with zero is_path.
14937 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
14939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14940         Make cancelable.
14942 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
14944         [BZ #12655]
14945         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14946         Patch by Filipe David Manana <fdmanana@apache.org>.
14948 2011-04-07  Andreas Schwab  <schwab@redhat.com>
14950         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14951         Maintain aligned stack.
14952         (CHECK_RSP): Remove unused macro.
14954 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
14956         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14957         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14959 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
14961         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14963         * include/features.h: Mention __USE_XOPEN2K8 in comment.
14965 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
14967         [BZ #12518]
14968         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14969         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14970         * sysdeps/x86_64/memmove.c: New file.
14971         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14972         (memcpy): Renamed to ...
14973         (__new_memcpy): This.
14974         (memcpy): Provide GLIBC_2_14 memcpy.
14975         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14976         (memcpy): Provide GLIBC_2_2_5 memcpy.
14978 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14980         [BZ #12631]
14981         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14983 2011-03-30  Andreas Schwab  <schwab@redhat.com>
14985         * misc/syncfs.c: New file.
14986         * misc/Makefile (routines): Add syncfs.
14987         * posix/unistd.h: Declare syncfs.
14988         * sysdeps/unix/syscalls.list: Add syncfs.
14990 2011-04-01  Andreas Schwab  <schwab@redhat.com>
14992         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14993         open_by_handle_at.
14994         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14995         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14996         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14997         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14998         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14999         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15000         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15002 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
15004         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15005         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15006         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15007         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15008         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15009         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15010         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15012         * io/Makefile: Compile fallocate.c, fallocate64.c, and
15013         sync_file_range.c with -fexceptions.
15014         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15015         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15016         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15017         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15018         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15019         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15020         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15021         sync_file_range as cancellation point
15022         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
15023         now a wrapper around __call_sync_file_range with cancellation handling.
15024         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15025         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
15026         function name to __call_sync_file_range.
15027         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15028         Add call_sync_file_range.
15030 2011-04-01  Andreas Schwab  <schwab@redhat.com>
15032         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15033         bits/timex.h.
15035 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
15037         * iconv/iconv.h: Fix typo in comment.
15038         * io/fcntl.h: Likewise.
15039         * libio/stdio.h: Likewise.
15040         * posix/spawn.h: Likewise.
15041         * posix/unistd.h: Likewise.
15042         * stdlib/stdlib.h: Likewise.
15043         * time/time.h: Likewise.
15044         * wcsmbs/wchar.h: Likewise.
15046         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15047         open_by_handle): Add.
15048         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15049         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
15050         Augment a few comments.
15051         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15052         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15053         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15054         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15055         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15056         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15057         open_by_handle.
15059         * io/fcntl.h (AT_EMPTY_PATH): Define.
15061 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
15063         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15064         * sysdeps/unix/sysv/linux/bits/time.h: New file.
15065         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15066         to...
15067         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
15068         * Versions.def: Add GLIBC_2.14.
15069         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15070         Export.
15072 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
15074         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15075         round counter.
15076         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15078 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15080         [BZ #12597]
15081         * string/test-strncmp.c (do_page_test): New function.
15082         (check2): Likewise.
15083         (test_main): Call check2.
15084         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15086 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
15088         [BZ #12587]
15089         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15090         Handle cache information in CPU leaf 4.
15091         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15093 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
15095         [BZ #12583]
15096         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15097         character representation.
15098         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15100 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
15102         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15103         END(__isnan) to END(__isnanf) to match function entry point/label
15104         EALIGN(__isnanf,...).
15106 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
15108         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15110 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
15112         [BZ #12510]
15113         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15114         copy from the symbol referenced in the relocation to initialize the
15115         used variable.
15116         Patch by Piotr Bury <pbury@goahead.com>.
15117         * elf/Makefile: Add rules to build and tst-unique3.
15118         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15119         * elf/tst-unique3.cc: New file.
15120         * elf/tst-unique3.h: New file.
15121         * elf/tst-unique3lib.cc: New file.
15122         * elf/tst-unique3lib2.cc: New file.
15124         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15126 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
15128         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15129         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
15130         to _start.
15132 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
15134         * elf/dl-load.c (_dl_map_object): If we are looking for the first
15135         to-be-loaded object along a path to loader is ld.so.
15137 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
15138             Ulrich Drepper  <drepper@gmail.com>
15140         * sysdeps/x86_64/memset.S: After aligning destination, code
15141         branches to different locations depending on the value of
15142         misalignment, when multiarch is enabled. Fix this.
15144 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
15146         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15147         Set _x86_64_preferred_memory_instruction for AMD processsors.
15148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15149         Set bit_Prefer_SSE_for_memop for AMD processors.
15151 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
15153         * libio/fmemopen.c (fmemopen): Optimize a bit.
15155 2011-03-03  Andreas Schwab  <schwab@redhat.com>
15157         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15159 2011-03-03  Roland McGrath  <roland@redhat.com>
15161         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15163 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
15165         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15166         __bzero_ultra1 instead of __memset_ultra1.
15168 2011-02-23  Andreas Schwab  <schwab@redhat.com>
15169             Ulrich Drepper  <drepper@gmail.com>
15171         [BZ #12509]
15172         * include/link.h (struct link_map): Add l_orig_initfini.
15173         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15174         returning unsuccessfully.
15175         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15176         close of a file loaded at startup, restore the original l_initfini
15177         list.
15178         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15179         list, store the pointer.
15180         * elf/Makefile ($(objpfx)noload-mem): New rule.
15181         (noload-ENV): Define.
15182         (tests): Add $(objpfx)noload-mem.
15183         * elf/noload.c: Include <memcheck.h>.
15184         (main): Call mtrace.  Close all opened handles.
15186 2011-02-17  Andreas Schwab  <schwab@redhat.com>
15188         [BZ #12454]
15189         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15190         dependencies are missing.
15192 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15194         Fix __if_freereq crash: Unlike the generic version which uses free,
15195         Hurd needs munmap.
15196         * sysdeps/mach/hurd/ifreq.h: New file.
15198 2011-01-27  Petr Baudis  <pasky@suse.cz>
15199             Ulrich Drepper  <drepper@gmail.com>
15201         [BZ 12445]#
15202         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15203         to extend_alloca().
15204         * stdio-common/bug23.c: New file.
15205         * stdio-common/Makefile (tests): Add bug23.
15207 2010-09-28  Andreas Schwab  <schwab@redhat.com>
15208             Ulrich Drepper  <drepper@gmail.com>
15210         [BZ #12489]
15211         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15212         before performing relro protection.  At old place add assertion
15213         to make sure nothing changed.
15215 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
15216             Glauber de Oliveira Costa  <glommer@gmail.com>
15218         * elf/elf.h: Add new ARM TLS relocs.
15220 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
15222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15223         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15224         cast from r3.
15225         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
15226         'tests' variable.
15227         * sysdeps/wordsize-64/tst-writev.c: New file.
15229 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
15231         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15232         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15233         insns in _dl_start to prevent a TOC reference before relocs are
15234         resolved.
15236 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
15238         [BZ #12469]
15239         * Makeconfig: Remove RANLIB definition.
15240         * Makerules: Don't use RANLIB.
15241         * aclocal.m4: Remove ranlib test.
15242         * configure.in: No need to check for ranlib.
15243         * elf/rtld-Rules: Don't use RANLIB.
15245 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15247         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15248         protection macro.
15249         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15250         inclusion protection macro.
15252         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15253         SIGRTMIN and SIGRTMAX and print information in that case only when
15254         SIGRTMIN is defined.
15256 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
15258         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15259         arginfo fn returning -1.
15261         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15262         and thousands string is zero terminated.
15264 2011-02-03  Andreas Schwab  <schwab@redhat.com>
15266         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15267         sysdeps/unix/sysv/linux/bits/socket.h.
15269 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15271         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15272         (__CPU_COUNT): Remove old macros.
15273         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15274         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15275         (__CPU_ALLOC, __CPU_FREE): Add macros.
15276         (__sched_cpualloc, __sched_cpufree): Add declarations.
15278 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
15280         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15281         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15282         * nscd/aicache.c (addhstaiX): Return timeout of added value.
15283         (readdhstai): Return value of addhstaiX call.
15284         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15285         (addgrbyX): Return value returned by cache_addgr.
15286         (readdgrbyname): Return value returned by addgrbyX.
15287         (readdgrbygid): Likewise.
15288         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15289         (addpwbyX): Return value returned by cache_addpw.
15290         (readdpwbyname): Return value returned by addhstbyX.
15291         (readdpwbyuid): Likewise.
15292         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15293         (addservbyX): Return value returned by cache_addserv.
15294         (readdservbyname): Return value returned by addservbyX:
15295         (readdservbyport): Likewise.
15296         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15297         (addhstbyX): Return value returned by cache_addhst.
15298         (readdhstbyname): Return value returned by addhstbyX.
15299         (readdhstbyaddr): Likewise.
15300         (readdhstbynamev6): Likewise.
15301         (readdhstbyaddrv6): Likewise.
15302         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15303         (readdinitgroups): Return value returned by addinitgroupsX.
15304         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15305         (prune_cache): Keep track of timeout value of re-added entries.
15306         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15307         * nscd/nscd.h: Adjust prototypes of readd* functions.
15309 2011-02-04  Roland McGrath  <roland@redhat.com>
15311         * nis/nis_server.c (nis_servstate): Use the right name for 0.
15312         (nis_stats): Likewise.
15313         * nis/nis_modify.c (nis_modify): Likewise.
15314         * nis/nis_remove.c (nis_remove): Likewise.
15315         * nis/nis_add.c (nis_add): Likewise.
15317         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15319         * posix/fnmatch_loop.c: Add some consts.
15321         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15323 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
15325         [BZ #12460]
15326         * config.make.in (config-cflags-novzeroupper): Define.
15327         * configure.in: Substitute libc_cv_cc_novzeroupper.
15328         * elf/Makefile (AVX-CFLAGS): Define.
15329         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15330         (CFLAGS-tst-auditmod4a.c): Likewise.
15331         (CFLAGS-tst-auditmod4b.c): Likewise.
15332         (CFLAGS-tst-auditmod6b.c): Likewise.
15333         (CFLAGS-tst-auditmod6c.c): Likewise.
15334         (CFLAGS-tst-auditmod7b.c): Likewise.
15335         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15337 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
15339         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15340         function to the callback.
15341         Patch partly by Jiri Olsa <jolsa@redhat.com>.
15343 2011-02-02  Andreas Schwab  <schwab@redhat.com>
15345         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15346         of errno.
15348 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
15350         [BZ #11724]
15351         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15352         of constructors.
15353         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15354         of destructors.
15355         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15357         [BZ #11724]
15358         * elf/Makefile: Add rules to build and run new test.
15359         * elf/tst-initorder.c: New file.
15360         * elf/tst-initorder.exp: New file.
15361         * elf/tst-initordera1.c: New file.
15362         * elf/tst-initordera2.c: New file.
15363         * elf/tst-initordera3.c: New file.
15364         * elf/tst-initordera4.c: New file.
15365         * elf/tst-initorderb1.c: New file.
15366         * elf/tst-initorderb2.c: New file.
15367         * elf/tst-order-a1.c: New file.
15368         * elf/tst-order-a2.c: New file.
15369         * elf/tst-order-a3.c: New file.
15370         * elf/tst-order-a4.c: New file.
15371         * elf/tst-order-b1.c: New file.
15372         * elf/tst-order-b2.c: New file.
15373         * elf/tst-order-main.c: New file.
15374         New test case by George Gensure <werkt0@gmail.com>.
15376 2010-10-01  Andreas Schwab  <schwab@redhat.com>
15378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15379         decoding ACE if AI_CANONIDN.
15381 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
15383         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15385 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
15387         * version.h (RELEASE): Bump for 2.13 release.
15388         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15390         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15392         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15393         MADV_NOHUGEPAGE.
15394         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15395         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15396         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15397         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15398         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15399         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15401         * posix/getconf.c: Update copyright year.
15402         * catgets/gencat.c: Likewise.
15403         * csu/version.c: Likewise.
15404         * debug/catchsegv.sh: Likewise.
15405         * debug/xtrace.sh: Likewise.
15406         * elf/ldconfig.c: Likewise.
15407         * elf/ldd.bash.in: Likewise.
15408         * elf/sprof.c (print_version): Likewise.
15409         * iconv/iconv_prog.c: Likewise.
15410         * iconv/iconvconfig.c: Likewise.
15411         * locale/programs/locale.c: Likewise.
15412         * locale/programs/localedef.c: Likewise.
15413         * malloc/memusage.sh: Likewise.
15414         * malloc/mtrace.pl: Likewise.
15415         * nscd/nscd.c (print_version): Likewise.
15416         * nss/getent.c: Likewise.
15418         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15419         PF_CAIF, and PF_ALG.
15420         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15422 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
15424         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15425         (modules-names): Use them.
15426         (ifunc-test-modules, ifunc-pie-tests): Define.
15427         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15428         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15429         (test-extras): Likewise.
15430         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15431         $(compile-command.c).
15432         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15433         (all-built-dso): Define.
15434         (check-textrel.out, check-execstack.out): Depend on it.
15436         * configure.in: Don't override --enable-multi-arch.
15438 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
15440         [BZ #6812]
15441         * nscd/hstcache.c (tryagain): Define.
15442         (cache_addhst): Return tryagain not notfound for temporary errors.
15443         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15444         failed.
15446 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
15448         [BZ #10563]
15449         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15450         to make the syscall.
15451         * sysdeps/unix/sysv/linux/setgroups.c: New file.
15453         [BZ #12378]
15454         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15455         and fall back to matching as normal character if the string ends before
15456         the matching ']' is found.  This is what POSIX requires.
15457         * posix/testfnm.c: Adjust test result.
15458         * posix/globtest.sh: Adjust test result.  Add new test.
15459         * posix/tst-fnmatch.input: Likewise.
15460         * posix/tst-fnmatch2.c: Add new test.
15462 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
15464         * elf/Makefile (check-execstack): Revert last change.  Depend on
15465         check-execstack.h.
15466         (check-execstack.h): New target.
15467         (generated): Add check-execstack.h.
15468         * elf/check-execstack.c: Include "check-execstack.h".
15469         (main): Revert last change.
15470         (handle_file): Return zero if GNU_STACK is absent and
15471         DEFAULT_STACK_PERMS doesn't include PF_X.
15473 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
15475         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15476         in child fails because the descriptor is already closed.
15477         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15478         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15479         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15481         [BZ #12397]
15482         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15483         syscall.
15485         [BZ #10484]
15486         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15487         temporary buffer used to handle multi lookups locally.
15488         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15490 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
15492         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15493         loader is ld.so.
15495 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
15497         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15498         alignment for SSE2.
15500 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
15502         [BZ #12394]
15503         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15504         characters.  When rounding increased number of integer digits recompute
15505         number of groups.
15506         * stdio-common/tst-grouping.c: New file.
15507         * stdio-common/Makefile: Add rules to build and run tst-grouping.
15509 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
15511         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15512         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
15514         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15515         void.
15516         * bits/select.h: Likewise.
15518 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
15520         * po/ja.po: Update from translation team.
15522 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
15524         [BZ #11155]
15525         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15526         implementation just like for lxstat, fxstatat, et al.
15528 2010-12-27  Jim Meyering  <meyering@redhat.com>
15530         [BZ #12348]
15531         * posix/regexec.c (build_trtable): Return failure indication upon
15532         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
15534 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
15536         [BZ #12201]
15537         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15538         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15539         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15540         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15542         [BZ #12207]
15543         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15545         [BZ #12204]
15546         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15547         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15549 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
15551         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15552         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15553         script has SORT_BY_INIT_PRIORITY.
15554         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15555         NO_CTORS_DTORS_SECTIONS is defined.
15556         * elf/soinit.c: Likewise.
15557         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15558         NO_CTORS_DTORS_SECTIONS is defined.
15559         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15560         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15561         * sysdeps/sh/init-first.c: Likewise.
15562         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15564 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
15566         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15567         always use the slow path.
15569 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
15571         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15572         similar rule which adds the sysdep directories to the header search in
15573         order to pick up the correct platform stackinfo.h.
15574         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15575         perform test if it is, otherwise return successfully without testing.
15576         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15577         DEFAULT_STACK_PERMS define in stackinfo.h.
15578         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15579         defined in stackinfo.h.
15580         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15581         DEFAULT_STACK_PERMS defined in stackinfo.h.
15582         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15583         * sysdeps/ia64/stackinfo.h: Likewise.
15584         * sysdeps/s390/stackinfo.h: Likewise.
15585         * sysdeps/sh/stackinfo.h: Likewise.
15586         * sysdeps/sparc/stackinfo.h: Likewise.
15587         * sysdeps/x86_64/stackinfo.h: Likewise.
15588         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15589         PF_X for powerpc64.  Retain PF_X for powerpc32.
15591 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
15593         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15594         accurately.
15595         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15596         GETDENTS_64BIT_ALIGNED.
15598 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
15600         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15602 2010-12-10  Andreas Schwab  <schwab@redhat.com>
15604         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15605         _GNU_SOURCE.
15607         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15608         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15609         Remove __restrict.
15610         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15611         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15613 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
15615         [BZ #11655]
15616         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15617         are initialized.
15619 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
15621         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15623 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
15625         * po/it.po: Update from translation team.
15627 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
15629         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15630         unused codes.
15632 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
15634         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15636 2010-11-24  Andreas Schwab  <schwab@redhat.com>
15638         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15639         specially.
15640         (gaih_getanswer_slice): Likewise.
15642 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
15644         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15646 2010-05-31  Petr Baudis  <pasky@suse.cz>
15648         [BZ #11149]
15649         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15650         silently even in the chroot mode.
15652 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
15654         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15655         last patch a bit.  Pretty printing
15657 2010-05-31  Petr Baudis <pasky@suse.cz>
15659         [BZ #10085]
15660         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15661         initialization of skip_initgroups_dyn.
15663 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
15665         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15666         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15668 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
15670         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15672 2010-11-11  Andreas Schwab  <schwab@redhat.com>
15674         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15675         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15676         (tst-fnmatch-ENV): Set MALLOC_TRACE.
15677         ($(objpfx)tst-fnmatch-mem): New rule.
15678         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15679         * posix/tst-fnmatch.c (main): Call mtrace.
15681 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
15683         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15684         Support Intel processor model 6 and model 0x2c.
15686 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
15688         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15689           signed comparison.
15691 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
15693         [BZ #12205]
15694         * string/test-strncasecmp.c (check_result): New function.
15695         (do_one_test): Use it.
15696         (check1): New function.
15697         (test_main): Use it.
15698         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15699         Support strcasecmp and strncasecmp.
15701 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
15703         [BZ #12194]
15704         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15705         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15707 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15709         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15710         IFUNC support.
15711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15712         memset-x86-64.
15713         * sysdeps/x86_64/multiarch/bzero.S: New file.
15714         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15715         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15716         * sysdeps/x86_64/multiarch/memset.S: New file.
15717         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15719         Set bit_Prefer_SSE_for_memop for Intel processors.
15720         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15721         Define.
15722         (index_Prefer_SSE_for_memop): Define.
15723         (HAS_PREFER_SSE_FOR_MEMOP): Define.
15725 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
15727         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15728         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15730 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
15732         [BZ #12191]
15733         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15734         (__x86_64_raw_data_cache_size_half): Likewise.
15735         (__x86_64_raw_shared_cache_size): Likewise.
15736         (__x86_64_raw_shared_cache_size_half): Likewise.
15738         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15739         (__x86_64_raw_data_cache_size_half): Likewise.
15740         (__x86_64_raw_shared_cache_size): Likewise.
15741         (__x86_64_raw_shared_cache_size_half): Likewise.
15742         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15743         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15744         and __x86_64_raw_shared_cache_size_half.  Round
15745         __x86_64_data_cache_size_half, __x86_64_data_cache_size
15746         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15747         to multiple of 256 bytes.
15749 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
15751         [BZ #12167]
15752         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15753         of inacessible symlinks.  Verify result of symlink before returning it.
15754         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15755         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15757 2010-10-28  Erich Ritz  <erichritz@gmail.com>
15759         * math/math.h (isinf): Fix typo in comment.
15761 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
15763         * po/da.po: Update from translation team.
15765 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
15767         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15768         is added to the list.
15770 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15771             Ulrich Drepper  <drepper@gmail.com>
15773         * elf/dl-object.c (_dl_new_object): Don't append the new object to
15774         the global list here.  Move code to...
15775         (_dl_add_to_namespace_list): ...here.  New function.
15776         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15777         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15778         * elf/dl-load.c (lose): Don't remove the element from the list.
15779         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15780         (_dl_map_object): Likewise.
15782 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
15784         [BZ #12159]
15785         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15786         into all bytes of SSE register.
15787         Patch by Richard Li <richardpku@gmail.com>.
15789 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
15791         [BZ #12140]
15792         * malloc/malloc.c (_int_free): Fill correct number of bytes when
15793         perturbing.
15795 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
15797         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15798         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15799         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15800         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15802         submachine.
15803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15805 2010-10-22  Andreas Schwab  <schwab@redhat.com>
15807         * include/dlfcn.h (__RTLD_SECURE): Define.
15808         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
15809         mode & __RTLD_SECURE instead.
15810         (open_path): Rename preloaded parameter to secure.
15811         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15812         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15813         * elf/dl-deps.c (openaux): Likewise.
15814         * elf/rtld.c (struct map_args): Remove is_preloaded.
15815         (map_doit): Don't use it.
15816         (dl_main): Likewise.
15817         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15818         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15820 2010-09-09  Andreas Schwab  <schwab@redhat.com>
15822         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15823         (sysd-rules-targets): Remove duplicates.
15824         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15825         rtld-%.$o dependency.
15827 2010-10-18  Andreas Schwab  <schwab@redhat.com>
15829         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15830         _dl_map_object do it.
15832 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
15834         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15835         fast fma builtins, define the macros in the C99 standard.
15836         (FP_FAST_FMAF): Likewise.
15837         (FP_FAST_FMAL): Likewise.
15838         * sysdeps/x86_64/bits/mathdef.h: Likewise.
15840         * bits/mathdef.h: Update copyright year.
15841         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15843 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
15845         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15846         builtins, define the macros in the C99 standard.
15847         (FP_FAST_FMAF): Likewise.
15848         (FP_FAST_FMAL): Likewise.
15849         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15850         multiply/add.
15851         (FP_FAST_FMAF): Likewise.
15853 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
15855         [BZ #3268]
15856         * math/libm-test.inc (fma_test): Some new testcases.
15857         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15858         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15859         y and infinite z.  Do multiplication by C already in long double.
15860         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15861         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15862         y and infinite z.  Do bitwise or of inexact bit into u.d.
15863         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15864         * sysdeps/i386/fpu/s_fmaf.S: Removed.
15865         * sysdeps/i386/fpu/s_fma.S: Removed.
15866         * sysdeps/i386/fpu/s_fmal.S: Removed.
15868 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
15870         [BZ #3268]
15871         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15872         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15873         computation is not scheduled after fetestexcept.  Fix value
15874         of minimum denormal long double.
15876 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
15878         [BZ #3268]
15879         * math/libm-test.inc (fma_test): Add some more tests.
15880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15881         correctly.
15883 2010-10-15  Andreas Schwab  <schwab@redhat.com>
15885         * scripts/data/localplt-s390-linux-gnu.data: New file.
15886         * scripts/data/localplt-s390x-linux-gnu.data: New file.
15888 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
15890         [BZ #3268]
15891         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15892         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15893         instead of dbl-64.
15894         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15895         inlines.
15896         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15898         if one of x and y is very large and the other is subnormal.
15899         * sysdeps/s390/fpu/s_fmaf.c: New file.
15900         * sysdeps/s390/fpu/s_fma.c: New file.
15901         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15902         * sysdeps/powerpc/fpu/s_fma.S: New file.
15903         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15904         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15905         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15907 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
15909         [BZ #3268]
15910         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15911         fma tests.
15912         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15913         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15914         * sysdeps/i386/i686/multiarch/s_fma.c: Include
15915         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15916         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15917         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15918         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15920 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
15922         [BZ #12078]
15923         * posix/regcomp.c (parse_branch): One more memory leak plugged.
15924         * posix/bug-regex31.input: Add test case.
15926 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
15928         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15929         * posix/bug-regex31.input: New file.
15931         [BZ #12078]
15932         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15933         (parse_sub_exp): Fix last change, use postorder.
15935         * posix/bug-regex31.c: New file.
15936         * posix/Makefile: Add rules to build and run bug-regex31.
15938         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15940         [BZ #12078]
15941         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15943         [BZ #12108]
15944         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15945         to have entries in sys_siglist.
15947         [BZ #12093]
15948         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15949         be NULL.
15951 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
15953         [BZ #3268]
15954         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15955         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15956         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15957         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15958         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15959         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15960         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15961         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15962         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15963         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15964         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15965         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15966         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15967         * math/ftestexcept.c (fetestexcept): Likewise.
15968         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15969         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15970         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15971         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15972         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15973         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15974         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15976 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
15978         [BZ #12107]
15979         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15980         newline.
15982 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
15984         * string/bug-strstr1.c: New file.
15985         * string/Makefile: Add rules to build and run bug-strstr1.
15987 2010-10-05  Eric Blake  <eblake@redhat.com>
15989         [BZ #12092]
15990         * string/str-two-way.h (two_way_long_needle): Always clear memory
15991         when skipping input due to the shift table.
15993 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
15995         [BZ #12005]
15996         * malloc/mcheck.c: Handle large requests.
15998         [BZ #12077]
15999         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16000         for strncmp and strncasecmp.
16001         * string/stratcliff.c: Add tests for strcmp and strncmp.
16002         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16004 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16006         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16007         __set_fpscr.
16009 2010-09-30  Andreas Jaeger  <aj@suse.de>
16011         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16012         (CGROUP_SUPER_MAGIC): Define.
16013         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16014         Handle btrfs and cgroup file systems.
16015         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16016         Likewise.
16018 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
16020         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16021         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16023 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16025         [BZ #12067]
16026         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16027         trying to locate the ELF header.
16029 2010-09-27  Andreas Schwab  <schwab@redhat.com>
16031         [BZ #11611]
16032         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16033         Mask out sign-bit copies when constructing f_fsid.
16035 2010-09-24  Petr Baudis <pasky@suse.cz>
16037         * debug/stack_chk_fail_local.c: Add missing licence exception.
16038         * debug/warning-nop.c: Likewise.
16040 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
16042         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16043         implementing getdents64 using getdents syscall, set d_type if
16044         __ASSUME_GETDENTS32_D_TYPE.
16046 2010-09-16  Andreas Schwab  <schwab@redhat.com>
16048         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16049         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16051 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
16053         [BZ #12037]
16054         * posix/unistd.h: Undo change of feature selection for ftruncate from
16055         2010-01-11.
16057 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
16059         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16060         detection.
16062 2010-09-20  Andreas Schwab  <schwab@redhat.com>
16064         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16065         fanotify_mark.
16066         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16068 2010-09-14  Andreas Schwab  <schwab@redhat.com>
16070         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16071         variables after CHECK_SP call.
16072         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16074 2010-09-13  Andreas Schwab  <schwab@redhat.com>
16075             Ulrich Drepper  <drepper@redhat.com>
16077         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16078         re-relocationg ld.so.
16079         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16080         _dl_init_paths call.
16081         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
16082         here anymore.
16084 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
16086         * resolv/res_init.c (__res_vinit): Count the default server we added.
16088 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
16089             Ulrich Drepper  <drepper@redhat.com>
16091         [BZ #11968]
16092         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16093         (____longjmp_chk): Use %ebx for saving value across system call.
16094         Add unwind info.
16096 2010-09-06  Andreas Schwab  <schwab@redhat.com>
16098         * manual/Makefile: Don't mix pattern rules with normal rules.
16100 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16102         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16103         operation.
16104         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16105         * libio/iofopncook.c (_IO_cookie_init): Likewise.
16106         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16107         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16108         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16109         Likewise.
16111 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
16113         [BZ #11979]
16114         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16115         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16117 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
16119         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16120         * sysdeps/x86_64/addmul_1.S: Likewise.
16121         * sysdeps/x86_64/lshift.S: Likewise.
16122         * sysdeps/x86_64/mul_1.S: Likewise.
16123         * sysdeps/x86_64/rshift.S: Likewise.
16124         * sysdeps/x86_64/sub_n.S: Likewise.
16125         * sysdeps/x86_64/submul_1.S: Likewise.
16127 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16129         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16130         Define __sched_param instead of SCHED_* and sched_param when
16131         <bits/sched.h> is included with __need_schedparam defined.
16132         * bits/sched.h [__need_schedparam]
16133         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16134         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16135         (__defined_schedparam): Define to 1.
16136         (__sched_param): New structure, identical to sched_param.
16137         (__need_schedparam): Undefine.
16139 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
16141         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16142         (epoll_create1): Declare.
16144         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16146 2010-08-31  Andreas Schwab  <schwab@redhat.com>
16148         [BZ #7066]
16149         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16150         shifting retval into place.
16152 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
16154         * nis/rpcsvc/nis.h: Update copyright notice.
16155         * nis/rpcsvc/nis.x: Likewise.
16156         * nis/rpcsvc/nis_callback.h: Likewise.
16157         * nis/rpcsvc/nis_callback.x: Likewise.
16158         * nis/rpcsvc/nis_object.x: Likewise.
16159         * nis/rpcsvc/nis_tags.h: Likewise.
16160         * nis/rpcsvc/yp.h: Likewise.
16161         * nis/rpcsvc/yp.x: Likewise.
16162         * nis/rpcsvc/ypupd.h: Likewise.
16163         * nis/yp_xdr.c: Likewise.
16164         * nis/ypupdate_xdr.c: Likewise.
16166         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
16167         mainly the body of pmap_getport.  Add parameters to specify timeouts.
16168         (pmap_getport): Use __libc_rpc_getport.
16169         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16170         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16171         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16173 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
16175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16176         fanotify_mark.
16178 2010-08-27  Roland McGrath  <roland@redhat.com>
16180         * sysdeps/i386/i686/multiarch/Makefile
16181         (CFLAGS-varshift.c): New variable.
16183 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
16185         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16186         * sysdeps/i386/i686/multiarch/varshift.c: New file.
16188         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16190         * sysdeps/x86_64/strlen.S: Minimal code improvement.
16192 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16194         * sysdeps/x86_64/strlen.S: Unroll the loop.
16195         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16196         strlen-sse2 strlen-sse2-bsf.
16197         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16198         __strlen_no_bsf if bit_Slow_BSF is set.
16199         (__strlen_sse42): Removed.
16200         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16201         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16203 2010-08-25  Roland McGrath  <roland@redhat.com>
16205         * sysdeps/x86_64/multiarch/varshift.S: File removed.
16206         * sysdeps/x86_64/multiarch/varshift.c: New file.
16207         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16208         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16209         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16210         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16212 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16214         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16215         strlen-sse2 strlen-sse2-bsf.
16216         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16217         __strlen_sse2_bsf if bit_Slow_BSF is unset.
16218         (__strlen_sse2): Removed.
16219         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16220         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16221         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16222         bit_Slow_BSF for Atom.
16223         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16224         (index_Slow_BSF): Define.
16225         (HAS_SLOW_BSF): Define.
16227 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
16229         [BZ #10851]
16230         * resolv/res_init.c (__res_vinit): When no server address at all
16231         is given default to loopback.
16233 2010-08-24  Roland McGrath  <roland@redhat.com>
16235         * configure.in: Remove config-name.h generation.
16236         * configure: Regenerated.
16237         * config-name.in: File removed.
16238         * scripts/config-uname.sh: New file.
16239         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16240         ($(objdir)config-name.h): New target.
16242         * sunrpc/rpc_parse.h: Avoid nested comment.
16244 2010-08-24  Richard Henderson  <rth@redhat.com>
16245             Ulrich Drepper  <drepper@redhat.com>
16246             H.J. Lu  <hongjiu.lu@intel.com>
16248         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16249         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16250         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16251         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
16252         _mm_alignr_epi8 with _mm_loadu_si128.
16253         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16254         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16255         (__m128i_shift_right): Removed.
16256         * sysdeps/i386/i686/multiarch/varshift.h: New file.
16257         * sysdeps/i386/i686/multiarch/varshift.S: New file.
16258         * sysdeps/x86_64/multiarch/varshift.h: New file.
16259         * sysdeps/x86_64/multiarch/varshift.S: New file.
16261 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
16263         * configure.in: Move assembler checks to before sysdep dir checking.
16265 2010-08-20  Petr Baudis  <pasky@suse.cz>
16267         * LICENSES: Sync the sunrpc license.
16269 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
16271         * sunrpc/auth_des.c: Update copyright notice once again.
16272         * sunrpc/auth_none.c: Likewise.
16273         * sunrpc/auth_unix.c: Likewise.
16274         * sunrpc/authdes_prot.c: Likewise.
16275         * sunrpc/authuxprot.c: Likewise.
16276         * sunrpc/bindrsvprt.c: Likewise.
16277         * sunrpc/clnt_gen.c: Likewise.
16278         * sunrpc/clnt_perr.c: Likewise.
16279         * sunrpc/clnt_raw.c: Likewise.
16280         * sunrpc/clnt_simp.c: Likewise.
16281         * sunrpc/clnt_tcp.c: Likewise.
16282         * sunrpc/clnt_udp.c: Likewise.
16283         * sunrpc/clnt_unix.c: Likewise.
16284         * sunrpc/des_crypt.c: Likewise.
16285         * sunrpc/des_soft.c: Likewise.
16286         * sunrpc/get_myaddr.c: Likewise.
16287         * sunrpc/getrpcport.c: Likewise.
16288         * sunrpc/key_call.c: Likewise.
16289         * sunrpc/key_prot.c: Likewise.
16290         * sunrpc/openchild.c: Likewise.
16291         * sunrpc/pm_getmaps.c: Likewise.
16292         * sunrpc/pm_getport.c: Likewise.
16293         * sunrpc/pmap_clnt.c: Likewise.
16294         * sunrpc/pmap_prot.c: Likewise.
16295         * sunrpc/pmap_prot2.c: Likewise.
16296         * sunrpc/pmap_rmt.c: Likewise.
16297         * sunrpc/rpc/auth.h: Likewise.
16298         * sunrpc/rpc/auth_unix.h: Likewise.
16299         * sunrpc/rpc/clnt.h: Likewise.
16300         * sunrpc/rpc/des_crypt.h: Likewise.
16301         * sunrpc/rpc/key_prot.h: Likewise.
16302         * sunrpc/rpc/netdb.h: Likewise.
16303         * sunrpc/rpc/pmap_clnt.h: Likewise.
16304         * sunrpc/rpc/pmap_prot.h: Likewise.
16305         * sunrpc/rpc/pmap_rmt.h: Likewise.
16306         * sunrpc/rpc/rpc.h: Likewise.
16307         * sunrpc/rpc/rpc_des.h: Likewise.
16308         * sunrpc/rpc/rpc_msg.h: Likewise.
16309         * sunrpc/rpc/svc.h: Likewise.
16310         * sunrpc/rpc/svc_auth.h: Likewise.
16311         * sunrpc/rpc/types.h: Likewise.
16312         * sunrpc/rpc/xdr.h: Likewise.
16313         * sunrpc/rpc_clntout.c: Likewise.
16314         * sunrpc/rpc_cmsg.c: Likewise.
16315         * sunrpc/rpc_common.c: Likewise.
16316         * sunrpc/rpc_cout.c: Likewise.
16317         * sunrpc/rpc_dtable.c: Likewise.
16318         * sunrpc/rpc_hout.c: Likewise.
16319         * sunrpc/rpc_main.c: Likewise.
16320         * sunrpc/rpc_parse.c: Likewise.
16321         * sunrpc/rpc_parse.h: Likewise.
16322         * sunrpc/rpc_prot.c: Likewise.
16323         * sunrpc/rpc_sample.c: Likewise.
16324         * sunrpc/rpc_scan.c: Likewise.
16325         * sunrpc/rpc_scan.h: Likewise.
16326         * sunrpc/rpc_svcout.c: Likewise.
16327         * sunrpc/rpc_tblout.c: Likewise.
16328         * sunrpc/rpc_util.c: Likewise.
16329         * sunrpc/rpc_util.h: Likewise.
16330         * sunrpc/rpcinfo.c: Likewise.
16331         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16332         * sunrpc/rpcsvc/key_prot.x: Likewise.
16333         * sunrpc/rpcsvc/klm_prot.x: Likewise.
16334         * sunrpc/rpcsvc/mount.x: Likewise.
16335         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16336         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16337         * sunrpc/rpcsvc/rex.x: Likewise.
16338         * sunrpc/rpcsvc/rstat.x: Likewise.
16339         * sunrpc/rpcsvc/rusers.x: Likewise.
16340         * sunrpc/rpcsvc/sm_inter.x: Likewise.
16341         * sunrpc/rpcsvc/spray.x: Likewise.
16342         * sunrpc/rpcsvc/yppasswd.x: Likewise.
16343         * sunrpc/rtime.c: Likewise.
16344         * sunrpc/svc.c: Likewise.
16345         * sunrpc/svc_auth.c: Likewise.
16346         * sunrpc/svc_authux.c: Likewise.
16347         * sunrpc/svc_raw.c: Likewise.
16348         * sunrpc/svc_run.c: Likewise.
16349         * sunrpc/svc_simple.c: Likewise.
16350         * sunrpc/svc_tcp.c: Likewise.
16351         * sunrpc/svc_udp.c: Likewise.
16352         * sunrpc/svc_unix.c: Likewise.
16353         * sunrpc/svcauth_des.c: Likewise.
16354         * sunrpc/xcrypt.c: Likewise.
16355         * sunrpc/xdr.c: Likewise.
16356         * sunrpc/xdr_array.c: Likewise.
16357         * sunrpc/xdr_float.c: Likewise.
16358         * sunrpc/xdr_mem.c: Likewise.
16359         * sunrpc/xdr_rec.c: Likewise.
16360         * sunrpc/xdr_ref.c: Likewise.
16361         * sunrpc/xdr_sizeof.c: Likewise.
16362         * sunrpc/xdr_stdio.c: Likewise.
16364         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16365         handling.
16367 2010-08-19  Andreas Schwab  <schwab@redhat.com>
16369         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16371 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
16373         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16374         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16375         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16376         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16377         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16378         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16379         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16380         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16381         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16382         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16383         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16384         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16385         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16386         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16388 2010-07-26  Anton Blanchard  <anton@samba.org>
16390         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16391         * malloc/arena.c (heap_trim): Likewise.
16393 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
16395         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16396         here.  Not...
16397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16398         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16400 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
16402         * sysdeps/i386/elf/Makefile: New file.
16404 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
16406         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16407         from fanotify_init.
16408         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16409         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16411 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
16413         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16414         of strncasecmp_l.
16415         * sysdeps/multiarch/strcmp.S: Likewise.
16417 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
16419         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16420         strncase_l-nonascii.
16421         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16422         Add strncase_l-ssse3.
16423         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16424         * sysdeps/x86_64/strcmp.S: Likewise.
16425         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16426         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16427         * sysdeps/x86_64/strncase.S: New file.
16428         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16429         * sysdeps/x86_64/strncase_l.S: New file.
16430         * string/Makefile (strop-tests): Add strncasecmp.
16431         * string/test-strncasecmp.c: New file.
16433         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16434         warning.
16436         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16437         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16439 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
16441         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16443 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
16445         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16446         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16447         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16449 2010-05-01  Alan Modra  <amodra@gmail.com>
16451         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16452         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16453         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16454         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16455         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16456         tidying.  Don't tail-call __sigjmp_save for static lib.
16457         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16458         save location.
16459         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16460         (CALL_MCOUNT): Add eh info, and nop after bl.
16461         (TAIL_CALL_SYSCALL_ERROR): New macro.
16462         (PSEUDO_RET): Use it.
16463         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16464         Correct save location of integer regs and cr.
16465         (_dl_profile_resolve): Correct cr save location.  Delete nops
16466         after bl when SHARED.  Reduce cfi size a little by better
16467         placement of cfi directives.
16468         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16469         make a stack frame.  Instead use parm save area as a temp.
16470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16471         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
16472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16473         Don't make a stack frame for parent, use parm save area.
16474         Increase child stack frame to 112 bytes.  Don't save unused reg,
16475         and adjust reg usage.  Set up cfi on error recovery and
16476         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16478         (__makecontext): Add dummy nop after jump to exit.
16479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16480         Use correct parm save area and cr save, reduce stack frame.
16481         Correct cfi for possible PSEUDO_RET frame setup.
16482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16483         Branch to local label emitted by PSEUDO_RET rather than
16484         __syscall_error.
16486 2010-08-12  Andreas Schwab  <schwab@redhat.com>
16488         [BZ #11904]
16489         * locale/programs/locale.c (print_assignment): New function.
16490         (show_locale_vars): Use it.
16492 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
16494         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16495         field.
16496         (struct statfs64): Likewise.
16497         (_STATFS_F_FLAGS): Define.
16498         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16499         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16500         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16501         (ST_VALID): Define locally.
16502         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16503         __statvfs_getflags, use the provided value.
16504         * sysdeps/unix/sysv/linux/kernel-features.h: Define
16505         __ASSUME_STATFS_F_FLAGS.
16507         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16509         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16510         Add sys/fanotify.h.
16511         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16512         fanotify_mask for GLIBC_2.13.
16513         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16514         fanotify_init and fanotify_mark.
16515         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16516         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16518         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16519         Add prlimit.
16520         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16521         prlimit64 for GLIBC_2.13.
16522         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16523         prlimit64.
16524         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16525         syscall.
16526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16527         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16528         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16529         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16530         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
16531         add prlimit alias.
16532         * sysdeps/unix/sysv/linux/prlimit.c: New file.
16534         [BZ #11903]
16535         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16536         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16538         * nss/Makefile: Add rules to build and run tst-nss-test1.
16539         * shlib-versions: Add entry for libnss_test1.
16540         * nss/nss_test1.c: New file.
16541         * nss/tst-nss-test1.c: New file.
16543         * nss/nsswitch.c (__nss_database_custom): Define new variable.
16544         (__nss_configure_lookup): Set appropriate entry in
16545         __nss_configure_lookup to true.
16546         * nss/nsswitch.h: Define enum with indeces of databases in
16547         databases and __nss_database_custom arrays.  Declare
16548         __nss_database_custom.
16549         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16550         to avoid using nscd when custom rules are installed.
16551         * nss/getXXbyYY_r.c: Likewise.
16552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16554         * nss/nss_files/files-parse.c: Whitespace fixes.
16556 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
16558         [BZ #11883]
16559         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16560         * posix/fnmatch_loop.c: Likewise.
16562 2010-07-17  Andi Kleen  <ak@linux.intel.com>
16564         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16565         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16566         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16567         * Versions.def [GLIBC_2.13]: Add.
16569 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
16571         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16572         Also fail if tpwd after pwuid call is NULL.
16574 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16576         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16577         when converting to ms.
16579 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16581         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16582         EOPNOTSUPP errors with ENOTTY.
16583         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16584         EOPNOTSUPP errors with ENOTTY.
16586 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
16588         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16589         Add strcasecmp_l-ssse3.
16590         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16591         strcasecmp.
16592         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16593         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16594         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16596 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
16598         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16600         * string/Makefile (strop-tests): Add strcasecmp.
16601         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16602         strcasecmp_l-nonascii.
16603         (gen-as-const-headers): Add locale-defines.sym.
16604         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16605         * sysdeps/x86_64/strcasecmp.S: New file.
16606         * sysdeps/x86_64/strcasecmp_l.S: New file.
16607         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16608         * sysdeps/x86_64/locale-defines.sym: New file.
16609         * string/test-strcasecmp.c: New file.
16611         * string/test-strcasestr.c: Test both ends of the range of characters.
16612         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16614 2010-07-29  Roland McGrath  <roland@redhat.com>
16616         [BZ #11856]
16617         * manual/locale.texi (Yes-or-No Questions): Fix example code.
16619 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
16621         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16622         for ld.so.
16624 2010-07-27  Andreas Schwab  <schwab@redhat.com>
16626         * manual/memory.texi (Malloc Tunable Parameters): Document
16627         M_PERTURB.
16629 2010-07-26  Roland McGrath  <roland@redhat.com>
16631         [BZ #11840]
16632         * configure.in (-fgnu89-inline check): Set and substitute
16633         gnu89_inline, not libc_cv_gnu89_inline.
16634         * configure: Regenerated.
16635         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16637 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
16639         * string/test-strnlen.c: New file.
16640         * string/Makefile (strop-tests): Add strnlen.
16641         * string/tester.c (test_strnlen): Add a few more test cases.
16642         * string/tst-strlen.c: Better error reporting.
16644         * sysdeps/x86_64/strnlen.S: New file.
16646 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
16648         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16649         lower-latency instructions.
16651 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
16653         * string/test-strcasestr.c: New file.
16654         * string/test-strstr.c: New file.
16655         * string/Makefile (strop-tests): Add strstr and strcasestr.
16656         * string/str-two-way.h: Don't undefine MAX.
16657         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16659 2010-07-21  Andreas Schwab  <schwab@redhat.com>
16661         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16662         strcasestr-nonascii.
16663         (CFLAGS-strcasestr-nonascii.c): Define.
16664         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16665         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16666         Remove unused attribute.
16668 2010-07-20  Roland McGrath  <roland@redhat.com>
16670         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16671         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
16672         ld.so.cache was broken.  With it, there is no way to disable dsocaps
16673         like LD_HWCAP_MASK can disable hwcaps.
16675 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
16677         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16679 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
16681         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16682         call in strcasestr.
16683         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16684         __strcasestr_sse42_nonascii.
16685         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16686         strcasestr-nonascii.c.
16687         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16689 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
16691         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16692         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16693         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16694         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16696 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
16698         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16699         fcntl.
16701 2010-07-06  Andreas Schwab  <schwab@redhat.com>
16703         [BZ #11577]
16704         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16705         dl_signal_cerror.
16707 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
16709         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16710         _PC_PIPE_BUF using F_GETPIPE_SZ.
16712 2010-07-05  Roland McGrath  <roland@redhat.com>
16714         * manual/arith.texi (Rounding Functions): Fix rint description
16715         implicit in round description.
16717 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
16719         * elf/Makefile: Fix linking for a few tests to make recent linker
16720         happy.
16722 2010-06-30  Andreas Schwab  <schwab@redhat.com>
16724         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16725         $(common-objpfx)libc_nonshared.a.
16727 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
16729         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16730         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16731         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16732         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16733         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16734         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16735         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16736         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16751         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16752         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16753         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16754         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16755         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16756         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16757         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16758         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16759         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16760         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16761         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16762         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16778 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16780         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16781         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
16782         * string/memmove.c (memmove): Renamed to ...
16783         (MEMMOVE): ...this.  Default to memmove.
16784         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16785         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16786         (END_CHK): Define.
16787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16788         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16789         mempcpy-ssse3-back memmove-ssse3-back.
16790         * sysdeps/x86_64/multiarch/bcopy.S: New file .
16791         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16792         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16793         * sysdeps/x86_64/multiarch/memcpy.S: New file.
16794         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16795         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16796         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16797         * sysdeps/x86_64/multiarch/memmove.c: New file.
16798         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16799         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16800         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16801         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16802         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16803         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16804         Define.
16805         (index_Fast_Copy_Backward): Define.
16806         (HAS_ARCH_FEATURE): Define.
16807         (HAS_FAST_REP_STRING): Define.
16808         (HAS_FAST_COPY_BACKWARD): Define.
16810 2010-06-21  Andreas Schwab  <schwab@redhat.com>
16812         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16813         Restore proper fallback handling.
16815 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
16817         [BZ #11701]
16818         * posix/group_member.c (__group_member): Correct checking loop.
16820         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16821         OOM in getpwuid_r correctly.  Return error number when the caller
16822         should return, otherwise -1.
16823         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16824         call returning > 0 value.
16825         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16827 2010-06-07  Andreas Schwab  <schwab@redhat.com>
16829         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16830         libc_nonshared.a from targets in modules-names.
16832 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
16834         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16835         requires it.
16837 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
16839         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16840         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16841         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16842         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16844 2010-06-02  Andreas Schwab  <schwab@redhat.com>
16846         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16848 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
16850         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16851         and F_GETPIPE_SZ.
16852         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16853         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16854         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16856         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16857         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16859 2010-06-14  Roland McGrath  <roland@redhat.com>
16861         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16863 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
16865         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16866         __REDIRECT followed by __THROW.
16867         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16868         * posix/getopt.h (getopt): Likewise.
16870 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
16872         * hurd/lookup-at.c (__file_name_lookup_at): Accept
16873         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
16874         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16875         in AT_FLAGS.
16876         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16877         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16879 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
16881         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16883 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
16885         [BZ #11640]
16886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16887         Properly check family and model.
16889 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
16891         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16893 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
16895         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16897 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
16899         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16900         symbol reference.
16902 2010-05-19  Andreas Schwab  <schwab@redhat.com>
16904         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16905         symbol reference.
16907 2010-05-21  Andreas Schwab  <schwab@redhat.com>
16909         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16910         and internal_recvmmsg.
16911         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16912         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16913         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16914         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16916         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16917         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16918         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16920 2010-05-20  Andreas Schwab  <schwab@redhat.com>
16922         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16924 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
16926         POWER7 optimizations.
16927         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16928         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16930 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
16932         * version.h: Update for 2.13 development version.
16934 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
16936         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16937         exceptions.  Return 0.
16939 2010-05-07  Roland McGrath  <roland@redhat.com>
16941         * elf/ldconfig.c (main): Add a const.
16943 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
16945         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16946         (args_options): Add no-idn option.
16947         (ahosts_keys_int): Add idn_flags to ai_flags.
16948         (parse_option): Handle 'i' option to clear idn_flags.
16950         * malloc/malloc.c (_int_free): Possible race in the most recently
16951         added check.  Only act on the data if no current modification
16952         happened.
16954 See ChangeLog.17 for earlier changes.