m68k: update libm test ULPs
[glibc.git] / ChangeLog
blobc7070c57c127bb7dde017fee4772f1987c973c34
1 2012-07-09  Roland McGrath  <roland@hack.frob.com>
3         [BZ #14336]
4         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5         system".
6         * manual/message.texi (The Uniforum approach): Likewise.
7         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8         (glibc iconv Implementation): Likewise.
10 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
12         [BZ #14337]
13         * math/s_clog.c (__clog): Avoid scaling a value down where that
14         could result in underflow.
15         * math/s_clog10.c (__clog10): Likewise.
16         * math/s_clog10f.c (__clog10f): Likewise.
17         * math/s_clog10l.c (__clog10l): Likewise.
18         * math/s_clogf.c (__clogf): Likewise.
19         * math/s_clogl.c (__clogl): Likewise.
20         * math/libm-test.inc (clog_test): Add more tests.
21         (clog10_test): Likewise.
22         * sysdeps/i386/fpu/libm-test-ulps: Update.
23         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
27         [BZ #14283]
28         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29         by 7 not 8 to examine high bit of fractional part.
31         [BZ #14042]
32         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33         for call to __mcount_internal.
34         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
40         [BZ #14154]
41         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42         approximation for values within 0x1p-13f of an odd multiple of
43         pi/4.
44         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45         exception.  Add more tests.
46         * sysdeps/i386/fpu/libm-test-ulps: Update.
48         [BZ #6778]
49         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
50         inputs and return -1 for them.  Do not check for +Inf in case not
51         reachable for +Inf.
52         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55         and return -1 for them.  Do not check for +Inf in case not
56         reachable for +Inf.
57         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58         define.
59         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60         and return -1 for them.  Do not check for +Inf in case not
61         reachable for +Inf.
62         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63         spurious underflow.
64         * sysdeps/i386/fpu/libm-test-ulps: Update.
65         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
69         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
71 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
73         [BZ #14157]
74         [BZ #14331]
75         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
76         could result in spurious underflow.  Scale down values above
77         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
78         * math/s_csqrtf.c (__csqrtf): Likewise.
79         * math/s_csqrtl.c (__csqrtl): Likewise.
80         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
81         spurious underflow.
82         * sysdeps/i386/fpu/libm-test-ulps: Update.
83         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
87         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
88         xopen-msg.sed.
89         * catgets/xopen-msg.awk: New file.
90         * catgets/xopen-msg.sed: Removed.
92         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
93         po2text.sed.
94         * intl/po2test.awk: New file.
95         * intl/po2test.sed: Removed.
97 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
99         [BZ #14328]
100         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
101         or multiply small sinh result by itself.
102         * math/s_ctanf.c (__ctanf): Likewise.
103         * math/s_ctanh.c (__ctanh): Likewise.
104         * math/s_ctanhf.c (__ctanhf): Likewise.
105         * math/s_ctanhl.c (__ctanhl): Likewise.
106         * math/s_ctanl.c (__ctanl): Likewise.
107         * math/libm-test.inc (ctan_test_tonearest): New function.
108         (ctan_test_towardzero): Likewise.
109         (ctan_test_downward): Likewise.
110         (ctan_test_upward): Likewise.
111         (ctanh_test_tonearest): Likewise.
112         (ctanh_test_towardzero): Likewise.
113         (ctanh_test_downward): Likewise.
114         (ctanh_test_upward): Likewise.
115         (main): Call these new functions.
116         * sysdeps/i386/fpu/libm-test-ulps: Update.
117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
119 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
121         * .gitignore: Delete /ports entry.
123 2012-07-03  Andreas Jaeger  <aj@suse.de>
125         * po/bg.po: Update from translation team.
126         * po/cs.po: Likewise.
127         * po/de.po: Likewise.
128         * po/hr.po: Likewise.
129         * po/nl.pl: Likewise.
130         * po/pl.po: Likewise.
131         * po/vi.po: Likewise.
133 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
135         * Makeconfig [!+link] (+link-before-libc): New variable.
136         [!+link] (+link-after-libc): Likewise.
137         [!+link] (+link-tests): Likewise.
138         [!+link] (+link): Define in terms of $(+link-before-libc) and
139         $(+link-after-libc).
140         [!+link-static] (+link-static-before-libc): New variable.
141         [!+link-static] (+link-static-after-libc): Likewise.
142         [!+link-static] (+link-static-tests): Likewise.
143         [!+link-static] (+link-static): Define in terms of
144         $(+link-static-before-libc) and $(+link-static-after-libc).
145         [build-shared] (link-libc-before-gnulib): New variable.
146         [build-shared] (link-libc-tests): Likewise.
147         [build-shared] (link-libc): Define in terms of
148         $(link-libc-before-gnulib).
149         [!build-shared] (link-libc-tests): New variable.
150         (link-libc-static-tests): New variable.
151         [!gnulib] (gnulib-arch): New variable.
152         [!gnulib] (gnulib-tests): Likewise.
153         [!gnulib] (static-gnulib-arch): Likewise.
154         [!gnulib] (static-gnulib-tests): Likewise.
155         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
156         Define with "=" instead of ":=".
157         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
158         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
159         * Rules (binaries-all-notests): New variable.
160         (binaries-all-tests): Likewise.
161         (binaries-static-notests): Likewise.
162         (binaries-static-tests): Likewise.
163         (binaries-all): Define using $(binaries-all-notests) and
164         $(binaries-all-tests).
165         (binaries-static): Define using $(binaries-static-notests) and
166         $(binaries-static-tests).
167         (binaries-shared-tests): New variable.
168         (binaries-shared-notests): Likewise.
169         (binaries-shared): Remove variable.
170         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
171         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
172         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
173         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
174         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
175         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
176         * elf/Makefile (sln-modules): New variable.
177         (extra-objs): Add $(sln-modules:=.o).
178         (ldconfig-modules): Add static-stubs.
179         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
180         * elf/static-stubs.c: New file.
182         [BZ #14283]
183         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
184         by 7 not 8 to examine high bit of fractional part.  Use volatile
185         variables when splitting into final array of floats if
186         __FLT_EVAL_METHOD__ != 0.
187         * math/libm-test.inc (cos_test): Add another test.
188         (sin_test): Likewise.
189         * sysdeps/i386/fpu/libm-test-ulps: Update.
191         [BZ #14273]
192         * math/libm-test.inc (cosh_test): Add more tests.
194         * version.h (RELEASE): Set to "development".
195         (VERSION): Set to "2.16.90".
197 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
199         * NEWS: Update copyright. Remove last-updated date.
200         Mention math library bug fixes and timezone data changes.
201         * README: Mention GNU/Hurd, x32, and HPPA support status.
203 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
205         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
207 2012-06-27  Andreas Jaeger  <aj@suse.de>
209         * manual/contrib.texi (Contributors): Add Samuel Thibault.
211 2012-06-25  Andreas Jaeger  <aj@suse.de>
213         * sysdeps/s390/fpu/libm-test-ulps: Update.
215 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
216             Thomas Schwinge  <thomas@codesourcery.com>
218         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
219         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
220         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
221         fanotify_mark.
223 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
225         * sysdeps/mach/start.c: Remove file.
226         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
227         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
228         * sysdeps/sh/init-first.c: Likewise.
230         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
231         registers for frame unwinding purposes, add CFI directives.
232         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
233         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
234         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
235         Likewise.
237         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
238         __fortify_fail returning.
239         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
241         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
242         sysdeps/sh/____longjmp_chk.S.
243         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
244         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
245         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
246         (gen-as-const-headers): Append sigaltstack-offsets.sym.
248         * sysdeps/sh/abort-instr.h: New file.
249         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
250         process in case exit returns.
252         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
253         initialize the GOT register before use.
255         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
256         calculation of ARGC > 4.
258         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
259         meaningful names to some local labels.
261 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
262             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
264         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
265         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
266         (__arch_compare_and_exchange_val_16_acq): Likewise.
267         (__arch_compare_and_exchange_val_32_acq): Likewise.
268         (atomic_exchange_and_add): Fix gUSA sequence.
269         (atomic_add): Likewise.
270         (atomic_add_negative): Likewise.
271         (atomic_add_zero): Likewise.
272         (atomic_bit_test_set): Likewise.
274 2012-06-22  Andreas Schwab  <schwab@redhat.com>
276         [BZ #13579]
277         * include/link.h (struct link_map): Add l_free_initfini.
278         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
279         l_initfini.
280         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
281         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
282         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
283         set.
285 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
287         * configure.in: Use AC_LANG_SOURCE.
288         * configure: Regenerate.
290 2012-06-22  Roland McGrath  <roland@hack.frob.com>
292         * configure.in (libc_cv_localstatedir): New substituted variable.
293         * configure: Regenerated.
294         * config.make.in (localstatedir): New variable, substituted from
295         libc_cv_localstatedir.
296         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
297         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
298         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
299         * sysdeps/gnu/configure: Regenerated.
301 2012-06-21  Jeff Law  <law@redhat.com>
303         [BZ #14277]
304         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
305         free.  Simplify list management for _LIBC case.
307 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
309         [BZ #14273]
310         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
311         Clear sign bit of 64-bit integer value before comparing against
312         overflow value.
314         * sysdeps/mach/configure: Regenerated.
316 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
318         [BZ #14278]
319         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
321 2012-06-21  Jeff Law  <law@redhat.com>
323         [BZ #13882]
324         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
325         uint16_t for elements in the "seen" array to avoid char overflows.
326         * elf/dl-fini.c (_dl_sort_fini): Likewise.
327         * elf/dl-open.c (dl_open_worker): Likewise.
329 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
331         * scripts/list-sources.sh: Scan PORTS for translations.
332         * po/libc.pot: Regenerated.
334 2012-06-21  Andreas Jaeger  <aj@suse.de>
336         [BZ #12194]
337         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
338         warning.
339         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
340         * bits/byteswap-16.h (__bswap_16): Likewise.
341         * bits/byteswap.h (__bswap_constant_16): Likewise.
343 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
345         [BZ #14117]
346         * sysdeps/i386/fpu_control.h: Removed.
347         * sysdeps/x86_64/fpu_control.h: Moved to ...
348         * sysdeps/x86/fpu_control.h: Here.
350         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
351         (_FPU_SETCW): Likewise.
353 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
355         [BZ #14117]
356         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
357         * sysdeps/x86/fpu/bits/mathinline.h: This.
358         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
360         [BZ #14050]
361         [BZ #14117]
362         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
363         functions if __x86_64__ is defined.
365 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
367         * string/endian.h: Add !__ASSEMBLER__ condition for including
368         conversion interfaces.
370 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
372         [BZ #14241]
373         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
374         of ABS(x) in calculating zero to negative powers other than odd
375         integers.
376         * math/libm-test.inc (pow_test): Add more tests.
378 2012-06-15  Andreas Jaeger  <aj@suse.de>
380         * manual/contrib.texi (Contributors): Update entry of Liubov
381         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
382         Machado Filho.
384 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
386         * string/string.h: Add __wur to GNU version of strerror_r.
388 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
390         [BZ #14229]
391         * string/Makefile (tests): Add tst-strtok_r.
392         * string/tst-strtok_r.c: New file.
393         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
394         RAX_LP/RDX_LP on SAVE_PTR.
396 2012-06-14  Roland McGrath  <roland@hack.frob.com>
398         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
400 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
402         * libm_test.inc (csqrt_test): Allow more spurious underflow
403         exceptions.
404         (j0_test): Likewise.
405         (j1_test): Likewise.
406         (y0_test): Likewise.
407         (y1_test): Likewise.
409 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
411         * po/Makefile (libc.pot): Use UTF-8 charset.
413 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
415         [BZ #14210]
416         Suppress sign-conversion warning from FD_SET.
417         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
418         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
419         not unsigned long int.
420         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
422 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
424         [BZ #14050]
425         [BZ #14117]
426         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
427         __extern_always_inline instead of __extern_inline.
428         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
429         (__signbit): Likewise.
430         (__signbitl): Support C++ namespace.
431         (lrintf): New inline function.
432         (lrint): Likewise.
433         (llrintf): Likewise.
434         (llrint): Likewise.
435         (fmaxf): Likewise.
436         (fmax): Likewise.
437         (fminf): Likewise.
438         (fmin): Likewise.
439         (rint): Likewise.
440         (rintf): Likewise.
441         (ceil): Likewise.
442         (ceilf): Likewise.
443         (floor): Likewise.
444         (floorf): Likewise.
445         (nearbyint): Likewise.
446         (nearbyintf): Likewise.
448 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
450         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
451         non-default versions.
453 2012-06-11  Roland McGrath  <roland@hack.frob.com>
455         [BZ #14218]
456         * manual/argp.texi (Argp): Reword argp_parse description slightly.
458 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
460         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
461         (FE_UPWARD, FE_DOWNWARD): Don't define.
462         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
463         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
465         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
466         reading it.
467         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
468         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
470 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
472         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
473         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
474         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
475         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
477 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
479         [BZ #14117]
480         * sysdeps/i386/fpu/bits/fenv.h: Removed.
481         * sysdeps/i386/fpu/Implies: New file.
482         * sysdeps/x86_64/fpu/Implies: Likewise.
483         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
484         * sysdeps/x86/fpu/bits/fenv.h: This.
486         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
487         __SSE_MATH__.
489 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
491         [BZ #14134]
492         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
493         character 0xffff that matches the last element of the
494         conversion table.
496 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
498         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
499         fmodl commit.
501 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
503         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
504         values higher than 25.6283.
506 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
508         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
509         subnormal exponent extraction and add some __builtin_expect.
510         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
511         Fix for subnormal mantissa calculation.
513 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
515         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
516         cpu2 is -1 and errno is not ENOSYS.
518 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
520         [BZ #14117]
521         * sysdeps/i386/i486/bits/string.h: Renamed to ...
522         * sysdeps/x86/bits/string.h: This.
523         * sysdeps/x86_64/bits/string.h: Removed.
525         * sysdeps/i386/i486/bits/string.h: Define inline functions only
526         if not compiling for x86-64, but compiling for >= i486.
528         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
529         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
531         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
532         New macro from Linux kernel 3.4.0.
533         (FP_XSTATE_MAGIC2): Likewise.
534         (FP_XSTATE_MAGIC2_SIZE): Likewise.
535         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
536         (struct _fpx_sw_bytes): New struct.
537         (struct _xsave_hdr): Likewise.
538         (struct _ymmh_state): Likewise.
539         (struct _xstate): Likewise.
541         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
542         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
543         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
544         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
545         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
546         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
548         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
549         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
550         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
551         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
552         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
553         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
555 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
557         [BZ #13743]
558         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
559         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
560         (sysdep_headers): Include sys/platform/ppc.h.
561         * sysdeps/powerpc/test-gettimebase.c: Test for
562         __ppc_get_timebase() to catch future ISA opcode/insn changes.
563         * manual/Makefile (appendices): Include platform.texi.
564         * manual/contrib.texi (Contributors): Update @node pointers.
565         * manual/maint.texi (Maintenance): Likewise.
566         (Platform): New node.
567         * manual/platform.texi: New file.  Document the new features.
569 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
570             Jakub Jelinek  <jakub@redhat.com>
572         [BZ #14188]
573         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
574         where __builtin_expect is unavailable.
576 2012-06-03  David S. Miller  <davem@davemloft.net>
578         * stdlib/longlong.h: Updated from GCC.
580 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
582         [BZ #14042]
583         * sysdeps/powerpc/powerpc32/mcount.c: New file.
584         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
585         __mcount_internal.
586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
587         (GLIBC_2.16): Likewise.
589 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
591         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
593 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
596         (default-abi): New variable.
597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
598         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
599         variable.
600         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
601         Likewise.
602         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
603         Likewise.
604         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
605         Likewise.
607         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
608         definition.  Document in comment.
610 2012-06-01  David S. Miller  <davem@davemloft.net>
612         * stdlib/longlong.h: Updated from GCC.
614 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
616         [BZ #14117]
617         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
618         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
619         sys/debugreg.h sys/io.h here.
620         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
621         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
622         sys/io.h.
623         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
624         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
625         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
626         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
627         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
628         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
630         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
631         Define only if __x86_64__ is defined.
633 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
635         [BZ #14048]
636         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
637         Use int64_t for variable i.
638         * math/libm-test.inc (fmod_test): Add more tests.
640         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
641         z computation is not scheduled after fetestexcept.
642         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
643         Use math_force_eval instead of asm to ensure calculation scheduled
644         before exception test.
645         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
646         Ensure a1 + u.d computation is not scheduled after fetestexcept.
648 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
650         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
651         computation is not scheduled after fetestexcept.
653 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
655         [BZ #14117]
656         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
657         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
659 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
661         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
662         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
664 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
666         [BZ #14117]
667         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
668         <bits/wordsize.h>.
669         (__WCHAR_MIN): Support __WORDSIZE == 64.
670         (__WCHAR_MAX): Likewise.
672         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
673         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
675         [BZ #14183]
676         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
677         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
679         [BZ #14117]
680         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
681         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
683         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
684         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
686         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
687         Defined to 1 if __x86_64__ isn't defined.
688         (_STAT_VER_LINUX_OLD): New.
689         (st_atime): Remove duplicate.
690         (st_mtime): Likewise.
691         (st_ctime): Likewise.
693 2012-05-31  David S. Miller  <davem@davemloft.net>
695         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
696         entries.
698 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
700         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
701         gen-libm-test.pl.
703         [BZ #14132]
704         * elf/dl-reloc.c: Include <_itoa.h>.
705         (_dl_reloc_bad_type): Remove use of INTUSE.
706         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
707         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
708         * stdio-common/psiginfo.c (psiginfo): Likewise.
709         * stdio-common/psignal.c (psignal): Likewise.
710         * string/strsignal.c (strsignal): Likewise.
711         * include/signal.h (_sys_siglist): Declare hidden proto.
712         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
713         INTVARDEF with libc_hidden_data_def.
714         * stdio-common/itoa-udigits.c: Likewise.
715         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
716         (_itoa_lower_digits_internal): Remove declaration.
717         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
718         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
719         (_sys_sigabbrev_internal): Remove aliases.
720         (_sys_siglist): Define hidden alias.
722 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
724         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
725         bits/sysctl.h.
727 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
729         [BZ #14117]
730         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
731         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
733         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
734         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
735         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
736         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
737         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
738         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
740         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
741         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
742         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
744         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
745         with __addr.
746         (insw): Likewise.
747         (insl): Likewise.
748         (outsb): Likewise.
749         (outsw): Likewise.
750         (outsl): Likewise.
752         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
753         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
754         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
756         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
757         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
758         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
759         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
760         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
761         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
763         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
764         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
766         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
767         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
769         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
770         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
771         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
773         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
774         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
775         to ...
776         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
778         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
779         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
780         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
782         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
783         for x86-64.
784         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
786 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
788         * math/math.h (M_El): Use two more decimal places.
789         (M_LOG2El): Likewise.
790         (M_LOG10El): Likewise.
791         (M_LN2l): Likewise.
792         (M_LN10l): Likewise.
793         (M_PIl): Likewise.
794         (M_PI_2l): Likewise.
795         (M_PI_4l): Likewise.
796         (M_1_PIl): Likewise.
797         (M_2_PIl): Likewise.
798         (M_2_SQRTPIl): Likewise.
799         (M_SQRT2l): Likewise.
800         (M_SQRT1_2l): Likewise.
802 2012-05-31  David S. Miller  <davem@davemloft.net>
804         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
805         values between float registers.
806         * sysdeps/sparc/sparc64/memset.S: Likewise.
807         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
809 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
811         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
812         -D_FORTIFY_SOURCE=1.
813         (CPPFLAGS-tst-longjmp_chk.c): Define.
814         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
815         (CPPFLAGS-tst-longjmp_chk2.c): Define.
816         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
817         CFLAGS-tst-wchar-h.c.
819 2012-05-31  Marek Polacek  <polacek@redhat.com>
821         [BZ #14132]
822         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
823         __endmntent_internal): Remove declaration.
824         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
825         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
826         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
828 2012-05-30  David S. Miller  <davem@davemloft.net>
830         * sysdeps/sparc/sparc32/soft-fp/q_util.c
831         (___Q_simulate_exceptions): Use real FP ops rather than writing
832         into the %fsr.
833         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
834         Likewise.
836 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
838         [BZ #14117]
839         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
840         * sysdeps/x86/bits/xtitypes.h: This.
842         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
843         * sysdeps/x86/bits/wordsize.h: This.
845         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
846         * sysdeps/x86/bits/huge_vall.h: This.
848         * sysdeps/i386/bits/select.h: Removed.
849         * sysdeps/x86_64/bits/select.h: Renamed to ...
850         * sysdeps/x86/bits/select.h: This.
852         * sysdeps/i386/bits/setjmp.h: Removed.
853         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
854         * sysdeps/x86/bits/setjmp.h: This.
856         * sysdeps/i386/bits/mathdef.h: Removed.
857         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
858         * sysdeps/x86/bits/mathdef.h: This.
860 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
862         [BZ #14132]
863         * include/sys/socket.h (__connect_internal)
864         (__libc_sa_len_internal): Remove declaration.
865         (__connect, __libc_sa_len): Declare hidden_proto.
866         (SA_LEN): Remove use of INTUSE.
867         * socket/connect.c: Add libc_hidden_def.
868         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
869         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
870         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
871         alias.
872         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
873         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
874         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
875         of adding _internal alias.
877 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
879         [BZ #14117]
880         * sysdeps/i386/bits/link.h: Removed.
881         * sysdeps/i386/bits/linkmap.h: Likewise.
882         * sysdeps/x86_64/bits/link.h: Renamed to ...
883         * sysdeps/x86/bits/link.h: This.
884         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
885         * sysdeps/x86/bits/linkmap.h: This.
887         * sysdeps/i386/bits/endian.h: Removed.
888         * sysdeps/x86_64/bits/endian.h: Renamed to ...
889         * sysdeps/x86/bits/endian.h: This.
891         * sysdeps/i386/bits/byteswap.h: Removed.
892         * sysdeps/i386/bits/byteswap-16.h: Likewise.
893         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
894         * sysdeps/x86/bits/byteswap.h: This.
895         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
896         * sysdeps/x86/bits/byteswap-16.h: This.
897         * sysdeps/i386/Implies: Add x86.
898         * sysdeps/x86_64/Implies: Likewise.
900 2012-05-30  David S. Miller  <davem@davemloft.net>
902         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
903         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
904         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
905         (FP_TRAPPING_EXCEPTIONS): Define.
906         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
907         (FP_TRAPPING_EXCEPTIONS): Define.
908         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
909         subnormals only when inexact has been signalled or underflow
910         exceptions are enabled.
911         (_FP_PACK_CANONICAL): Likewise.
913 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
915         [BZ #14183]
916         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
917         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
919 2012-05-30  Richard Henderson  <rth@twiddle.net>
921         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
922         with #ifndef NOT_IN_libc.
924         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
925         marked to avoid plt entry.
927 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
929         [BZ #14112]
930         * Makeconfig (default-abi): New macro.
931         (abi-includes): Likewise.
932         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
933         $(abi-$(default-abi)-lib-soname) for soname if defined.
934         ($(common-objpfx)gnu/lib-names.stmp): Generate from
935         abi-variants.
936         * Makefile (installed-stubs): Likewise.
937         * include/stubs-biarch.h: Removed.
938         * scripts/lib-names.awk: Only handle one library at a time.
939         * scripts/soversions.awk: Remove WORDSIZE support.
940         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
941         entries.
942         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
943         Removed.
944         (syscall-list-default-condition): Likewise.
945         (syscall-list-default-condition): Likewise.
946         (syscall-list-includes): Likewise.
947         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
948         syscall-list-* with abi-*.  Handle undefined abi-variants.
949         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
950         * sysdeps/unix/sysv/linux/i386/Implies: New file.
951         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
952         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
953         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
954         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
955         Removed.
956         (syscall-list-32-options): Likewise.
957         (syscall-list-32-condition): Likewise.
958         (syscall-list-64-options): Likewise.
959         (syscall-list-64-condition): Likewise.
960         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
961         macro.
962         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
963         Renamed to ...
964         (abi-*): This.
965         (abi-64-ld-soname): New macro.
966         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
967         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
968         Renamed to ...
969         (abi-*): This.
970         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
971         * sysdeps/x86_64/x32/shlib-versions: Likewise.
973 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
975         * sysdeps/unix/sysv/linux/kernel-features.h
976         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
977         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
978         include <kernel-features.h>.
979         [!__NR_ftruncate64]: Remove conditional code.
980         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
981         [__NR_ftruncate64]: Make code unconditional.
982         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
983         * sysdeps/unix/sysv/linux/truncate64.c: Do not
984         include <kernel-features.h>.
985         [!__NR_ftruncate64]: Remove conditional code.
986         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
987         [__NR_ftruncate64]: Make code unconditional.
988         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
990         include <kernel-features.h>.
991         [!__NR_ftruncate64]: Remove conditional code.
992         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
993         [__NR_ftruncate64]: Make code unconditional.
994         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
996         include <kernel-features.h>.
997         [!__NR_ftruncate64]: Remove conditional code.
998         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
999         [__NR_ftruncate64]: Make code unconditional.
1000         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1002         * configure.in (libc_cv_fpie): Weaken to a compile test using
1003         LIBC_TRY_CC_OPTION.
1004         * configure: Regenerated.
1006 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1012         Refreshed.
1013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1019         Refreshed.
1021 2012-05-27  David S. Miller  <davem@davemloft.net>
1023         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1024         (___Q_zero): New.
1025         (__Q_simulate_exceptions): Return void.  Change to simulate
1026         exceptions by writing into the %fsr.
1027         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1028         (__Qp_handle_exceptions): Likewise.
1029         (numbers): Delete.
1030         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1031         __Qp_handle_exceptions.
1032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1033         __Qp_handle_exceptions.
1034         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1035         as unused and give dummy FP_RND_NEAREST initializer.
1036         (FP_INHIBIT_RESULTS): Define.
1037         (___Q_simulate_exceptions): Update declaration.
1038         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1039         formatting.
1040         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1041         as unused and give dummy FP_RND_NEAREST initializer.
1042         (__Qp_handle_exceptions): Update declaration.
1043         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1044         formatting.
1046 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
1048         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1049         the temporary FPU control word.
1050         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1051         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1052         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1053         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1054         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1055         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1056         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1057         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1058         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1059         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1060         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1062 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1064         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1065         fields.
1067 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
1069         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1070         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1071         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1072         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1073         Likewise.
1074         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1075         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1076         Likewise.
1078 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
1080         * po/h.po: Update from translation team.
1082 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
1084         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1086         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1087         handling of denormals.
1088         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1089         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1090         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1091         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1092         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1093         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1094         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1095         Likewise.
1097 2012-05-26  Marek Polacek  <polacek@redhat.com>
1099         [BZ #14152]
1100         * math/libm-test.inc (fma_test): Don't always expect underflow
1101         exception.
1103 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1105         [BZ #12416]
1106         * elf/tst-execstack.c: Include stackinfo.h.
1107         (do_test): Adjust test case to ensure that pthread_getattr_np
1108         behaviour remains the same after marking stack executable.
1110 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1112         * sysdeps/unix/sysv/linux/kernel-features.h
1113         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1114         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1115         kernel-features.h.
1116         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1117         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1118         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1119         kernel-features.h.
1120         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1121         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1123 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1125         * configure.in: Define the default includes to being none.
1126         * configure: Regenerated.
1128 2012-05-25  Roland McGrath  <roland@hack.frob.com>
1130         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1131         * sysdeps/x86_64/setjmp.S: Likewise.
1132         * sysdeps/i386/bsd-setjmp.S: Likewise.
1133         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1134         * sysdeps/i386/setjmp.S: Likewise.
1135         * sysdeps/i386/__longjmp.S: Likewise.
1136         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1137         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1139         * include/stap-probe.h: New file.
1140         * configure.in: Handle --enable-systemtap.
1141         * configure: Regenerated.
1142         * config.h.in (USE_STAP_PROBE): New #undef.
1143         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1144         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1145         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1147 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1149         [BZ #13717]
1150         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1151         to 2.4.0 where earlier.
1152         * sysdeps/unix/sysv/linux/configure: Regenerated.
1153         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1154         <kernel-features.h>.
1155         [__ASSUME_32BITUIDS]: Make code unconditional.
1156         [!__ASSUME_32BITUIDS]: Remove conditional code.
1157         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1158         <kernel-features.h>.
1159         [__ASSUME_32BITUIDS]: Make code unconditional.
1160         [!__ASSUME_32BITUIDS]: Remove conditional code.
1161         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1162         [__ASSUME_32BITUIDS]: Make code unconditional.
1163         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1164         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1165         <kernel-features.h>.
1166         [__ASSUME_32BITUIDS]: Make code unconditional.
1167         [!__ASSUME_32BITUIDS]: Remove conditional code.
1168         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1169         <kernel-features.h>.
1170         [__ASSUME_32BITUIDS]: Make code unconditional.
1171         [!__ASSUME_32BITUIDS]: Remove conditional code.
1172         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1173         <kernel-features.h>.
1174         [__ASSUME_32BITUIDS]: Make code unconditional.
1175         [!__ASSUME_32BITUIDS]: Remove conditional code.
1176         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1177         <kernel-features.h>.
1178         [__ASSUME_32BITUIDS]: Make code unconditional.
1179         [!__ASSUME_32BITUIDS]: Remove conditional code.
1180         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1181         <kernel-features.h>.
1182         [__ASSUME_32BITUIDS]: Make code unconditional.
1183         [!__ASSUME_32BITUIDS]: Remove conditional code.
1184         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1185         <kernel-features.h>.
1186         [__ASSUME_32BITUIDS]: Make code unconditional.
1187         [!__ASSUME_32BITUIDS]: Remove conditional code.
1188         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1189         <kernel-features.h>.
1190         [__ASSUME_32BITUIDS]: Make code unconditional.
1191         [!__ASSUME_32BITUIDS]: Remove conditional code.
1192         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1193         <kernel-features.h>.
1194         [__ASSUME_32BITUIDS]: Make code unconditional.
1195         [!__ASSUME_32BITUIDS]: Remove conditional code.
1196         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1197         <kernel-features.h>.
1198         [__ASSUME_32BITUIDS]: Make code unconditional.
1199         [!__ASSUME_32BITUIDS]: Remove conditional code.
1200         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1201         <kernel-features.h>.
1202         [__ASSUME_32BITUIDS]: Make code unconditional.
1203         [!__ASSUME_32BITUIDS]: Remove conditional code.
1204         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1205         <kernel-features.h>.
1206         [__NR_setresgid] (__setresgid): Do not declare.
1207         [__ASSUME_32BITUIDS]: Make code unconditional.
1208         [!__ASSUME_32BITUIDS]: Remove conditional code.
1209         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1210         <kernel-features.h>.
1211         [__NR_setresuid] (__setresuid): Do not declare.
1212         [__ASSUME_32BITUIDS]: Make code unconditional.
1213         [!__ASSUME_32BITUIDS]: Remove conditional code.
1214         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
1255         (__ASSUME_SETRESUID_SYSCALL): Remove.
1256         (__ASSUME_SETRESGID_SYSCALL): Likewise.
1257         (__ASSUME_32BITUIDS): Likewise.
1258         (__ASSUME_LDT_WORKS): Likewise.
1259         (__ASSUME_O_DIRECTORY): Likewise.
1260         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1261         architecture but not kernel version.
1262         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1263         (__ASSUME_MMAP2_SYSCALL): Likewise.
1264         (__ASSUME_STAT64_SYSCALL): Likewise.
1265         (__ASSUME_IPC64): Likewise.
1266         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1267         <kernel-features.h>.
1268         [__ASSUME_32BITUIDS]: Make code unconditional.
1269         [!__ASSUME_32BITUIDS]: Remove conditional code.
1270         * sysdeps/unix/sysv/linux/opendir.c: Do not include
1271         <kernel-features.h>.
1272         [__ASSUME_O_DIRECTORY]: Make code unconditional.
1273         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1274         132096]: Remove conditional code.
1275         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1276         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
1285         <kernel-features.h>.
1286         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1287         unconditional.
1288         (__setresgid): Do not declare.
1289         [__ASSUME_32BITUIDS]: Make code unconditional.
1290         [!__ASSUME_32BITUIDS]: Remove conditional code.
1291         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1292         <kernel-features.h>.
1293         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1294         unconditional.
1295         (__setresuid): Do not declare.
1296         [__ASSUME_32BITUIDS]: Make code unconditional.
1297         [!__ASSUME_32BITUIDS]: Remove conditional code.
1298         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1299         <kernel-features.h>.
1300         [__ASSUME_32BITUIDS]: Make code unconditional.
1301         [!__ASSUME_32BITUIDS]: Remove conditional code.
1302         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1303         <kernel-features.h>.
1304         [__ASSUME_32BITUIDS]: Make code unconditional.
1305         [!__ASSUME_32BITUIDS]: Remove conditional code.
1307 2012-05-25  Richard Henderson  <rth@twiddle.net>
1309         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1310         dl_hwcap to ifunc resolver.
1311         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1312         elf_ifunc_invoke.
1313         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1314         dl_hwcap to ifunc resolver.
1315         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1317 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1319         [BZ #14153]
1320         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1321         for |x| <= 2**-26, not 2**-57.
1322         * math/libm-test.inc (acos_test): Do not allow spurious underflow
1323         exception.
1325 2012-05-24  Jeff Law  <law@redhat.com>
1327         * stdio-common/Makefile (tests): Add bug25.
1328         * stdio-common/bug25.c: New test.
1330 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1332         [BZ #13576]
1333         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1334         multiple of MALLOC_ALIGNMENT in size.
1335         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1337 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1339         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1340         Require >= 256.
1341         (FILENAME_MAX): Use macro-int-constant.
1342         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
1343         (_IOFBF): Use macro-int-constant.
1344         (_IOLBF): Likewise.
1345         (_IONBF): Likewise.
1346         (SEEK_CUR): Likewise.
1347         (SEEK_END): Likewise.
1348         (SEEK_SET): Likewise.
1349         (TMP_MAX): Likewise.
1350         (EOF): Use macro-int-constant.  Require < 0.
1351         (NULL): Use macro-constant.  Require == 0.
1352         (stdin): Require type to be FILE *.
1353         (stdout): Likewise.
1354         (stderr): Likewise.
1355         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1356         macro-int-constant.
1357         (EXIT_SUCCESS): Likewise.
1358         (NULL): Use macro-constant.  Require == 0.
1359         (RAND_MAX): Use macro-int-constant.
1360         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1361         [C99-based standards] (strtof): Require function.
1362         [C99-based standards] (strtold): Likewise.
1363         [C99-based standards] (strtoll): Likewise.
1364         [C99-based standards] (strtoull): Likewise.
1365         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1366         [ISO || ISO99 || ISO11] (limits.h): Likewise.
1367         [ISO || ISO99 || ISO11] (math.h): Likewise.
1368         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1369         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1370         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1372 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
1374         [BZ #14132]
1375         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1376         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1377         * intl/dgettext.c (DCGETTEXT): Likewise.
1378         * intl/gettext.c (DCGETTEXT): Likewise.
1379         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1380         * posix/regex_internal.h (gettext): Likewise.
1381         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1382         Remove declaration.
1383         * include/argz.h (__argz_count_internal)
1384         (__argz_stringify_internal): Remove declaration.
1385         (__argz_count, __argz_stringify): Declare hidden proto.
1386         * intl/dcgettext.c: Remove use of INTDEF.
1387         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1388         * string/argz-stringify.c: Likewise.
1389         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1390         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1391         Declare hidden proto.
1392         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1393         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1394         Declare hidden proto.
1395         * include/stdio.h (__asprintf_internal): Don't declare.
1396         (__asprintf): Don't define as macro.  Declare hidden proto.
1397         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1398         (__fsetlocking): Declare hidden proto.
1399         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1400         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1401         hidden proto.
1402         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1403         (_IO_setlinebuf): Remove use of INTUSE.
1404         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1405         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1406         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1407         Remove declaration.
1408         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1409         (_IO_do_flush): Remove use of INTUSE.
1410         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1411         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1412         (_IO_adjust_column, _IO_least_wmarker)
1413         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1414         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1415         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1416         (_IO_default_doallocate, _IO_wdefault_doallocate)
1417         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1418         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1419         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1420         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1421         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1422         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1423         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1424         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1425         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1426         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1427         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1428         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1429         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1430         proto.
1431         (_IO_flush_all_internal, _IO_adjust_column_internal)
1432         (_IO_default_uflow_internal, _IO_default_finish_internal)
1433         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1434         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1435         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1436         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1437         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1438         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1439         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1440         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1441         (_IO_file_close_internal, _IO_file_close_it_internal)
1442         (_IO_file_underflow_internal, _IO_file_overflow_internal)
1443         (_IO_file_init_internal, _IO_file_attach_internal)
1444         (_IO_file_fopen_internal, _IO_file_read_internal)
1445         (_IO_file_sync_internal, _IO_file_seek_internal)
1446         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1447         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1448         (_IO_str_underflow_internal, _IO_str_overflow_internal)
1449         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1450         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1451         (_IO_list_all_internal, _IO_link_in_internal)
1452         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1453         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1454         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1455         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1456         (_IO_do_write_internal, _IO_padn_internal)
1457         (_IO_getline_info_internal, _IO_getline_internal)
1458         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1459         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1460         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1461         (_IO_vfscanf_internal, _IO_vfprintf_internal)
1462         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1463         (_IO_init_internal, _IO_un_link_internal): Don't declare.
1464         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1465         with libc_hidden_ver, remove use of INTUSE.
1466         * libio/genops.c: Likewise.
1467         * libio/freopen.c: Likewise.
1468         * libio/freopen64.c: Likewise.
1469         * libio/iofclose.c: Likewise.
1470         * libio/iofdopen.c: Likewise.
1471         * libio/iofflush.c: Likewise.
1472         * libio/iofflush_u.c: Likewise.
1473         * libio/iofgets.c: Likewise.
1474         * libio/iofgets_u.c: Likewise.
1475         * libio/iofopen.c: Likewise.
1476         * libio/iofopncook.c: Likewise.
1477         * libio/iofread.c: Likewise.
1478         * libio/iofread_u.c: Likewise.
1479         * libio/ioftell.c: Likewise.
1480         * libio/iofwrite.c: Likewise.
1481         * libio/iogetline.c: Likewise.
1482         * libio/iogets.c: Likewise.
1483         * libio/iogetwline.c: Likewise.
1484         * libio/iopadn.c: Likewise.
1485         * libio/iopopen.c: Likewise.
1486         * libio/ioseekoff.c: Likewise.
1487         * libio/ioseekpos.c: Likewise.
1488         * libio/iosetbuffer.c: Likewise.
1489         * libio/iosetvbuf.c: Likewise.
1490         * libio/ioungetc.c: Likewise.
1491         * libio/ioungetwc.c: Likewise.
1492         * libio/iovdprintf.c: Likewise.
1493         * libio/iovsprintf.c: Likewise.
1494         * libio/iovsscanf.c: Likewise.
1495         * libio/memstream.c: Likewise.
1496         * libio/obprintf.c: Likewise.
1497         * libio/oldfileops.c: Likewise.
1498         * libio/oldiofclose.c: Likewise.
1499         * libio/oldiofdopen.c: Likewise.
1500         * libio/oldiofopen.c: Likewise.
1501         * libio/oldiopopen.c: Likewise.
1502         * libio/oldstdfiles.c: Likewise.
1503         * libio/putc.c: Likewise.
1504         * libio/setbuf.c: Likewise.
1505         * libio/setlinebuf.c: Likewise.
1506         * libio/stdfiles.c: Likewise.
1507         * libio/strops.c: Likewise.
1508         * libio/vasprintf.c: Likewise.
1509         * libio/vscanf.c: Likewise.
1510         * libio/vsnprintf.c: Likewise.
1511         * libio/vswprintf.c: Likewise.
1512         * libio/wfiledoalloc.c: Likewise.
1513         * libio/wfileops.c: Likewise.
1514         * libio/wgenops.c: Likewise.
1515         * libio/wmemstream.c: Likewise.
1516         * libio/wstrops.c: Likewise.
1517         * libio/__fpurge.c: Likewise.
1518         * libio/__fsetlocking.c: Likewise.
1519         * assert/assert.c: Likewise.
1520         * debug/fgets_chk.c: Likewise.
1521         * debug/fgets_u_chk.c: Likewise.
1522         * debug/fread_chk.c: Likewise.
1523         * debug/fread_u_chk.c: Likewise.
1524         * debug/gets_chk.c: Likewise.
1525         * debug/obprintf_chk.c: Likewise.
1526         * debug/vasprintf_chk.c: Likewise.
1527         * debug/vdprintf_chk.c: Likewise.
1528         * debug/vsnprintf_chk.c: Likewise.
1529         * debug/vsprintf_chk.c: Likewise.
1530         * malloc/mtrace.c: Likewise.
1531         * misc/error.c: Likewise.
1532         * misc/syslog.c: Likewise.
1533         * stdio-common/asprintf.c: Likewise.
1534         * stdio-common/fxprintf.c: Likewise.
1535         * stdio-common/getw.c: Likewise.
1536         * stdio-common/isoc99_fscanf.c: Likewise.
1537         * stdio-common/isoc99_scanf.c: Likewise.
1538         * stdio-common/isoc99_vfscanf.c: Likewise.
1539         * stdio-common/isoc99_vscanf.c: Likewise.
1540         * stdio-common/isoc99_vsscanf.c: Likewise.
1541         * stdio-common/printf-prs.c: Likewise.
1542         * stdio-common/printf_fp.c: Likewise.
1543         * stdio-common/printf_fphex.c: Likewise.
1544         * stdio-common/printf_size.c: Likewise.
1545         * stdio-common/putw.c: Likewise.
1546         * stdio-common/scanf.c: Likewise.
1547         * stdio-common/sprintf.c: Likewise.
1548         * stdio-common/tmpfile.c: Likewise.
1549         * stdio-common/vfprintf.c: Likewise.
1550         * stdio-common/vfscanf.c: Likewise.
1551         * stdlib/strfmon_l.c: Likewise.
1552         * sunrpc/openchild.c: Likewise.
1553         * sunrpc/xdr_stdio.c: Likewise.
1554         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1555         * sysdeps/mach/hurd/tmpfile.c: Likewise.
1557 2012-05-24  Roland McGrath  <roland@hack.frob.com>
1559         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1561         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1562         in the third column, to generate for the shared library an IFUNC
1563         that uses _dl_vdso_vsym.
1564         * Makerules (COMPILE.c, compile-stdin.c): New variables.
1565         * Makeconfig (object-suffixes-noshared): New variable.
1567         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1568         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1569         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1570         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1572         [BZ #14132]
1573         * include/sys/time.h (__gettimeofday): Remove macro.
1574         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1575         * time/gettimeofday.c (__gettimeofday): Remove #undef.
1576         Remove INTDEF.
1577         (__gettimeofday): Add libc_hidden_def.
1578         (gettimeofday): Add libc_hidden_weak.
1579         * sysdeps/mach/gettimeofday.c: Likewise.
1580         * sysdeps/posix/gettimeofday.c: Likewise.
1581         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1582         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1583         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1584         (__gettimeofday_internal): Remove strong_alias.
1585         (__gettimeofday): Add libc_hidden_def.
1586         (gettimeofday): Add libc_hidden_weak.
1587         * sysdeps/unix/syscalls.list (gettimeofday):
1588         Remove __gettimeofday_internal alias.
1590 2012-05-24  Daniel Jacobowitz  <drow@false.org>
1591             H.J. Lu  <hongjiu.lu@intel.com>
1593         [BZ #12495]
1594         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1595         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1596         (largebin_index_32_big): New.
1597         (largebin_index): Use it for 16-byte alignment.
1598         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
1599         correction with front_misalign.
1601 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1605         Likewise.
1606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1607         Likewise.
1608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1609         Likewise.
1610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1611         Likewise.
1612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1613         Likewise.
1614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1615         Likewise.
1616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1617         Likewise.
1618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1619         Likewise.
1620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1621         Likewise.
1622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1623         Likewise.
1624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1625         Likewise.
1626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1627         Likewise.
1629         * scripts/data/c++-types-x32-linux-gnu.data: New file.
1630         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1632 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1634         [BZ #10846]
1635         [BZ #14036]
1636         * math/libm-test.inc (exp_test): Add test from bug 14036.
1637         (pow_test): Add test from bug 10846.
1639         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1640         and other flags.
1641         (special_function): Do not include flags in test name.
1642         (parse_args): Likewise.
1643         * sysdeps/i386/fpu/libm-test-ulps: Update.
1644         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1645         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1646         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1649         * math/gen-libm-test.pl (%beautify): Add entries for underflow
1650         exceptions.
1651         * math/libm-test.inc ("Philosophy"): Update comment about
1652         exception testing.
1653         (UNDERFLOW_EXCEPTION): New macro.
1654         (UNDERFLOW_EXCEPTION_OK): Likewise.
1655         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1656         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1657         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1658         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1659         (INVALID_EXCEPTION_OK): Update value.
1660         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1661         (OVERFLOW_EXCEPTION_OK): Likewise.
1662         (IGNORE_ZERO_INF_SIGN): Likewise.
1663         (test_exceptions): Handle underflow exceptions.
1664         (acos_test): Update for underflow exception expectations.
1665         (cexp_test): Likewise.
1666         (clog_test): Likewise.
1667         (clog10_test): Likewise.
1668         (csqrt_test): Likewise.
1669         (ctan_test): Likewise.
1670         (ctanh_test): Likewise.
1671         (exp_test): Likewise.
1672         (exp10_test): Likewise.
1673         (exp2_test): Likewise.
1674         (expm1_test): Likewise.
1675         (fma_test): Likewise.
1676         (j0_test): Likewise.
1677         (jn_test): Likewise.
1678         (nexttoward_test): Likewise.
1679         (pow_test): Likewise.
1680         (scalbn_test): Likewise.
1681         (scalbln_test): Likewise.
1682         (tan_test): Likewise.
1683         (y1_test): Likewise.
1684         * sysdeps/i386/fpu/libm-test-ulps: Update.
1685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1687 2012-05-23  David S. Miller  <davem@davemloft.net>
1689         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1690         (__libc_sigaction): Remove unused local variables.
1692 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1694         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1696 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
1698         mktime: avoid signed integer overflow
1699         * time/mktime.c (__mktime_internal): Do not mishandle the case
1700         where diff == INT_MIN.
1702         mktime: simplify computation of average
1703         * time/mktime.c (ranged_convert): Use new time_t_avg function
1704         instead of rolling our own (probably-slower) code.
1706         mktime: do not assume signed right shift propagates sign bit
1707         * time/mktime.c (isdst_differ): New static function.
1708         (__mktime_internal): No need to normalize tm_isdst now.
1709         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1710         tm_isdst values.
1712         mktime: merge another wrapv change from gnulib
1713         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1714         from some compilers.
1716         mktime: remove incorrect attempt at unusual arithmetics
1717         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1718         The code didn't really work on such machines anyway.
1719         (TYPE_MINIMUM): Assume two's complement.
1720         (twos_complement_arithmetic): Verify that long_int and time_t
1721         are two's complement (or unsigned, in the latter case).
1723         mktime: check signed shifts on long_int and time_t, too
1724         * time/mktime.c (SHR): Check that shifts work as desired
1725         on the types long_int and time_t too, as SHR is used on
1726         such types.
1728         mktime: do not assume 'long' is wide enough
1729         * time/mktime.c (verify): Move decl up.
1730         (long_int): New type.
1731         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1732         to remove assumption in the code that 'long' is wide enough to
1733         store year values.  This assumption is not true on x32 and on
1734         some non-glibc platforms.
1736         mktime: merge wrapv change from gnulib
1737         * time/mktime.c (WRAPV): New macro.
1738         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1739         (guess_time_tm, __mktime_internal): Do not assume that signed
1740         integer overflow wraps around; modern compilers generate code
1741         where this assumption is no longer valid.
1743 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1745         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1746         Replace "jmp L(pseudo_end)" with "ret".
1747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1748         Likewise.
1750 2012-05-23  Andreas Jaeger  <aj@suse.de>
1752         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1753         * sysdeps/unix/sysv/linux/poll.c: Remove file.
1755 2012-05-23  Andreas Jaeger  <aj@suse.de>
1756             Maximilian Attems  <max@stro.at>
1758         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1759         New macros.
1761 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1763         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1764         code so that pseudo_end is just ret and the stack pointer is
1765         correct also for static library in error case.
1767 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
1769         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1770         move to syscalls.list.
1771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1776         * manual/install.texi (Running make install): Do not mention Linux
1777         kernel version for which pt_chown is not needed.
1778         (Linux): Do not mention problems with nscd with 2.0 kernels.
1779         * INSTALL: Regenerated.
1781 2012-05-23  Andreas Jaeger  <aj@suse.de>
1783         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1784         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1785         macro.
1786         * sysdeps/unix/sysv/linux/s390/bits/mman.h
1787         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1788         * sysdeps/unix/sysv/linux/sh/bits/mman.h
1789         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1790         * sysdeps/unix/sysv/linux/i386/bits/mman.h
1791         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1792         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1793         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1794         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1795         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1796         * sysdeps/unix/sysv/linux/bits/in.h
1797         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1799 2012-05-22  Roland McGrath  <roland@hack.frob.com>
1801         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1802         (PREPARE_VERSION): Just use assert instead, it will be elided
1803         under [NDEBUG] anyway.
1805 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1807         * sysdeps/unix/sysv/linux/Makefile: Include
1808         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1809         (sysdep_routines): Remove sysctl.
1810         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1811         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1812         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1813         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1814         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1816 2012-05-22  Andreas Jaeger  <aj@suse.de>
1818         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1819         that pseudo_end is just ret and the stack pointer is correct also
1820         for static library in error case.
1822 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1824         [BZ #14122]
1825         * nss/nsswitch.c (defconfig_entries): New variable.
1826         (__nss_database_lookup): Don't leak defconfig entries.
1827         (nss_parse_service_list): Don't leak on error paths.
1828         (free_database_entries): New function.
1829         (free_defconfig): New function.
1830         (free_mem): Move common code to free_database_entries.
1832 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1834         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1835         Add arch_prctl.
1836         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1838         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1839         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1840         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1841         New macro.
1842         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1843         (INTERNAL_SYSCALL_TYPES): Likewise.
1844         (LOAD_ARGS_TYPES_[1-6]): Likewise.
1845         (LOAD_REGS_TYPES_[1-6]): Likewise.
1846         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1847         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1849 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1851         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1852         copysignl for GLIBC_2_0.
1853         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1854         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1855         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1856         logbl for GLIBC_2_0.
1857         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1858         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1860 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1862         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1863         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
1865         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1866         Use "neg %eax".
1868         * time/mktime.c: Update copyright years.
1870 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1872         mktime: merge comment-quoting-style change from gnulib
1873         * time/mktime.c: Quote 'like this' in comments.
1874         The GNU coding standards suggest that we no longer quote `like this',
1875         as "`" and "'" are typically rendered asymmetrically nowadays.
1876         The typical gnulib style is to quote 'like this' when quoting
1877         code, and "like this" when quoting English.
1879         * time/mktime.c (compile-command): Add "-I.".
1881         mktime: merge mktime-internal.h change from gnulib
1882         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1884         mktime: merge time_r change from gnulib
1885         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1887         mktime: merge DEBUG change from gnulib
1888         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1889         case system <time.h> has a #define.
1891         mktime: merge <sys/types.h> change from gnulib
1892         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1893         since <time.t> is now guaranteed to define time_t.
1895         mktime: merge HAVE_CONFIG_H change from gnulib
1896         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1898 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1900         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1901         Use "neg %eax".
1903         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1904         __rlim_t cast.
1905         (struct rusage): Use anonymous union to pad each field to
1906         __syscall_slong_t.
1908 2012-05-21  David S. Miller  <davem@davemloft.net>
1910         * Makefules (o-iterator): Remove .s cases.
1911         (compile-command.s): Delete.
1912         (COMPILE.s): Delete.
1913         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1915 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
1917         * configure.in (libc_cv_predef_stack_protector): Only consider
1918         "foobar" and "__stack_chk_fail" lines in libc_undefs.
1919         * configure: Regenerated.
1921 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1923         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1924         New macro.  Use R*LP on int and pointer.
1925         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1926         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1927         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1928         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1930         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1931         [__WORDSIZE_TIME64_COMPAT32] instead of
1932         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1933         (struct utmp): Likewise.
1934         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1935         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1936         Renamed to ...
1937         (__WORDSIZE_TIME64_COMPAT32): This.
1938         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1939         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1940         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1941         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1942         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1943         (__WORDSIZE_TIME64_COMPAT32): New macro.
1945 2012-05-21  Andreas Jaeger  <aj@suse.de>
1947         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1948         only if [SHARED]. Add prototype for __wcschr_ia32.
1950 2012-05-21  Roland McGrath  <roland@hack.frob.com>
1952         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1953         of %rbp unmolested in the jmp_buf while mangling the low bits.
1954         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1955         unmolested high bits of %rbp while demangling the low bits.
1956         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1958 2012-05-21  Andreas Jaeger  <aj@suse.de>
1960         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1961         * sunrpc/svc_simple.c: Use it for registerrpc.
1962         * sunrpc/xcrypt.c: Use it for passwd2des.
1964         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1966 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1968         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1969         Don't define if [__SYSCALL_WORDSIZE != 32].
1970         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1971         New macro.
1973 2012-05-21  Bruno Haible  <bruno@clisp.org>
1974             Andreas Jaeger  <aj@suse.de>
1976         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1977         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1978         inptr and inend for must_buffer_ch.
1979         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1980         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1981         * stdio-common/Makefile (tests): Remove bug15.
1982         (bug15-ENV): Remove macro.
1983         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1984         anymore.
1986 2012-05-19  Andreas Jaeger  <aj@suse.de>
1987             Roland McGrath  <roland@hack.frob.com>
1989         * manual/contrib.texi: Completely rewritten. It contains now an
1990         alphabetical list of contributors and their contributions.
1992 2012-05-21  Richard Henderson  <rth@twiddle.net>
1994         * misc/getauxval.c (__getauxval): Use unsigned long int.
1995         * misc/sys/auxv.h: Include <sys/cdefs.h>.
1996         (getauxval): Use unsigned long int.
1998 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2000         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2002 2012-05-21  Roland McGrath  <roland@hack.frob.com>
2004         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2005         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2006         __alignof__ (long double).
2008 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2012 2012-05-20  Richard Henderson  <rth@twiddle.net>
2014         * misc/getauxval.c: New file.
2015         * misc/sys/auxv.h: New file.
2016         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2017         (routines): Add getauxval.
2018         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2019         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2020         * elf/dl-sysdep.c (_dl_auxv): Remove.
2021         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2022         * elf/dl-support.c (_dl_auxv): New variable.
2023         (_dl_aux_init): Initialize it.
2024         * manual/startup.texi (Auxiliary Vector): New node.
2025         * sysdeps/generic/bits/hwcap.h: New file.
2026         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2027         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
2028         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2029         * sysdeps/sparc/sysdep.h: ... here.  Include it.
2030         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2031         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2033         Update.
2034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2037         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2043 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2047 2012-05-19  David S. Miller  <davem@davemloft.net>
2049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2051 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
2053         [BZ #14123]
2054         * math/s_ccosh.c: Include <float.h>
2055         (__ccosh): Avoid internal overflow calculating sinh and cosh
2056         values before multiplying by sin and cos values.
2057         * math/s_ccoshf.c: Likewise.
2058         * math/s_ccoshl.c: Likewise.
2059         * math/s_csin.c: Likewise.
2060         * math/s_csinf.c: Likewise.
2061         * math/s_csinl.c: Likewise.
2062         * math/s_csinh.c: Likewise.
2063         * math/s_csinhf.c: Likewise.
2064         * math/s_csinhl.c: Likewise.
2065         * math/libm-test.inc (ccos_test): Add more tests.
2066         (ccosh_test): Likewise.
2067         (csin_test): Likewise.
2068         (csinh_test): Likewise.
2069         * sysdeps/i386/fpu/libm-test-ulps: Update.
2070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2072 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2074         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2075         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2077         * sysdeps/x86_64/x32/_itoa.h: Add comment.
2079 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
2081         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2082         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2083         * sysdeps/powerpc/soft-fp/Versions: Likewise.
2084         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2085         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2086         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2087         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2088         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2089         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2090         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2091         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2092         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2093         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2094         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2095         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2096         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2097         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2098         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2099         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2100         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2101         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2102         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2103         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2104         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2105         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2106         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2107         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2108         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2109         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2110         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2111         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2113 2012-05-18  Andreas Jaeger  <aj@suse.de>
2115         * csu/.gitignore: Delete.
2117 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2119         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2120         (timex): Use __syscall_slong_t.
2122 2012-05-18  Andreas Jaeger  <aj@suse.de>
2123             Carlos O'Donell  <carlos_odonell@mentor.com>
2125         * manual/install.texi (Configuring and compiling): Update
2126         description about files modified in the source directory.
2127         * INSTALL: Regenerated.
2129 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2131         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2132         value.  Use "or" to set return value to -1.
2133         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2134         negate return value.
2136 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2138         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2139         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2140         failure if the compiler has Graphite support disabled.
2141         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2142         Likewise.
2143         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2144         CFLAGS-memmove.c): Likewise.
2145         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2146         Likewise.
2148 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2150         * sysdeps/x86_64/x32/_itoa.h: New file.
2152         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2153         getdents system call only if kernel and user dirents have the
2154         same d_ino and d_off.
2156         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2157         LLONG_MAX != LONG_MAX.
2158         (_itoa_word): Use _ITOA_WORD_TYPE on value.
2159         (_fitoa_word): Likewise.
2161         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2162         years.
2163         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2164         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2165         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2167         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2168         include <bits/wordsize.h>.  Check __x86_64__ instead of
2169         __WORDSIZE.
2170         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2171         if __x86_64__ is defined.  Use anonymous union on fpstate.
2173         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2174         anonymous union.
2176 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
2178         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2179         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2180         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2181         Refer to _rtld_local_ro instead of _rtld_global_ro.
2182         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2183         Likewise.
2184         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2185         Likewise.
2186         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2187         Likewise.
2188         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2189         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2190         of _rtld_global, and rtld_progname instead of _dl_argv[0].
2192         * sysdeps/powerpc/powerpc32/dl-machine.c
2193         (__elf_machine_runtime_setup) [PROF]: Don't reference
2194         _dl_prof_resolve.
2196 2012-05-18  Andreas Jaeger  <aj@suse.de>
2198         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2199         function only available for GCCs before 3.4 since GCC 3.4
2200         introduced a builtin.
2201         (lrint): Likewise.
2202         (llrintf): Likewise.
2203         (llrint): Likewise.
2204         (fmaxf): Likewise.
2205         (fmax): Likewise.
2206         (fminf): Likewise.
2207         (fmin): Likewise.
2208         (rint): Likewise.
2209         (rintf): Likewise.
2210         (nearbyint): Likewise.
2211         (nearbyintf): Likewise.
2212         (ceil): Likewise.
2213         (ceilf): Likewise.
2214         (floor): Likewise.
2215         (floorf): Likewise.
2217 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2219         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2220         on both fields and cast pointer to __syscall_ulong_t.
2222         * bits/types.h (__fsword_t): New type.
2223         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2224         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2225         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2226         (__FSWORD_T_TYPE): Likewise.
2227         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2228         (__FSWORD_T_TYPE): Likewise.
2229         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2230         (__FSWORD_T_TYPE): Likewise.
2231         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2232         (__FSWORD_T_TYPE): Likewise.
2233         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2234         __SWORD_TYPE with __fsword_t.
2235         (statfs64): Likewise.
2237 2012-05-17  David S. Miller  <davem@davemloft.net>
2239         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2241 2012-05-17  Andreas Jaeger  <aj@suse.de>
2243         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2244         warning.
2246 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2248         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2250 2012-05-17  Andreas Jaeger  <aj@suse.de>
2252         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2253         when it is used.
2255 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
2257         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2259 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2261         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2262         * sysdeps/x86_64/tst-mallocalign1.c: New file.
2264 2012-05-17  Andreas Jaeger  <aj@suse.de>
2265             Carlos O'Donell  <carlos_odonell@mentor.com>
2267         [BZ #14059]
2268         * sysdeps/x86_64/multiarch/init-arch.h
2269         (bit_YMM_Usable): Rename to...
2270         (bit_AVX_Usable): ... this.
2271         (bit_FMA4_Usable): New macro.
2272         (bit_XMM_state): New macro.
2273         (bit_YMM_state): New macro.
2274         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2275         [__ASSEMBLER__] (index_AVX_Usable): ... this.
2276         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2277         (CPUID_OSXSAVE): New macro.
2278         (CPUID_AVX): New macro.
2279         (CPUID_FMA4): New macro.
2280         (index_YMM_Usable): Rename to...
2281         (index_AVX_Usable): ... this.
2282         (HAS_AVX): Use HAS_ARCH_FEATURE.
2283         (HAS_FMA4): Likewise.
2284         (HAS_YMM_USABLE): Remove.
2285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2286         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2287         are present.
2288         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2289         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2290         * sysdeps/x86_64/multiarch/Makefile: Likewise.
2291         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2292         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2294 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
2296         * math/libm-test.c: Support platforms without multiple rounding modes.
2297         * math/bug-nextafter.c: Support platforms without FP exceptions.
2298         * math/bug-nexttoward.c: Likewise.
2299         * math/test-fenv.c: Likewise.
2300         * math/test-misc.c: Likewise.
2301         * stdlib/bug-getcontext.c: Likewise.
2303 2012-05-17  Andreas Jaeger  <aj@suse.de>
2305         * manual/examples/search.c (critter_cmp): Change signature to
2306         avoid warnings.
2307         * manual/string.texi (Collation Functions): Likewise.
2309 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2311         * bits/types.h: Fold copyright years.
2312         * bits/typesizes.h: Likewise.
2313         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2314         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2315         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2316         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2317         * time/time.h: Likewise.
2319 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
2321         [BZ #208]
2322         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2323         in instead of returning them.  Return void.
2324         (__libc_mallinfo): Accumulate over all arenas.
2325         (__malloc_stats): Adjust for change in int_mallinfo interface.
2327 2012-05-16  Roland McGrath  <roland@hack.frob.com>
2329         [BZ #10375]
2330         * configure.in (NM): Add AC_CHECK_TOOL for it.
2331         (libc_extra_cflags): New substituted variable.
2332         Check for -fstack-protector being used implicitly.
2333         * configure: Regenerated.
2334         * config.make.in (config-extra-cflags): New variable,
2335         gets @libc_extra_cflags@.
2336         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2338         [BZ #10375]
2339         * configure.in: Check for _FORTIFY_SOURCE being predefined.
2340         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2341         * configure: Regenerated.
2342         * config.make.in (CPPUNDEFS): New substituted variable.
2343         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2344         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2345         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2347 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2349         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2350         (mq_attr): Use __syscall_slong_t.
2352 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2354         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2355         Check __x86_64__ instead of __WORDSIZE.
2356         (_STAT_VER_LINUX): Likewise.
2357         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
2358         __syscall_ulong_t and __syscall_slong_t.
2359         (stat64): Likewise.
2361 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2363         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2365 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2367         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2369 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2371         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2372         __syscall_ulong_t.
2374         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2375         include <bits/wordsize.h>.  Check __x86_64__ instead of
2376         __WORDSIZE.
2377         (greg_t): Use "__extension__ long long int" if __x86_64__ is
2378         defined.
2379         (mcontext_t): Replace "unsigned long" with "unsigned long long".
2381         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2382         include <bits/wordsize.h>.  Check __x86_64__ instead of
2383         __WORDSIZE.
2384         (user_regs_struct): Use "__extension__ unsigned long long"
2385         instead of "unsigned long" if __x86_64__ is defined.
2386         (user): Likewise.  Pad after pointer field if __ILP32__ is
2387         defined.
2389 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
2391         * configure.in (makeinfo): Require version 4.5 or later.  Allow
2392         versions 5 to 9.
2393         * configure: Regenerated.
2394         * manual/install.texi (texinfo): Increase version requirement to
2395         4.5 or later.
2396         * INSTALL: Regenerated.
2398         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2400 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2402         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2404         * sysdeps/x86_64/x32/ffs.c: New file.
2406         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2407         __syscall_ulong_t.
2408         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2409         defined.  Use __syscall_ulong_t.
2410         (shminfo): Use __syscall_ulong_t.
2411         (shm_info): Likewise.
2413         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2414         __syscall_ulong_t.
2416         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2417         <bits/wordsize.h>.
2418         (msgqnum_t): Use __syscall_ulong_t.
2419         (msglen_t): Likewise.
2420         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
2421         __syscall_ulong_t.
2423         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2424         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
2426         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2428         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2429         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2431         * sysvipc/sys/msg.h (msgbuf): Replace long int with
2432         __syscall_slong_t.
2434         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2435         include <bits/wordsize.h>.  Check __x86_64__ instead of
2436         __WORDSIZE.
2438         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2439         "unsigned long long int" if __x86_64__ is defined.
2440         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2442         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2443         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
2444         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2446         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2447         <stdint.h>.
2448         (GET_PC): Cast to uintptr_t first.
2449         (GET_FRAME): Likewise.
2450         (GET_STACK): Likewise.
2452         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2453         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2454         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2455         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2456         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2457         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2458         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2459         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2460         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2461         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2462         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2463         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2464         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2465         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2466         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2467         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2468         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2469         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2470         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2471         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2472         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2473         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2474         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2475         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2476         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2477         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2478         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2479         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2480         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2482 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
2484         * Makerules (+depfiles): Also collect depfiles from .oS in
2485         $(extra-objs).
2486         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2487         .oS, $(libnldbl-routines)).
2489         * Makerules (native-compile-mkdep-flags): Define.
2490         * sunrpc/Makefile (extra-objs): Add $(addprefix
2491         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2492         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2493         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
2494         calling $(make-target-directory).
2496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2498         * bits/types.h (__snseconds_t): Removed.
2499         * time/time.h (struct timespec): Replace __snseconds_t with
2500         __syscall_slong_t.
2501         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2502         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2503         Likewise.
2504         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2505         (__SNSECONDS_T_TYPE): Likewise.
2506         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2507         (__SNSECONDS_T_TYPE): Likewise.
2508         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2509         (__SNSECONDS_T_TYPE): Likewise.
2511 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2513         * sysdeps/mach/hurd/bits/typesizes.h
2514         (__SYSCALL_SLONG_TYPE): New macro.
2515         (__SYSCALL_ULONG_TYPE): Likewise.
2517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2519         * bits/types.h (__syscall_slong_t): New type.
2520         (__syscall_ulong_t): Likewise.
2522         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2523         (__SYSCALL_ULONG_TYPE): Likewise.
2524         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2525         (__SYSCALL_SLONG_TYPE): Likewise.
2526         (__SYSCALL_ULONG_TYPE): Likewise.
2527         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2528         (__SYSCALL_SLONG_TYPE): Likewise.
2529         (__SYSCALL_ULONG_TYPE): Likewise.
2530         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2531         (__SYSCALL_SLONG_TYPE): Likewise.
2532         (__SYSCALL_ULONG_TYPE): Likewise.
2534 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2536         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2537         Add sigaltstack-offsets.sym.
2538         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2539         <sigaltstack-offsets.h>.
2540         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
2541         longjmp_msg pointer.
2542         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
2543         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2544         signal stack.
2545         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2547 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
2549         * elf/stackguard-macros.h: Remove file.
2550         * sysdeps/generic/stackguard-macros.h: New file.
2551         * sysdeps/i386/stackguard-macros.h: Likewise.
2552         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2553         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2554         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2555         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2556         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2557         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2558         * sysdeps/x86_64/stackguard-macros.h: Likewise.
2559         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2560         <elf/stackguard-macros.h>.
2562         [BZ #14109]
2563         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2564         __aligned__ in attribute.
2565         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2566         (gregset_t): Likewise.
2568 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2570         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2571         * sysdeps/x86_64/64/Implies-after: Here.  New file.
2572         * sysdeps/x86_64/x32/Implies-after: New file.
2574 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2576         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2577         and access return value for _dl_profile_fixup.  Use R10_LP to
2578         load frame size.
2580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2582         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2584 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2586         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2587         * sysdeps/x86_64/x32/sysdep.h: New file.
2589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2591         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2592         * sysdeps/x86_64/setjmp.S: Likewise.
2594 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2596         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2597         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2598         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2599         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2600         remove unused global constant.
2602 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
2604         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2605         include of <not-cancel.h>.
2607 2012-05-15  Roland McGrath  <roland@hack.frob.com>
2609         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2611 2012-05-15  Jeff Law  <law@redhat.com>
2612             Andreas Jaeger  <aj@suse.de>
2614         [BZ #13594]
2615         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2616         out from...
2617         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2618         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2619         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2620         code changing __hst_map_handle.map.
2622 2012-05-15  Roland McGrath  <roland@hack.frob.com>
2624         * configure.in (sysnames): Look for Implies-before and Implies-after
2625         files.
2626         * configure: Regenerated.
2628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2630         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2631         8-byte data alignment with LP_SIZE alignment.
2633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2635         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2636         into R10_LP.
2638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2640         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2642 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2644         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2645         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2646         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2647         Likewise.
2648         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2652         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2653         (stackinfo_sub_sp): Likewise.
2655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2657         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2658         RAX_LP.
2660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2662         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2663         into R*_LP.
2665 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2667         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2668         sizes into R*_LP.
2670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2672         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2674 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2676         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2677         into R11_LP and load __x86_64_shared_cache_size_half into
2678         R8_LP.
2680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2682         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2683         R8_LP.
2685 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2687         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2688         logb for POWER7.
2689         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2690         logbf for POWER7.
2691         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2692         logbl for POWER7.
2693         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2694         powerpc32/power7/fpu/s_logb.c via #include.
2695         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2696         powerpc32/power7/fpu/s_logbf.c via #include.
2697         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2698         powerpc32/power7/fpu/s_logbl.c via #include.
2700 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
2702         * README.libm: Remove file.
2704 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2706         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2707         count for x32.  Use R*_LP and omit operand-size suffix.
2709 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2711         * shlib-versions: Move x86_64-.*-linux.* entries to ...
2712         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
2713         * sysdeps/x86_64/x32/shlib-versions: New file.
2715 2012-05-14  Roland McGrath  <roland@hack.frob.com>
2717         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2718         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2719         Use _dl_fatal_printf instead.
2721 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
2723         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2724         set if not set by the user.  Do not allow for being unset.
2725         * sysdeps/unix/sysv/linux/configure: Regenerated.
2727 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2729         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2730         the `q' suffix from lea and replace .quad with ASM_ADDR.
2732 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2734         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2735         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
2736         instead of $17.
2737         (PTR_DEMANGLE): Likewise.
2739 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2741         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2742         (LP_OP): Likewise.
2743         (ASM_ADDR): Likewise.
2744         (RAX_LP): Likewise.
2745         (RBP_LP): Likewise.
2746         (RBX_LP): Likewise.
2747         (RCX_LP): Likewise.
2748         (RDI_LP): Likewise.
2749         (RSI_LP): Likewise.
2750         (RSP_LP): Likewise.
2751         (R8_LP): Likewise.
2752         (R9_LP): Likewise.
2753         (R10_LP): Likewise.
2754         (R10_LP): Likewise.
2755         (R11_LP): Likewise.
2756         (R12_LP): Likewise.
2757         (R13_LP): Likewise.
2758         (R14_LP): Likewise.
2759         (R15_LP): Likewise.
2761 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2763         * sysdeps/x86_64/x32/dl-machine.h: New file.
2765 2012-05-14  Andreas Jaeger  <aj@suse.de>
2767         * manual/Makefile (subdir): Remove export of subdir.
2768         (all): Remove target.
2769         (.PHONY): Remove all from list.
2770         (mkinstalldirs): Remove.
2771         (.PHONY): Remove installdirs from list.
2772         ($(inst_infodir)/libc.info): Use make-target-directory.
2773         (installdirs): Remove.
2774         (subdir_%): Remove.
2775         (glibc-targets): Remove.
2776         (lib): Remove.
2777         (stubs): Remove.
2778         ($(objpfx)stubs ../po/manual.pot): Remove.
2779         ($(objpfx)stamp%): Remove.
2780         (make-target-directory): Remove.
2781         (subdir_install): Remove.
2782         (routines): Remove.
2783         (aux): Remove.
2784         (sources): Remove.
2785         (objects): Remove.
2786         (headers): Remove.
2788         [BZ #13750]
2789         * manual/.gitignore: Remove, it's not needed anymore.
2790         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2791         all files in it.
2792         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2793         directory.
2794         (texis): Renamed to $(objpfx)texis.
2795         (texis-path): New, contains path to generated files.
2796         (chapters.%): Use texis-path for complete path, add extra argument
2797         libc-texinfo.sh.
2798         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2799         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2800         (summary,texi, stamp-summary): Use complete path of
2801         files. Generate files in build dir.
2802         (dir-add.texi): Build in build dir.
2803         (libm-err.texi,stamp-libm-err): Likewise.
2804         (version.texi, stamp-version): Likewise.
2805         (.%c.texi): Likewise.
2806         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2807         (mostlyclean): Remove target.
2808         (realclean): Remove target.
2809         (generated): Add new variable with contents from mostlyclean and
2810         realclean, remove entries duplicated in common-mostlyclean, add
2811         stamp-libm-err and stamp-version.
2812         (generated-dirs): Add libc directory.
2813         ($(inst_infodir)/libc.info): Install files from build dir.
2815         * manual/install.texi (Configuring and compiling): Adjust since
2816         the info files are not part of the tar ball anymore.
2818 2012-05-14  Andreas Jaeger  <aj@suse.de>
2820         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2821         variable.
2823 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
2825         [BZ #13717]
2826         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2827         to 2.2.0 where earlier.
2828         * sysdeps/unix/sysv/linux/configure: Regenerated.
2829         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2830         Remove conditional code.
2831         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2832         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2833         Remove conditional code.
2834         [!__NR_lchown]: Likewise.
2835         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2836         [__NR_lchown]: Likewise.
2837         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2838         comment referencing __ASSUME_LCHOWN_SYSCALL.
2839         * sysdeps/unix/sysv/linux/i386/sigaction.c
2840         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2841         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2842         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2843         Remove conditional code.
2844         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2845         (__protocol_available): Remove #if 0 code.
2846         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2847         conditional code.
2848         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2849         * sysdeps/unix/sysv/linux/kernel-features.h
2850         (__ASSUME_GETCWD_SYSCALL): Don't define.
2851         (__ASSUME_REALTIME_SIGNALS): Likewise.
2852         (__ASSUME_PREAD_SYSCALL): Likewise.
2853         (__ASSUME_PWRITE_SYSCALL): Likewise.
2854         (__ASSUME_POLL_SYSCALL): Likewise.
2855         (__ASSUME_LCHOWN_SYSCALL): Likewise.
2856         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2857         non-SPARC.
2858         (__ASSUME_SIOCGIFNAME): Don't define.
2859         (__ASSUME_MSG_NOSIGNAL): Likewise.
2860         (__ASSUME_SENDFILE): Define unconditionally.
2861         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2862         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2863         conditional code.
2864         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2865         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2866         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2867         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2868         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2869         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2870         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2872         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2873         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2875         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2876         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2878         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2879         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2881         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2882         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2884         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2885         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2887         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2888         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2890         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2891         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2893         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2894         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2895         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2896         Remove conditional code.
2897         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2898         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2899         Remove conditional code.
2900         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2901         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2902         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2903         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2904         Remove conditional code.
2905         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2906         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2907         Remove conditional code.
2908         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2909         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2910         Remove conditional code.
2911         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2912         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2913         Remove conditional code.
2914         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2915         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2916         Remove conditional code.
2917         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2918         * sysdeps/unix/sysv/linux/sh/pwrite64.c
2919         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2920         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2921         * sysdeps/unix/sysv/linux/sigaction.c
2922         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2923         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2924         * sysdeps/unix/sysv/linux/sigpending.c
2925         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2926         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2927         * sysdeps/unix/sysv/linux/sigprocmask.c
2928         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2929         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2930         * sysdeps/unix/sysv/linux/sigsuspend.c
2931         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2932         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2933         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2934         (__libc_missing_rt_sigs): Remove.
2935         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2936         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2937         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2938         Remove conditional code.
2939         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2940         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2941         return 1.
2942         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2943         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2944         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2945         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2947 2012-05-14  Andreas Jaeger  <aj@suse.de>
2949         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2950         it's not used in glibc.
2951         (__coshm1): Likewise.
2952         (__acosh1p): Likewise.
2953         (__sgn): Likewise.
2955         * manual/string.texi (Copying and Concatenation): Add missing
2956         variable in concat example.
2957         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2959 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2961         [BZ #14103]
2962         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2963         __builtin_clzl with __builtin_clzll.
2965 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2967         [BZ #14104]
2968         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2969         libc_freeres_ptr.
2971 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2973         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2974         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2975         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2976         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2978 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
2980         * NEWS: Update ia64 info.
2982 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
2984         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2985         used as bcopy.
2987 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
2989         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2990         * sysdeps/unix/syscalls.list (dup3): Likewise.
2991         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2992         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2994 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2996         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2997         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2999 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3001         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3002         thread pointer.
3003         (TLS_IE): Use mov/add instead of movq/addq to load thread
3004         pointer.
3005         (TLS_GD_PREFIX): New.
3006         (TLS_GD): Use it.
3008 2012-05-11  David S. Miller  <davem@davemloft.net>
3010         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3011         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3012         (_FPU_SETCW): Likewise.
3014 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3016         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3017         is 32-byte aligned.
3019 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
3021         [BZ #11837]
3022         * iconvdata/gb18030.c: Update tables.
3023         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
3024         characters specially.
3025         (BODY for TO_LOOP): Add encoding of missing ranges.
3027 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
3029         [BZ #13673]
3030         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3031         * sysdeps/mach/hurd/dup3.c: Likewise.
3032         * sysdeps/mach/hurd/readlinkat.c: Likewise.
3033         * sysdeps/powerpc/memmove.c:: Likewise.
3035 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3037         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3038         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3040 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3042         * elf/elf.h (R_X86_64_RELATIVE64): New.
3043         (R_X86_64_NUM): Updated.
3044         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3045         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
3046         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3047         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3048         tst-quad1pie tst-quad2pie
3049         (modules-names): Add tst-quadmod1 tst-quadmod2.
3050         ($(objpfx)tst-quad1): New dependency.
3051         ($(objpfx)tst-quad2): Likewise.
3052         ($(objpfx)tst-quad1pie): Likewise.
3053         ($(objpfx)tst-quad2pie): Likewise.
3054         * sysdeps/x86_64/tst-quad1.c: New file.
3055         * sysdeps/x86_64/tst-quad1pie.c: New file.
3056         * sysdeps/x86_64/tst-quad2.c: Likewise.
3057         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3058         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3059         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3060         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3061         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3063 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3065         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3066         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3067         * streams/stropts.h (t_scalar_t): Define type.
3069         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3070         (_PATH_PRESERVE): Set to "/var/lib".
3071         (_PATH_RWHODIR): Set to "/var/spool/rwho".
3073         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3074         instead of int.
3076         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3077         if __dir_mkfile succeeded.
3079         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3080         checking for _hurd_dtablesize.  Unlock it right after having
3081         finished _hurd_dtable allocation.
3083 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3085         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3086         * sysdeps/mach/hurd/configure: Regenerated.
3087         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3088         special-casing to...
3089         * sysdeps/gnu/configure.in: ... this new file.
3090         * sysdeps/unix/sysv/linux/configure: Regenerated.
3091         * sysdeps/gnu/configure: New generated file.
3093         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3094         for Linux: use nsec instead of usec, as well as:
3095         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3096         members of type struct timespec.
3097         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3098         New macros.
3099         (struct stat64): Likewise.
3100         (_STATBUF_ST_NSEC): New macro.
3101         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3103         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3104         __strtoul_internal rather than strtoul.
3106 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3108         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3109         and reject them.
3111 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3113         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3114         which preserves existing values.
3115         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3117 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3119         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3120         TIMEOUT values.  Return EINVAL for NFDS values either negative or
3121         greater than FD_SETSIZE.
3123 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3125         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3126         allocated, call __vm_protect to finish enabling the existing space, and
3127         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3128         allocate the remainder.
3130 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3132         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3133         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
3135 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3137         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3138         sysdeps/mach/hurd/readlink.c.
3140         * posix/tst-sysconf.c (posix_options): Only use
3141         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3142         _POSIX_SYNCHRONIZED_IO when they are defined
3143         * sysdeps/mach/hurd/bits/posix_opt.h:
3144         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3145         (_XOPEN_REALTIME): Undefine macro.
3146         (_XOPEN_REALTIME_THREADS): Undefine macro.
3147         (_XOPEN_SHM): Undefine macro.
3148         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3149         macro to -1.
3150         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3151         macro to -1.
3152         (_POSIX_ASYNC_IO): Undefine macro.
3153         (_POSIX_PRIORITIZED_IO): Undefine macro.
3154         (_POSIX_SPIN_LOCKS): Define macro to -1.
3156         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3157         SA_NODEFER, SA_RESETHAND.
3158         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3159         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3160         F_DUPFD_CLOEXEC.
3162 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3164         * elf/Makefile (pldd-modules): Define unconditionally.
3166 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3168         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3170 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3172         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3173         Return ENOENT when name is empty.
3174         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3176 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3178         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3180         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3182 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3184         Fix mlock in all cases except non-readable pages.
3185         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3186         instead of VM_PROT_ALL as parameter to __vm_wire function.
3188         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3189         (__mkdir): When path is `/', just fail with EEXIST.
3190         * sysdeps/mach/hurd/mkdirat.c: Likewise.
3192 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3194         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3195         <sys/uio.h> (for writev).
3196         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3197         and <sys/param.h> (for MIN).
3199 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3201         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3202         REQUESTED_TIME.  Properly set the remaining time and return EINTR
3203         if interrupted.
3205 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3207         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3208         Depend on against $(link-rpcuserlibs).
3210 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3212         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3213         (__libc_stack_end): Do not use attribute_relro.
3214         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3215         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3216         to libthread-provided value.
3217         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3218         attribute_relro.
3220 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3222         [BZ #3748]
3223         * bits/libc-lock.h (__libc_once_get): New macro.
3224         * sysdeps/mach/bits/libc-lock.h: Likewise.
3225         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3226         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3227         instead of using implementation details.
3229         * libio/fileops.c: Unconditionally include <kernel-features.h>.
3230         * libio/freopen.c: Likewise.
3231         * libio/freopen64.c: Likewise.
3232         * misc/syslog.c: Likewise.
3233         * nscd/connections.c: Likewise.
3234         * nscd/netgroupcache.c: Likewise.
3235         * sysdeps/posix/getcwd.c: Likewise.
3237 2012-05-10  Roland McGrath  <roland@hack.frob.com>
3239         * math/w_ilogbf.c: Add #include <limits.h>.
3241 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3243         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
3244         path instead of returning without unlocking.
3246         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3247         immediate-write ioctls.
3248         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3250 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3252         * sysdeps/mach/hurd/i386/init-first.c (init): Use
3253         __builtin_frame_address instead of making assumptions about the
3254         location of the return address relative to DATA.  Force early load of
3255         the return address.
3256         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3257         __builtin_frame_address.
3259         dup3 for GNU Hurd.
3260         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3261         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
3262         implement dup3 and do some further code clean-ups.
3263         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3264         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3266 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3268         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3270         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3271         HURD_CRITICAL_END around holding _hurd_dtable_lock.
3272         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3273         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3274         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3275         d->port.lock.
3277         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3278         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
3279         when handler == SIG_ERR, not when handler != SIG_ERR.
3281 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3283         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3284         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3285         definitions.
3287         accept4 for GNU Hurd.
3288         * include/sys/socket.h (__libc_accept4): New prototype.
3289         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
3290         to implement __libc_accept4.
3291         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3292         __libc_accept4.
3293         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3295         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3296         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3297         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3298         signal-defines.sym.
3300 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3302         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3304 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3306         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3307         assertion on O_CLOEXEC flag.
3308         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3309         * hurd/intern-fd.c: Likewise.
3310         * hurd/port2fd.c: Likewise.
3312 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3314         [BZ #3906]
3315         * bits/in.h (IPV6_PKTINFO): Define new macro.
3316         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3318 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3320         [BZ #13954]
3321         [BZ #13955]
3322         [BZ #13956]
3323         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3324         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3325         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3326         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3327         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3328         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3329         * math/libm-test.inc (logb_test) : Additional logb tests.
3331 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
3332             Andreas Jaeger  <aj@suse.de>
3334         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3335         * configure: Regenerated.
3336         * config.h.in (LINK_OBSOLETE_RPC): New macro.
3337         * config.make.in (link-obsolete-rpc): New substituted variable.
3338         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3339         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3340         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3341         (shared-only-routines): Don't set it under [link-obsolete-rpc],
3342         so that libc.a contains the symbols.
3343         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3344         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3345         * sunrpc/auth_none.c: Likewise.
3346         * sunrpc/auth_unix.c: Likewise.
3347         * sunrpc/authdes_prot.c: Likewise.
3348         * sunrpc/authuxprot.c: Likewise.
3349         * sunrpc/clnt_gen.c: Likewise.
3350         * sunrpc/clnt_perr.c: Likewise.
3351         * sunrpc/clnt_raw.c: Likewise.
3352         * sunrpc/clnt_simp.c: Likewise.
3353         * sunrpc/clnt_tcp.c: Likewise.
3354         * sunrpc/clnt_udp.c: Likewise.
3355         * sunrpc/clnt_unix.c: Likewise.
3356         * sunrpc/des_crypt.c: Likewise.
3357         * sunrpc/des_soft.c: Likewise.
3358         * sunrpc/get_myaddr.c: Likewise.
3359         * sunrpc/key_call.c: Likewise.
3360         * sunrpc/key_prot.c: Likewise.
3361         * sunrpc/netname.c: Likewise.
3362         * sunrpc/pm_getmaps.c: Likewise.
3363         * sunrpc/pm_getport.c: Likewise.
3364         * sunrpc/pmap_clnt.c: Likewise.
3365         * sunrpc/pmap_prot.c: Likewise.
3366         * sunrpc/pmap_prot2.c: Likewise.
3367         * sunrpc/pmap_rmt.c: Likewise.
3368         * sunrpc/publickey.c: Likewise.
3369         * sunrpc/rpc_cmsg.c: Likewise.
3370         * sunrpc/rpc_common.c: Likewise.
3371         * sunrpc/rpc_dtable.c: Likewise.
3372         * sunrpc/rpc_prot.c: Likewise.
3373         * sunrpc/rpc_thread.c: Likewise.
3374         * sunrpc/rtime.c: Likewise.
3375         * sunrpc/svc.c: Likewise.
3376         * sunrpc/svc_auth.c: Likewise.
3377         * sunrpc/svc_raw.c: Likewise.
3378         * sunrpc/svc_run.c: Likewise.
3379         * sunrpc/svc_tcp.c: Likewise.
3380         * sunrpc/svc_udp.c: Likewise.
3381         * sunrpc/svc_unix.c: Likewise.
3382         * sunrpc/svcauth_des.c: Likewise.
3383         * sunrpc/xcrypt.c: Likewise.
3384         * sunrpc/xdr.c: Likewise.
3385         * sunrpc/xdr_array.c: Likewise.
3386         * sunrpc/xdr_float.c: Likewise.
3387         * sunrpc/xdr_intXX_t.c: Likewise.
3388         * sunrpc/xdr_mem.c: Likewise.
3389         * sunrpc/xdr_rec.c: Likewise.
3390         * sunrpc/xdr_ref.c: Likewise.
3391         * sunrpc/xdr_sizeof.c: Likewise.
3392         * sunrpc/xdr_stdio.c: Likewise.
3394 2012-05-10  Roland McGrath  <roland@hack.frob.com>
3396         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3397         change.  Update copyright years.
3399 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
3401         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3403 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
3404             Joseph Myers  <joseph@codesourcery.com>
3405             Paul Pluzhnikov  <ppluzhnikov@google.com>
3407         [BZ #14012]
3408         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3409         requiring rpcgen.
3410         [cross-compiling] (extra-libs): Likewise.
3411         [cross-compiling] (extra-libs-others): Likewise.
3412         [cross-compiling] (librpcsvc-routines): Likewise.
3413         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3414         [cross-compiling] (omit-deps): Likewise.
3415         (sunrpc-CPPFLAGS): New variable.
3416         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3417         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3418         (cross-rpcgen-objs): New variable.
3419         (extra-objs): Append $(cross-rpcgen-objs).
3420         ($(cross-rpcgen-objs)): New rule.
3421         ($(objpfx)cross-rpcgen): Likewise.
3422         (rpcgen-cmd): Define to use $(built-program-file).  Expand
3423         comment.
3424         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3425         ($(objpfx)x%.stmp): Likewise.
3426         * sunrpc/proto.h [IS_IN_build] (_): Define.
3427         [IS_IN_build] (_libc_intl_domainname): Likewise.
3429 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3431         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3432         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3433         and R_X86_64_TPOFF64.
3435 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
3437         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3438         sysdeps/unix/sysv/syscalls.list.
3439         (stime): Likewise.
3440         (utime): Likewise.
3441         * sysdeps/unix/sysv/syscalls.list: Remove file.
3443 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3445         [BZ #3440]
3446         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3447         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3448         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3449         (__LC_IDENTIFICATION): Make these macros useful in #if
3450         expressions, as required by C99.
3452 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
3454         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3455         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
3456         after this.
3458 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
3460         * stdlib/longlong.h: Updated from GCC.
3462 2012-05-09  Andreas Jaeger  <aj@suse.de>
3464         * nscd/nscd.c (run_modes): Make named enum, reorder so that
3465         default is first entry.
3466         (run_mode): Set type.
3467         (main): Remove informal message about syslog.
3468         (options): Fix typo.
3470         [BZ #14053]
3471         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3472         to asm.
3473         (lrint): Likewise.
3474         (llrintf): Likewise.
3475         (llrint): Likewise.
3476         (rint): Likewise.
3477         (rintf): Likewise.
3478         (nearbyint): Likewise.
3479         (nearbyintf): Likewise.
3481 2012-05-09  Andreas Jaeger  <aj@suse.de>
3482             Pedro Alves  <palves@redhat.com>
3484         * nscd/nscd.c (run_mode): Use enum.
3485         (main): Cleanup coding style issue.
3487 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
3488             Andreas Jaeger  <aj@suse.de>
3490         * nscd/nscd.c (go_background): Replaced with...
3491         (run_mode): ... this.
3492         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3493         (options): Add -F --foreground.
3494         (main): Implement it.
3495         (parse_opt): Parse it.
3497 2012-05-09  Andreas Jaeger  <aj@suse.de>
3499         [BZ #14083]
3500         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3501         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3502         -Wconversion warning.
3503         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3504         Likewise.
3506 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
3508         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
3509         == 0.
3510         (LC_ALL): Use macro-int-constant.
3511         (LC_COLLATE): Likewise.
3512         (LC_CTYPE): Likewise.
3513         (LC_MESSAGES): Likewise.
3514         (LC_MONETARY): Likewise.
3515         (LC_NUMERIC): Likewise.
3516         (LC_TIME): Likewise.
3517         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3518         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3519         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3520         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3521         Specify type.
3522         [C99-based standards] (float_t): Expect type.
3523         [C99-based standards] (double_t): Expect type.
3524         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
3525         type.
3526         [C99-based standards] (HUGE_VALL): Likewise.
3527         [C99-based standards] (INFINITY): Likewise.
3528         [C99-based standards] (NAN): Likewise.
3529         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3530         [C99-based standards] (FP_NAN): Likewise.
3531         [C99-based standards] (FP_NORMAL): Likewise.
3532         [C99-based standards] (FP_SUBNORMAL): Likewise.
3533         [C99-based standards] (FP_ZERO): Likewise.
3534         [C99-based standards] (FP_FAST_FMA): Use
3535         optional-macro-int-constant.  Specify type.  Require == 1.
3536         [C99-based standards] (FP_FAST_FMAF): Likewise.
3537         [C99-based standards] (FP_FAST_FMAL): Likewise.
3538         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3539         [C99-based standards] (FP_ILOGBNAN): Likewise.
3540         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3541         Specify type.
3542         [C99-based standards] (MATH_ERREXCEPT): Likewise.
3543         [C99-based standards] (math_errhandling): Specify type.
3544         [ISO99 || ISO11] (signgam): Do not allow.
3545         [non-C99-based standards] (copysignf): Do not allow.
3546         [non-C99-based standards] (exp2f): Likewise.
3547         [non-C99-based standards] (log2f): Likewise.
3548         [non-C99-based standards] (modff): Allow.
3549         [non-C99-based standards] (erff): Do not allow.
3550         [non-C99-based standards] (erfcf): Likewise.
3551         [non-C99-based standards] (gammaf): Likewise.
3552         [non-C99-based standards] (hypotf): Likewise.
3553         [non-C99-based standards] (j0f): Likewise.
3554         [non-C99-based standards] (j1f): Likewise.
3555         [non-C99-based standards] (jnf): Likewise.
3556         [non-C99-based standards] (lgammaf): Likewise.
3557         [non-C99-based standards] (tgammaf): Likewise.
3558         [non-C99-based standards] (y0f): Likewise.
3559         [non-C99-based standards] (y1f): Likewise.
3560         [non-C99-based standards] (ynf): Likewise.
3561         [non-C99-based standards] (isnanf): Likewise.
3562         [non-C99-based standards] (acoshf): Likewise.
3563         [non-C99-based standards] (asinhf): Likewise.
3564         [non-C99-based standards] (atanhf): Likewise.
3565         [non-C99-based standards] (cbrtf): Likewise.
3566         [non-C99-based standards] (expm1f): Likewise.
3567         [non-C99-based standards] (ilogbf): Likewise.
3568         [non-C99-based standards] (log1pf): Likewise.
3569         [non-C99-based standards] (logbf): Likewise.
3570         [non-C99-based standards] (nextafterf): Likewise.
3571         [non-C99-based standards] (remainderf): Likewise.
3572         [non-C99-based standards] (rintf): Likewise.
3573         [non-C99-based standards] (scalbf): Likewise.
3574         [non-C99-based standards] (copysignl): Likewise.
3575         [non-C99-based standards] (exp2l): Likewise.
3576         [non-C99-based standards] (log2l): Likewise.
3577         [non-C99-based standards] (modfl): Allow.
3578         [non-C99-based standards] (erfl): Do not allow.
3579         [non-C99-based standards] (erfcl): Likewise.
3580         [non-C99-based standards] (gammal): Likewise.
3581         [non-C99-based standards] (hypotl): Likewise.
3582         [non-C99-based standards] (j0l): Likewise.
3583         [non-C99-based standards] (j1l): Likewise.
3584         [non-C99-based standards] (jnl): Likewise.
3585         [non-C99-based standards] (lgammal): Likewise.
3586         [non-C99-based standards] (tgammal): Likewise.
3587         [non-C99-based standards] (y0l): Likewise.
3588         [non-C99-based standards] (y1l): Likewise.
3589         [non-C99-based standards] (ynl): Likewise.
3590         [non-C99-based standards] (isnanl): Likewise.
3591         [non-C99-based standards] (acoshl): Likewise.
3592         [non-C99-based standards] (asinhl): Likewise.
3593         [non-C99-based standards] (atanhl): Likewise.
3594         [non-C99-based standards] (cbrtl): Likewise.
3595         [non-C99-based standards] (expm1l): Likewise.
3596         [non-C99-based standards] (ilogbl): Likewise.
3597         [non-C99-based standards] (log1pl): Likewise.
3598         [non-C99-based standards] (logbl): Likewise.
3599         [non-C99-based standards] (nextafterl): Likewise.
3600         [non-C99-based standards] (remainderl): Likewise.
3601         [non-C99-based standards] (rintl): Likewise.
3602         [non-C99-based standards] (scalbl): Likewise.
3603         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3604         [non-C99-based standards] (FP_*): Do not allow.
3605         [C99-based standards] (FP_*): Change to
3606         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3607         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3608         allow.
3609         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3610         (SIG_ERR): Likewise.
3611         [X/Open-based standards] (SIG_HOLD): Likewise.
3612         (SIG_IGN): Likewise.
3613         (SIGABRT): Use macro-int-constant.  Specify type.  Require
3614         positive value.
3615         (SIGFPE): Likewise.
3616         (SIGILL): Likewise.
3617         (SIGINT): Likewise.
3618         (SIGSEGV): Likewise.
3619         (SIGTER): Likewise.
3620         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3621         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3622         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3623         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3624         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3625         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3626         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3627         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3628         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3629         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3630         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3631         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3632         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3633         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3634         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3635         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3636         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3637         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3638         [X/Open-based standards] (SIGTRAP): Likewise.
3639         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3640         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3641         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3642         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3643         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3644         allow.
3646 2012-05-08  Ian Wienand  <ianw@vmware.com>
3648         [BZ #14080]
3649         * time/tzset.c (__tzset_parse_tz): Update default rules for
3650         daylight time changes in the Energy Policy Act of 2005.
3652 2012-05-09  Andreas Jaeger  <aj@suse.de>
3654         [BZ #13983]
3655         * elf/ldconfig.c (parse_conf): Change string to make clear that
3656         ldconfig only issued a warning if ld.so.conf does not exist.
3658 2012-05-08  David S. Miller  <davem@davemloft.net>
3660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3661         movxtod instead of popping the value on the stack.
3663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3665 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
3667         * config.h.in: Add HAVE_ARM_PCS_VFP.
3669 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
3671         [BZ #13979]
3672         * include/features.h: Warn if user requests __FORTIFY_SOURCE
3673         checking but the checks are disabled for any reason.
3675 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3677         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3678         and ELF64_R_TYPE with ELFW(R_TYPE).
3680 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
3682         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3683         (ulimit): Likewise.
3685         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3686         (settimeofday): Likewise.
3688 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
3690         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
3691         a struct th_u2 inside the union, and move tu_block/tu_code into
3692         a new th_u3 union of tu_block/tu_code inside of that.  Move
3693         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
3694         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
3695         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3696         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3697         (th_stuff): Change to th_u1.tu_stuff.
3698         (th_data): Define.
3699         (th_msg): Change to th_u1.th_u2.tu_data.
3701 2012-05-07  David S. Miller  <davem@davemloft.net>
3703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3705         [BZ #14074]
3706         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3707         (SETUP_PIC_REG): Use it.
3708         (SETUP_PIC_REG_LEAF): Use it.
3710 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
3712         [BZ #13885]
3713         [BZ #13923]
3714         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3715         USE_AS_EXPM1L.
3716         (EXPL_FINITE): Likewise.
3717         (FLDLOG): Likewise.
3718         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3719         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3720         e_expl.S.
3721         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3722         USE_AS_EXPM1L.
3723         (EXPL_FINITE): Likewise.
3724         (FLDLOG): Likewise.
3725         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3726         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3727         e_expl.S.
3728         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
3729         test of -max_value argument for long double.
3730         * sysdeps/i386/fpu/libm-test-ulps: Update.
3731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3733 2012-05-06  David S. Miller  <davem@davemloft.net>
3735         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3736         quad soft-float symbols whose references which are compiler
3737         generated.
3738         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3740 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
3742         [BZ #13884]
3743         [BZ #13914]
3744         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3745         USE_AS_EXP10L.
3746         (EXPL_FINITE): Likewise.
3747         (FLDLOG): Likewise.
3748         (c0): Likewise.
3749         (c1): Likewise.
3750         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
3751         Adjust comments for base varying.
3752         (__expl_finite): Change alias to EXPL_FINITE.
3753         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3754         e_expl.S.
3755         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3756         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3757         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3758         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3759         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3760         USE_AS_EXP10L.
3761         (EXPL_FINITE): Likewise.
3762         (FLDLOG): Likewise.
3763         (c0): Likewise.
3764         (c1): Likewise.
3765         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
3766         Adjust comments for base varying.
3767         (__expl_finite): Change alias to EXPL_FINITE.
3768         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
3769         tests for bugs.
3770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3772         [BZ #14064]
3773         * math/libm-test.inc (check_float_internal): Correct ulp
3774         calculation for subnormal expected results.
3776 2012-05-06  Andreas Jaeger  <aj@suse.de>
3778         * Makeconfig (+math-flags): New, set to -frounding-math.
3779         (+cflags): Add +math-flags so that all of glibc gets compiled with
3780         it.
3782         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3784 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
3786         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3787         Disable one test.
3789         [BZ #13787]
3790         [BZ #13922]
3791         [BZ #14036]
3792         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3793         (__ieee754_expl): Allow for and saturate large arguments.
3794         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3795         (u_threshold): Likewise.
3796         (__exp): Call __ieee754_exp before checking for overflow and
3797         underflow.
3798         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3799         (u_threshold): Likewise.
3800         (__expf): Call __ieee754_expf before checking for overflow and
3801         underflow.
3802         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3803         (u_threshold): Likewise.
3804         (__expl): Call __ieee754_expl before checking for overflow and
3805         underflow.
3806         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3807         (__ieee754_expl): Allow for and saturate large arguments.
3808         * math/libm-test.inc (exp_test): Add another test.  Do not allow
3809         missing overflow exception on overflow.
3810         (expm1_test): Do not allow missing overflow exception on overflow.
3812         * sysdeps/i386/fpu/e_expl.c: Move to ...
3813         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
3814         rather than using inline asm.
3815         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3816         * sysdeps/x86_64/fpu/e_expl.S: Copy from
3817         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3819         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3820         (nice): Likewise.
3821         (poll): Likewise.
3822         (signal): Likewise.
3823         (time): Likewise.
3824         (times): Likewise.
3826 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3828         * sysdeps/unix/syscalls.list (adjtime): Add entry from
3829         sysdeps/unix/common/syscalls.list.
3830         (fchmod): Likewise.
3831         (fchown): Likewise.
3832         (ftruncate): Likewise.
3833         (getrusage): Likewise.
3834         (gettimeofday): Likewise.
3835         (setpgid): Likewise.
3836         (setregid): Likewise.
3837         (setreuid): Likewise.
3838         (sigaction): Likewise.
3839         (truncate): Likewise.
3840         (vhangup): Likewise.
3841         * sysdeps/unix/common/syscalls.list: Remove file.
3842         * sysdeps/unix/bsd/Implies: Don't include unix/common.
3843         * sysdeps/unix/sysv/linux/Implies: Likewise.
3845 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
3847         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3849         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3850         Moved to ...
3851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3852         Here.
3853         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3854         to ...
3855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3856         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3857         to ...
3858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3859         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3860         to ...
3861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3862         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3863         to ...
3864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3865         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3866         to ...
3867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3868         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3869         to ...
3870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3871         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3872         to ...
3873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3874         Here.
3875         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3876         to ...
3877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3878         Here.
3879         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3880         to ...
3881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3882         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3883         Moved to ...
3884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3885         Here.
3886         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3887         to ...
3888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3890 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3892         * sysdeps/unix/common/bits/dirent.h: Remove file.
3893         * sysdeps/unix/common/bits/fcntl.h: Likewise.
3895         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3896         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3897         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3898         * sysdeps/unix/bsd/isatty.c: Likewise.
3899         * sysdeps/unix/bsd/tcdrain.c: Likewise.
3900         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3901         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3903 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3905         [BZ #13563]
3906         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3907         long double comparison inaccuracies.
3908         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3911 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
3913         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3914         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3916 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3918         [BZ #14049]
3919         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3920         nonzero digits before rounding a hex value.
3921         * stdlib/tst-strtod.c (tests): Add another test.
3923 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3925         * sysdeps/s390/fpu/libm-test-ulps: Update.
3927 2012-05-03  Andreas Jaeger  <aj@suse.de>
3929         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3930         does not get optimized out.
3931         (malloc_opt_barrier): New.
3933 2012-05-03  Andreas Jaeger  <aj@suse.de>
3934             Roland McGrath  <roland@hack.frob.com>
3936         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3937         intermediate file deletion.
3938         (generated): Add .symlist files.
3940 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
3942         [BZ #13775]
3943         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3944         Redirect under this condition.
3945         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3946         [__USE_GNU] (__dprintf_chk): Not under this condition.
3947         [__USE_GNU] (__vdprintf_chk): Likewise.
3948         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3949         under this condition.
3950         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3951         [__USE_XOPEN2K8] (dprintf): Define under this condition.
3952         [__USE_XOPEN2K8] (vdprintf): Likewise.
3953         [__USE_GNU] (__dprintf_chk): Not under this condition.
3954         [__USE_GNU] (__vdprintf_chk): Likewise.
3955         [__USE_GNU] (dprintf): Likewise.
3956         [__USE_GNU] (vdprintf): Likewise.
3958 2012-05-03  Roland McGrath  <roland@hack.frob.com>
3960         * elf/Makefile (common-generated): Set this instead of generated for
3961         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
3962         $(all-built-dso)-derived lists.
3964 2012-05-03  Andreas Jaeger  <aj@suse.de>
3966         * sysdeps/i386/fpu/libm-test-ulps: Update.
3968         * FAQ: Removed.
3969         * FAQ.in: Likewise.
3970         * scripts/gen-FAQ.pl: Likewise.
3971         * manual/install.texi (Installation): Point to online location of
3972         FAQ.
3973         * Makefile (files-for-dist): Remove FAQ.
3974         (FAQ): Remove.
3976 2012-05-02  Allan McRae  <allan@archlinux.org>
3978         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3979         (LDFLAGS-reldepmod5.so): Likewise.
3980         (LDFLAGS-reldep6mod1.so): Likewise.
3981         (LDFLAGS-reldep6mod4.so): Likewise.
3982         (LDFLAGS-reldep8mod3.so): Likewise.
3983         (LDFLAGS-unload4mod1.so): Likewise.
3984         (LDFLAGS-unload4mod2.so): Likewise.
3985         (LDFLAGS-tst-initorder): Likewise.
3986         (LDFLAGS-tst-initordera2.so): Likewise.
3987         (LDFLAGS-tst-initordera3.so): Likewise.
3988         (LDFLAGS-tst-initordera4.so): Likewise.
3989         (LDFLAGS-tst-initorderb2.so): Likewise.
3990         (LDFLAGS-noload): Likewise.
3991         (LDFLAGS-next): Likewise.
3992         (LDFLAGS-order2mod1.so): Likewise.
3993         (LDFLAGS-order2mod2.so): Likewise.
3994         (LDFLAGS-tst-initorder2): Likewise.
3995         (LDFLAGS-tst-initorder2a.so): Likewise.
3996         (LDFLAGS-tst-initorder2b.so): Likewise.
3997         (LDFLAGS-tst-initorder2c.so): Likewise.
3998         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4000 2012-05-02  David S. Miller  <davem@davemloft.net>
4002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4004 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4006         [BZ #14055]
4007         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4009 2012-05-02  Andreas Jaeger  <aj@suse.de>
4011         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4012         since we manipulate rounding mode.
4013         (CPPFLAGS-test-idouble.c): Likewise.
4014         (CPPFLAGS-test-ifloat.c): Likewise.
4015         (CFLAGS-test-ldouble.c): Likewise.
4016         (CFLAGS-test-double.c): Likewise.
4017         (CFLAGS-test-float.c): Likewise.
4018         (CFLAGS-test-misc.c): Likewise.
4019         (CFLAGS-test-test-fenv.c): Likewise.
4021 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4023         [BZ #2550]
4024         [BZ #2570]
4025         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4026         comparisons to determine direction to adjust input.
4028 2012-05-01  Roland McGrath  <roland@hack.frob.com>
4030         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4031         output to the target.
4033         * scripts/localplt.awk: New file.
4034         * elf/Makefile ($(objpfx)check-localplt): Target removed.
4035         (check-localplt-CFLAGS): Variable removed.
4036         ($(all-built-dso:=.jmprel)): New static pattern rule.
4037         (generated): Add those targets.
4038         (localplt-built-dso): New variable.
4039         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4041         * elf/check-localplt.c: File removed.
4043         * scripts/check-execstack.awk: New file.
4044         * elf/Makefile ($(objpfx)check-execstack): Target removed.
4045         (check-execstack-CFLAGS): Variable removed.
4046         ($(objpfx)check-execstack.h): Target removed.
4047         ($(objpfx)execstack-default): New target.
4048         (generated): Add that instead of check-execstack.h.
4049         ($(all-built-dso:=.phdr)): New static pattern rule.
4050         (generated): Add those targets.
4051         * elf/check-execstack.c: File removed.
4053         * scripts/check-textrel.awk: New file.
4054         * elf/Makefile ($(objpfx)check-textrel): Target removed.
4055         (check-textrel-CFLAGS): Variable removed.
4056         (all-built-dso): Use := to define.o
4057         ($(all-built-dso:=.dyn)): New static pattern rule.
4058         (generated): Add those targets.
4059         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4060         * config.make.in (READELF): New substituted variable.
4061         * elf/check-textrel.c: File removed.
4063 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
4065         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4066         allow.
4067         * conform/data/ctype.h-data [C99-based standards] (isblank):
4068         Expect function.
4069         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4070         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4071         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4072         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4073         Specify type.  Require positive value.
4074         (EILSEQ): Likewise.
4075         (ERANGE): Likewise.
4076         [ISO || POSIX] (EILSEQ): Do not expect.
4077         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4078         Specify type.  Require positive value.
4079         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4080         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4081         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4082         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4083         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4084         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4085         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4086         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4087         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4088         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4089         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4090         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4091         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4092         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4093         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4094         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4095         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4096         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4097         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4098         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4099         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4100         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4101         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4102         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4103         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4104         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4105         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4106         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4107         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4108         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4109         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4110         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4111         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4112         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4113         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4114         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4115         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4116         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4117         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4118         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4119         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4120         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4121         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4122         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4123         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4124         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4125         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4126         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4127         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4128         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4129         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4130         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4131         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4132         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4133         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4134         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4135         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4136         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4137         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4138         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4139         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4140         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4141         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4142         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4143         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4144         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4145         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4146         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4147         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4148         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4149         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4150         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4151         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4152         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4153         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4154         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4155         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4156         Require >= 2.
4157         (FLT_ROUNDS): Expect as macro, not constant.
4158         (FLT_MANT_DIG): Use macro-int-constant.
4159         (DBL_MANT_DIG): Likewise.
4160         (LDBL_MANT_DIG): Likewise.
4161         (FLT_DIG): Likewise.
4162         (DBL_DIG): Likewise.
4163         (LDBL_DIG): Likewise.
4164         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
4165         (DBL_MIN_EXP): Likewise.
4166         (LDBL_MIN_EXP): Likewise.
4167         (FLT_MAX_EXP): Use macro-int-constant.
4168         (DBL_MAX_EXP): Likewise.
4169         (LDBL_MAX_EXP): Likewise.
4170         (FLT_MAX_10_EXP): Likewise.
4171         (DBL_MAX_10_EXP): Likewise.
4172         (LDBL_MAX_10_EXP): Likewise.
4173         (FLT_MAX): Use macro-constant.
4174         (DBL_MAX): Likewise.
4175         (LDBL_MAX): Likewise.
4176         (FLT_EPSILON): Use macro-constant.  Give upper bound.
4177         (DBL_EPSILON): Likewise.
4178         (LDBL_EPSILON): Likewise.
4179         (FLT_MIN): Likewise.
4180         (DBL_MIN): Likewise.
4181         (LDBL_MIN): Likewise.
4182         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4183         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4184         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4185         [ISO11] (FLT_HAS_SUBNORM): Likewise.
4186         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4187         [ISO11] (DBL_DECIMAL_DIG): Likewise.
4188         [ISO11] (FLT_DECIMAL_DIG): Likewise.
4189         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4190         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4191         [ISO11] (FLT_TRUE_MIN): Likewise.
4192         [ISO11] (LDBL_TRUE_MIN): Likewise.
4193         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4194         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4195         (SCHAR_MIN): Use macro-int-constant.  Specify type.
4196         (SCHAR_MAX): Likewise.
4197         (UCHAR_MAX): Likewise.
4198         (CHAR_MIN): Likewise.
4199         (CHAR_MAX): Likewise.
4200         (MB_LEN_MAX): Use macro-int-constant.
4201         (SHRT_MIN): Use macro-int-constant.  Specify type.
4202         (SHRT_MAX): Likewise.
4203         (USHRT_MAX): Likewise.
4204         (INT_MAX): Likewise.
4205         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
4206         bound negative.
4207         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
4208         bound with "U".
4209         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
4210         bound with "L".
4211         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
4212         bound negative.  Suffix upper bound with "L".
4213         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
4214         bound with "UL".
4215         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4216         Specify type.
4217         [C99-based standards] (LLONG_MAX): Likewise.
4218         [C99-based standards] (ULLONG_MAX): Likewise.
4219         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
4220         == 0.
4221         [ISO11] (max_align_t): Require type.
4222         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4224         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4225         from $CFLAGS, without defining away __attribute__ calls.
4226         (checknamespace): Use $CFLAGS_namespace.
4228         * conform/conformtest.pl (@keywords): Only include C99 keywords
4229         for standards based on C99 or C11.
4231         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4232         Disable tests.
4233         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4234         UNIX98]: Likewise.
4236         * conform/conformtest.pl: Handle "macro-int-constant" and test for
4237         usability of symbols in #if.
4239         * conform/conformtest.pl: If macro or constant types start
4240         "promoted:", expect the symbol to be of the following type
4241         promoted by the integer promotions.
4243         * conform/conformtest.pl: Parse all "constant" and "macro" lines
4244         in one place.  Also handle "macro-constant".
4246         * conform/conformtest.pl: Only accept expected macro values with
4247         "==".  Parse all "macro" lines in one place.
4248         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4250         * conform/conformtest.pl: Handle braced types on "constant" lines
4251         instead of handling "typed-constant".
4252         * conform/data/signal.h-data: Use "constant" instead of
4253         "typed-constant".
4255         * conform/conformtest.pl: Handle "optional-" at start of lines in
4256         one place rather than duplicating several cases.  Handle each
4257         format of "macro" line with initial "optional-".
4259         * conform/conformtest.pl: Only accept expected constant or
4260         optional-constant values with "==".  Parse all "constant" lines in
4261         one place.  Parse all "optional-constant" lines in one place.
4262         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4263         * conform/data/fmtmsg.h-data: Likewise.
4264         * conform/data/netinet/in.h-data: Likewise.
4265         * conform/data/tar.h-data: Likewise.
4266         * conform/data/limits.h-data: Use "==" form on "constant" and
4267         "optional-constant" lines.
4269         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4270         Use -std=c99 for XOPEN2K.
4271         (@knownproblems): Remove.
4272         (newtoken): Don't check %isknown.
4274         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4275         Do not expect macro.
4276         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4277         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4278         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4279         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4280         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4281         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4282         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4283         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4284         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4285         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4286         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4287         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4288         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4289         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4290         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4291         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4292         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4293         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4294         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4295         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4296         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4297         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4298         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4299         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4300         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4301         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4302         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4303         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4304         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4305         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4306         [XPG3] (acosh): Likewise.
4307         [XPG3] (asinh): Likewise.
4308         [XPG3] (atanh): Likewise.
4309         [XPG3] (cbrt): Likewise.
4310         [XPG3] (expm1): Likewise.
4311         [XPG3] (ilogb): Likewise.
4312         [XPG3] (log1p): Likewise.
4313         [XPG3] (logb): Likewise.
4314         [XPG3] (nextafter): Likewise.
4315         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4316         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4317         [XPG3] (remainder): Likewise.
4318         [XPG3] (rint): Likewise.
4319         [XPG3 || XPG4 || UNIX98] (round): Likewise.
4320         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4321         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4322         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4323         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4324         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4325         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4326         [UNIX98 || XOPEN2K] (scalb): Expect.
4327         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4328         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4329         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4330         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4331         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4332         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4333         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4334         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4335         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4336         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4337         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4338         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4339         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4340         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4341         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4342         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4343         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4344         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4345         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4346         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4347         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4348         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4349         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4350         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4351         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4352         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4353         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4354         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4355         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4356         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4357         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4358         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4359         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4360         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4361         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4362         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4363         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4364         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4365         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4366         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4367         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4368         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4369         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4370         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4371         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4372         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4373         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4374         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4375         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4376         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4377         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4378         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4379         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4380         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4381         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4382         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4383         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4384         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4385         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4386         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4387         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4388         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4389         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4390         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4391         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4392         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4393         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4394         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4395         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4396         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4397         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4398         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4399         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4400         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4401         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4402         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4403         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4404         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4405         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4406         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4407         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4408         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4409         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4410         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4411         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4412         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4413         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4414         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4415         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4416         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4417         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4418         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4419         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4420         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4421         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4422         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4423         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4424         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4425         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4426         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4427         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4428         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4429         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4430         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4431         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4432         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4433         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4434         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4435         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4436         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4437         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4438         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4439         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4440         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4441         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4442         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4443         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4444         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4445         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4446         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4447         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4448         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4449         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4450         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4451         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4452         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4453         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4454         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4455         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4456         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4457         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4458         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4459         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4460         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4461         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4462         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4463         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4465         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4466         _XOPEN_SOURCE_EXTENDED for XPG4.
4468         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4470         * Makeconfig (localtime): Remove variable.
4471         (inst_localtime-file): Likewise.
4473 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4476         Update.
4477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4478         Update.
4479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4480         Update.
4481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4482         Update.
4483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4484         Update.
4485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4486         Update.
4487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4488         Update.
4489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4490         Update.
4491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4492         Update.
4494 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
4496         [BZ #2550]
4497         [BZ #2570]
4498         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4499         comparisons to determine direction to adjust input.
4500         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4501         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4502         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4503         Likewise.
4504         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4505         Likewise.
4506         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4507         Likewise.
4508         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4509         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4510         Likewise.
4511         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4512         Likewise.
4513         * math/libm-test.inc (nexttoward_test): Add more tests.
4515 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4517         [BZ #14040]
4518         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4519         in version GLIBC_2.1, not GLIBC_2.0.
4520         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4521         Likewise.
4523 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
4525         [BZ #13942]
4526         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4527         (1 - x) * (1 + x).
4528         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4529         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4530         * math/libm-test.inc (acos_test): Add more tests.
4531         (asin_test): Likewise.
4532         * sysdeps/i386/fpu/libm-test-ulps: Update.
4533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4535         [BZ #14034]
4536         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4537         of square root.
4538         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4539         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4540         * math/libm-test.inc (acos_test_tonearest): New function.
4541         (acos_test_towardzero): Likewise.
4542         (acos_test_downward): Likewise.
4543         (acos_test_upward): Likewise.
4544         (asin_test_tonearest): Likewise.
4545         (asin_test_towardzero): Likewise.
4546         (asin_test_downward): Likewise.
4547         (asin_test_upward): Likewise.
4548         (main): Call the new functions.
4549         * sysdeps/i386/fpu/libm-test-ulps: Update.
4550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4552         [BZ #13884]
4553         [BZ #13924]
4554         * math/e_exp10.c: Include <float.h>.
4555         (__ieee754_exp10): Handle underflow here rather than multiplying
4556         large negative argument by M_LN10.
4557         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4558         of __ieee754_expf.
4559         * math/e_exp10l.c: Include <float.h>.
4560         (__ieee754_exp10l): Handle underflow here rather than multiplying
4561         large negative argument by M_LN10l.
4562         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
4563         spurious overflow exception on underflow.
4565 2012-04-29  Marek Polacek  <polacek@redhat.com>
4567         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4568         (__fortify_function): New macro.
4569         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4570         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4571         __extern_always_inline.
4572         * libio/bits/stdio2.h: Likewise.
4573         * libio/bits/stdio.h: Likewise.
4574         * string/string.h: Likewise.
4575         * string/bits/string3.h: Likewise.
4576         * include/stdio.h: Likewise.
4577         * stdlib/bits/stdlib.h: Likewise.
4578         * stdlib/stdlib.h: Likewise.
4579         * rt/bits/mqueue2.h: Likewise.
4580         * rt/mqueue.h: Likewise.
4581         * posix/bits/unistd.h: Likewise.
4582         * posix/unistd.h: Likewise.
4583         * io/bits/poll2.h: Likewise.
4584         * io/bits/fcntl2.h: Likewise.
4585         * io/fcntl.h: Likewise.
4586         * io/sys/poll.h: Likewise.
4587         * misc/bits/syslog.h: Likewise.
4588         * misc/bits/syslog-ldbl.h: Likewise.
4589         * misc/sys/syslog.h: Likewise.
4590         * socket/bits/socket2.h: Likewise.
4591         * socket/sys/socket.h: Likewise.
4592         * debug/tst-chk1.c: Likewise.
4593         * wcsmbs/bits/wchar2.h: Likewise.
4594         * wcsmbs/bits/wchar-ldbl.h: Likewise.
4595         * wcsmbs/wchar.h: Likewise.
4597 2012-04-29  Andreas Jaeger  <aj@suse.de>
4599         * Makerules (tests): Remove enable-check-abi protection.
4600         (check-abi-warn): Remove.
4601         (check-abi-%): Remove check-abi-warn usage.
4603         * configure.in: Remove check-abi configure option.
4604         * configure: Regenerated.
4605         * config.make.in (enable-check-abi): Remove.
4607 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
4609         [BZ #14033]
4610         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4611         double functions to double *_finite functions.
4613         [BZ #13941]
4614         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4615         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4616         LDBL_MIN_EXP.
4617         * stdio-common/Makefile (tests): Add tst-sprintf3.
4618         * stdio-common/tst-sprintf3.c: New file.
4620         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4621         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4623 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
4625         * conform/conformtest.pl: Remove duplicate typed-constant
4626         handling.
4628 2012-04-28  David S. Miller  <davem@davemloft.net>
4630         * Makerules (%.abilist): Add vpath on sysdep_dirs.
4631         (check-abi-%): Remove AWK script prerequisite and explicit
4632         abilist directory.
4633         (check-abi): Rewrite to just diff the symlist with the abilist.
4634         (config-tls, config-abi-config): Delete, no longer used.
4635         (update-abi-%): Remove AWK script and explicit abilist directory.
4636         (update-abi): Rewrite to simply compare and conditionally copy the
4637         symlist and the sysdep abilist file.  Remove update-abi-config
4638         checks.
4639         * abilist/ld.abilist: Remove.
4640         * abilist/libBrokenLocale.abilist: Remove.
4641         * abilist/libanl.abilist: Remove.
4642         * abilist/libcrypt.abilist: Remove.
4643         * abilist/libdl.abilist: Remove.
4644         * abilist/librt.abilist: Remove.
4645         * abilist/libthread_db.abilist: Remove.
4646         * abilist/libutil.abilist: Remove.
4647         * scripts/extract-abilist.awk: Remove.
4648         * scripts/merge-abilist.awk: Remove.
4649         * sysdeps/generic/libcidn.abilist: New file.
4650         * sysdeps/generic/libnss_compat.abilist: New file.
4651         * sysdeps/generic/libnss_db.abilist: New file.
4652         * sysdeps/generic/libnss_dns.abilist: New file.
4653         * sysdeps/generic/libnss_files.abilist: New file.
4654         * sysdeps/generic/libnss_hesiod.abilist: New file.
4655         * sysdeps/generic/libnss_nis.abilist: New file.
4656         * sysdeps/generic/libnss_nisplus.abilist: New file.
4657         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4658         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4659         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4660         file.
4661         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4662         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4663         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4664         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4665         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4666         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4667         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4668         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4669         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4670         file.
4671         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4672         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4673         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4674         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4675         file.
4676         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4677         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4678         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4679         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4680         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4681         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4682         file.
4683         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4684         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4685         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4686         file.
4687         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4688         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4689         New file.
4690         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4691         New file.
4692         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4693         New file.
4694         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4695         New file.
4696         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4697         New file.
4698         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4699         New file.
4700         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4701         New file.
4702         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4703         New file.
4704         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4705         New file.
4706         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4707         New file.
4708         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4709         New file.
4710         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4711         New file.
4712         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4713         New file.
4714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4715         file.
4716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4717         New file.
4718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4719         New file.
4720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4721         file.
4722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4723         New file.
4724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4725         New file.
4726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4727         file.
4728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4729         New file.
4730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4731         New file.
4732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4733         New file.
4734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4735         New file.
4736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4737         New file.
4738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4739         New file.
4740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4742         file.
4743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4744         New file.
4745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4746         file.
4747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4748         file.
4749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4750         file.
4751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4752         file.
4753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4754         file.
4755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4756         New file.
4757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4758         file.
4759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4760         file.
4761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4762         New file.
4763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4764         file.
4765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4767         file.
4768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4769         New file.
4770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4771         file.
4772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4773         file.
4774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4775         file.
4776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4777         file.
4778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4779         file.
4780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4781         New file.
4782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4783         file.
4784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4785         file.
4786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4787         New file.
4788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4789         file.
4790         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4791         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4792         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4793         file.
4794         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4795         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4796         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4797         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4798         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4799         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4800         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4801         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4802         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4803         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4806         file.
4807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4808         New file.
4809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4810         file.
4811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4812         file.
4813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4814         file.
4815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4816         file.
4817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4818         file.
4819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4820         New file.
4821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4822         New file.
4823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4824         file.
4825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4826         New file.
4827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4828         file.
4829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4831         file.
4832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4833         New file.
4834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4835         file.
4836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4837         file.
4838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4839         file.
4840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4841         file.
4842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4843         file.
4844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4845         New file.
4846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4847         New file.
4848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4849         file.
4850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4851         New file.
4852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4853         file.
4855 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
4857         * conform/conformtest.pl: Fix typo in handling typed-constant from
4858         allow-header.
4860 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
4862         * README: Cut down references to pre-2.6 Linux kernels and
4863         Linuxthreads.  Update lists of configurations in libc and ports
4864         and sort alphabetically.  Say "or newer" with Linux kernel version
4865         requirements.
4867         * config.h.in [IS_IN_build]: Allow compiling without optimization.
4869 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4871         [BZ #887]
4872         * math/libm-test.inc (logb_test_downward): New test to expose
4873         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4874         rounding mode.
4876 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
4878         [BZ #14027]
4879         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4880         to be done.
4881         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4882         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4884 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
4886         * sysdeps/unix/i386/brk.S: Remove file.
4887         * sysdeps/unix/i386/dl-brk.S: Likewise.
4888         * sysdeps/unix/i386/pipe.S: Likewise.
4889         * sysdeps/unix/i386/sigreturn.S: Likewise.
4890         * sysdeps/unix/i386/syscall.S: Likewise.
4891         * sysdeps/unix/i386/vfork.S: Likewise.
4892         * sysdeps/unix/i386/wait.S: Likewise.
4894         * sysdeps/unix/common/tcsendbrk.c: Move to ...
4895         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4897         * configure.in (arm*-none*): Do not allow without
4898         --enable-hacker-mode.
4899         (netbsd*): Remove case setting base_os.
4900         (386bsd*): Likewise.
4901         (freebsd*): Likewise.
4902         (bsdi*): Likewise.
4903         (osf*): Likewise.
4904         (sunos*): Likewise.
4905         (ultrix*): Likewise.
4906         (newsos*): Likewise.
4907         (dynix*): Likewise.
4908         (*bsd*): Likewise.
4909         (sysv*): Likewise.
4910         (isc*): Likewise.
4911         (esix*): Likewise.
4912         (sco*): Likewise.
4913         (minix*): Likewise.
4914         (irix4*): Likewise.
4915         (irix6*): Likewise.
4916         (solaris[2-9]*): Likewise.
4917         (none): Likewise.
4918         * configure: Regenerated.
4920 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4922         [BZ #11521]
4923         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4924         overflow or cancellation in calculating denominator.
4925         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4926         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4927         down expression to avoid unexpected rounding in newer GCCs.
4928         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4930 2012-04-26  David S. Miller  <davem@davemloft.net>
4932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4933         long-double compat symbols.
4934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4948 2012-04-25  David S. Miller  <davem@davemloft.net>
4950         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4951         HWCAP_* values only after the memory barriers have been defined.
4952         (atomic_full_barrier): Define.
4953         (atomic_read_barrier): Define.
4954         (atomic_write_barrier): Define.
4956 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4958         * shlib-versions: Add libgcc_s version information.
4959         * sysdeps/generic/libgcc_s.h: Remove.
4960         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4961         libgcc_s.h.
4962         * sysdeps/gnu/unwind-resume.c: Likewise.
4963         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4965 2012-04-25  David S. Miller  <davem@davemloft.net>
4967         * sysdeps/unix/sparc/brk.S: Delete.
4968         * sysdeps/unix/sparc/dl-brk.S: Delete.
4969         * sysdeps/unix/sparc/pipe.S: Delete.
4970         * sysdeps/unix/sparc/sysdep.S: Delete.
4971         * sysdeps/unix/sparc/sysdep.h: Delete.
4972         * sysdeps/unix/sparc/vfork.S: Delete.
4973         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4974         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4975         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4976         ret_ERRVAL, r0, r1, MOVE): Define.
4977         (JUMPTARGET): Remove.
4978         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4979         sysdeps/unix/sparc/sysdep.h
4980         (ENTRY, END): Remove.
4981         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4983 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
4985         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4986         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4987         -DIS_IN_build.
4989         * timezone/README: Update upstream location and email address for
4990         tzcode and tzdata.
4991         * timezone/zdump.c: Update from tzcode 2012b.
4992         * timezone/zic.c: Likewise.
4994         * configure.in (libc_cv_as_needed): Remove test.
4995         * configure: Regenerated.
4996         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4997         conditional definition.
4998         [$(have-as-needed) != yes] (no-as-needed): Likewise.
4999         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5000         * config.make.in (have-as-needed): Remove variable.
5002 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5003             Paul Pluzhnikov  <ppluzhnikov@google.com>
5005         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5006         strings correctly.
5008 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5010         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5011         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5012         * sysdeps/sh/strlen.S: Likewise.
5014 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5016         * sysdeps/unix/fork.S: Remove file.
5017         * sysdeps/unix/i386/fork.S: Likewise.
5018         * sysdeps/unix/sparc/fork.S: Likewise.
5020         * sysdeps/unix/system.c: Remove file.
5021         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5023         * sysdeps/unix/getegid.S: Remove file.
5024         * sysdeps/unix/geteuid.S: Likewise.
5026 2012-04-24  Roland McGrath  <roland@hack.frob.com>
5028         * scripts/check-localplt.awk: New file.
5029         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5030         of diff.
5031         * scripts/data/localplt-generic.data: Add a comment.
5033         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5034         NODE when __dir_mkfile failed.
5035         * sysdeps/mach/hurd/symlinkat.c: Likewise.
5036         Reported by Ludovic Courtès <ludo@gnu.org>.
5038 2012-04-24  Andreas Jaeger  <aj@suse.de>
5040         * Makerules (common-clean): Also remove gen-as-const-headers
5041         files.
5043 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5045         * Makerules (native-compile): Do not change working directory for
5046         build.  Use $(OUTPUT_OPTION) in command.
5047         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5049 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5051         [BZ #13886]
5052         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5053         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5054         * math/libm-test.inc (floor_test): Add more tests.
5055         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5057 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5059         * sysdeps/unix/getdents.c: Remove file.
5060         * sysdeps/unix/sysv/getdents.c: Likewise.
5061         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5063         * sysdeps/unix/syscalls.list (madvise): Add syscall from
5064         sysdeps/unix/mman/syscalls.list.
5065         (mmap): Likewise.
5066         (mprotect): Likewise.
5067         (msync): Likewise.
5068         (munmap): Likewise.
5069         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5070         * sysdeps/unix/mman/syscalls.list: Remove.
5071         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5073         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5074         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5075         * configure: Regenerated.
5076         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5077         $(libgcc_s_suffix).
5078         * config.make.in (libgcc_s_suffix): Remove variable.
5080 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
5082         * sysdeps/unix/sysv/gethostname.c: Move to ...
5083         * sysdeps/posix/gethostname.c: ... here.
5085         * sysdeps/unix/execve.S: Remove file.
5087         * sysdeps/unix/_exit.S: Remove file.
5089 2012-04-23  Andreas Jaeger  <aj@suse.de>
5091         [BZ #13739]
5092         * manual/Makefile: Remove make dist support, there's no
5093         need for a stand-alone documentation tar ball.
5094         (TEXI2DVI): Define always, it's not in Makeconfig.
5095         (dist): Removed.
5096         (tar-it): Removed.
5097         (edition): Removed.
5098         (glibc-doc-$(edition).tar): Removed
5099         (%.Z): Removed.
5100         (%.gz): Removed.
5101         (%.uu): Removed.
5102         (ETAGS): Remove, it's in Makeconfig.
5103         (move-if-change): Remove, it's in Makeconfig.
5105 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
5107         [BZ #13970]
5108         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5109         (strtod, strtof, strtold, strtol, strtoul, strtoq)
5110         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5111         (strtod_l, strtof_l, strtold_l): Remove __wur.
5112         It is not necessarily an error to ignore strtol's return value.
5113         One can reliably look at the stored endptr to decide whether
5114         the number had valid syntax.
5116 2012-04-21  Andreas Jaeger  <aj@suse.de>
5118         [BZ #13739]
5119         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5121 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
5123         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5124         * sysdeps/unix/sysv/Versions: Remove file.
5126 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
5128         [BZ #13927]
5129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5131 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
5133         [BZ #7064]
5134         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5135         version from __vm86.
5137 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
5139         * sysdeps/unix/common/lxstat.c: Remove file.
5140         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5142         * sysdeps/unix/sysv/Makefile: Remove file.
5144         * sysdeps/unix/sysv/direct.h: Remove file.
5146         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5147         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5148         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5149         * sysdeps/unix/sysv/bits/signum.h: Likewise.
5150         * sysdeps/unix/sysv/bits/stat.h: Likewise.
5151         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5152         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5154         * sysdeps/unix/sysv/setrlimit.c: Remove file.
5156         * sysdeps/unix/xmknod.c: Remove file.
5157         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5159         * sysdeps/unix/sysv/settimeofday.c: Remove file.
5161         * sysdeps/unix/sysv/i386/time.S: Remove file.
5163         * sysdeps/unix/fxstat.c: Remove file.
5164         * sysdeps/unix/xstat.c: Likewise.
5165         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5167         * sysdeps/unix/sysv/sigaction.c: Remove file.
5169         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5170         (sysdep_headers): Remove variable.
5171         [termio.h not in sysdep_headers] (generated): Likewise.
5172         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5173         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5174         * sysdeps/unix/sysv/tcdrain.c: Likewise.
5175         * sysdeps/unix/sysv/tcflow.c: Likewise.
5176         * sysdeps/unix/sysv/tcflush.c: Likewise.
5177         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5178         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5179         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5180         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5181         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5183         * sysdeps/unix/siglist.c: Remove file.
5185         * sysdeps/unix/getppid.S: Remove file.
5187         * sysdeps/unix/mkdir.c: Remove file.
5188         * sysdeps/unix/rmdir.c: Likewise.
5190 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
5192         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5193         ERR_MAX value.
5194         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5195         errlist-compat value.
5197 2012-04-18  David S. Miller  <davem@davemloft.net>
5199         * sysdeps/generic/memcopy.h (reg_char): Delete.
5200         * debug/strcat_chk.c: Use char, not reg_char.
5201         * debug/strcpy_chk.c: Likewise.
5202         * debug/strncat_chk.c: Likewise.
5203         * debug/strncpy_chk.c: Likewise.
5204         * string/memchr.c: Likewise.
5205         * string/memrchr.c: Likewise.
5206         * string/rawmemchr.c: Likewise.
5207         * string/strcat.c: Likewise.
5208         * string/strchr.c: Likewise.
5209         * string/strchrnul.c: Likewise.
5210         * string/strcmp.c: Likewise.
5211         * string/strcpy.c: Likewise.
5212         * string/strncat.c: Likewise.
5213         * string/strncmp.c: Likewise.
5214         * string/strncpy.c: Likewise.
5216 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
5218         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5219         __builtin_memcopy is called when src and dest ranges are known to not
5220         overlap.
5222 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
5224         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5225         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5226         fwd_align_merge macro call.
5227         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5228         bwd_align_merge macro call.
5229         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5231 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
5233         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5234         bwd_align_merge macros.
5235         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5236         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5237         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5239 2012-04-18  David S. Miller  <davem@davemloft.net>
5241         * sysdeps/sparc/sparc64/memcopy.h: Delete.
5243 2012-04-18  Andreas Jaeger  <aj@suse.de>
5245         [BZ# 6794]
5246         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5247         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5248         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5250         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5251         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5252         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5254         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5255         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5256         Adjust for changed ldbl-128 files.
5258         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5259         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5260         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5262 2012-04-17  David S. Miller  <davem@davemloft.net>
5264         * sysdeps/sparc/sparc32/memcopy.h: Delete.
5266 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
5268         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5269         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5270         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5271         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5272         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5273         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5275 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5277         [BZ #6794]
5278         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5279         * math/libm-test.inc: Add ilogb errno and exception tests.
5280         * math/w_ilogb.c: New file: ilogb wrapper.
5281         * math/w_ilogbf.c: New file: ilogbf wrapper.
5282         * math/w_ilogbl.c: New file: ilogbl wrapper.
5283         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5284         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5285         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5286         exception being thrown with 0.0 as argument.
5287         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5288         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5289         exception being thrown with 0.0 as argument.
5290         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5291         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5292         exception being thrown with 0.0 as argument.
5293         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5294         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5295         exception being thrown with 0.0 as argument.
5296         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5297         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5298         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5299         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5300         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5301         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5302         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5303         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5304         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5306 2012-04-17  Petr Baudis  <pasky@ucw.cz>
5308         * include/sys/uio.h: Change __vector to __iovec to avoid clash
5309         with altivec.
5311 2012-04-16  Marek Polacek  <polacek@redhat.com>
5313         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5315 2012-04-16  Marek Polacek  <polacek@redhat.com>
5317         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5318         operands of fdivp instruction.
5320 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
5322         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5323         * elf/tst-auditmod3b.c: Likewise.
5324         * elf/tst-auditmod4b.c: Likewise.
5325         * elf/tst-auditmod5b.c: Likewise.
5326         * elf/tst-auditmod6b.c: Likewise.
5327         * elf/tst-auditmod6c.c: Likewise.
5328         * elf/tst-auditmod7b.c: Likewise.
5329         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5330         * sysdeps/x86_64/preconfigure.in: Likewise.
5331         * sysdeps/x86_64/preconfigure: Regenerated.
5333 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
5335         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5336         __ILP32__.
5338 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
5340         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5341         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5343 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
5345         [BZ #13973]
5346         * locale/iso-639.def: Fix gl language name. Spotted by
5347         Yaron Shahrabani.
5349 2012-04-12  Roland McGrath  <roland@hack.frob.com>
5351         [BZ #2074]
5352         * libio/libio.h (__io_write_fn): Update comment.
5354 2012-04-12  Petr Baudis  <pasky@ucw.cz>
5356         [BZ #2074]
5357         * stdio.texi (Hook Functions): The user provided writer function
5358         is not allowed to return -1.
5360 2012-04-11  David S. Miller  <davem@davemloft.net>
5362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5364 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
5366         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5367         Add a leading slash to rtkaio.
5369 2012-04-11  Jim Meyering  <meyering@redhat.com>
5371         [BZ #11959]
5372         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5373         It is not necessarily an error to ignore fwrite's return
5374         value.  One can reliably use ferror to test for errors after
5375         the fact.
5377 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5379         * bits/types.h (__snseconds_t): New type.
5380         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5382         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5383         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5384         (__SNSECONDS_T_TYPE): Likewise.
5385         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5386         (__SNSECONDS_T_TYPE): Likewise.
5387         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5388         (__SNSECONDS_T_TYPE): Likewise.
5390 2012-04-10  Andreas Jaeger  <aj@suse.de>
5392         [BZ #2636]
5393         * manual/time.texi (Processor Time): Return type of times is
5394         elapsed real time since an arbitrary point in the past.
5395         (CPU Time): Move CLK_TCK from here...
5396         (Processor Time): ...to here.  Correct description.
5397         * manual/conf.texi (Constants for Sysconf): Correct description of
5398         _SC_CLK_TCK.
5400 2012-04-10  David S. Miller  <davem@davemloft.net>
5402         [BZ #13967]
5403         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5404         where the is a gap between DT_REL(A) and DT_JMPREL.
5406 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5408         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5409         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5410         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5412 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5414         * elf/dl-support.c (_dl_inhibit_cache): New variable.
5415         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5416         (dl_main): Handle --inhibit-cache.
5417         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5418         _dl_inhibit_cache.
5419         * elf/dl-load.c (_dl_map_object): Use it.
5420         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5422 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
5424         [BZ #13872]
5425         * sysdeps/i386/fpu/e_powl.S (p78): New object.
5426         (__ieee754_powl): Saturate large exponents rather than testing for
5427         overflow of y*log2(x).
5428         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5429         * math/libm-test.inc (pow_test): Do not permit spurious overflow
5430         exceptions.
5432         [BZ #11521]
5433         * math/s_ctan.c: Include <float.h>.
5434         (__ctan): Avoid internal overflow or cancellation in calculating
5435         denominator.
5436         * math/s_ctanf.c: Likewise.
5437         * math/s_ctanl.c: Likewise.
5438         * math/s_ctanh.c: Likewise.
5439         * math/s_ctanhf.c: Likewise.
5440         * math/s_ctanhl.c: Likewise.
5441         * math/libm-test.inc (ctan_test): Add more tests.
5442         (ctanh_test): Likewise.
5443         * sysdeps/i386/fpu/libm-test-ulps: Update.
5444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5446 2012-04-09  Andreas Jaeger  <aj@suse.de>
5448         [BZ #6894]
5449         * manual/filesys.texi (Directory Entries): Mention that d_namlen
5450         is an optional BSD extension.
5452         [BZ #10254]
5453         * manual/stdio.texi (Opening Streams): Document additional fopen
5454         parameters.
5456 2012-04-09  Roland McGrath  <roland@hack.frob.com>
5458         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5459         %eax without telling the compiler.
5461 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
5463         [BZ # 13963]
5464         * manual/install.texi: Use sourceware.org.
5466 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
5468         [BZ #13873]
5469         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5470         (__ieee754_pow): Generate overflow and underflow using huge*huge
5471         and tiny*tiny rather than just returning constant infinity or zero
5472         for large exponents.
5473         * math/libm-test.inc (pow_test): Require overflow exceptions for
5474         applicable cases of large exponents.
5476         [BZ #706]
5477         * sysdeps/i386/fpu/e_pow.S (p10): New object.
5478         (__ieee754_pow): Use iterative multiplication algorithm only for
5479         integer exponents with absolute value below 1024.  Check for odd
5480         integer exponents when using algorithm for real exponents.
5481         * math/libm-test.inc (pow_test): Add more tests.
5482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5484 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
5486         [BZ #13705]
5487         * math/libm-test.inc (exp_test): Do not allow overflow exception
5488         on underflow test.
5490 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
5492         [BZ #13705]
5493         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5494         instead of __kernel_standard_f.
5496 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
5498         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5499         * sysdeps/x86_64/memset_chk.S: Likewise.
5501 2012-04-08  Andreas Jaeger  <aj@suse.de>
5503         [BZ #10153]
5504         * manual/startup.texi (Environment Access): Describe return value
5505         for putenv and setenv.
5507         [BZ #6895]
5508         * manual/filesys.texi (Directory Entries): Add description for
5509         DT_LNK.
5511         [BZ #6890]
5512         * manual/filesys.texi (Directory Entries): Clarify that it's file
5513         system not operating system in the description of DT_UNKNOWN.
5515         [BZ #6578]
5516         * manual/syslog.texi (closelog): Fix reference, it's openlog.
5518 2012-04-08  Stephen Compall  <s11@member.fsf.org>
5520         [BZ #6649]
5521         * manual/llio.texi (Opening and Closing Files): Add cross
5522         reference to explain mode argument.
5524 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
5526         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5527         * sysdeps/x86_64/memset_chk.S: Likewise.
5529 2012-04-07  David S. Miller  <davem@davemloft.net>
5531         * elf/elf.h (R_SPARC_WDISP10): Define.
5532         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5533         R_SPARC_SIZE32.
5534         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5535         R_SPARC_SIZE64 and R_SPARC_H34.
5537 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
5539         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5540         conditions and remove no longer applicable assertion.
5542 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
5544         * bits/byteswap.h: Include <features.h>.
5545         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5546         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5548 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
5550         * bits/byteswap.h (__bswap_16): Removed.
5551         Include <bits/byteswap-16.h> to get __bswap_16.
5552         * sysdeps/i386/bits/byteswap.h: Likewise.
5553         * sysdeps/s390/bits/byteswap.h: Likewise.
5554         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5555         * bits/byteswap-16.h: New file.
5556         * sysdeps/i386/bits/byteswap-16.h: Likewise.
5557         * sysdeps/s390/bits/byteswap-16.h: Likewise.
5558         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5559         * string/Makefile (headers): Add bits/byteswap-16.h.
5561 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5563         [BZ #13895]
5564         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5565         extra indirection.
5566         * nss/Makefile (tests-static, tests): Add tst-nss-static.
5567         * nss/tst-nss-static.c: New.
5569 2012-04-06  Robert Millan  <rmh@gnu.org>
5571         [BZ #6486]
5572         * manual/llio.texi (File Position Primitive): lseek
5573         refers to WHENCE when it really means OFFSET.
5575 2012-04-06  Andreas Jaeger  <aj@suse.de>
5577         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5578         strncmp declarations.
5580         * abilist/libc.abilist: Add __poll and __ppoll.
5582 2012-04-05  David S. Miller  <davem@davemloft.net>
5584         * scripts/check-local-headers.sh: Accept a host triplet in the
5585         path matched by the exclude regexp.
5587         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5588         definition.
5589         * sysdeps/powerpc/powerpc32/dl-machine.h
5590         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5591         * sysdeps/s390/s390-32/dl-machine.h
5592         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5593         * sysdeps/sparc/sparc32/dl-machine.h
5594         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5595         * sysdeps/sparc/sparc64/dl-machine.h
5596         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5598         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5599         lazy binding.
5600         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5601         undefined symbol errors.
5603         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5604         DT_NEEDED entries.
5606 2012-04-05  Michael Matz  <matz@suse.de>
5608         [BZ #13592]
5609         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5611 2012-04-05  Andreas Jaeger  <aj@suse.de>
5613         [BZ #13908]
5614         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5615         comment.
5617 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5619         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5620         which ROUND is no valid rounding mode.
5622 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5624         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5625         read again.
5626         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5628 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5630         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5631         an exception using FPU order intentionally.
5633 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5635         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5636         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5637         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5638         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5640 2012-04-05  Simon Josefsson  <simon@josefsson.org>
5642         [BZ #12340]
5643         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5644         EINVAL when BUFLEN is too smal.
5646 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
5648         [BZ #13553]
5649         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5650         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5652 2012-04-03  Andreas Jaeger  <aj@suse.de>
5654         [BZ #13938]
5655         * manual/setjmp.texi (System V contexts): Fix sentence.
5657         [BZ #13926]
5658         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5659         New macro for this case.
5660         [!__GNUC__] (__bswap_64): New inline function for this case.
5661         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5662         * bits/byteswap.h: Likewise.
5663         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5664         ull, guard with __GLIBC_HAVE_LONG_LONG.
5666         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5667         __GLIBC_HAVE_LONG_LONG.
5669         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5670         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5672 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5674         [BZ #13691]
5675         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5676         inptr and inend, rather than using last_ch.
5678 2012-04-02  David S. Miller  <davem@davemloft.net>
5680         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5681         * stdio-common/printf-parse.h (read_int): Change return type to
5682         'int', return -1 on INT_MAX overflow.
5683         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5684         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
5685         overflows INT_MAX.  Check for overflow of in-format-string precision
5686         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
5687         SIZE_MAX not INT_MAX for integer overflow test.
5688         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5689         skip the construct in the format string but do not record anything.
5690         * stdio-common/bug22.c: Adjust to test both width/prevision
5691         INT_MAX overflow as well as total length INT_MAX overflow.  Check
5692         explicitly for proper errno values.
5694 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
5696         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5697         CHAR_MAX.
5698         * string/test-strcmp.c [! WIDE]: Likewise.
5699         * time/tst-mktime2.c: Likewise for INT_MAX.
5700         * string/test-string.h: #include <sys/param.h> for MIN.
5702         * csu/init-first.c (__libc_init_first): Call __ctype_init.
5703         * sysdeps/i386/init-first.c (init): Likewise.
5704         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5705         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5706         * sysdeps/sh/init-first.c (init): Likewise.
5708 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
5710         * po/ru.po: Update from translation team.
5711         * po/vi.po: Likewise.
5713 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5715         * resolv/nss_dns/dns-host.c: Merge copyright years.
5717 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5719         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5720         Optimize memcpy with prefetch if
5721         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
5722         src, dst pointers have unequal 16 byte alignments.
5724 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5726         [BZ #13928]
5727         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5728         from a CNAME entry and return the minimum ttl for the query.
5729         (gaih_getanswer_slice): Likewise.
5731 2012-03-30  Jeff Law  <law@redhat.com>
5733         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5734         due to long keys.
5735         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5736         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5738         * resolv/nss_dns/dns-host.c: Update copyright year.
5740 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
5742         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5743         requests to save a system call.  Fix check that all bytes are sent.
5745         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5746         comments for sendmmsg.
5748 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5750         [BZ #13691]
5751         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5752         with only 1 character between 0x0041 and 0x01b0.
5753         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5754         * wcsmbs/tst-mbsnrtowcs.c: New file.
5756 2012-03-29  David S. Miller  <davem@davemloft.net>
5758         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5759         small copies by hand.
5761 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5763         [BZ #13761]
5764         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5765         _nss_compat_initgroups_dyn): Fall back to malloc/free
5766         for large group memberships.
5768 2012-03-28  David S. Miller  <davem@davemloft.net>
5770         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5771         that branches into memcpy.
5772         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5773         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5774         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5775         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5776         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5777         bits.
5778         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5779         implementation too.
5780         * sysdeps/sparc/mempcpy.S: New file.
5782         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5783         the IFUNC routine in the libc case.
5784         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5786         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5787         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5788         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5789         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5790         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5791         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5792         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5793         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5795         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5796         loop to 256 bytes instead of 64 bytes and fix test signedness.
5798         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5799         * sysdeps/sparc/sparc32/Makefile: rather than here...
5800         * sysdeps/sparc/sparc64/Makefile: and here.
5802 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
5804         * malloc/mallocbug.c: Avoid warnings about unused variables.
5806 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5808         [BZ #13760]
5809         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5810         in the right place. Discard and retry query if response is
5811         larger than input buffer size.
5813 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
5815         [BZ #369]
5816         [BZ #2678]
5817         [BZ #3866]
5818         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5819         x for large integer exponent.
5820         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5821         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
5822         sign of result as needed afterwards.
5823         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5824         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5825         result for underflowing pow the same as for overflow.
5826         (__kernel_standard_l): Handle powl overflow and underflow here
5827         rather than calling __kernel_standard.
5828         * math/libm-test.inc (pow_test): Add more tests.
5830         [BZ #3868]
5831         [BZ #13879]
5832         [BZ #13910]
5833         [BZ #13911]
5834         [BZ #13912]
5835         [BZ #13913]
5836         [BZ #13915]
5837         [BZ #13916]
5838         [BZ #13917]
5839         [BZ #13918]
5840         [BZ #13919]
5841         [BZ #13920]
5842         [BZ #13921]
5843         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5844         * sysdeps/ieee754/k_standard.c: Include <float.h>.
5845         (__kernel_standard_l): New function.
5846         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5847         __kernel_standard.
5848         * math/w_acosl.c (__acosl): Likewise.
5849         * math/w_asinl.c (__asinl): Likewise.
5850         * math/w_atan2l.c (__atan2l): Likewise.
5851         * math/w_atanhl.c (__atanhl): Likewise.
5852         * math/w_coshl.c (__coshl): Likewise.
5853         * math/w_exp10l.c (__exp10l): Likewise.
5854         * math/w_exp2l.c (__exp2l): Likewise.
5855         * math/w_fmodl.c (__fmodl): Likewise.
5856         * math/w_hypotl.c (__hypotl): Likewise.
5857         * math/w_j0l.c (__j0l, __y0l): Likewise.
5858         * math/w_j1l.c (__j1l, __y1l): Likewise.
5859         * math/w_jnl.c (__jnl, __ynl): Likewise.
5860         * math/w_lgammal.c (__lgammal): Likewise.
5861         * math/w_log10l.c (__log10l): Likewise.
5862         * math/w_log2l.c (__log2l): Likewise.
5863         * math/w_logl.c (__logl): Likewise.
5864         * math/w_powl.c (__powl): Likewise.
5865         * math/w_remainderl.c (__remainderl): Likewise.
5866         * math/w_scalbl.c (sysv_scalbl): Likewise.
5867         * math/w_sinhl.c (__sinhl): Likewise.
5868         * math/w_sqrtl.c (__sqrtl): Likewise.
5869         * math/w_tgammal.c (__tgammal): Likewise.
5870         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5871         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5872         * math/libm-test.inc (acos_test): Add more tests.
5873         (acosh_test): Likewise.
5874         (asin_test): Likewise.
5875         (atanh_test): Likewise.
5876         (exp_test): Likewise.
5877         (exp10_test): Likewise.
5878         (exp2_test): Likewise.
5879         (expm1_test): Likewise.
5880         (lgamma_test): Likewise.
5881         (log_test): Likewise.
5882         (log10_test): Likewise.
5883         (log1p_test): Likewise.
5884         (log2_test): Likewise.
5885         (pow_test): Do not allow some spurious overflow exceptions.
5886         (sqrt_test): Add more tests.
5887         (tgamma_test): Likewise.
5888         (y0_test): Likewise.
5889         (y1_test): Likewise.
5890         (yn_test): Likewise.
5892 2012-03-27  Anton Blanchard  <anton@samba.org>
5894         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5895         MAP_HUGETLB.
5896         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5897         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5898         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5900 2012-03-27  David S. Miller  <davem@davemloft.net>
5902         * conform/Makefile: Run run-conformtest.sh using $(BASH).
5904         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5905         have-as-vis3 check.
5907 2012-03-27  Andreas Jaeger  <aj@suse.de>
5909         * sysdeps/x86_64/elf/configure.in: Moved to ...
5910         * sysdeps/x86_64/configure.in: ... here.
5911         * sysdeps/x86_64/elf/start.S: Moved to ...
5912         * sysdeps/x86_64/start.S: ... here.
5913         * sysdeps/x86_64/elf/configure: Delete.
5915         * sysdeps/x86_64/configure.in: Merge contents from
5916         sysdeps/i386/configure.in (without i686 check).
5918         * sysdeps/i386/elf/Versions: Merge into ...
5919         * sysdeps/i386/Versions: ... this.
5920         * sysdeps/i386/elf/Versions: Delete file.
5921         * sysdeps/i386/elf/start.S: Moved to ...
5922         * sysdeps/i386/start.S: ...here.
5923         * sysdeps/i386/elf/configure.in: Merge into...
5924         * sysdeps/i386/configure.in: ...here.
5925         * sysdeps/i386/elf/configure.in: Delete file.
5926         * sysdeps/i386/elf/configure: Delete file.
5928         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5929         * debug/backtracesyms.c: ... here.
5930         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5931         * debug/backtracesymsfd.c: ... here.
5932         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5933         * sysdeps/generic/ifunc-sel.h: ... here.
5935         * sysdeps/unix/i386/start.c: Delete file.
5936         * sysdeps/unix/sparc/start.c: Delete file.
5937         * sysdeps/unix/start.c: Delete file.
5939         * sysdeps/sh/elf/configure.in: Moved to ...
5940         * sysdeps/sh/configure.in: ... here.
5941         * sysdeps/sh/elf/start.S: Moved to ...
5942         * sysdeps/sh/start.S: ... here.
5943         * sysdeps/sh/elf/configure: Delete file.
5945         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5946         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5947         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5948         * sysdeps/powerpc/powerpc64/entry.h: ... here.
5949         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5950         * sysdeps/powerpc/powerpc64/start.S: here.
5951         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5952         * sysdeps/powerpc/powerpc64/Makefile: ... this.
5953         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5954         * sysdeps/powerpc/powerpc64/configure.in: ... this.
5955         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5957         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5958         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5959         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5960         * sysdeps/powerpc/powerpc32/start.S: ... here.
5961         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5962         * sysdeps/powerpc/powerpc32/configure.in: ... this.
5963         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5965         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5966         * sysdeps/powerpc/ifunc-sel.h: ... here.
5967         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5968         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5970         * sysdeps/sparc/elf/configure.in: Moved to ...
5971         * sysdeps/sparc/configure.in: ... here.
5972         * sysdeps/sparc/elf/configure: Delete file.
5973         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5974         * sysdeps/sparc/sparc32/start.S: ... here.
5975         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5976         * sysdeps/sparc/sparc64/start.S: ... here.
5977         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5978         * sysdeps/sparc/sparc32/Makefile: ... this.
5979         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5980         * sysdeps/sparc/sparc64/Makefile: ... this.
5982         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5983         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5984         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5985         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5986         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5987         * sysdeps/s390/s390-32/setjmp.S: ... here.
5988         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5989         * sysdeps/s390/s390-32/configure.in: ... here.
5990         * sysdeps/s390/s390-32/elf/configure: Delete file.
5991         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5992         * sysdeps/s390/s390-32/start.S: ... here.
5994         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5995         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5996         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5997         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5998         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5999         * sysdeps/s390/s390-64/setjmp.S: ... here.
6000         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6001         * sysdeps/s390/s390-64/configure.in: ... here
6002         * sysdeps/s390/s390-64/elf/configure: Delete file.
6003         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6004         * sysdeps/s390/s390-64/start.S: ... here.
6005         * sysdeps/s390/s390-64/elf/configure: Delete.
6007         * configure.in: Remove support for elf directories in sysdeps.
6009         * configure: Regenerated.
6010         * sysdeps/i386/configure: Regenerated.
6011         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6012         * sysdeps/powerpc/powerpc64/configure: Regenerated.
6013         * sysdeps/s390/s390-32/configure: Regenerated.
6014         * sysdeps/s390/s390-64/configure: Regenerated.
6015         * sysdeps/sh/configure: Regenerated.
6016         * sysdeps/sparc/configure: Regenerated.
6017         * sysdeps/x86_64/configure: Regenerated.
6019 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
6021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6023         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6024         denormal result into account.
6026 2012-03-25  Roland McGrath  <roland@hack.frob.com>
6028         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6029         Reported by Allan McRae <allan@archlinux.org>.
6031 2012-03-23  Jeff Law  <law@redhat.com>
6033         * nss/getnssent.c (__nss_getent): Fix typo.
6035 2012-03-23  David S. Miller  <davem@davemloft.net>
6037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6039 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
6041         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6042         to pad to uint64_t for each field.
6043         (dl_tls_index): Replace unsigned long with uint64_t.
6045 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
6046         Paul Pluzhnikov  <ppluzhnikov@google.com>
6048         [BZ #6528]
6049         * grp/Makefile (otherlibs): Don't set it.
6050         * inet/Makefile (otherlibs): Likewise.
6051         * login/Makefile (otherlibs): Likewise.
6052         * nscd/Makefile (otherlibs): Likewise.
6053         * posix/Makefile (otherlibs): Likewise.
6054         * pwd/Makefile (otherlibs): Likewise.
6055         * rt/Makefile (otherlibs): Likewise.
6056         * sunrpc/Makefile (otherlibs): Likewise.
6057         * nss/Makefile (otherlibs): Likewise.
6058         Add libnss_files to routines and static-only-routines.
6059         ($(objpfx)getent): Remove rule.
6060         * resolv/Makefile: Add libnss_dns and libresolv to routines and
6061         static-only-routines.
6063 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
6065         [BZ #13892]
6066         * math/s_cexp.c: Include <float.h>.
6067         (__cexp): Handle exp result overflowing not necessarily
6068         overflowing both real and imaginary parts of result.
6069         * math/s_cexpf.c: Likewise.
6070         * math/s_cexpl.c: Likewise.
6071         * math/libm-test.inc (cexp_test): Add more tests.
6072         * sysdeps/i386/fpu/libm-test-ulps: Update.
6073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6075 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6077         * include/link.h (ELFW): New macro.
6078         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6079         Replace ELF64_R_TYPE with ELFW(R_TYPE).
6081 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6083         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6084         with uint64_t.
6086 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6088         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6089         declaration.
6090         (struct La_x32_retval): Likewise.
6092 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6094         * sysdeps/x86_64/preconfigure.in: New file.
6095         * sysdeps/x86_64/preconfigure: New generated file.
6097 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
6099         [BZ #13824]
6100         * math/e_exp2l.c: Include <float.h>.
6101         (__ieee754_exp2l): Handle overflow and underflow cases
6102         separately.  Only pass fractional part of argument to
6103         __ieee754_expl.
6104         * math/libm-test.inc (exp2_test): Add more tests.
6106         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6107         negating x to take absolute value.
6108         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6109         Likewise.
6110         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6111         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6112         Likewise.
6113         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6114         computing low part if x was negated.
6115         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6117 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6119         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6120         la_x32_gnu_pltexit.
6121         (pltexit): Cast int_retval to ptrdiff_t.
6122         * elf/tst-auditmod3b.c: Likewise.
6123         * elf/tst-auditmod4b.c: Likewise.
6124         * elf/tst-auditmod5b.c: Likewise.
6125         * elf/tst-auditmod6b.c: Likewise.
6126         * elf/tst-auditmod6c.c: Likewise.
6127         * elf/tst-auditmod7b.c: Likewise.
6129         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6130         and x32_gnu_pltexit.
6132         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6133         __ELF_NATIVE_CLASS.
6134         (La_x32_regs): New macro.
6135         (La_x32_retval): Likewise.
6136         (la_x32_gnu_pltenter): New function prototype.
6137         (la_x32_gnu_pltexit): Likewise.
6139 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
6141         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6142         exponent.
6144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6146         * configure.in (libc_cv_cc_nofma): Check for option to disable
6147         generation of FMA instructions.
6148         * configure: Regenerate.
6149         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6150         * sysdeps/ieee754/dbl-64/Makefile: New file.
6151         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6152         Remove brandred-fma4.
6153         (CFLAGS-brandred-fma4.c): Remove.
6154         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6155         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6156         define.
6157         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6158         define.
6160 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6162         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6163         LLONG_MAX != LONG_MAX.
6164         (_itoa_word): Use _ITOA_WORD_TYPE on value.
6165         (_fitoa_word): Likewise.
6166         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6167         LLONG_MAX != LONG_MAX.
6168         * stdio-common/_itowa.h: Include <_itoa.h>.
6169         (_itowa_word): Use _ITOA_WORD_TYPE on value.
6170         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
6171         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
6172         only if not defined.
6173         (_ITOA_WORD_TYPE): Likewise.
6174         (_itoa_word): Use _ITOA_WORD_TYPE on value.
6175         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6177 2012-03-21  David S. Miller  <davem@davemloft.net>
6179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6181 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6183         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6184         of x86_64 when setting libc_cv_slibdir, libdir and
6185         libc_cv_localedir.
6186         * sysdeps/unix/sysv/linux/configure: Regenerated.
6188 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
6190         * manual/lang.texi (Old Varargs): Remove section.
6191         (How Variadic): Update menu.
6192         (va_start): Do not mention varargs.h.
6194 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6195             Joseph Myers  <joseph@codesourcery.com>
6197         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6198         link test.
6199         * configure: Regenerated.
6201 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6203         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6204         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6205         conformtest.pl
6207 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
6209         * NOTES: Remove.
6210         * Makefile (files-for-dist): Remove NOTES.
6211         (NOTES): Remove rule.
6212         * README: Don't refer to NOTES.
6213         * manual/creature.texi: Don't include macros.texi.
6214         * manual/intro.texi (creature.texi): Remove comment referring to
6215         NOTES.
6217         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6218         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6219         * configure: Regenerated.
6220         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6221         LIBC_TRY_CC_OPTION.
6222         (libc_cv_as_i686): Likewise.
6223         (libc_cv_cc_avx): Likewise.
6224         (libc_cv_cc_sse2avx): Likewise.
6225         (libc_cv_cc_fma4): Likewise.
6226         (libc_cv_cc_novzeroupper): Likewise.
6227         * sysdeps/i386/configure: Regenerated.
6229         [BZ #13883]
6230         * sysdeps/i386/fpu/s_cexp.S: Remove.
6231         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6232         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6233         * math/libm-test.inc (cexp_test): Add more tests.
6234         * sysdeps/i386/fpu/libm-test-ulps: Update.
6235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6237 2012-03-21  Allan McRae  <allan@archlinux.org>
6239         * timezone/Makefile: Do not install iso3166.tab and zone.tab
6241 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
6243         [BZ #13871]
6244         * math/w_exp2.c: Do not include <float.h>.
6245         (o_threshold, u_threshold): Remove.
6246         (__exp2): Calculate result before checking finiteness and calling
6247         __kernel_standard.
6248         * math/w_exp2f.c: Likewise.
6249         * math/w_exp2l.c: Likewise.
6250         * math/libm-test.inc (exp2_test): Require overflow exception for
6251         1e6 input.
6253         [BZ #3866]
6254         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6255         range of signed 64-bit integers before using fistpll.  Remove
6256         checks for whether integers fit in mantissa bits.
6257         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6258         the range of signed 32-bit integers before using fistpl.  Remove
6259         checks for whether integers fit in mantissa bits.
6260         * sysdeps/i386/fpu/e_powl.S (p64): New object.
6261         (__ieee754_powl): Test for y outside the range of signed 64-bit
6262         integers before using fistpll.  Reduce 64-bit values to 63-bit
6263         ones as needed.
6264         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6265         divide-by-zero is raised for zero to large negative powers.
6266         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6267         (__ieee754_powl): Test for y outside the range of signed 64-bit
6268         integers before using fistpll.  Reduce 64-bit values to 63-bit
6269         ones as needed.
6270         * math/libm-test.inc (pow_test): Add more tests.
6272 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6274         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6275         <stdio-common/_itoa.h>.
6276         * debug/segfault.c: Likewise.
6277         * elf/dl-cache.c: Likewise.
6278         * elf/dl-minimal.c: Likewise.
6279         * elf/dl-misc.c: Likewise.
6280         * elf/dl-sysdep.c: Likewise.
6281         * elf/dl-version.c: Likewise.
6282         * elf/rtld.c: Likewise.
6283         * hurd/hurdsock.c: Likewise.
6284         * hurd/lookup-retry.c: Likewise.
6285         * malloc/malloc.c: Likewise.
6286         * malloc/mtrace.c: Likewise.
6287         * nscd/nscd_getgr_r.c: Likewise.
6288         * nscd/nscd_getpw_r.c: Likewise.
6289         * nscd/nscd_getserv_r.c: Likewise.
6290         * posix/getopt_init.c: Likewise.
6291         * posix/wordexp.c: Likewise.
6292         * stdio-common/_itoa.c: Likewise.
6293         * stdio-common/printf_fphex.c: Likewise.
6294         * stdio-common/vfprintf.c: Likewise.
6295         * string/_strerror.c: Likewise.
6296         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6297         * sysdeps/i386/i686/hp-timing.h: Likewise.
6298         * sysdeps/mach/_strerror.c: Likewise.
6299         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6300         * sysdeps/mach/hurd/sethostid.c: Likewise.
6301         * sysdeps/mach/hurd/xmknodat.c: Likewise.
6302         * sysdeps/mach/xpg-strerror.c: Likewise.
6303         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6304         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6305         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6306         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6307         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6308         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6309         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6310         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6311         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6312         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6313         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6314         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6315         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6316         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6317         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6318         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6319         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6320         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6321         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6322         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6323         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6325         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6327         * stdio-common/_itoa.h: Moved to ...
6328         * sysdeps/generic/_itoa.h: Here.
6330         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6332         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6333         instead of "_itoa.h" and "_itowa.h".
6334         * stdio-common/vfprintf.: Likewise.
6336 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6338         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6339         <bits/wordsize.h>.
6340         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6341         (__signbit): Likwise.
6342         (llrintf): Likwise.
6343         (llrint): Likwise.
6345 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6347         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6348         __WORDSIZE != 64.
6350 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
6352         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6353         OVERFLOW_EXCEPTION_OK.
6354         * math/libm-test.inc ("Philosophy"): Update comment about
6355         exception testing.
6356         (OVERFLOW_EXCEPTION): Define.
6357         (OVERFLOW_EXCEPTION_OK): Likewise.
6358         (INVALID_EXCEPTION_OK): Renumber.
6359         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6360         (IGNORE_ZERO_INF_SIGN): Likewise.
6361         (test_exceptions): Handle FE_OVERFLOW.
6362         (exp10_test): Expect overflow exceptions.
6363         (exp2_test): Likewise.
6364         (expm1_test): Likewise.
6365         (nextafter_test): Likewise.
6366         (pow_test): Likewise.
6367         (scalbn_test): Likewise.
6368         (scalbln_test): Likewise.
6370 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6372         * sysdeps/x86_64/bits/atomic.h
6373         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6374         64bit integer.
6375         (atomic_exchange_acq): Likewise.
6376         (__arch_exchange_and_add_body): Likewise.
6377         (__arch_add_body): Likewise.
6378         (atomic_add_negative): Likewise.
6379         (atomic_add_zero): Likewise.
6381 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6383         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6384         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6386 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6388         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6389         Check __x86_64__ instead of __WORDSIZE.
6391 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6393         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6395 2012-03-19  David S. Miller  <davem@davemloft.net>
6397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6399         * sysdeps/sparc/fpu/fenv_private.h: New file.
6400         * sysdeps/sparc/fpu/math_private.h: Use it.
6401         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6402         Remove.
6403         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6404         (libc_feholdexcept_setroundl): Remove.
6405         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6406         Remove.
6407         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6408         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6410 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6412         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6413         int64_t instead of long int.
6414         (INSERT_WORDS64): Likwise.
6416 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6418         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6419         _Unwind_GetCFA return to _Unwind_Ptr first.
6421 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
6423         [BZ #13629]
6424         * math/s_clog.c: Include <float.h>.
6425         (__clog): Scale large or subnormal inputs.
6426         * math/s_clogf.c: Likewise.
6427         * math/s_clogl.c: Likewise.
6428         * math/s_clog10.c: Include <float.h>.
6429         (M_LOG10_2): Define.
6430         (__clog10): Scale large or subnormal inputs.
6431         * math/s_clog10f.c: Likewise.
6432         * math/s_clog10l.c: Likewise.
6433         * math/libm-test.inc (clog_test): Add more tests.
6434         (clog10_test): Likewise.
6435         * sysdeps/i386/fpu/libm-test-ulps: Update.
6436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6438         [BZ #11451]
6439         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6440         x and y.
6441         * math/libm-test.inc (atan2_test): Add another test.
6443         * Makerules (common-objdir-compile): Remove.
6444         * sysdeps/unix/Makefile (config-generated): Do not add
6445         $(unix-generated) to variable.
6446         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6447         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6448         Remove rule.
6449         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6450         Likewise.
6451         [generic bits/local_lim.h] (before-compile): Do not append to
6452         variable.
6453         [generic bits/local_lim.h] (common-generated): Likewise.
6454         [generic sys/param.h] (before-compile): Do not append to variable.
6455         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6456         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6457         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6458         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6459         include.
6460         [generic sys/param.h] (sys/param.h-includes): Remove variable.
6461         [generic sys/param.h] (sys/param.h-includes): Remove rule.
6462         [generic sys/param.h] ($(addprefix
6463         $(common-objpfx),$(sys/param.h-includes))): Likewise.
6464         [generic sys/param.h] (common-generated): Do not append to
6465         variable.
6466         [generic sys/param.h] (sysdep_headers): Likewise.
6467         [generic bits/errno.h] (before-compile): Do not append to
6468         variable.
6469         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6470         rule.
6471         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6472         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6473         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6474         [generic bits/errno.h] (common-generated): Do not append to
6475         variable.
6476         [generic bits/ioctls.h] (before-compile): Do not append to
6477         variable.
6478         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6479         rule.
6480         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6481         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6482         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6483         rule.
6484         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6485         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6486         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6487         [generic bits/ioctls.h] (common-generated): Do not append to
6488         variable.
6489         [generic sys/syscall.h] (syscall.h): Remove variable.
6490         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6491         rule.
6492         [generic sys/syscall.h] (before-compile): Do not append to
6493         variable.
6494         [generic sys/syscall.h] (common-generated): Likewise.
6495         * sysdeps/unix/errnos-tmpl.c: Remove file.
6496         * sysdeps/unix/errnos.awk: Likewise.
6497         * sysdeps/unix/ioctls-tmpl.c: Likewise.
6498         * sysdeps/unix/ioctls.awk: Likewise.
6499         * sysdeps/unix/mk-local_lim.c: Likewise.
6500         * sysdeps/unix/snarf-ioctls: Likewise.
6502 2012-03-19  Richard Henderson  <rth@twiddle.net>
6504         * sysdeps/i386/fpu/fenv_private.h: New file.
6505         * sysdeps/i386/fpu/math_private.h: Use it.
6506         (math_opt_barrier, math_force_eval): Remove.
6507         (libc_feholdexcept_setround_53bit): Remove.
6508         (libc_feupdateenv_53bit): Remove.
6509         * sysdeps/x86_64/fpu/math_private.h: Likewise.
6510         (math_opt_barrier, math_force_eval): Remove.
6511         (libc_feholdexcept): Remove.
6512         (libc_feholdexcept_setround): Remove.
6513         (libc_fetestexcept, libc_fesetenv): Remove.
6514         (libc_feupdateenv_test): Remove.
6515         (libc_feupdateenv, libc_feholdsetround): Remove.
6516         (libc_feresetround): Remove.
6518         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6519         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6521         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6522         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6523         (libc_feupdateenv_testl): New.
6524         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6525         (libc_feupdateenv_testf): New.
6526         (libc_feupdateenv): Use libc_feupdateenv_test.
6527         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6528         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6530         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6531         (libc_feholdsetroundf, libc_feholdsetroundl): New.
6532         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6533         (libc_feresetround_noex): New.
6534         (libc_feresetround_noexf): New.
6535         (libc_feresetround_noexl): New.
6536         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6537         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6538         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6539         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6540         SET_RESTORE_ROUND.
6541         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6542         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6543         (__cos): Likewise.
6544         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6545         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6546         SET_RESTORE_ROUND_NOEX.
6547         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6548         SET_RESTORE_ROUND_NOEXF.
6549         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6550         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6551         (libc_feholdsetroundf): New.
6552         (libc_feresetround, libc_feresetroundf): New.
6554         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6555         (libc_feholdexcept_setround_53bit): Convert from macro to function.
6556         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
6558         * sysdeps/generic/math_private.h: Include <fenv.h>.
6559         (default_libc_feholdexcept): New.
6560         (default_libc_feholdexcept_setround): New.
6561         (default_libc_fesetenv, default_libc_feupdateenv): New.
6562         (libc_feholdexcept): Only define if undefined.
6563         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6564         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6565         (libc_feholdexcept_setroundl): Likewise.
6566         (libc_feholdexcept_setround_53bit): Likewise.
6567         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6568         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6569         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6570         (libc_feupdateenv_53bit): Likewise.
6571         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6572         (libc_feholdexcept): Convert from macro to inline function.
6573         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6574         (libc_fesetenv, libc_feupdateenv): Likewise.
6576         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6577         not previously defined.
6578         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6579         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6580         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6581         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6582         * sysdeps/ieee754/flt-32/math_private.h: New file.
6583         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6584         math_private.h below SET_FLOAT_WORD.
6585         (__isnan, __isinf_ns, __finite): Remove.
6586         (__isnanf, __isinf_nsf, __finitef): Remove.
6588 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
6590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6592 2012-03-17  David S. Miller  <davem@davemloft.net>
6594         [BZ #6471]
6595         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6596         for 2.16.
6598 2012-03-16  David S. Miller  <davem@davemloft.net>
6600         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6601         warnings.
6603         [BZ #6471]
6604         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6605         properly.
6606         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6607         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6608         sysdep_routines when subdir is sysvipc.
6609         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6610         __getshmlba helper.
6612         * sysdeps/sparc/fpu/libm-test/ulps: Update.
6614 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6616         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6617         [__LP64__].
6619 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6621         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6622         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6623         (__lround): Renamed to ...
6624         (__llround): This.  Replace long int with long long int.
6625         Define lround functions as aliases of llround functions.
6626         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6628 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6630         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6631         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
6632         adresses to uintptr_t.  Replace "long int" and "unsigned long
6633         int" with "greg_t" on va_arg.
6635 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6637         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6638         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6640         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6641         Move e_machine check before EI_CLASS check.  Handle x32
6642         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6643         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6644         SKIP_EM_IA_64 and include
6645         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6647         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6648         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6649         (add_system_dir): New macro.
6651         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6652         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6654 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
6656         [BZ #2551]
6657         [BZ #2552]
6658         [BZ #2553]
6659         [BZ #2554]
6660         [BZ #2562]
6661         [BZ #2563]
6662         [BZ #2565]
6663         [BZ #2566]
6664         [BZ #2576]
6665         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6666         (y0): Likewise.
6667         * math/w_j0f.c (j0f): Likewise.
6668         (y0f): Likewise.
6669         * math/w_j0l.c (__j0l): Likewise.
6670         (__y0l): Likewise.
6671         * math/w_j1.c (j1): Likewise.
6672         (y1): Likewise.
6673         * math/w_j1f.c (j1f): Likewise.
6674         (y1f): Likewise.
6675         * math/w_j1l.c (__j1l): Likewise.
6676         (__y1l): Likewise.
6677         * math/w_jn.c (jn): Likewise.
6678         (yn): Likewise.
6679         * math/w_jnf.c (jnf): Likewise.
6680         (ynf): Likewise.
6681         * math/w_jnl.c (__jnl): Likewise.
6682         (__ynl): Likewise.
6683         * math/libm-test.inc (j0_test): Add more tests.
6684         (j1_test): Likewise.
6685         (jn_test): Likewise.  Add trailing semicolon to existing test.
6686         (y0_test): Likewise.
6687         (y1_test): Likewise.
6688         * sysdeps/i386/fpu/libm-test-ulps: Update.
6689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6691         [BZ #13851]
6692         [BZ #13854]
6693         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6694         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6695         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6696         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6697         (__tanl): Set errno for infinite argument.
6698         * sysdeps/i386/fpu/mptan.c: Remove.
6699         * sysdeps/i386/fpu/s_tan.S: Likewise.
6700         * sysdeps/i386/fpu/s_tanl.S: Likewise.
6701         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6702         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6703         * math/libm-test.inc (tan_test): Add more tests and enable more
6704         tests for double and long double.
6705         * sysdeps/i386/fpu/libm-test-ulps: Update.
6706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6708 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6710         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6711         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6713 2012-03-16  Roland McGrath  <roland@hack.frob.com>
6715         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6716         * configure.in: Use it for both main tree and add-ons.
6717         * configure: Regenerated.
6719 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6721         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6723 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
6725         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6726         in comment.
6728         [BZ #13851]
6729         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6730         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6731         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6732         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6733         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6734         infinite argument.
6735         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6736         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6737         != 0 for prec == 2.
6738         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6739         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6740         * sysdeps/i386/fpu/s_cosl.S: Likewise.
6741         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6742         * sysdeps/i386/fpu/s_sinl.S: Likewise.
6743         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6744         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6745         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6746         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6747         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6748         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6749         * math/libm-test.inc (cos_test): Add more tests and enable more
6750         tests for long double.
6751         (sin_test): Likewise.
6752         (sincos_test): Likewise.
6753         * sysdeps/i386/fpu/libm-test-ulps: Update.
6754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6756 2012-03-16  David S. Miller  <davem@davemloft.net>
6758         * sysdeps/sparc/fpu/math_private.h: New file.
6760 2012-03-15  David S. Miller  <davem@davemloft.net>
6762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6763         file.
6764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6766         file.
6767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6768         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6769         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6770         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6771         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6772         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6773         sysdep routines.
6774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6776         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6777         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6779         * sysdeps/sparc/sparc-ifunc.h: New file.
6780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6781         sparc-ifunc.h
6782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6784         Likewise.
6785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6786         Likewise.
6787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6791         Likewise.
6792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6797         Likewise.
6798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6799         Likewise.
6800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6804         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6805         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6806         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6807         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6811         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6812         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6813         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6814         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6815         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6816         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6817         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6818         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6819         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6820         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6821         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6822         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6823         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6825 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
6827         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6828         scaling.
6829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6831 2012-03-15  Andreas Jaeger  <aj@suse.de>
6833         [BZ #13852]
6834         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6835         ieee754/flt-32 implementation for sin, cos and sincos.
6836         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6837         * sysdeps/i386/fpu/s_cosf.S: Likewise.
6838         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6839         * sysdeps/i386/fpu/s_sinf.S: Likewise.
6840         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6841         ieee754/flt-32 implementation for tan.
6843         * math/libm-test.inc (cos_test): Enable some large input tests for
6844         float as well
6845         (sin_test): Likewise.
6846         (sincos_test): Likewise.
6847         (tan_test): Add tests for large input.
6849         * sysdeps/i386/fpu/libm-test-ulps: Update.
6851 2012-03-15  Andreas Jaeger  <aj@suse.de>
6853         [BZ #13658]
6854         * math/libm-test.inc (cos_test): Add more test cases.
6855         (sin_test): Likewise.
6856         (sincos_test): Likewise.
6858 2012-03-15  Andreas Jaeger  <aj@suse.de>
6860         [BZ #13837]
6861         * math/libm-test.inc (cos_test): Add a test case for large input
6862         value.
6863         (sin_test): Likewise.
6864         (sincos_test): Likewise.
6866 2012-03-15  Andreas Jaeger  <aj@suse.de>,
6867         Joseph Myers  <joseph@codesourcery.com>
6869         [BZ #13658]
6870         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6871         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6872         * sysdeps/i386/fpu/branred.c: Likewise.
6873         * sysdeps/i386/fpu/dosincos.c: Likewise.
6874         * sysdeps/i386/fpu/mpa.c: Likewise.
6875         * sysdeps/i386/fpu/s_cos.S: Likewise.
6876         * sysdeps/i386/fpu/s_sin.S: Likewise.
6877         * sysdeps/i386/fpu/s_sincos.S: Likewise.
6878         * sysdeps/i386/fpu/sincos32.c: Likewise.
6880         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6881         Define.
6882         (libc_feupdateenv_53bit): Define.
6883         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6884         Define.
6885         (libc_feupdateenv_53bit): Define.
6887         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6888         53 bit (without extend i386 double precision).
6890         * math/libm-test.inc (sincos_test): Add tests for large input.
6891         (sin): Likewise.
6892         (cos): Likewise.
6894         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6896 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
6898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6900 2012-03-15  David S. Miller  <davem@davemloft.net>
6902         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6903         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6904         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6905         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6912         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6913         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6914         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6915         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6916         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6918         file.
6919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6921         file.
6922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6924         file.
6925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6927         file.
6928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6929         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6930         fmin/fmax sysdep routines.
6931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6933 2012-03-14  David S. Miller  <davem@davemloft.net>
6935         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6936         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6937         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6938         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6939         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6940         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6941         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6942         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6946         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6947         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6948         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6949         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6950         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6951         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6952         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6953         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6954         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6955         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6956         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6957         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6958         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6959         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6960         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6961         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6962         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6963         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6964         routines.
6965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6966         file.
6967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6969         file.
6970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6972         file.
6973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6975         file.
6976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6978         file.
6979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6981         file.
6982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6983         file.
6984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6985         file.
6986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6987         file.
6988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6989         New file.
6990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6991         file.
6992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6993         file.
6994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6996         file.
6997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6999         file.
7000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7002         file.
7003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7005         VIS3 routines.
7007         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7008         New file.
7010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7012         * sysdeps/sparc/configure.in: New file.
7013         * sysdeps/sparc/configure: Generate.
7014         * configure.in (libc_cv_sparc_as_vis3): Substitute.
7015         * configure: Regenerate.
7016         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7017         * config.make.in (have-as-vis3): New.
7018         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7019         available use -Av9d instead of -Av9a.
7020         * sysdeps/sparc/sparc64/Makefile: Likewise.
7021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7023         New file.
7024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7025         file.
7026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7027         New file.
7028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7029         file.
7030         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7031         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7032         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7033         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7034         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7036         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7037         fzeros/fnegs to load 0x80000000 into a float register instead of
7038         using the stack.
7039         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7041 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
7043         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7044         bits/syscall.h.
7045         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7046         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7047         ($(inst_includedir)/bits/syscall.h): Remove rule.
7048         ($(objpfx)bits/syscall.d): Include instead of
7049         $(objpfx)syscall-list.d.
7050         (generated): Change syscall-list.h and syscall-list.d to
7051         bits/syscall.h and bits/syscall.d.
7053 2012-03-14  Roland McGrath  <roland@hack.frob.com>
7055         [BZ #13846]
7056         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7058 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
7060         [BZ #13841]
7061         * math/s_csqrt.c: Include <float.h>.
7062         (__csqrt): Scale large or subnormal inputs.
7063         * math/s_csqrtf.c: Likewise.
7064         * math/s_csqrtl.c: Likewise.
7065         * math/libm-test.inc (csqrt_test): Add more tests.
7066         * sysdeps/i386/fpu/libm-test-ulps: Update.
7067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7069         [BZ #13840]
7070         * math/libm-test.inc (hypot_test): Add more tests.
7072 2012-03-13  David S. Miller  <davem@davemloft.net>
7074         [BZ #13840]
7075         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7076         double-precision for the calculation instead of scaling.
7078 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
7080         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7081         manipulate bits before adding and subtracting TWO52[sx].
7082         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7083         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7084         Likewise.
7085         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7087 2012-03-13  David S. Miller  <davem@davemloft.net>
7089         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7090         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7091         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7092         rtld-global-offsets.h
7093         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7095         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7096         large parameters.
7098         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7100         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7101         'err' in the ifdef scope in which it is actually used.
7103         * nss/nss_db/db-init.c: Include string.h
7105 2012-03-12  David S. Miller  <davem@davemloft.net>
7107         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7108         masking out of the most significant byte of random value used.
7109         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7110         Fix coding style in previous change.
7112         * sysdeps/unix/sysv/linux/kernel-features.h
7113         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7114         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7115         expression.
7116         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7117         later.
7119 2012-03-11  David S. Miller  <davem@davemloft.net>
7121         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7122         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7123         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7124         for 'resultvar' otherwise things get truncated on 64-bit.
7126         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7127         Fix masking out of the most significant byte of random value used.
7129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7131 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
7133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7135 2012-03-09  David S. Miller  <davem@davemloft.net>
7137         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7138         variables with appropriate CPP guards.
7139         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7140         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
7141         on resulting framesize and the management of the outregs buffer for pltexit.
7142         Preserve floating point return values across _dl_call_pltexit call.
7143         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7144         framesize and the management of the outregs buffer for pltexit.
7145         Preserve floating point return values across _dl_call_pltexit
7146         call.
7147         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7148         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7149         (print_exit): Fix format string for return register value.
7151 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
7153         * sunrpc/Makefile (others): Add rpcgen.
7154         ($(objpfx)rpcgen): Remove special build rule and dependency on
7155         libc.
7156         * sunrpc/rpcgen.c: New file.
7158 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
7160         [BZ #13673]
7161         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7162         * stdio-common/bug-vfprintf-nargs.c: Likewise.
7163         * sysdeps/i386/crti.S: Likewise.
7164         * sysdeps/i386/crtn.S: Likewise.
7165         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7166         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7167         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7168         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7169         * sysdeps/sh/crti.S: Likewise.
7170         * sysdeps/sh/crtn.S: Likewise.
7171         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7173         [BZ #13673]
7174         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7175         with URL.
7176         * locale/programs/locfile-kw.gperf: Likewise.
7177         * locale/programs/charmap-kw.h: Regenerated.
7178         * locale/programs/locfile-kw.h: Likewise.
7180         [BZ #13673]
7181         * intl/plural.y: Replace FSF snail mail address with URL.
7182         * intl/plural.c: Regenerated.
7184 2012-03-09  Richard Henderson  <rth@twiddle.net>
7186         * include/math_private.h: Remove file.
7187         * math/math_private.h: Move file ...
7188         * sysdeps/generic/math_private.h: ... here.
7190         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7191         * sysdeps/powerpc/fpu/math_private.h: Likewise.
7192         * sysdeps/x86_64/fpu/math_private.h: Likewise.
7194         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7195         and <math_private.h>.
7196         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7197         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7198         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7199         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7200         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7201         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7202         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7203         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7204         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7205         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7206         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7207         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7208         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7209         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7210         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7211         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7212         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7213         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7214         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7215         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7216         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7217         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7218         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7219         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7220         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7221         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7222         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7223         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7224         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7225         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7226         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7227         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7228         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7229         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7230         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7231         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7232         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7233         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7234         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7235         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7236         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7237         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7238         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7239         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7240         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7241         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7242         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7243         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7244         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7245         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7246         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7247         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7248         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7249         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7250         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7251         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7252         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7253         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7254         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7255         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7256         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7257         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7258         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7259         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7260         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7261         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7262         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7263         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7264         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7265         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7266         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7267         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7268         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7269         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7270         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7271         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7272         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7273         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7274         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7275         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7276         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7277         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7278         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7279         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7280         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7281         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7282         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7283         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7284         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7285         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7286         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7287         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7288         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7289         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7290         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7291         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7292         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7293         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7294         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7295         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7296         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7297         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7298         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7299         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7300         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7301         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7302         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7303         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7304         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7305         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7306         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7307         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7308         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7309         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7310         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7311         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7312         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7313         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7314         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7315         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7316         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7317         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7318         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7319         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7320         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7321         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7322         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7323         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7324         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7325         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7326         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7327         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7328         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7329         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7330         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7331         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7332         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7333         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7334         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7335         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7336         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7337         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7338         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7339         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7340         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7341         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7342         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7343         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7344         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7345         * sysdeps/ieee754/k_standard.c: Likewise.
7346         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7347         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7348         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7349         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7350         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7351         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7352         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7353         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7354         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7355         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7356         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7357         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7358         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7359         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7360         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7361         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7362         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7363         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7364         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7365         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7366         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7367         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7368         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7369         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7370         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7371         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7372         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7373         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7374         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7375         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7376         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7377         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7378         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7379         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7380         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7381         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7382         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7383         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7384         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7385         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7386         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7387         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7388         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7389         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7390         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7391         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7392         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7393         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7394         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7395         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7396         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7397         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7398         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7399         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7400         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7401         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7402         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7403         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7404         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7405         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7406         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7407         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7408         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7409         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7410         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7411         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7412         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7413         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7414         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7415         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7416         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7417         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7418         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7419         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7420         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7421         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7422         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7423         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7424         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7425         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7426         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7427         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7428         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7429         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7430         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7431         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7432         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7433         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7434         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7435         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7436         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7437         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7438         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7439         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7440         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7441         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7442         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7443         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7444         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7445         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7446         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7447         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7448         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7449         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7450         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7451         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7452         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7453         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7454         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7455         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7456         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7457         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7458         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7459         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7460         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7461         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7462         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7463         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7464         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7465         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7466         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7467         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7468         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7469         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7470         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7471         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7472         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7473         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7474         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7475         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7476         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7477         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7478         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7479         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7480         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7481         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7482         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7483         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7484         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7485         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7486         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7487         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7488         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7489         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7490         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7491         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7492         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7493         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7494         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7495         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7496         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7497         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7498         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7499         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7500         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7501         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7502         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7503         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7504         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7505         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7506         * sysdeps/ieee754/s_lib_version.c: Likewise.
7507         * sysdeps/ieee754/s_matherr.c: Likewise.
7508         * sysdeps/ieee754/s_signgam.c: Likewise.
7509         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7510         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7511         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7512         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7513         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7514         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7515         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7516         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7517         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7518         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7519         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7520         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7521         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7522         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7523         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7524         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7525         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7526         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7527         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7528         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7529         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7531 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
7533         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7534         * sunrpc/rpc_main.c: Likewise.
7535         * sunrpc/rpc_svcout.c: Likewise.
7537 2012-03-09  David S. Miller  <davem@davemloft.net>
7539         * include/math_private.h: New file.
7541 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
7543         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7544         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7545         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7546         from <bits/socket_type.h>.
7547         (enum __socket_type): Don't define here.
7548         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7549         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7550         bits/socket_type.h.
7552         [BZ #13566]
7553         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7554         checking __USE_GNU.
7556         * Makerules ($(inst_includedir)/%.h): New rule.
7557         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7558         (install-others): Remove variable setting.
7559         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7561 2012-03-08  Richard Henderson  <rth@twiddle.net>
7563         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7564         from macro to inline function; merge with the
7565         !__LIBC_INTERNAL_MATH_INLINES version.
7566         (__ieee754_sqrtf): Likewise.
7568         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7569         to inline function.
7570         (__rintf, __floor, __floorf): Likewise.
7572         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7573         macro to inline function.
7574         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7576         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7577         not <math/math_private.h>.
7579 2012-03-08  David S. Miller  <davem@davemloft.net>
7581         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7582         copyright year.
7583         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7585 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
7587         * resolv/gai_misc.c (handle_requests): Fix struct timespec
7588         normalization.
7589         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7590         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7592 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
7594         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
7595         be defined individually, they must be defined as a block.  Define
7596         S for printing a string instead of hidint the different by using a
7597         macro for adding the 'l'.
7598         * stdio-common/tst-fphex-wide.c: Adjust.
7600 2012-03-07  Marek Polacek  <polacek@redhat.com>
7602         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7604 2012-03-08  Marek Polacek  <polacek@redhat.com>
7606         [BZ #13806]
7607         * stdio-common/Makefile (tests): Add tst-fphex-wide.
7608         * stdio-common/tst-fphex.c: Define a few macros to make the
7609         test reusable.  Use them.
7610         * stdio-common/tst-fphex-wide.c: New file.
7612 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
7614         [BZ #6911]
7615         * manual/macros.texi (gnusystems): New macro.
7616         (nongnusystems): Likewise.
7617         (gnulinuxhurdsystems): Likewise.
7618         (gnuhurdsystems): Likewise..
7619         (gnulinuxsystems): Likewise.
7620         * manual/charset.texi: Use new macros or @theglibc{} to refer to
7621         variants of the GNU system, not "GNU system".
7622         * manual/conf.texi: Likewise.
7623         * manual/errno.texi: Likewise.  Update example of errno macro
7624         expansion.
7625         * manual/filesys.texi: Likewise.
7626         (getumask): Document as specific to GNU/Hurd.
7627         * manual/install.texi: Likewise.  Reword some references to
7628         GNU/Linux.
7629         * manual/intro.texi: Likewise.
7630         * manual/io.texi: Likewise.
7631         (File Name Portability): Detail which constraints are inapplicable
7632         to all GNU systems and which are only inapplicable to GNU/Hurd.
7633         * manual/job.texi: Likewise.
7634         * manual/llio.texi: Likewise.
7635         (O_NOCTTY): Document as present on GNU/Linux.
7636         * manual/maint.texi: Likewise.
7637         * manual/memory.texi: Likewise.
7638         * manual/pattern.texi: Likewise.
7639         * manual/pipe.texi: Likewise.
7640         * manual/process.texi: Likewise.
7641         * manual/resource.texi: Likewise.
7642         (RUSAGE_CHILDREN): Remove statement about specifying a particular
7643         child on GNU/Hurd.
7644         * manual/setjmp.texi: Likewise.
7645         * manual/signal.texi: Likewise.
7646         * manual/startup.texi: Likewise.
7647         * manual/stdio.texi: Likewise.
7648         * manual/terminal.texi: Likewise.
7649         (ONLCR): Document as POSIX.
7650         (OXTABS): Document availability on GNU/Linux as XTABS.
7651         (ONOEOT): Document availability separately from other bits.
7652         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7653         * manual/time.texi: Likewise.
7654         * manual/users.texi: Likewise.
7655         * INSTALL: Regenerated.
7656         * sysdeps/gnu/errlist.c: Regenerated.
7658         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7659         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7660         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
7661         puts.
7662         * configure: Regenerated.
7664 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
7666         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7667         default includes instead of AC_HEADER_CHECK.
7668         * sysdeps/i386/configure: Regenerated.
7670         [BZ #10716]
7671         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7672         * math/s_cacoshf.c (__cacoshf): Likewise.
7673         * math/s_cacoshl.c (__cacoshl): Likewise.
7674         * math/s_casinh.c (__casinh): Set signs of result from argument.
7675         * math/s_casinhf.c (__casinhf): Likewise.
7676         * math/s_casinhl.c (__casinhl): Likewise.
7677         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7678         (casinh_test): Add more tests.
7679         * sysdeps/i386/fpu/libm-test-ulps: Update.
7680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7682 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
7684         * po/zh_TW.po: Update from translation team.
7686         * login/Makefile (distribute): Remove variable.
7687         * catgets/Makefile: Likewise.
7688         * mach/Makefile: Likewise.
7689         * malloc/Makefile: Likewise.
7690         * misc/Makefile: Likewise.
7691         * iconv/Makefile: Likewise.
7692         * nscd/Makefile: Likewise.
7693         * hurd/Makefile: Likewise.
7694         * manual/Makefile: Likewise.
7695         * locale/Makefile: Likewise.
7696         * intl/Makefile: Likewise.
7697         * conform/Makefile: Likewise.
7698         * nss/Makefile: Likewise.
7699         * time/Makefile: Likewise.
7700         * soft-fp/Makefile: Likewise.
7701         * dirent/Makefile: Likewise.
7702         * gmon/Makefile: Likewise.
7703         * po/Makefile: Likewise.
7704         * rt/Makefile: Likewise.
7705         * socket/Makefile: Likewise.
7706         * math/Makefile: Likewise.
7707         * signal/Makefile: Likewise.
7708         * debug/Makefile: Likewise.
7709         * elf/Makefile: Likewise.
7710         * timezone/Makefile: Likewise.
7711         * stdlib/Makefile: Likewise.
7712         * iconvdata/Makefile: Likewise.
7713         * sunrpc/Makefile: Likewise.
7714         * io/Makefile: Likewise.
7715         * argp/Makefile: Likewise.
7716         * inet/Makefile: Likewise.
7717         * hesiod/Makefile: Likewise.
7718         * grp/Makefile: Likewise.
7719         * csu/Makefile: Likewise.
7720         * wctype/Makefile: Likewise.
7721         * crypt/Makefile: Likewise.
7722         * libio/Makefile: Likewise.
7723         * string/Makefile: Likewise.
7724         * nis/Makefile: Likewise.
7725         * resolv/Makefile: Likewise.
7726         * stdio-common/Makefile: Likewise.
7727         * wcsmbs/Makefile: Likewise.
7728         * dlfcn/Makefile: Likewise.
7729         * posix/Makefile: Likewise.
7731         [BZ #6959]
7732         * timezone/Makefile: Don't install timezone files, just the programs
7733         and scripts.
7735 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
7737         * nss/databases.def: Add missing gshadow entry.
7739         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
7741 2012-03-06  Marek Polacek  <polacek@redhat.com>
7743         [BZ #13726]
7744         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7745         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7746         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7747         * stdio-common/tst-long-dbl-fphex.c: New file.
7749 2012-03-06  David S. Miller  <davem@davemloft.net>
7751         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7752         (set_obp_int): New function.
7753         (get_obp_int): New function.
7754         (__get_clockfreq_via_dev_openprom): Likewise.
7755         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7756         Avoid unused variable warnings on 'val' and use builtin_expect.
7757         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7758         __builtin_expect.
7759         (INLINE_CLONE_SYSCALL): Likewise.
7761 2012-03-05  David S. Miller  <davem@davemloft.net>
7763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7765 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
7767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7769         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7770         only for |x| >= 40.
7771         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7773 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7775         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7776         Replace gettimeofday with __vdso_gettimeofday.
7778         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7779         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7780         __vdso_clock_gettime and __vdso_getcpu.
7782         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7783         time with __vdso_time.
7785 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
7787         * manual/lang.texi (size_t): Note types to which size_t may be
7788         equivalent with the GNU C Library, but do not describe when
7789         differences between them are significant.
7791 2012-03-05  Andreas Jaeger  <aj@suse.de>
7793         * sysdeps/i386/fpu/libm-test-ulps: Update.
7795 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
7797         [BZ #3976]
7798         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7799         (__ieee754_pow): Save and restore rounding mode and use
7800         round-to-nearest for main computations.
7801         * math/libm-test.inc (pow_test_tonearest): New function.
7802         (pow_test_towardzero): Likewise.
7803         (pow_test_downward): Likewise.
7804         (pow_test_upward): Likewise.
7805         (main): Call the new functions.
7806         * sysdeps/i386/fpu/libm-test-ulps: Update.
7807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7809         [BZ #3976]
7810         * math/libm-test.inc (cosh_test_tonearest): New function.
7811         (cosh_test_towardzero): Likewise.
7812         (cosh_test_downward): Likewise.
7813         (cosh_test_upward): Likewise.
7814         (sinh_test_tonearest): Likewise.
7815         (sinh_test_towardzero): Likewise.
7816         (sinh_test_downward): Likewise.
7817         (sinh_test_upward): Likewise.
7818         (main): Call the new functions.
7819         * sysdeps/i386/fpu/libm-test-ulps: Update.
7820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7822 2012-03-05  Tom de Vries  <tom@codesourcery.com>
7824         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7825         default stack guard is set in last bytes.
7826         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7828 2012-03-05  Kees Cook  <keescook@chromium.org>
7830         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7832         [BZ #13656]
7833         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7834         possibly allocate from heap instead of stack.
7835         * stdio-common/bug-vfprintf-nargs.c: New file.
7836         * stdio-common/Makefile (tests): Add nargs overflow test.
7838 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
7840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7842 2012-03-03  Marek Polacek  <polacek@redhat.com>
7844         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7845         * math/math_private.h: Likewise.
7846         * stdlib/tst-strtod.c: Likewise.
7847         * sysdeps/i386/i486/bits/atomic.h: Likewise.
7848         * sysdeps/x86_64/bits/atomic.h: Likewise.
7850 2012-03-02  David S. Miller  <davem@davemloft.net>
7852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7856         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7857         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7858         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7859         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7861 2012-03-02  Roland McGrath  <roland@hack.frob.com>
7863         [BZ #13792]
7864         * manual/examples/README: New file, says the example source files
7865         can be used under GPL>=2.
7866         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7867         line containing just "*/".
7868         * manual/examples/add.c: Add copyright header (GPL>=2).
7869         * manual/examples/argp-ex1.c: Likewise.
7870         * manual/examples/argp-ex2.c: Likewise.
7871         * manual/examples/argp-ex3.c: Likewise.
7872         * manual/examples/argp-ex4.c: Likewise.
7873         * manual/examples/atexit.c: Likewise.
7874         * manual/examples/db.c: Likewise.
7875         * manual/examples/dir.c: Likewise.
7876         * manual/examples/dir2.c: Likewise.
7877         * manual/examples/execinfo.c: Likewise.
7878         * manual/examples/filecli.c: Likewise.
7879         * manual/examples/filesrv.c: Likewise.
7880         * manual/examples/fmtmsgexpl.c: Likewise.
7881         * manual/examples/genpass.c: Likewise.
7882         * manual/examples/inetcli.c: Likewise.
7883         * manual/examples/inetsrv.c: Likewise.
7884         * manual/examples/isockad.c: Likewise.
7885         * manual/examples/longopt.c: Likewise.
7886         * manual/examples/memopen.c: Likewise.
7887         * manual/examples/memstrm.c: Likewise.
7888         * manual/examples/mkfsock.c: Likewise.
7889         * manual/examples/mkisock.c: Likewise.
7890         * manual/examples/mygetpass.c: Likewise.
7891         * manual/examples/pipe.c: Likewise.
7892         * manual/examples/popen.c: Likewise.
7893         * manual/examples/rprintf.c: Likewise.
7894         * manual/examples/search.c: Likewise.
7895         * manual/examples/select.c: Likewise.
7896         * manual/examples/setjmp.c: Likewise.
7897         * manual/examples/sigh1.c: Likewise.
7898         * manual/examples/sigusr.c: Likewise.
7899         * manual/examples/stpcpy.c: Likewise.
7900         * manual/examples/strdupa.c: Likewise.
7901         * manual/examples/strftim.c: Likewise.
7902         * manual/examples/strncat.c: Likewise.
7903         * manual/examples/subopt.c: Likewise.
7904         * manual/examples/swapcontext.c: Likewise.
7905         * manual/examples/termios.c: Likewise.
7906         * manual/examples/testopt.c: Likewise.
7907         * manual/examples/testpass.c: Likewise.
7908         * manual/examples/timeval_subtract.c: Likewise.
7910         [BZ #13792]
7911         * manual/time.texi (Elapsed Time): Move timeval_subtract example
7912         function to ...
7913         * manual/timeval_subtract.c.texi: ... here, new file.
7915 2012-03-02  David S. Miller  <davem@davemloft.net>
7917         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7919 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
7921         [BZ #3976]
7922         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7923         (__sin): Save and restore rounding mode and use round-to-nearest
7924         for all computations.
7925         (__cos): Save and restore rounding mode and use round-to-nearest
7926         for all computations.
7927         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7928         <fenv.h>.
7929         (tan): Save and restore rounding mode and use round-to-nearest for
7930         all computations.
7931         * math/libm-test.inc (cos_test_tonearest): New function.
7932         (cos_test_towardzero): Likewise.
7933         (cos_test_downward): Likewise.
7934         (cos_test_upward): Likewise.
7935         (sin_test_tonearest): Likewise.
7936         (sin_test_towardzero): Likewise.
7937         (sin_test_downward): Likewise.
7938         (sin_test_upward): Likewise.
7939         (tan_test_tonearest): Likewise.
7940         (tan_test_towardzero): Likewise.
7941         (tan_test_downward): Likewise.
7942         (tan_test_upward): Likewise.
7943         (main): Call the new functions.
7944         * sysdeps/i386/fpu/libm-test-ulps: Update.
7945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7947         [BZ #10135]
7948         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7949         small n, then large n, before computing and testing k+n.
7950         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7951         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7952         Likewise.
7953         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7954         Likewise.
7955         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7956         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7957         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7958         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7959         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7960         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7961         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7962         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7963         * math/libm-test.inc (scalbn_test): Add more tests.
7964         (scalbln_test): Likewise.
7966         * manual/filesys.texi (mode_t): Describe constraints on size and
7967         signedness, not exact equivalence to a particular type.
7968         (ino_t): Likewise.
7969         (ino64_t): Likewise.
7970         (dev_t): Likewise.
7971         (nlink_t): Likewise.
7972         (blkcnt_t): Likewise.
7973         (blkcnt64_t): Likewise.
7974         * manual/llio.texi (off_t): Likewise.
7976         [BZ #3976]
7977         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7978         (__ieee754_exp): Save and restore rounding mode and use
7979         round-to-nearest for all computations.
7980         * math/libm-test.inc (exp_test_tonearest): New function.
7981         (exp_test_towardzero): Likewise.
7982         (exp_test_downward): Likewise.
7983         (exp_test_upward): Likewise.
7984         (main): Call the new functions.
7985         * sysdeps/i386/fpu/libm-test-ulps: Update.
7986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7988 2012-03-01  Chris Demetriou  <cgd@google.com>
7990         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7991         have predictable order.
7993 2012-03-01  David S. Miller  <davem@davemloft.net>
7995         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7997         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7998         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7999         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8000         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8002         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8003         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8004         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8006         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8007         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8008         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8009         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8010         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8014         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8015         * sysdeps/sparc/fpu/libm-test-ulps: to here.
8016         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8018         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8019         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8020         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8021         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8022         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8023         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8024         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8025         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8026         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8027         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8028         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8029         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8030         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8031         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8032         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8033         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8034         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8035         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8036         * sysdeps/sparc/elf/configure: Regenerated.
8038 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
8040         * configure.in (AS, LD): Require binutils 2.20 or later.
8041         * configure: Regenerated.
8042         * manual/install.texi (Tools for Compilation): Give binutils 2.20
8043         as required minimum version.
8044         * INSTALL: Regenerated.
8046         [BZ #2541]
8047         [BZ #4108]
8048         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8049         before squaring exponent.
8050         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8051         bottom long double and 27 bits of top long double before squaring
8052         exponent.
8053         * math/libm-test.inc (erfc_test): Add more tests.
8054         * sysdeps/i386/fpu/libm-test-ulps: Update.
8055         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8058 2012-03-01  Kai Tietz  <ktietz@redhat.com>
8060         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8061         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8062         containing bit-fields.
8063         * soft-fp/extended.h (_FP_UNION_E): Likewise.
8064         * soft-fp/single.h (_FP_UNION_S): Likewise.
8065         * soft-fp/double.h (_FP_UNION_D): Likewise.
8067 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
8069         [BZ #13786]
8070         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8071         not include ../strcmp.S.
8072         [USE_AS_STRNCASECMP_L]: Likewise.
8073         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8074         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8075         * sysdeps/i386/i686/multiarch/strncase_l-c.c
8076         (__strncasecmp_l_ia32): Define as alias to
8077         __strncasecmp_l_nonascii.
8079         [BZ #5794]
8080         * math/libm-test.inc (expm1_test): Add test for bug 5794.
8081         * sysdeps/i386/fpu/libm-test-ulps: Update.
8082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8084         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8087 2012-02-29  Jeff Law  <law@redhat.com>
8089         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8090         out of bounds read.
8092 2012-02-29  Marek Polacek  <polacek@redhat.com>
8094         [BZ #13706]
8095         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8096         * elf/Makefile: Add rules to run tst-unused-dep.out.
8098 2012-02-28  David S. Miller  <davem@davemloft.net>
8100         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8101         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8102         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8103         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8104         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8105         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8107 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
8109         * math/libm-test.inc (llround_test): Move one test from
8110         lround_test.  Use TEST_f_L in moved test.
8111         (lround_test): Move misplaced test to llround_test.  Add testcase
8112         from bug 2561.
8114 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
8116         * sysdeps/x86_64/fpu/e_expf.S: New file.
8117         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8119 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
8121         [BZ #13637]
8122         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8123         of remain_len that may cause incomplete multi-byte character and
8124         false match.
8125         * posix/bug-regex33.c: New file.
8126         * posix/Makefile (tests): Add bug-regex33.
8128 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
8130         * manual/macros.texi: New file.
8131         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8132         * manual/libc.texinfo: Include macros.texi.
8133         * manual/creatute.texi: Likewise.
8134         * manual/install.texi: Likewise.
8135         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8136         @glibcadj{} in references to the GNU C Library.
8137         * manual/charset.texi: Likewise.
8138         * manual/conf.texi: Likewise.
8139         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
8140         when not using those macros.
8141         * manual/creature.texi: Likewise.
8142         * manual/crypt.texi: Likewise.
8143         * manual/errno.texi: Likewise.
8144         * manual/filesys.texi: Likewise.
8145         * manual/header.texi: Likewise.
8146         * manual/install.texi: Likewise.
8147         * manual/intro.texi: Likewise.
8148         * manual/io.texi: Likewise.
8149         * manual/job.texi: Likewise.
8150         * manual/lang.texi: Likewise.
8151         * manual/libc.texiinfo: Likewise.
8152         * manual/llio.texi: Likewise.
8153         * manual/locale.texi: Likewise.
8154         * manual/maint.texi: Likewise.
8155         * manual/math.texi: Likewise.
8156         * manual/memory.texi: Likewise.
8157         * manual/message.texi: Likewise.
8158         * manual/nss.texi: Likewise.
8159         * manual/pattern.texi: Likewise.
8160         * manual/process.texi: Likewise.
8161         * manual/resource.texi: Likewise.
8162         * manual/search.texi: Likewise.
8163         * manual/setjmp.texi: Likewise.
8164         * manual/signal.texi: Likewise.
8165         * manual/socket.texi: Likewise.
8166         * manual/startup.texi: Likewise.
8167         * manual/stdio.texi: Likewise.
8168         * manual/string.texi: Likewise.
8169         * manual/sysinfo.texi: Likewise.
8170         * manual/syslog.texi: Likewise.
8171         * manual/terminal.texi: Likewise.
8172         * manual/time.texi: Likewise.
8173         * manual/users.texi: Likewise.
8174         * INSTALL: Regenerated.
8175         * NOTES: Regenerated.
8176         * sysdeps/gnu/errlist.c: Regenerated.
8178 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
8180         * include/dirent.h: Include <dirstream.h> before
8181         <dirent/dirent.h>.
8183 2012-02-28  David S. Miller  <davem@davemloft.net>
8185         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8186         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8187         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8188         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8190 2012-02-27  David S. Miller  <davem@davemloft.net>
8192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8194         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8195         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8198         frame pointer instead of stack pointer relative arg slot.
8199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8200         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8201         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8203 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
8205         [BZ #3992]
8206         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8208 2012-02-27  David S. Miller  <davem@davemloft.net>
8210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8214         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8215         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8216         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8217         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8219 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
8221         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8222         later.  Allow versions 5-9.
8223         * configure: Regenerated.
8224         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8225         required minimum version and 4.6 as recommended version.  Do not
8226         mention bugs in GCC 2.7 and 2.8.
8227         * INSTALL: Regenerated.
8229 2012-02-27  David S. Miller  <davem@davemloft.net>
8231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8235         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8236         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8237         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8238         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8240         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8241         manipulate bits before adding and subtracting TWO112[sx].
8242         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8244 2012-02-27  Roland McGrath  <roland@hack.frob.com>
8246         [BZ #13775]
8247         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8248         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8249         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8250         being in POSIX, because they are in 1003.1-2008.
8252         * rt/tst-aio.c: Include <fcntl.h>.
8253         * rt/tst-aio7.c: Likewise.
8254         * rt/tst-aio64.c: Likewise.
8256         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8258 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
8260         * manual/install.texi (--with-headers): Describe headers as
8261         interface headers, not private headers.
8262         (Specific advice for GNU/Linux systems): Describe use of headers
8263         from "make headers_install", not private headers from older
8264         kernels.
8265         * INSTALL: Regenerated.
8266         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8267         Change to 2.6.19.
8268         * sysdeps/unix/sysv/linux/configure: Regenerated.
8270         * manual/llio.texi (fclean): Remove documentation.
8272         * manual/Makefile (libc-texi-generated): New variable.  Include
8273         version.texi.
8274         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8275         $(libc-texi-generated), not duplicated list of files.
8276         (version.texi, stamp-version): New rules.
8277         (realclean): Remove $(libc-texi-generated), not individual files
8278         from that list.  Do not remove dir-add.texinfo.
8279         * manual/libc.texinfo: Comment out uses of edition numbers and
8280         references to printed manual.  Remove last-updated dates.
8281         (EDITION): Comment out.
8282         (ISBN): Likewise.
8283         (VERSION, UPDATED): Remove.
8284         (version.texi): Include.
8286 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
8288         * sysdeps/posix/spawni.c: Include <signal.h>.
8289         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8290         * sysdeps/pthread/aio_fsync.c: Likewise.
8292 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
8294         * conform/Makefile (tests): Run only when not cross-compiling and
8295         when fast-check is not defined.
8297         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8298         * conform/data/limits.h-data: Fixes for POSIX2008.
8299         * conform/run-conformtest.sh: Run all tests.
8300         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8301         headers.
8302         * include/bits/dlfcn.h: Likewise.
8303         * include/langinfo.h: Likewise.
8304         * include/monetary.h: Likewise.
8305         * include/sys/poll.h: Likewise.
8307         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8308         for __USE_GNU.
8309         * posix/spawn.h: Define __need_sigset_t.
8310         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8311         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8312         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
8313         to get sigevent_t only.
8314         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8315         only for __USE_GNU.
8316         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8317         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8318         process_vm_writev only for __USE_GNU.
8319         * termios/termios.h: Declare tcgetsid also for POSIX2008.
8321         * conform/Makefile: For now ignore errors from run-conformtest.
8322         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
8323         POSIX to avoid namespace pollution.  Don't prepend headers.
8324         * conform/data/aio.h-data: Fixes for POSIX testing.
8325         * conform/data/fcntl.h-data: Likewise.
8326         * conform/data/glob.h-data: Likewise.
8327         * conform/data/grp.h-data: Likewise.
8328         * conform/data/pthread.h-data: Likewise.
8329         * conform/data/pwd.h-data: Likewise.
8330         * conform/data/signal.h-data: Likewise.
8331         * conform/data/spawn.h-data: Likewise.
8332         * conform/data/stdio.h-data: Likewise.
8333         * conform/data/stdlib.h-data: Likewise.
8334         * conform/data/stropts.h-data: Likewise.
8335         * conform/data/sys/mman.h-data: Likewise.
8336         * conform/data/sys/stat.h-data: Likewise.
8337         * conform/data/sys/types.h-data: Likewise.
8338         * conform/data/sys/wait.h-data: Likewise.
8339         * conform/data/time.h-data: Likewise.
8340         * conform/data/unistd.h-data: Likewise.
8341         * conform/data/utime.h-data: Likewise.
8343         * io/sys/stat.h: fchmod was always in POSIX.
8344         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8345         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8346         * rt/aio.h: Define __need_timespec before including <time.h>.
8347         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8348         struct.  Add forward declaration of pthread_attr_t and use it in
8349         sigevent.
8350         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8351         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8352         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8353         always remove CLK_TCK definition.
8355 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
8357         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8359 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
8361         * conform/run-conformtest.sh: New file.
8362         * conform/Makefile: Run run-conformtest for tests.
8363         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
8364         support.
8366         * conform/data/uchar.h-data: New file.
8367         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8368         * conform/data/arpa/inet.h-data: Likewise.
8369         * conform/data/assert.h-data: Likewise.
8370         * conform/data/complex.h-data: Likewise.
8371         * conform/data/cpio.h-data: Likewise.
8372         * conform/data/ctype.h-data: Likewise.
8373         * conform/data/dirent.h-data: Likewise.
8374         * conform/data/dlfcn.h-data: Likewise.
8375         * conform/data/errno.h-data: Likewise.
8376         * conform/data/fcntl.h-data: Likewise.
8377         * conform/data/float.h-data: Likewise.
8378         * conform/data/fmtmsg.h-data: Likewise.
8379         * conform/data/fnmatch.h-data: Likewise.
8380         * conform/data/ftw.h-data: Likewise.
8381         * conform/data/glob.h-data: Likewise.
8382         * conform/data/grp.h-data: Likewise.
8383         * conform/data/iconv.h-data: Likewise.
8384         * conform/data/inttypes.h-data: Likewise.
8385         * conform/data/langinfo.h-data: Likewise.
8386         * conform/data/libgen.h-data: Likewise.
8387         * conform/data/limits.h-data: Likewise.
8388         * conform/data/locale.h-data: Likewise.
8389         * conform/data/math.h-data: Likewise.
8390         * conform/data/monetary.h-data: Likewise.
8391         * conform/data/mqueue.h-data: Likewise.
8392         * conform/data/ndbm.h-data: Likewise.
8393         * conform/data/net/if.h-data: Likewise.
8394         * conform/data/netdb.h-data: Likewise.
8395         * conform/data/netinet/in.h-data: Likewise.
8396         * conform/data/nl_types.h-data: Likewise.
8397         * conform/data/poll.h-data: Likewise.
8398         * conform/data/pthread.h-data: Likewise.
8399         * conform/data/pwd.h-data: Likewise.
8400         * conform/data/regex.h-data: Likewise.
8401         * conform/data/sched.h-data: Likewise.
8402         * conform/data/search.h-data: Likewise.
8403         * conform/data/semaphore.h-data: Likewise.
8404         * conform/data/setjmp.h-data: Likewise.
8405         * conform/data/signal.h-data: Likewise.
8406         * conform/data/spawn.h-data: Likewise.
8407         * conform/data/stdarg.h-data: Likewise.
8408         * conform/data/stdio.h-data: Likewise.
8409         * conform/data/stdlib.h-data: Likewise.
8410         * conform/data/string.h-data: Likewise.
8411         * conform/data/strings.h-data: Likewise.
8412         * conform/data/stropts.h-data: Likewise.
8413         * conform/data/sys/ipc.h-data: Likewise.
8414         * conform/data/sys/mman.h-data: Likewise.
8415         * conform/data/sys/msg.h-data: Likewise.
8416         * conform/data/sys/resource.h-data: Likewise.
8417         * conform/data/sys/select.h-data: Likewise.
8418         * conform/data/sys/sem.h-data: Likewise.
8419         * conform/data/sys/shm.h-data: Likewise.
8420         * conform/data/sys/socket.h-data: Likewise.
8421         * conform/data/sys/stat.h-data: Likewise.
8422         * conform/data/sys/statvfs.h-data: Likewise.
8423         * conform/data/sys/time.h-data: Likewise.
8424         * conform/data/sys/timeb.h-data: Likewise.
8425         * conform/data/sys/times.h-data: Likewise.
8426         * conform/data/sys/types.h-data: Likewise.
8427         * conform/data/sys/uio.h-data: Likewise.
8428         * conform/data/sys/un.h-data: Likewise.
8429         * conform/data/sys/utsname.h-data: Likewise.
8430         * conform/data/sys/wait.h-data: Likewise.
8431         * conform/data/syslog.h-data: Likewise.
8432         * conform/data/tar.h-data: Likewise.
8433         * conform/data/termios.h-data: Likewise.
8434         * conform/data/utime.h-data: Likewise.
8435         * conform/data/utmpx.h-data: Likewise.
8436         * conform/data/varargs.h-data: Likewise.
8437         * conform/data/wchar.h-data: Likewise.
8438         * conform/data/wctype.h-data: Likewise.
8439         * conform/data/wordexp.h-data: Likewise.
8441         * include/stropts.h: New file.
8442         * include/uchar.h: New file.
8443         * include/aio.h: Changes to allow conformtest.pl to use the headers.
8444         * include/assert.h: Likewise.
8445         * include/ctype.h: Likewise.
8446         * include/dirent.h: Likewise.
8447         * include/dlfcn.h: Likewise.
8448         * include/fcntl.h: Likewise.
8449         * include/fnmatch.h: Likewise.
8450         * include/glob.h: Likewise.
8451         * include/grp.h: Likewise.
8452         * include/libio.h: Likewise.
8453         * include/locale.h: Likewise.
8454         * include/math.h: Likewise.
8455         * include/net/if.h: Likewise.
8456         * include/netdb.h: Likewise.
8457         * include/netinet/in.h: Likewise.
8458         * include/pthread.h: Likewise.
8459         * include/pwd.h: Likewise.
8460         * include/regex.h: Likewise.
8461         * include/sched.h: Likewise.
8462         * include/search.h: Likewise.
8463         * include/setjmp.h: Likewise.
8464         * include/signal.h: Likewise.
8465         * include/stdio.h: Likewise.
8466         * include/stdlib.h: Likewise.
8467         * include/string.h: Likewise.
8468         * include/sys/cdefs.h: Likewise.
8469         * include/sys/mman.h: Likewise.
8470         * include/sys/msg.h: Likewise.
8471         * include/sys/resource.h: Likewise.
8472         * include/sys/select.h: Likewise.
8473         * include/sys/socket.h: Likewise.
8474         * include/sys/stat.h: Likewise.
8475         * include/sys/statvfs.h: Likewise.
8476         * include/sys/time.h: Likewise.
8477         * include/sys/times.h: Likewise.
8478         * include/sys/uio.h: Likewise.
8479         * include/sys/utsname.h: Likewise.
8480         * include/sys/wait.h: Likewise.
8481         * include/termios.h: Likewise.
8482         * include/time.h: Likewise.
8483         * include/ulimit.h: Likewise.
8484         * include/unistd.h: Likewise.
8485         * include/utime.h: Likewise.
8486         * include/wchar.h: Likewise.
8487         * include/wctype.h: Likewise.
8488         * include/wordexp.h: Likewise.
8490         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8492         * time/time.h: TIME_UTC must be a macro.
8493         Make timespec_get available for ISO C11 only as well.
8495 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
8497         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8498         Reported by Peng Haitao <penght@cn.fujitsu.com>.
8500 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8502         * configure.in: Use -o not -a in test for unsupported multi-arch.
8504 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8506         * manual/texinfo.tex: Update to version 2012-01-19.16.
8508 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8510         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8512 2012-02-24  Roland McGrath  <roland@hack.frob.com>
8514         [BZ #13738]
8515         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8516         * manual/fdl-1.3.texi: New file.
8517         * manual/fdl-1.1.texi: File removed.
8519         [BZ #13738]
8520         * manual/libc.texinfo (FDL_VERSION): New @set.
8521         Use it for mention of FDL in cover text.
8522         (Documentation License): Use it in @include file name.
8524 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8525             Roland McGrath  <roland@hack.frob.com>
8527         [BZ #5461]
8528         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8529         not LONG_LONG_MAX and LONG_LONG_MIN.
8530         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8531         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
8532         name.
8533         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8535 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8537         [BZ #2547]
8538         [BZ #11365]
8539         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8540         manipulate bits before adding and subtracting TWO23[sx].
8541         * math/libm-test.inc (nearbyint_test): Add more tests.
8543 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8545         [BZ #2548]
8546         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8547         bits before adding and subtracting TWO23[sx].
8548         * math/libm-test.inc (rint_test): Add more tests.
8549         (rint_test_tonearest): Likewise.
8550         (rint_test_towardzero): Likewise.
8551         (rint_test_downward): Likewise.
8552         (rint_test_upward: Likewise.
8554 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8556         [BZ #10110]
8557         * include/stdc-predef.h: New file.  Extracted from features.h.
8558         * include/features.h: Include stdc-predef.h.
8559         * Makefile (headers): Add stdc-predef.h.
8560         * CONFORMANCE (Compiler limitations): Update.
8562 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8564         * manual/libc.texinfo (VERSION, UPDATED): Revert.
8566 2012-02-21  David S. Miller  <davem@davemloft.net>
8568         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8569         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8571 2012-02-20  David S. Miller  <davem@davemloft.net>
8573         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8574         using a normal save/restore sequence, rather than allocating a
8575         dummy stack frame just to store a frame pointer and restore.
8576         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8578 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8580         * manual/install.texi: Fix stray word in line-wrapped comment.
8582 2012-02-20  David S. Miller  <davem@davemloft.net>
8584         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8585         both binutils and gcc support GOTDATA.
8587         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8588         "rd %pc" in the PIC register setup sequences.
8590         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8591         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8592         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8593         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8594         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8595         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8596         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8597         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8598         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8599         (SYSCALL_ERROR_HANDLER): Likewise.
8600         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8601         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8602         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8603         (SYSCALL_ERROR_HANDLER): Likewise.
8605         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8606         (HAVE_GCC_GOTDATA): New.
8607         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8608         relocation support in both binutils and gcc.
8609         * sysdeps/sparc/elf/configure: Regenerate.
8611         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8612         * sysdeps/sparc/sparc32/elf/configure: Delete.
8613         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8614         * sysdeps/sparc/sparc64/elf/configure: Delete.
8615         * sysdeps/sparc/elf/configure.in: New file.
8616         * sysdeps/sparc/elf/configure: Generate.
8618         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8619         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8620         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8621         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8622         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8624 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8626         * manual/install.texi: Do not mention specific glibc version
8627         numbers.
8628         * manual/libc.texinfo (VERSION, UPDATED): Update.
8629         (@copying): Use @copyright{} and range of years.
8631 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8633         [BZ #13695]
8634         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8635         [crti.S not in sysdirs] (generated): Do not append.
8636         [crti.S not in sysdirs] (omit-deps): Likewise.
8637         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8638         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8639         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8640         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8641         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8642         Likewise.
8643         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8644         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8645         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8646         * csu/defs.awk: Remove file.
8647         * sysdeps/generic/initfini.c: Likewise.
8648         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8649         variable.
8650         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8651         Likewise.
8653 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8655         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8656         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8657         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8658         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8659         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8660         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8661         <bits/epoll.h>.
8662         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8663         (__EPOLL_PACKED): Define to empty if not defined by
8664         <bits/epoll.h>.
8665         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8666         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8667         bits/epoll.h.
8669 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8671         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8672         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8673         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8674         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8675         <bits/timerfd.h>.
8676         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8677         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8678         bits/timerfd.h.
8680 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8682         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8683         in C locale.
8684         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8685         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8686         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8689 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
8691         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8692         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8694 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
8696         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8697         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8698         defined.
8699         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8700         Likewise.
8701         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8702         entry for 2.16.
8704 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
8706         * math/w_acos.c: Use non-signaling floating-point comparisons.
8707         * math/w_acosf.c: Likewise.
8708         * math/w_acosh.c: Likewise.
8709         * math/w_acoshf.c: Likewise.
8710         * math/w_acoshl.c: Likewise.
8711         * math/w_acosl.c: Likewise.
8712         * math/w_asin.c: Likewise.
8713         * math/w_asinf.c: Likewise.
8714         * math/w_asinl.c: Likewise.
8715         * math/w_atanh.c: Likewise.
8716         * math/w_atanhf.c: Likewise.
8717         * math/w_atanhl.c: Likewise.
8718         * math/w_exp2.c: Likewise.
8719         * math/w_exp2f.c: Likewise.
8720         * math/w_exp2l.c: Likewise.
8721         * math/w_j0.c: Likewise.
8722         * math/w_j0f.c: Likewise.
8723         * math/w_j0l.c: Likewise.
8724         * math/w_j1.c: Likewise.
8725         * math/w_j1f.c: Likewise.
8726         * math/w_j1l.c: Likewise.
8727         * math/w_jn.c: Likewise.
8728         * math/w_jnf.c: Likewise.
8729         * math/w_log.c: Likewise.
8730         * math/w_log10.c: Likewise.
8731         * math/w_log10f.c: Likewise.
8732         * math/w_log10l.c: Likewise.
8733         * math/w_log2.c: Likewise.
8734         * math/w_log2f.c: Likewise.
8735         * math/w_log2l.c: Likewise.
8736         * math/w_logf.c: Likewise.
8737         * math/w_logl.c: Likewise.
8738         * math/w_sqrt.c: Likewise.
8739         * math/w_sqrtf.c: Likewise.
8740         * math/w_sqrtl.c: Likewise.
8741         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8742         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8743         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8744         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8745         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8747 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8749         [BZ #9739]
8750         * manual/string.texi (strnlen): Use correct parameter name in
8751         equivalent expression.
8753 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8755         [BZ #11174]
8756         * manual/users.texi (seteuid): Consistently use neweuid for
8757         argument name.
8759 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8761         [BZ #13704]
8762         * manual/nss.texi (Services in the NSS configuration): Correct
8763         list of services in example configuration file.
8765 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
8767         [BZ #11322]
8768         * manual/arith.texi: Remove statements about negative zero
8769         behaving identically to zero.
8771 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
8773         [BZ #5993]
8774         * manual/install.texi: Do not document upgrading from libc5.
8776 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
8778         [BZ #4596]
8779         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8781 2012-02-18  David S. Miller  <davem@davemloft.net>
8783         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8784         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8785         %o7 across the call.
8786         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8787         instead.
8788         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8789         SETUP_PIC_REG_LEAF.
8790         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8791         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8792         * sysdeps/sparc/crtn.S: Likewise.
8794 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
8796         * aout/Makefile: Remove.
8798 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
8800         [BZ #13058]
8801         * manual/examples/argp-ex1.c (main): Format definition in GNU
8802         style.
8803         * manual/examples/argp-ex2.c (main): Likewise.
8804         * manual/examples/argp-ex3.c (main): Likewise.
8805         * manual/examples/argp-ex4.c (main): Likewise.
8806         * manual/examples/longopt.c (main): Use new-style prototype
8807         definition.
8808         * manual/examples/strncat.c (main): Specify return type and use
8809         (void) for arguments.
8810         * manual/examples/subopt.c (main): Use char **argv argument.
8812 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8814         [BZ #5077]
8815         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8816         rounding modes.
8818 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
8820         [BZ #6907]
8821         * manual/string.texi (strchr): Change when strchrnul is
8822         recommended.
8824 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
8826         [BZ #174]
8827         * manual/locale.texi (setlocale): Document LOCPATH.
8829 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8831         [BZ #10210]
8832         * manual/process.texi (execle): Move @dots{} before last argument.
8834 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
8836         [BZ #12047]
8837         * manual/charset.texi (Generic Charset Conversion): Fix typo
8838         (LC_TYPE -> LC_CTYPE).
8840 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
8842         [BZ #5805]
8843         * manual/arith.texi (scalbn): Use @var{} on parameter names.
8844         (scalbnf): Likewise.
8845         (scalbnl): Likewise.
8846         (scalbln): Likewise.
8847         (scalblnf): Likewise.
8848         (scalblnl): Likewise.
8849         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8850         (vwarnx): Likewise.
8851         (verr): Likewise.
8852         (verrx): Likewise.
8853         * manual/filesys.texi (telldir): Use braces around return type.
8854         * manual/llio.texi (mmap): Add space after comma.
8855         (mmap64): Likewise.
8856         * manual/math.texi (jn): Use @var{} on parameter names.
8857         (jnf): Likewise.
8858         (jnl): Likewise.
8859         (yn): Likewise.
8860         (ynf): Likewise.
8861         (ynl): Likewise.
8862         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8863         line.
8864         * manual/resource.texi (ulimit): Use @dots{} instead of literal
8865         "...".
8866         (sched_get_priority_min): Remove semicolon on @deftypefun line.
8867         (sched_get_priority_max): Likewise.
8868         * manual/signal.texi (sigvec): Add space after comma.
8869         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8870         names.
8871         (if_indextoname): Likewise.
8872         (if_freenameindex): Likewise.
8873         (sendto): Use ',' instead of '.' in prototype.
8874         * manual/startup.texi (syscall): Use @dots{} instead of literal
8875         "...".
8876         * manual/stdio.texi (__fpending): Separate initial words of
8877         paragraph from @deftypefun line.
8878         * manual/syslog.texi (syslog): Use @dots{} instead of literal
8879         "...".
8880         (vsyslog): Use @var{} on parameter names.
8881         * manual/terminal.texi (stty): Use @var{} on parameter names.
8882         * manual/users.texi (getutmp): Use @var{} on parameter names.
8883         (getutmpx): Likewise.
8885 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8887         [BZ #6884]
8888         * manual/stdio.texi (fopen): Fix typos in description of
8889         ",ccs=STRING".
8891 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
8893         [BZ #4026]
8894         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8895         get clock_id definition.
8897 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
8899         [BZ #4822]
8900         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8901         (madvise): Cast every argument to void on its own.
8903 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8905         [BZ #9902]
8906         * manual/startup.texi (Exit Status): Fix typo.
8908 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8910         [BZ #10140]
8911         * manual/examples/argp-ex1.c: Include <stdlib.h>.
8912         * manual/examples/argp-ex2.c: Likewise.
8913         * manual/examples/argp-ex3.c: Likewise.
8915 2012-02-16  Richard Henderson  <rth@redhat.com>
8917         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8918         * sysdeps/s390/s390-32/initfini.c: Remove.
8919         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8920         * sysdeps/s390/s390-64/initfini.c: Remove.
8922 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8924         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8925         compiler output for sysdeps/generic/initfini.c.
8926         * sysdeps/sh/elf/initfini.c: Remove file.
8928 2012-02-16  David S. Miller  <davem@davemloft.net>
8930         [BZ #11494]
8931         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8933         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8934         * sysdeps/sparc/crti.S: New file.
8935         * sysdeps/sparc/crtn.S: New file.
8936         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8937         * sysdeps/sparc/sparc64/Makefile: Likewise.
8939 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
8941         [BZ #3335]
8942         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8944 2012-02-15  Roland McGrath  <roland@hack.frob.com>
8946         [BZ #4822]
8947         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8949         * mach/devstream.c (cookie_io_functions_t): Macro removed.
8950         (write, read, close): Likewise.
8951         Patch by Aurelien Jarno <aurelien@aurel32.net>.
8953 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
8955         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8956         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8957         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8958         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8959         <bits/signalfd.h>.
8960         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8961         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8962         bits/signalfd.h.
8964 2012-02-14  Marek Polacek  <polacek@redhat.com>
8966         * sysdeps/x86_64/crti.S: New file.
8967         * sysdeps/x86_64/crtn.S: New file.
8968         * sysdeps/x86_64/elf/initfini.c: Remove file.
8970 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
8972         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8973         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8974         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8975         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8976         <bits/inotify.h>.
8977         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8978         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8979         bits/inotify.h.
8981 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
8983         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8984         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8985         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8986         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8987         <bits/eventfd.h>.
8988         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8989         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8990         bits/eventfd.h.
8992 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
8994         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8995         __feraiseexcept instead of feraiseexcept.
8997         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8998         nanosleep invocations.
8999         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9000         strings, and add error checking for a nanosleep invocations.
9002 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
9004         Replace FSF snail mail address with URLs, as per GNU coding standards.
9005         Most of the snail mail addresses were wrong anyway, and omitting
9006         them makes the source code easier to maintain.  Almost all of the
9007         changes are to license notices and to locale LC_IDENTIFICATION
9008         addresses, except for this one:
9009         * manual/libc.texinfo: In "Published by", give the FSF's URL,
9010         not its snail mail address.
9012 2012-02-09  Richard Henderson  <rth@twiddle.net>
9014         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9015         of kernel-features.h.
9017         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9019 2012-02-08  Marek Polacek  <polacek@redhat.com>
9021         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9022         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9023         * sysdeps/gnu/_G_config.h: Likewise.
9024         * sysdeps/generic/_G_config.h: Likewise.
9026 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
9028         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9029         tests.
9030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9032         * sysdeps/powerpc/powerpc32/crti.S: New file.
9033         * sysdeps/powerpc/powerpc32/crtn.S: New file.
9034         * sysdeps/powerpc/powerpc64/crti.S: New file.
9035         * sysdeps/powerpc/powerpc64/crtn.S: New file.
9037         * Makeconfig (have-initfini): Don't set.
9038         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9039         * configure.in (nopic_initfini): Don't substitute.
9040         * config.h.in (HAVE_INITFINI): Don't #undef.
9041         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9042         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9044 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
9046         Support crti.S and crtn.S provided directly by architectures.
9047         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9048         [crti.S in sysdirs] (omit-deps): Likewise.
9049         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9050         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9051         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9052         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9053         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9054         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9055         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9056         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9057         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9058         compiler output for sysdeps/generic/initfini.c.
9059         * sysdeps/i386/elf/Makefile: Remove file.
9060         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9062 2012-02-07  Marek Polacek  <polacek@redhat.com>
9064         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9065         * sysdeps/gnu/_G_config.h: Likewise.
9066         * sysdeps/mach/hurd/_G_config.h: Likewise.
9068 2012-02-07  Marek Polacek  <polacek@redhat.com>
9070         * math/Makefile (tests): Add tst-CMPLX2.
9071         * math/tst-CMPLX2.c: New file.
9073 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
9075         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9077         * math/libm-test.inc (jn_test): Add missing L suffix.
9079 2012-02-06  Marek Polacek  <polacek@redhat.com>
9081         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9082         * sysdeps/i386/fpu/e_powf.S: Likewise.
9083         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9084         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9085         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9086         * sysdeps/i386/fpu/e_pow.S: Likewise.
9087         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9088         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9089         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9090         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9091         * sysdeps/i386/fpu/e_log2.S: Likewise.
9092         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9093         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9094         * sysdeps/i386/fpu/e_powl.S: Likewise.
9095         * sysdeps/i386/fpu/s_log1p.S: Likewise.
9096         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9097         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9098         * sysdeps/i386/fpu/e_logl.S: Likewise.
9099         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9100         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9101         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9102         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9103         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9104         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9105         * sysdeps/i386/fpu/e_log.S: Likewise.
9106         * sysdeps/i386/fpu/s_cexp.S: Likewise.
9107         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9108         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9109         * sysdeps/i386/fpu/e_logf.S: Likewise.
9110         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9111         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9112         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9113         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9114         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9115         * sysdeps/i386/fpu/e_log10.S: Likewise.
9116         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9117         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9118         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9119         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9120         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9121         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9122         * sysdeps/i386/asm-syntax.h: Likewise.
9123         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9124         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9125         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9126         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9127         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9128         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9129         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9130         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9131         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9132         * sysdeps/powerpc/sysdep.h: Likewise.
9133         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9134         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9136 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
9138         [BZ #411]
9139         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9141 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
9143         * sysdeps/i386/sysdep.h: Include <features.h>.
9144         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9145         version.
9147 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
9149         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9150         Define.
9151         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9152         LOAD_PIC_REG_STR.
9154 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9156         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9157         (SETUP_PIC_REG): Use GET_PC_THUNK.
9158         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9159         macro.
9161 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9163         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9164         for non-PIC compilation.
9165         (SETUP_PIC_REG): Add .p2align directive.
9166         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9167         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9168         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9169         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9170         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9171         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9172         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9173         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9174         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9175         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9176         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9177         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9178         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9179         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9180         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9181         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9182         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9183         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9184         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9185         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9186         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9187         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9188         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9189         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9190         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9191         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9192         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9193         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9194         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9195         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9196         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9197         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9198         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9199         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9200         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9201         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9202         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9203         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9204         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9205         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9206         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9208 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9210         * math/tst-CMPLX.c: Include <stdio.h>.
9212 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
9214         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9215         float.
9216         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9217         * sysdeps/sparc/bits/mathdef.h: Likewise.
9219 2012-01-31  Marek Polacek  <polacek@redhat.com>
9221         * libio/libio.h: Don't define _PARAMS.
9222         * locale/programs/config.h: Don't define PARAMS.
9223         * stdlib/strtol_l.c: Likewise.
9224         (__strtol_l): Remove PARAMS from the prototype.
9226 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
9228         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
9229         names.  Just use the correct names.  Remove unnecessary wrapper
9230         functions.
9231         * malloc/arena.c: Likewise.
9232         * malloc/hooks.c: Likewise.
9234         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9235         ARENA_TEST says not to.  Simplify test for creation of a new arena.
9236         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9238 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
9240         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9241         into tail calls.
9242         (update_get_addr): New function.
9243         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9244         GET_ADDR_MODULE parameter.
9246 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
9248         * crypt/cert.c: Remove __STDC__ conditionals.
9249         * crypt/crypt-entry.c: Likewise.
9250         * crypt/crypt_util.c: Likewise.
9251         * libio/filedoalloc.c: Likewise.
9252         * libio/fileops.c: Likewise.
9253         * libio/genops.c: Likewise.
9254         * libio/iofclose.c: Likewise.
9255         * libio/iofdopen.c: Likewise.
9256         * libio/iofopen.c: Likewise.
9257         * libio/iofopen64.c: Likewise.
9258         * libio/iogetdelim.c: Likewise.
9259         * libio/iopopen.c: Likewise.
9260         * libio/obprintf.c: Likewise.
9261         * libio/oldfileops.c: Likewise.
9262         * libio/oldiofclose.c: Likewise.
9263         * libio/oldiofdopen.c: Likewise.
9264         * libio/oldiofopen.c: Likewise.
9265         * libio/oldiopopen.c: Likewise.
9266         * libio/wfiledoalloc.c: Likewise.
9267         * libio/wgenops.c: Likewise.
9268         * locale/programs/xmalloc.c: Likewise.
9269         * misc/syslog.c: Likewise.
9270         * stdio-common/xbug.c: Likewise.
9271         * string/memchr.c: Likewise.
9272         * string/memcmp.c: Likewise.
9273         * string/memrchr.c: Likewise.
9274         * string/rawmemchr.c: Likewise.
9275         * sysdeps/posix/getcwd.c: Likewise.
9276         * time/strftime_l.c: Likewise.
9278 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
9280         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9281         * config.make.in (config-cflags-sse2avx): Define.
9282         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9283         Fix typo.
9285 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
9287         * scripts/config.guess: Update from upstream config git repository.
9288         * scripts/config.sub: Likewise.
9290 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
9292         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9293         (EM_NUM): Update.
9294         (R_TILEPRO_*, R_TILEGX_*): New macros.
9296         * scripts/firstversions.awk: Fix bug in version range handling.
9298         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9300         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9302         * include/sys/epoll.h: New file.
9303         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9304         libc_hidden_def.
9306 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
9308         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9309         Avoid unnecessary __WORDSIZE == 64 test.
9310         (fmaxf): Use VEX format if possible.
9311         (fmax): Likewise.
9312         (fminf): Likewise.
9313         (fmin): Likewise.
9315         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9316         * math/math_private.h: Remove libc_fegetround* and
9317         libc_fesetround*.
9318         * sysdeps/i386/configure.in: Check for -msse2avx.
9319         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9320         also if SSE2AVX is defined.
9321         Remove libc_fegetround* and libc_fesetround*.
9322         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9323         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
9324         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9325         of HAS_YMM_USABLE.
9326         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9327         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9328         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9329         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9330         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9332         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9334 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9336         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9337         size is not set.
9338         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9340 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
9342         [BZ #13618]
9343         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9344         relocation.
9345         * Makeconfig (libm): Define.
9346         * elf/Makefile: Add rules to build and run tst-relsort1.
9347         * elf/tst-relsort1.c: New file.
9348         * elf/tst-relsort1mod1.c: New file.
9349         * elf/tst-relsort1mod2.c: New file.
9351 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
9353         * math/s_ldexp.c: Remove __STDC__ conditionals.
9354         * math/s_ldexpf.c: Likewise.
9355         * math/s_ldexpl.c: Likewise.
9356         * math/s_nextafter.c: Likewise.
9357         * math/s_nexttowardf.c: Likewise.
9358         * math/s_significand.c: Likewise.
9359         * math/s_significandf.c: Likewise.
9360         * math/s_significandl.c: Likewise.
9361         * math/w_jnl.c: Likewise.
9362         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9363         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9364         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9365         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9366         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9367         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9368         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9369         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9370         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9371         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9372         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9373         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9374         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9375         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9376         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9377         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9378         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9379         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9380         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9381         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9382         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9383         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9384         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9385         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9386         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9387         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9388         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9389         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9390         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9391         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9392         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9393         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9394         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9395         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9396         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9397         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9398         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9399         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9400         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9401         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9402         * sysdeps/ieee754/k_standard.c: Likewise.
9403         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9404         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9405         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9406         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9407         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9408         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9409         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9410         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9411         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9412         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9413         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9414         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9415         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9416         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9417         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9418         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9419         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9420         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9421         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9422         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9423         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9424         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9425         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9426         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9427         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9428         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9429         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9430         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9431         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9432         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9433         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9434         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9435         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9436         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9437         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9438         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9439         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9440         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9441         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9442         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9443         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9444         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9445         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9446         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9447         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9448         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9449         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9450         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9451         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9452         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9453         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9454         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9455         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9456         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9457         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9458         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9459         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9460         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9461         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9462         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9463         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9464         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9465         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9466         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9467         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9468         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9469         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9470         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9471         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9472         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9473         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9474         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9475         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9476         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9477         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9478         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9479         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9480         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9481         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9482         * sysdeps/ieee754/s_matherr.c: Likewise.
9483         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9484         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9485         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9486         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9488 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
9490         * crypt/md5.h: Remove __STDC__ conditionals.
9491         * libio/libioP.h: Likewise.
9492         * locale/programs/config.h: Likewise.
9493         * sysdeps/generic/sysdep.h: Likewise.
9494         * sysdeps/i386/asm-syntax.h: Likewise.
9495         * sysdeps/s390/asm-syntax.h: Likewise.
9496         * sysdeps/unix/sysdep.h: Likewise.
9497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9500 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
9502         * libio/libio.h: Remove __STDC__ conditionals.
9503         * malloc/obstack.h: Likewise.
9504         * math/complex.h: Likewise.
9505         * math/math.h: Likewise.
9506         * sysdeps/generic/_G_config.h: Likewise.
9507         * sysdeps/gnu/_G_config.h: Likewise.
9508         * sysdeps/mach/hurd/_G_config.h: Likewise.
9509         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9510         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9511         * sysdeps/sparc/bits/mathdef.h: Likewise.
9513 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
9515         [BZ #13583]
9516         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9517         Clean up HAS_* macros.
9518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9519         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9520         possible.
9521         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9522         HAS_AVX.
9523         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9524         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9525         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9526         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9527         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9529 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
9531         * elf/tst-unique3.cc (gets): Remove declaration.
9532         * elf/tst-unique3lib.cc (gets): Likewise.
9533         * elf/tst-unique3lib2.cc (gets): Likewise.
9534         * elf/tst-unique4.cc (gets): Likewise.
9536 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
9538         * include/stdio.h: Add C++ protection.  Add gets declarations and
9539         definitions.
9540         * debug/tst-chk1.c: Don't declare gets here.
9541         * stdio-common/tst-gets.c: Likewise.
9543 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
9545         * posix/glob: Remove directory.
9547 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
9549         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9551 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
9553         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9554         of the non-standard EPFNOSUPPORT.
9556 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9558         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9559         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9560         ANYWHERE set to 1 only on KERN_NO_SPACE error.
9562 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
9564         * wcsmbs/uchar.h: Test __STDC_VERSION__.
9566 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
9568         * nscd/aicache.c (addhstaiX): Do not cache negative results of
9569         transient errors.
9570         * nscd/grpcache.c (cache_addgr): Likewise.
9571         * nscd/hstcache.c (cache_addhst): Likewise.
9572         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9573         * nscd/pwdcache.c (cache_addpw): Likewise.
9574         * nscd/servicescache.c (cache_addserv): Likewise.
9576 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
9578         * malloc/malloc.c: Various cleanups.
9579         * malloc/hooks.c: Likewise.
9581         * stdlib/Makefile (tests): Add bug-fmtmsg1.
9582         * stdlib/bug-fmtmsg1.c: New file.
9584         * stdlib/fmtmsg.c (init): Add missing unlock.
9585         Patch by Peng Haitao <penght@cn.fujitsu.com>.
9587 2012-01-12  Marek Polacek  <polacek@redhat.com>
9589         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9590         and _GNU_SOURCE.
9592 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
9594         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9595         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9596         macro to ensure uniqueness of label name.
9597         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9598         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9600 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
9602         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9604         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9605         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9606         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9607         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9609 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
9611         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9613         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9614         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9615         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9617         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9619         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9620         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9621         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9622         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9624         * math/bits/math-finite.h: Add ldexp support.
9626 2012-01-10  Marek Polacek  <polacek@redhat.com>
9628         * locale/programs/localedef.h (show_archive_content): Add noreturn
9629         attribute.
9631 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
9633         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9635 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9637         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9639         * io/Makefile (headers): Add bits/poll2.h.
9641 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
9643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9644         typo #include statement.
9646 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9648         * include/sys/cdefs.h: Define __attribute_alloc_size.
9649         * catgets/gencat.c: Add alloc_size attribute and apply consistently
9650         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9651         * elf/pldd.c: Likewise.
9652         * iconv/iconv_charmap.c: Likewise.
9653         * iconv/iconvconfig.c: Likewise.
9654         * iconv/strtab.c: Likewise.
9655         * locale/programs/locale.c: Likewise.
9656         * locale/programs/localedef.h: Likewise.
9657         * locale/programs/simple-hash.c: Likewise.
9658         * nscd/nscd.h: Likewise.
9659         * nss/makedb.c: Likewise.
9660         * sysdeps/generic/ldconfig.h: Likewise.
9661         * locale/programs/localedef.c: Remove xmalloc prototype.
9662         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9664 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9666         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9667         appropriate.
9669 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9671         * math/Makefile (tests): Add tst-CMPLX.
9672         * math/tst-CMPLX.c: New file.
9674         * math/complex.h (CMPLXL): Fix typo.
9676         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9677         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9678         GLIBC_2.16.
9679         * debug/tst-chk1.c: Add poll and ppoll tests.
9680         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9681         * include/sys/poll.h: Add hidden proto for ppoll.
9682         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9683         * sysdeps/mach/hurd/ppoll.c: Likewise.
9684         * io/ppoll.c: Likewise.
9685         * debug/poll_chk.c: New file.
9686         * debug/ppoll_chk.c: New file.
9687         * include/bits/poll2.h: New file.
9688         * io/bits/poll2.h: New file.
9690         [BZ #1350]
9691         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9693         * configure.in: static is always set to yes.  Remove.
9694         * config.make.in: Don't set build-static.
9695         * Makeconfig: Remove use of build-static.
9696         * dlfcn/Makefile: Likewise.
9697         * elf/Makefile: Likewise.
9698         * math/Makefile: Likewise.
9699         * misc/Makefile: Likewise.
9700         * nptl/Makefile: Likewise.
9701         * sysdeps/mach/hurd/Makefile: Likewise.
9703         * configure.in: PWD_P is not used anymore.
9704         * config.make.in: Remove PWD_P entry.
9706         * configure.in: Remove last remnants of RANLIB.
9707         No need to check for signed size_t anymore.
9708         Don't set libc_commonpagesize and libc_relro_required here for Alpha
9709         and IA-64.
9710         Remove __builtin_expect test because we require at least gcc 3.4.
9711         * aclocal.m4: Likewise.
9713         * wcsmbs/mbrtoc16.c: Implement using towc function.
9714         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9715         * wcsmbs/wcsmbsload.c: Likewise.
9716         * iconv/gconv_simple.c: Likewise.
9717         * iconv/gconv_int.h: Likewise.
9718         * iconv/gconv_builtin.h: Likewise.
9719         * iconv/iconv_prog.c: Remove CHAR16 handling.
9721         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9723         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9725         * configure.in: Remove --with-elf and --enable-bounded options.
9726         Dont set base_machine for ia64.  More non-ELF conditions removed.
9727         Remove testing and setting of leading underscore information.
9728         * config.make.in (build-bounded): Set to no.
9729         * config.h.in: Remove NO_UNDERSCORES entry.
9730         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
9731         them.
9732         * csu/start.c: Remove !NO_UNDERSCORE code.
9733         * locale/localeinfo.h: Likewise.
9734         * sysdeps/generic/machine-gmon.h: Likewise.
9735         * sysdeps/generic/sysdep.h: Likewise.
9736         * sysdeps/i386/sysdep.h: Likewise.
9737         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9738         * sysdeps/mach/sysdep.h: Likewise.
9739         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9740         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9741         * sysdeps/sh/sysdep.h: Likewise.
9742         * sysdeps/sparc/sparc32/alloca.S: Likewise.
9743         * sysdeps/unix/i386/sysdep.S: Likewise.
9744         * sysdeps/unix/sparc/start.c: Likewise.
9745         * sysdeps/unix/sparc/sysdep.S: Likewise.
9746         * sysdeps/unix/sparc/sysdep.h: Likewise.
9747         * sysdeps/unix/start.c: Likewise.
9748         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9749         * sysdeps/x86_64/sysdep.h: Likewise.
9751 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
9753         [BZ #13553]
9754         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9755         for non-gcc.
9756         * argp/argp-fmtstream.h: Use const instead __const.
9757         * argp/argp.h: Likewise.
9758         * assert/assert.h: Likewise.
9759         * bits/fenv.h: Likewise.
9760         * bits/sched.h: Likewise.
9761         * bits/sigset.h: Likewise.
9762         * bits/sigthread.h: Likewise.
9763         * catgets/nl_types.h: Likewise.
9764         * conform/data/pthread.h-data: Likewise.
9765         * crypt/crypt-private.h: Likewise.
9766         * crypt/crypt.h: Likewise.
9767         * crypt/crypt_util.c: Likewise.
9768         * ctype/ctype.h: Likewise.
9769         * debug/execinfo.h: Likewise.
9770         * debug/mbsnrtowcs_chk.c: Likewise.
9771         * debug/mbsrtowcs_chk.c: Likewise.
9772         * debug/wcsnrtombs_chk.c: Likewise.
9773         * debug/wcsrtombs_chk.c: Likewise.
9774         * debug/wcstombs_chk.c: Likewise.
9775         * dirent/dirent.h: Likewise.
9776         * dlfcn/dlfcn.h: Likewise.
9777         * elf/neededtest4.c: Likewise.
9778         * grp/grp.h: Likewise.
9779         * gshadow/gshadow.h: Likewise.
9780         * iconv/gconv.h: Likewise.
9781         * iconv/gconv_int.h: Likewise.
9782         * iconv/gconv_simple.c: Likewise.
9783         * iconv/iconv.h: Likewise.
9784         * iconv/loop.c: Likewise.
9785         * iconv/skeleton.c: Likewise.
9786         * include/aio.h: Likewise.
9787         * include/aliases.h: Likewise.
9788         * include/argz.h: Likewise.
9789         * include/arpa/inet.h: Likewise.
9790         * include/assert.h: Likewise.
9791         * include/dirent.h: Likewise.
9792         * include/dlfcn.h: Likewise.
9793         * include/execinfo.h: Likewise.
9794         * include/fcntl.h: Likewise.
9795         * include/fenv.h: Likewise.
9796         * include/glob.h: Likewise.
9797         * include/grp.h: Likewise.
9798         * include/libintl.h: Likewise.
9799         * include/mntent.h: Likewise.
9800         * include/netdb.h: Likewise.
9801         * include/pwd.h: Likewise.
9802         * include/rpc/netdb.h: Likewise.
9803         * include/sched.h: Likewise.
9804         * include/search.h: Likewise.
9805         * include/shadow.h: Likewise.
9806         * include/signal.h: Likewise.
9807         * include/stdio.h: Likewise.
9808         * include/stdlib.h: Likewise.
9809         * include/string.h: Likewise.
9810         * include/sys/socket.h: Likewise.
9811         * include/sys/stat.h: Likewise.
9812         * include/sys/statfs.h: Likewise.
9813         * include/sys/statvfs.h: Likewise.
9814         * include/sys/syslog.h: Likewise.
9815         * include/sys/time.h: Likewise.
9816         * include/sys/uio.h: Likewise.
9817         * include/time.h: Likewise.
9818         * include/unistd.h: Likewise.
9819         * include/utmp.h: Likewise.
9820         * include/wchar.h: Likewise.
9821         * include/wctype.h: Likewise.
9822         * inet/aliases.h: Likewise.
9823         * inet/arpa/inet.h: Likewise.
9824         * inet/netinet/ether.h: Likewise.
9825         * inet/netinet/in.h: Likewise.
9826         * intl/libintl.h: Likewise.
9827         * io/bits/fcntl2.h: Likewise.
9828         * io/fcntl.h: Likewise.
9829         * io/ftw.h: Likewise.
9830         * io/sys/poll.h: Likewise.
9831         * io/sys/stat.h: Likewise.
9832         * io/sys/statfs.h: Likewise.
9833         * io/sys/statvfs.h: Likewise.
9834         * io/utime.h: Likewise.
9835         * libio/bits/stdio.h: Likewise.
9836         * libio/bits/stdio2.h: Likewise.
9837         * libio/libio.h: Likewise.
9838         * libio/libioP.h: Likewise.
9839         * libio/stdio.h: Likewise.
9840         * locale/lc-ctype.c: Likewise.
9841         * locale/locale.h: Likewise.
9842         * login/utmp.h: Likewise.
9843         * malloc/arena.c: Likewise.
9844         * malloc/malloc.c: Likewise.
9845         * malloc/malloc.h: Likewise.
9846         * malloc/mcheck.c: Likewise.
9847         * malloc/mtrace.c: Likewise.
9848         * math/bits/mathcalls.h: Likewise.
9849         * math/fenv.h: Likewise.
9850         * math/math_private.h: Likewise.
9851         * misc/bits/error.h: Likewise.
9852         * misc/bits/syslog.h: Likewise.
9853         * misc/err.h: Likewise.
9854         * misc/error.h: Likewise.
9855         * misc/fstab.h: Likewise.
9856         * misc/mntent.h: Likewise.
9857         * misc/regexp.h: Likewise.
9858         * misc/search.h: Likewise.
9859         * misc/sgtty.h: Likewise.
9860         * misc/sys/mman.h: Likewise.
9861         * misc/sys/syslog.h: Likewise.
9862         * misc/sys/uio.h: Likewise.
9863         * misc/sys/xattr.h: Likewise.
9864         * misc/ttyent.h: Likewise.
9865         * nis/rpcsvc/ypclnt.h: Likewise.
9866         * nss/nss.h: Likewise.
9867         * posix/bits/unistd.h: Likewise.
9868         * posix/fnmatch.h: Likewise.
9869         * posix/glob.h: Likewise.
9870         * posix/sched.h: Likewise.
9871         * posix/spawn.h: Likewise.
9872         * posix/sys/wait.h: Likewise.
9873         * posix/unistd.h: Likewise.
9874         * posix/wordexp.h: Likewise.
9875         * pwd/pwd.h: Likewise.
9876         * resolv/netdb.h: Likewise.
9877         * resource/sys/resource.h: Likewise.
9878         * rt/aio.h: Likewise.
9879         * rt/bits/mqueue2.h: Likewise.
9880         * rt/mqueue.h: Likewise.
9881         * shadow/shadow.h: Likewise.
9882         * signal/signal.h: Likewise.
9883         * socket/send.c: Likewise.
9884         * socket/sendto.c: Likewise.
9885         * socket/sys/socket.h: Likewise.
9886         * stdio-common/printf.h: Likewise.
9887         * stdlib/bits/stdlib.h: Likewise.
9888         * stdlib/fmtmsg.h: Likewise.
9889         * stdlib/monetary.h: Likewise.
9890         * stdlib/stdlib.h: Likewise.
9891         * stdlib/ucontext.h: Likewise.
9892         * streams/stropts.h: Likewise.
9893         * string/argz.h: Likewise.
9894         * string/bits/string2.h: Likewise.
9895         * string/string.h: Likewise.
9896         * string/strings.h: Likewise.
9897         * sunrpc/rpc/auth.h: Likewise.
9898         * sunrpc/rpc/auth_des.h: Likewise.
9899         * sunrpc/rpc/clnt.h: Likewise.
9900         * sunrpc/rpc/netdb.h: Likewise.
9901         * sunrpc/rpc/pmap_clnt.h: Likewise.
9902         * sunrpc/rpc/xdr.h: Likewise.
9903         * sysdeps/generic/inttypes.h: Likewise.
9904         * sysdeps/generic/net/if.h: Likewise.
9905         * sysdeps/generic/sys/swap.h: Likewise.
9906         * sysdeps/gnu/net/if.h: Likewise.
9907         * sysdeps/gnu/utmpx.h: Likewise.
9908         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9909         * sysdeps/i386/i486/bits/string.h: Likewise.
9910         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9911         * sysdeps/s390/bits/string.h: Likewise.
9912         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9913         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9914         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9915         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9916         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9917         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9918         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9919         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9920         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9921         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9922         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9923         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9924         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9925         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9926         * sysdeps/unix/sysv/linux/readv.c: Likewise.
9927         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9928         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9929         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9930         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9931         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9932         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9933         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9934         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9935         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9936         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9937         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9938         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9939         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9940         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9941         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9942         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9943         * sysvipc/sys/ipc.h: Likewise.
9944         * sysvipc/sys/msg.h: Likewise.
9945         * sysvipc/sys/sem.h: Likewise.
9946         * sysvipc/sys/shm.h: Likewise.
9947         * termios/termios.h: Likewise.
9948         * time/sys/time.h: Likewise.
9949         * time/time.h: Likewise.
9950         * wcsmbs/bits/wchar2.h: Likewise.
9951         * wcsmbs/uchar.h: Likewise.
9952         * wcsmbs/wchar.h: Likewise.
9953         * wctype/wctype.h: Likewise.
9955         [BZ #13551]
9956         * Makeconfig: Remove all but ELF support including AIX support.
9957         * Makerules: Likewise.
9958         * config.h.in: Likewise.
9959         * config.make.in: Likewise.
9960         * configure: Likewise.
9961         * configure.in: Likewise.
9962         * csu/Makefile: Likewise.
9963         * csu/version.c: Likewise.
9964         * debug/Makefile: Likewise.
9965         * dlfcn/Makefile: Likewise.
9966         * elf/Makefile: Likewise.
9967         * extra-lib.mk: Likewise.
9968         * iconv/Makefile: Likewise.
9969         * include/libc-symbols.h: Likewise.
9970         * include/shlib-compat.h: Likewise.
9971         * resolv/Makefile: Likewise.
9972         * resolv/res_libc.c: Likewise.
9973         * rt/Makefile: Likewise.
9974         * sysdeps/i386/asm-syntax.h: Likewise.
9975         * sysdeps/i386/sysdep.h: Likewise.
9976         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9977         * sysdeps/mach/sysdep.h: Likewise.
9978         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9979         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9980         * sysdeps/s390/asm-syntax.h: Likewise.
9981         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9982         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9983         * sysdeps/sh/sysdep.h: Likewise.
9984         * sysdeps/unix/sparc/sysdep.h: Likewise.
9985         * sysdeps/wordsize-32/divdi3.c: Likewise.
9986         * sysdeps/x86_64/sysdep.h: Likewise.
9988         * argp/Versions: Remove _argp_unlock_xxx.
9990         [BZ #13559]
9991         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
9992         * abilist/libBrokenLocale.abilist: Likewise.
9993         * abilist/libanl.abilist: Likewise.
9994         * abilist/libc.abilist: Likewise.
9995         * abilist/libcrypt.abilist: Likewise.
9996         * abilist/libdl.abilist: Likewise.
9997         * abilist/libm.abilist: Likewise.
9998         * abilist/libnsl.abilist: Likewise.
9999         * abilist/libpthread.abilist: Likewise.
10000         * abilist/libresolv.abilist: Likewise.
10001         * abilist/librt.abilist: Likewise.
10002         * abilist/libthread_db.abilist: Likewise.
10003         * abilist/libutil.abilist: Likewise.
10004         * abilist/libnss_db.abilist: New file.
10006         * scripts/abilist.awk: Add support for indirect functions.
10008         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10010         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10012         * shlib-versions: Remove entries for ports architectures.
10014         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
10015         files in ports.
10016         * elf/stackguard-macros.h: Remove support for IA-64.
10017         * elf/tst-auditmod1.c: Likewise.
10018         * sysdeps/generic/ldsodefs.h: Likewise.
10020         * sysdeps/unix/sysv/linux/configure.in: Ports should define
10021         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10022         configure files.
10024         [BZ #13552]
10025         * configure.in: Remove --enable-omitfp support.
10026         * FAQ.in: Adjust.
10027         * config.make.in: Likewise.
10028         * Makeconfig: Likewise.
10029         * manual/install.texi: Likewise.
10031         In case anyone cares, the IA-64 architecture could move to ports.
10032         * sysdeps/ia64/*: Removed.
10033         * sysdeps/unix/sysv/linux/ia64/*: Removed.
10034         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10036         [BZ #13555]
10037         * configure.in: Remove entries for unsupported architectures.
10039         [BZ #13533]
10040         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10041         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
10042         routines.
10043         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10044         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10045         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
10046         fall back to using wcrtomb.
10047         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10048         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
10049         renaming.
10050         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10051         * wcsmbs/tst-c16c32-1.c: New file.
10053         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10054         local variable.
10056         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10058         * elf/tst-unique3.cc: Add explicit declaration of gets.
10059         * elf/tst-unique3lib.cc: Likewise.
10060         * elf/tst-unique3lib2.cc: Likewise.
10061         * elf/tst-unique4.cc: Likewise.
10063         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10065 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
10067         [BZ #13566]
10068         * assert/assert.h (static_assert): Don't define for C++.
10069         * libio/stdio.h (gets): Do declare for C++ <= C++11.
10070         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10072 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
10074         * iconv/loop.c (single loop): Fix assertion in storing of
10075         remaining bytes.
10077         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10079 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
10081         * posix/getconf.c: Update copyright year.
10082         * nss/getent.c: Likewise.
10083         * nss/makedb.c: Likewise.
10084         * iconv/iconvconfig.c: Likewise.
10085         * iconv/iconv_prog.c: Likewise.
10086         * elf/ldconfig.c: Likewise.
10087         * elf/pldd.c: Likewise.
10088         * elf/sotruss.ksh: Likewise.
10089         * catgets/gencat.c: Likewise.
10090         * csu/version.c: Likewise.
10091         * elf/ldd.bash.in: Likewise.
10092         * elf/sprof.c (print_version): Likewise.
10093         * locale/programs/locale.c: Likewise.
10094         * locale/programs/localedef.c: Likewise.
10095         * login/programs/pt_chown.c: Likewise.
10096         * nscd/nscd.c (print_version): Likewise.
10097         * debug/xtrace.sh: Likewise.
10098         * malloc/memusage.sh: Likewise.
10099         * malloc/mtrace.pl: Likewise.
10100         * debug/catchsegv.sh: Likewise.
10102 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
10104         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10105         pure attribute.
10107 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
10109         [BZ #13533]
10110         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10111         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10112         transformations.
10113         * iconv/gconv_int.h: Likewise.
10114         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10115         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10116         from libc for GLIBC_2.16.
10117         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10118         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10119         * wcsmbs/uchar.h: Really define mbstate_t.
10120         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10121         * wcsmbs/c16rtomb.c: New file.
10122         * wcsmbs/mbrtoc16.c: New file.
10123         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10124         for C/POSIX locale.
10125         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10126         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10128         * wcsmbs/wchar.h: Add missing __restrict.
10130 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
10132         [BZ #13532]
10133         * time/Makefile (routines): Add timespec_get.
10134         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10135         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
10136         timespec for ISO C11.
10137         * time/timespec_get.c: New file.
10138         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10139         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10141         [BZ #13531]
10142         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10143         * stdlib/stdlib.h: Declare aligned_alloc.
10144         * Versions.def: Add GLIBC_2.16 for libc.
10145         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10147         [BZ 13527]
10148         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10149         ISO C11.
10151         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10152         code.
10154         [BZ #13528]
10155         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10157         [BZ #13529]
10158         * assert/assert.h (static_assert): Define.
10160         * version.h: Update for 2.16 development version.
10162         [BZ #13526]
10163         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10164         _ISOC11_SOURCE.
10166         * version.h (RELEASE): Bump for 2.15 release.
10167         * include/features.h (__GLIBC_MINOR__): Bump to 15.
10169         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10170         Patch by Marek Polacek <mpolacek@redhat.com>.
10172         * bits/byteswap.h: Protect long long constants with __extension__.
10173         * sysdeps/i386/bits/byteswap.h: Likewise.
10174         * sysdeps/ia64/bits/byteswap.h: Likewise.
10175         * sysdeps/s390/bits/byteswap.h: Likewise.
10176         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10178 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10180         [BZ #13540]
10181         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10182         destination buffer.
10183         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10185 2011-12-23  Marek Polacek  <polacek@redhat.com>
10187         * elf/dl-addr.c (determine_info): Add inline keyword.
10188         * elf/tst-auditmod4b.c (check_avx): Likewise.
10189         * elf/tst-auditmod6b.c (check_avx): Likewise.
10190         * elf/tst-auditmod6c.c (check_avx): Likewise.
10191         * elf/tst-auditmod7b.c (check_avx): Likewise.
10193 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
10195         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10196         !__SSE_MATH__.
10198 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10200         [BZ #13540]
10201         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10202         processing for last bytes.
10204 2011-08-06  Bruno Haible  <bruno@clisp.org>
10206         [BZ #13061]
10207         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10208         U+0385, not to U+1FEE.
10210         [BZ #13062]
10211         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10212         entry for U+00A5 U+0301.
10214 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
10216         [BZ #13166]
10217         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10218         buffer for the output is too small.
10220         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10221         optimization.
10223         [BZ #13185]
10224         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10225         SSE flags if possible.
10227 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10229         [BZ #13540]
10230         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10231         processing for last bytes.
10233 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
10235         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10236         (syscall-list-default-options, syscall-list-default-condition)
10237         (syscall-list-includes): Define.
10238         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10239         list of ABIs and options and #if conditions for each ABI.  Do not
10240         handle common syscalls between ABIs specially.
10241         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10242         Remove.
10243         (syscall-list-variants, syscall-list-32bit-options)
10244         (syscall-list-32bit-condition, syscall-list-64bit-options)
10245         (syscall-list-64bit-condition): Define.
10246         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10247         (syscall-list-variants, syscall-list-32bit-options)
10248         (syscall-list-32bit-condition, syscall-list-64bit-options)
10249         (syscall-list-64bit-condition): Define.
10250         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10251         Remove.
10252         (syscall-list-variants, syscall-list-32bit-options)
10253         (syscall-list-32bit-condition, syscall-list-64bit-options)
10254         (syscall-list-64bit-condition): Define.
10255         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10256         Remove.
10257         (syscall-list-variants, syscall-list-32bit-options)
10258         (syscall-list-32bit-condition, syscall-list-64bit-options)
10259         (syscall-list-64bit-condition): Define.
10261 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
10263         * locale/iso-639.def: Add brx entry.
10265         [BZ #13328]
10266         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10267         Proposed by Mariusz_Cukr <marcukr@op.pl>.
10269         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10270         __feraiseexcept_renamed.
10272 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
10274         [BZ #13538]
10275         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10276         EPOLLET with unsigned values.
10277         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10278         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10280         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10281         to large cancellation.
10282         * math/s_cacoshf.c: Likewise.
10283         * math/s_cacoshl.c: Likewise.
10285 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
10287         [BZ #13305]
10288         [BZ #12786]
10289         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10290         * math/s_cacoshf.c: Likewise.
10291         * math/s_cacoshl.c: Likewise.
10293 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
10295         [BZ #13439]
10296         * iconv/gconv.h: Define __GCONV_SWAP.
10297         * iconvdata/unicode.c: The swap bit must be stored in __flags.
10298         * iconvdata/utf-16.c: Likewise.
10299         * iconvdata/utf-32.c: Likewise.
10301 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
10303         [BZ #13524]
10304         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10305         numerator after shifting it by one limb.
10307 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
10309         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10310         under [__USE_EXTERN_INLINES].
10312 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
10314         [BZ #13446]
10315         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10317 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10319         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10320         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10321         optimized code.
10322         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10323         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10324         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10325         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10326         for strncasecmp/strncasecmp_l compilation.
10327         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10328         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10330 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
10332         [BZ #13484]
10333         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10334         of __asm__.
10336 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
10338         [BZ #13506]
10339         * time/tzfile.c (__tzfile_read): Check values from file header.
10341 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
10343         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10344         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10345         * powerpc/powerpc32/dl-start.S: Likewise.
10346         * powerpc/powerpc32/elf/start.S: Likewise.
10347         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10348         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10349         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10350         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10351         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10352         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10353         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10354         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10355         * powerpc/powerpc32/fpu/s_round.S: Likewise.
10356         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10357         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10358         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10359         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10360         * powerpc/powerpc32/memset.S: Likewise.
10361         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10362         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10363         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10364         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10365         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10366         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10367         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10368         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10369         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10370         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10371         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10372         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10373         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10375 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10377         * math/libm-test.inc: Added more nearbyint tests.
10378         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10379         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10380         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10381         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10383 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
10385         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10386         FD_CLOEXEC.
10388 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10390         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10391         Add wcscpy-ssse3 wcscpy-c.
10392         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10393         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10394         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10395         * sysdeps/x86_64/wcschr.S: New file.
10396         * sysdeps/x86_64/wcsrchr.S: New file.
10397         * string/test-strcmp.c: Remove checking of wcscmp function for
10398         wrong alignments.
10399         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10400         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10401         wcsrchr-sse2 wcsrchr-c.
10402         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10403         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10404         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10405         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10406         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10407         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10408         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10409         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10410         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10411         * wcsmbc/wcschr.c (WCSCHR): New macro.
10413 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10415         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10416         * wcsmbs/test-wcsrchr.c: New file.
10417         * string/test-strrchr.c: Add wcsrchr support.
10418         (WIDE): New macro.
10419         * wcsmbs/test-wcscpy.c: New file.
10420         * string/test-strcpy.c: Add wcscpy support.
10421         (WIDE): New macro.
10423 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
10425         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10426         the inner loop.
10428 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
10430         [BZ #13472]
10431         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10433 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
10435         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10436         Minor optimizations.
10438         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10439         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10440         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10442 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
10444         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10445         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10446         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10447         for gcc to avoid warnings.
10448         * inet/Makefile (tests): Add tst-checks.
10449         * inet/tst-checks.c: New file.
10451         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10452         warning.
10454         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10455         __wmemcmp_sse2.
10457         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10458         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10460         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10462 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
10464         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10465         problem.
10467         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10469 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
10471         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10472         conditional on GCC version.
10473         (__arch_compare_and_exchange_val_8_acq)
10474         (__arch_compare_and_exchange_val_16_acq)
10475         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10476         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10477         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10479 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
10481         * sysdeps/sh/backtrace.c: New file.
10483 2011-12-02  Andreas Schwab  <schwab@redhat.com>
10485         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
10486         parenthesis.
10488 2011-12-01  Andreas Schwab  <schwab@redhat.com>
10490         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10491         falling back to utime.
10493 2011-11-30  Andreas Schwab  <schwab@redhat.com>
10495         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10496         expectations for float.
10498 2011-11-29  Andreas Schwab  <schwab@redhat.com>
10500         * locale/weight.h (findidx): Add parameter len.
10501         * locale/weightwc.h (findidx): Likewise.
10502         * posix/fnmatch_loop.c (FCT): Adjust caller.
10503         * posix/regcomp.c (build_equiv_class): Likewise.
10504         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10505         * posix/regexec.c (check_node_accept_bytes): Likewise.
10506         * string/strcoll_l.c (STRCOLL): Likewise.
10507         * string/strxfrm_l.c (STRXFRM): Likewise.
10509 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
10511         * Makefile.in: Remove CVSOPT handling.
10512         * configure.in: Remove use of AC_REVISION.
10513         * iconvdata/Makefile (distribute): No need to filter out CVS.
10514         * scripts/list-sources.sh: Remove CVS, subversion and monotone
10515         handling.
10517 2011-11-16  Andreas Schwab  <schwab@redhat.com>
10519         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10520         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10521         [USE_AS_STRNCASECMP_L]: Likewise.
10522         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10523         NO_TLS_DIRECT_SEG_REFS.
10524         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10525         Fix argument offsets for non-PIC.
10526         [USE_AS_STRNCASECMP_L]: Likewise.
10527         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10528         NO_TLS_DIRECT_SEG_REFS.
10530 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
10532         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10533         O_CLOEXEC.
10534         * locale/loadlocale.c (_nl_load_locale): Likewise.
10536 2011-11-15  Andreas Schwab  <schwab@redhat.com>
10538         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10539         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10540         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10541         (SYSCALL_GETTIME): Set errno on error.
10543         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10544         count references to noai6ai_cached.
10546 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
10548         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10550         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10551         FD_CLOEXEC for /proc/self/maps.
10553         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10554         FD_CLOEXEC for /proc/meminfo.
10556         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10557         gai.conf.
10559         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
10560         FD_CLOEXEC for given file.
10562         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10564         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10565         FD_CLOEXEC for /etc/hosts.
10566         (_gethtent): Likewise.
10568         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10570         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10571         cancellation and set FD_CLOEXEC for /etc/netgroup.
10573         * nss/nss_files/files-key.c (search): Don't allow cancellation when
10574         reading /etc/publickey.
10576         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10577         allow cancellation when reading /etc/group.
10579         * nss/nss_files/files-alias.c (internal_setent): Don't allow
10580         cancellation.
10581         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
10583         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10584         when using data file.
10586         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10588         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10589         (write_nis_obj): Use "c" and "e" in fopen.
10591         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10593         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10595         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10597         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10599         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10600         locale.alias.
10602         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10604         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10606         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10608         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10609         file parsing and set FD_CLOEXEC.
10611 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
10613         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10615 2011-11-14  Andreas Schwab  <schwab@redhat.com>
10617         * malloc/arena.c (arena_get2): Don't call reused_arena when
10618         _int_new_arena failed.
10620 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
10622         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10623         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10624         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10625         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10626         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10627         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10628         to compile strcasecmp and strncasecmp.
10629         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10630         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10632         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10634 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
10636         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10637         locale-defines.sym to gen-as-const-headers.
10638         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10639         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10640         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10641         to compile strcasecmp and strncasecmp.
10642         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10643         strcasecmp_l and strncasecmp_l.
10644         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10645         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10646         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10647         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10648         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10649         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10650         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10651         * sysdeps/i386/i686/multiarch/strncase.S: New file.
10652         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10653         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10654         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10656 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
10658         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10659         result of SYSDEP_GETTIME_CPU to retval.
10660         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10661         parameter list to macro.  Remove trailing semicolon.  Adjust users.
10663         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10664         variable.
10666         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10667         mantissa words.
10668         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10670         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10671         from unused variable.
10673         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10674         DWARF definitions.
10675         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10676         for assembling.
10678         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10679         over namespaces.
10681         * sunrpc/rpc_prot.c (rejected): Fix case value.
10683         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10684         unsigned long long int to avoid warnings in shift.
10686         * posix/regex_internal.c (re_string_reconstruct): Actually use result
10687         of use of trans.
10688         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10689         variable tmp.
10691         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10692         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10693         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10695         * nis/nis_table.c (nis_list): Use variable of correct type for
10696         result of __follow_path call.
10698 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10700         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10701         of math functions ceil, trunc, floor, round, and sqrt, when
10702         avaliable on the platform.
10703         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10704         name clash.
10705         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10706         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10707         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10709 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
10711         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10712         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10714 2011-11-11  Roland McGrath  <roland@hack.frob.com>
10716         * include/unistd.h: Fix __readlink return type.
10717         Reported by Chris Metcalf <cmetcalf@tilera.com>.
10719 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
10721         * stdlib/ucontext.h: Undo last change for makecontext.
10723 2011-11-11  Andreas Schwab  <schwab@redhat.com>
10725         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10727         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10728         * setjmp/setjmp.h: Mark functions as non-leaf.
10729         * setjmp/bits/setjmp2.h: Likewise.
10730         * stdlib/ucontext.h: Likewise.
10732 2011-11-10  Andreas Schwab  <schwab@redhat.com>
10734         * malloc/arena.c (_int_new_arena): Don't increment narenas.
10735         (reused_arena): Don't check arena limit.
10736         (arena_get2): Atomically check arena limit.
10738 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
10740         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10741         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10743         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10744         instructions.
10746 2011-11-07  Andreas Schwab  <schwab@redhat.com>
10748         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10749         handler when locking.
10751         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10752         Fix size of allocated buffer.
10754 2011-11-04  Andreas Schwab  <schwab@redhat.com>
10756         [BZ #10103]
10757         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10758         declarations for long double functions.
10759         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10761         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10763 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10765         * nscd/nscd.c (main): Don't start AVC thread until credentials are
10766         installed.
10768         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10769         is disabled.
10771 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10773         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10775 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10777         * include/alloca.h (stackinfo_alloca_round): Define.
10778         (extend_alloca): Use it.
10779         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10780         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10781         here.
10783         * scripts/check-local-headers.sh: Ignore libaudit.h.
10785         * nscd/Makefile (extra-objs): Make recursively expanded.
10787 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
10789         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10790         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10792         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10793         * posix/tst-rfc3484-2.c: Likewise.
10794         * posix/tst-rfc3484-3.c: Likewise.
10796         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10797         process_vm_writev.
10798         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10799         process_vm_writev.
10800         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10801         process_vm_writev from libc using GLIBC_2.15 version.
10803         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10805 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
10807         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10808         stack usage.
10810 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
10812         [BZ #13367]
10813         * nss/getent.c (initgroups_keys): Show error message in case no group
10814         names are given.
10816         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10817         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10818         __bump_nl_timestamp.
10819         * nscd/connections (nscd_init): When host database is served open
10820         netlink socket and request notification about configuration changes.
10821         (main_loop_poll): Track netlink file descriptor and bump timestamp
10822         in case data becomes available.
10823         (main_loop_epoll): Likewise.
10824         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10825         (database_pers_head): Add extra_data fileds.
10826         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10827         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10828         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10829         Adjust caller.
10830         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10831         in6ai data, call __free_in6ai.
10832         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10833         Add -DHAVE_NETLINK.
10834         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
10835         interface information.  Reuse previous data if netlink timestamp
10836         is not changed.
10837         (__bump_nl_timestamp): New function.
10838         (__free_in6ai): New function.
10840 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
10842         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10843         close_not_cancel_no_status here.
10844         (__check_pf): Reorganize code a bit to not call close twice if OOM.
10846 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
10848         [BZ #13276]
10849         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10850         return value.
10852         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10853         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10854         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10856 2011-07-03  Andreas Jaeger  <aj@suse.de>
10858         [BZ #10709]
10859         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10860         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10861         * math/libm-test.inc (sin_test): Add test case.
10863 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
10865         [BZ #13337]
10866         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10867         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10869         * elf/chroot_canon.c (chroot_canon): Cleanups.
10871         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10873         [BZ #13335]
10874         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10875         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10877         * string/test-strchr.c: Make usable for strchrnul testing.
10878         * string/test-strchrnul.c: New file.
10879         * string/Makefile (strop-tests): Add strchrnul.
10881         * po/it.po: Update from translation team.
10882         * po/es.po: Likewise.
10884 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
10886         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10887         the three constants needed as parameters.  Drop the others.
10888         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10889         __m128i_strloadu_tolower.
10890         Create and initialize variable zero and use it in all the places
10891         where _mm_setzero_si128 was used.
10893         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10894         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10895         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10896         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10897         anymore.
10898         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10899         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10900         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10901         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10902         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10903         __mpranred, __mptan.
10904         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10905         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10906         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10907         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10908         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10909         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10910         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10911         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10912         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10914 2011-10-28  Andreas Schwab  <schwab@redhat.com>
10916         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10917         redefine if SHARED.
10918         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10920         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10921         wide char related routines to wcsmbs subdir.
10923 2011-10-27  Andreas Schwab  <schwab@redhat.com>
10925         [BZ #13344]
10926         * misc/sys/cdefs.h (__THROWNL): Define.
10927         * posix/unistd.h: Use __THREADNL instead of __THREAD
10928         for memory synchronization functions.
10930 2011-10-26  Roland McGrath  <roland@hack.frob.com>
10932         [BZ #13349]
10933         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10934         doesn't exist.
10935         * manual/stdio.texi (Obstack Streams): Node removed.
10937 2011-10-26  Andreas Schwab  <schwab@redhat.com>
10939         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10940         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10941         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10943         * math/math_private.h (math_force_eval): Allow non-addressable
10944         arguments.
10945         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10947 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10949         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10950         file is not needed.
10952         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10953         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10954         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10955         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10956         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10957         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10958         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10959         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10960         Add AVX variants.
10961         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10962         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10963         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10964         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10965         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10966         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10967         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10968         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10969         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10970         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10971         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10972         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10973         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10974         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10975         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10976         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10977         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10978         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10979         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10981         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10982         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
10984         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10985         place.  Use VEX encoding when compiling for AVX.
10987 2011-10-25  Andreas Schwab  <schwab@redhat.com>
10989         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10990         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10992         * string/test-strchr.c (do_test): Don't generate NUL bytes.
10994 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10996         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10997         useless if() expression.
10998         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10999         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11000         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11001         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11002         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11003         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11004         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11005         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11006         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11007         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11008         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11009         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11010         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11011         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11012         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11013         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11014         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11015         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11016         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11018         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11020 2011-10-25  Andreas Schwab  <schwab@redhat.com>
11022         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11023         condition.
11024         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11026 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
11028         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11029         .text section.  Avoid duplicate constants.
11030         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11031         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11032         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11033         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11034         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11035         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11036         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11037         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11038         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11039         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11040         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11041         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11042         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11043         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11044         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11045         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11046         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11047         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11048         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11049         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11050         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11051         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11052         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11053         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11054         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11055         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11056         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11057         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11058         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11059         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11060         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11061         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11062         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11063         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11064         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11065         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11066         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11067         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11068         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11069         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11070         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11071         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11072         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11073         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11074         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11076 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
11078         * sysdeps/x86_64/dla.h: Move to ...
11079         * sysdeps/x86_64/fpu/dla.h: ...here.
11080         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11081         situations.  Use __builtin_fma only for gcc 4.6 and up.
11083         * config.make.in: Add have-mfma4 entry.
11084         * configure.in: Substitute libc_cv_cc_fma4.
11085         * math/Makefile (dbl-only-routines): Add sincostab.
11086         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11087         Use __sincostab not sincos.
11088         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11089         name is a macro.
11090         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11091         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11092         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11093         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
11094         using __copysign.
11095         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
11096         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
11097         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11098         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11099         and __inv.
11100         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11101         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11102         __copysign.
11103         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
11104         define aliases when function name is a macro.
11105         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11106         sysdeps/ieee754/dbl-64/sincos.tbl.
11107         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11108         fma4-enabled routines.
11109         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11110         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11111         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11112         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11113         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11114         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11115         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11116         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11117         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11118         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11119         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11120         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11121         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11122         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11123         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11124         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11125         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11126         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11127         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11128         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11129         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11130         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11131         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11132         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11133         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11134         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11135         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11136         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11137         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11138         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11140         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11141         rename.
11142         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11143         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11144         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11145         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11146         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11148         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11149         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11151 2011-10-24  Andreas Schwab  <schwab@redhat.com>
11153         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11155 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11157         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11159         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11160         prediction.
11161         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11163         * string/strnlen.c: Don't define STRNLEN, reverse logic.
11164         Remove unused variable magic_bits.
11165         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11167         * string/strnlen.c: Define and use STRNLEN macro.
11168         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11169         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11170         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11171         * wcsmbs/wcslen.c: Define and use WCSLEN.
11172         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11173         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11174         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11175         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11176         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11177         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11178         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11180 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11183         strnlen-sse2-no-bsf.
11184         Rename strlen-no-bsf to strlen-sse2-no-bsf.
11185         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11186         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11187         Add strnlen support.
11188         (USE_AS_STRNLEN): New macro.
11189         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11190         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11191         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11192         * sysdeps/x86_64/wcslen.S: New file.
11194 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
11196         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11197         XMM-moves are used for copying on small sizes.
11199 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11201         * wcsmbs/Makefile (strop-tests): Add wcschr.
11202         * wcsmbs/test-wcschr.c: New file.
11203         * string/test-strchr.c: Update.
11204         Add wcschr support.
11205         (WIDE): New macro.
11207 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11209         * wcsmbs/Makefile (strop-tests): Add wcslen.
11210         * wcsmbs/test-wcslen.c: New file.
11211         * string/test-strlen.c: Update.
11212         Add wcslen support.
11213         (WIDE): New macro.
11215 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11217         * po/it.po: Update from translation team.
11219 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11221         * sysdeps/x86_64/wcscmp.S: Update.
11222         Fix wrong comparison semantics.
11223         wcscmp shall use signed comparison not unsigned.
11224         Don't use substraction to avoid overflow bug.
11225         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11226         * wcsmbc/wcscmp.c: Likewise.
11227         * string/test-strcmp.c: Likewise.
11228         Add new tests to check cases with negative values.
11230 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11232         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11233         * sysdeps/x86_64/dla.h: ...here.  New file.
11234         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11235         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11236         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11237         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11238         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11239         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11240         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11241         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11242         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11244 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
11246         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11247         __ynl_finite aliases.
11249 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
11251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11253         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11254         define DLA_FMA.
11255         [DLA_FMA] (EMULV): Use DLA_FMA.
11256         [DLA_FMA] (MUL12): Use EMULV.
11257         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11258         that are not needed.
11259         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11260         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11261         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11262         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11263         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11264         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11265         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11267 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
11269         * math/s_nan.c: Undef __nan.
11270         * math/s_nanf.c: Undef __nanf.
11271         * math/s_nanl.c: Undef __nanl.
11272         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11273         "math_private.h".
11275 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
11277         * math/s_catan.c: Add branch predictions.
11278         * math/s_catanf.c: Likewise.
11279         * math/s_catanh.c: Likewise.
11280         * math/s_catanhf.c: Likewise.
11281         * math/s_catanhl.c: Likewise.
11282         * math/s_catanl.c: Likewise.
11283         * math/s_cexp.c: Likewise.
11284         * math/s_cexpf.c: Likewise.
11285         * math/s_cexpl.c: Likewise.
11286         * math/s_clog.c: Likewise.
11287         * math/s_clog10.c: Likewise.
11288         * math/s_clog10f.c: Likewise.
11289         * math/s_clog10l.c: Likewise.
11290         * math/s_clogf.c: Likewise.
11291         * math/s_clogl.c: Likewise.
11292         * math/s_csqrt.c: Likewise.
11293         * math/s_csqrtf.c: Likewise.
11294         * math/s_csqrtl.c: Likewise.
11295         * math/s_ctanf.c: Likewise.
11296         * math/s_ctanh.c: Likewise.
11297         * math/s_ctanhf.c: Likewise.
11298         * math/s_ctanhl.c: Likewise.
11299         * math/s_ctanl.c: Likewise.
11301         * math/math_private.h: Define __nan, __nanf, __nanl.
11302         * math/s_cacosh.c: Include <math_private.h>.
11303         * math/s_cacoshl.c: Likewise.
11304         * math/s_casinh.c: Likewise.
11305         * math/s_casinhf.c: Likewise.
11306         * math/s_casinhl.c: Likewise.
11307         * math/s_ccos.c: Rely entire on ccosh.
11308         * math/s_ccosf.c: Rely entire on ccoshf.
11309         * math/s_ccosl.c: Rely entirely on ccoshl.
11310         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
11311         Remove tests for FE_INVALID.
11312         * math/s_ccoshf.c: Likewise.
11313         * math/s_ccoshl.c: Likewise.
11314         * math/s_csin.c: Likewise.
11315         * math/s_csinf.c: Likewise.
11316         * math/s_csinh.c Likewise.
11317         * math/s_csinhf.c: Likewise.
11318         * math/s_csinhl.c: Likewise.
11319         * math/s_csinl.c: Likewise.
11320         * math/s_ctan.c: Likewise.
11321         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11322         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11323         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11325 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
11327         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11328         compilation problems.
11330         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11331         __builtin_expect.
11333 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
11335         * sysdeps/i386/configure.in: Test for -mfma4 option.
11336         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11337         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11338         COMMON_CPUID_INDEX_80000001.
11339         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11340         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11341         use it if FMA3 is not supported.
11342         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11344         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11345         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11347 2011-10-20  Andreas Schwab  <schwab@redhat.com>
11349         [BZ #12892]
11350         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11351         it would create a cycle with a link time dependency.
11353 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
11355         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11356         instruction.
11357         * string/Makefile (strop-tests): Add rawmemchr.
11358         * string/test-rawmemchr.c: New file.
11360         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11361         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
11362         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
11363         when compiling str{,n}casecmp and when AVX is available.  Hook up
11364         new optimized code in initializers.
11366 2011-10-19  Andreas Schwab  <schwab@redhat.com>
11368         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11369         __feraiseexcept instead of feraiseexcept.
11371 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
11373         * math/math_private.h: Define defaults for libc_fetestexcept and
11374         libc_feupdateenv.
11375         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11376         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11377         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11378         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11379         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11380         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11381         libc_fetestexcept and libc_feupdateenv.
11383         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11384         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11385         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11386         * sysdeps/x86_64/fpu/math_private.h: Define special version of
11387         libc_feholdexcept_setround.
11389         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11390         Add s_nearbyint-c and s_nearbyintf-c.
11391         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11392         nearbyintf inlines.
11393         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11394         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11395         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11396         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11398         * math/math_private.h: Define defaults for libc_fegetround,
11399         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11400         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11401         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11402         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11403         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11404         standard functions.
11405         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11406         Remove comments and hacks for old compiler versions.
11407         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11408         libc_fegetround, libc_fesetround, libc_feholdexcept, and
11409         libc_feholdexceptl.
11411 2011-10-18  Andreas Schwab  <schwab@redhat.com>
11413         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11414         (__feraiseexcept_renamed): Add __NTH.
11415         (feraiseexcept): Add __NTH.  Rename local variables to fix
11416         namespace violations.
11418 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
11420         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11422         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11424         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11425         recently added interfaces.
11426         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11428         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11429         about macro parameter expansion.
11431         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11432         __NO_MATH_INLINES is defined.  Cleanups.
11434         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11435         and __floorf is target has SSE4.1.
11436         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11437         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11438         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11439         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11441         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11442         name.
11443         (floorf): Likewise.
11445         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11447 2011-10-17  Andreas Schwab  <schwab@redhat.com>
11449         * misc/sys/cdefs.h: Fix last change.
11451         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11452         database lookup.
11454 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
11456         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11458         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11459         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11460         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11461         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11462         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11463         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11464         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11465         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11466         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11467         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11468         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11469         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11470         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11471         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11472         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11473         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11474         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11475         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11476         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11477         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11478         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11479         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11481         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11482         ceil, ceilf, floor, floorf.
11484         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11485         Perform IRELATIVE relocations last.
11487         * elf/do-rel.h: Add another parameter nrelative, replacing the
11488         local variable with the same name.  Change name of the function
11489         to end in Rel or Rela (uppercase).
11490         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11491         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
11492         elf_dynamic_do_##reloc function.
11494 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
11496         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11497         is sufficient, at least on modern CPUs.
11499         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11501         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11502         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11504         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11505         __expl_finite.
11506         * math/bits/math-finite.h: Add entries for exp.
11507         * math/e_expl.c: Add __*_finite alias.
11508         * sysdeps/i386/fpu/e_exp.S: Likewise.
11509         * sysdeps/i386/fpu/e_expf.S: Likewise.
11510         * sysdeps/i386/fpu/e_expl.c: Likewise.
11511         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11512         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11513         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11514         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11515         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11516         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11517         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11519         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11520         is sufficient, at least on modern CPUs.
11522         * ctype/ctype-info.c (__ctype_init): Define.
11523         * include/ctype.h (__ctype_init): Declare.
11524         (__ctype_b_loc): The variable is always initialized.
11525         (__ctype_toupper_loc): Likewise.
11526         (__ctype_tolower_loc): Likewise.
11527         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11528         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11530 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
11532         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11534         * configure.in: Also look in $cxxmachine/include for C++ system
11535         headers.
11537 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11539         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11540         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11541         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11542         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
11543         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11544         (USE_AS_WMEMCMP): New macro.
11545         Fixing indents.
11546         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11547         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11548         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11549         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11550         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11551         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11552         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11553         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11554         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11555         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11556         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11557         (USE_AS_WMEMCMP): New macro.
11558         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11559         * sysdeps/string/test-memcmp.c: Update.
11560         Fix simple_wmemcmp.
11561         Add new tests.
11562         * wcsmbs/wmemcmp.c: Update.
11563         (WMEMCMP): New macro.
11564         Fix overflow bug.
11566 2011-10-12  Andreas Jaeger  <aj@suse.de>
11568         [BZ #13268]
11569         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11571 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
11573         * libio/iofwide.c (do_length): Avoid warning.
11575         * ctype/ctype.h (__isctype_f): Add missing __THROW.
11577 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
11579         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11581         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11582         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11583         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11584         * sysdeps/i386/i686/fpu/e_log.S: New file.
11585         * sysdeps/i386/i686/fpu/e_logf.S: New file.
11586         * sysdeps/i386/i686/fpu/e_logl.S: New file.
11588         * ctype/ctype.h: Add support for inlined isXXX functions when
11589         compiling C++ code.
11591 2011-10-14  Andreas Schwab  <schwab@redhat.com>
11593         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11595         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11597 2011-10-13  Roland McGrath  <roland@hack.frob.com>
11599         [BZ #13291]
11600         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11602 2011-10-13  Andreas Schwab  <schwab@redhat.com>
11604         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11605         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11606         feraiseexcept.
11608         * sysdeps/x86_64/memrchr.S: Check for zero size.
11610         * string/stratcliff.c: Add memrchr tests.
11612 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11614         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11615         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11616         rawmemchr-sse2 rawmemchr-sse2-bsf.
11617         * sysdeps/i386/i686/multiarch/memchr.S: New file.
11618         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11619         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11620         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11621         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11622         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11623         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11624         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11625         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11626         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11627         * string/memrchr.c (MEMRCHR): New macro.
11629 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
11631         Add integration with gcc's -ffinite-math-only and optimize wrapper
11632         functions in libm.
11633         * Versions.def: Define GLIBC_2.15 version for libm.
11634         * math/Makefile (headers): Add bits/math-finite.h.
11635         * math/bits/math-finite.h: New file.
11636         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11637         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11638         * math/e_acoshl.c: Add __*_finite alias.
11639         * math/e_acosl.c: Likewise.
11640         * math/e_asinl.c: Likewise.
11641         * math/e_atan2l.c: Likewise.
11642         * math/e_atanhl.c: Likewise.
11643         * math/e_coshl.c: Likewise.
11644         * math/e_exp10.c: Likewise.
11645         * math/e_exp10f.c: Likewise.
11646         * math/e_exp10l.c: Likewise.
11647         * math/e_exp2l.c: Likewise.
11648         * math/e_fmodl.c: Likewise.
11649         * math/e_gammal_r.c: Likewise.
11650         * math/e_hypotl.c: Likewise.
11651         * math/e_j0l.c: Likewise.
11652         * math/e_j1l.c: Likewise.
11653         * math/e_jnl.c: Likewise.
11654         * math/e_lgammal_r.c: Likewise.
11655         * math/e_log10l.c: Likewise.
11656         * math/e_log2l.c: Likewise.
11657         * math/e_logl.c: Likewise.
11658         * math/e_powl.c: Likewise.
11659         * math/e_sinhl.c: Likewise.
11660         * math/e_sqrtl.c: Likewise.
11661         * math/e_scalb.c: Completely rewritten and optimized.
11662         * math/e_scalbf.c: Likewise.
11663         * math/e_scalbl.c: Likewise.
11664         * math/w_acos.c: Likewise.
11665         * math/w_acosf.c: Likewise.
11666         * math/w_acosl.c: Likewise.
11667         * math/w_acosh.c: Likewise.
11668         * math/w_acoshf.c: Likewise.
11669         * math/w_acoshl.c: Likewise.
11670         * math/w_asin.c: Likewise.
11671         * math/w_asinf.c: Likewise.
11672         * math/w_asinl.c: Likewise.
11673         * math/w_atan2.c: Likewise.
11674         * math/w_atan2f.c: Likewise.
11675         * math/w_atan2l.c: Likewise.
11676         * math/w_atanh.c: Likewise.
11677         * math/w_atanhf.c: Likewise.
11678         * math/w_atanhl.c: Likewise.
11679         * math/w_exp10.c: Likewise.
11680         * math/w_exp10f.c: Likewise.
11681         * math/w_exp10l.c: Likewise.
11682         * math/w_fmod.c: Likewise.
11683         * math/w_fmodf.c: Likewise.
11684         * math/w_fmodl.c: Likewise.
11685         * math/w_j0.c: Likewise.
11686         * math/w_j0f.c: Likewise.
11687         * math/w_j0l.c: Likewise.
11688         * math/w_j1.c: Likewise.
11689         * math/w_j1f.c: Likewise.
11690         * math/w_j1l.c: Likewise.
11691         * math/w_jn.c: Likewise.
11692         * math/w_jnf.c: Likewise.
11693         * math/w_log.c: Likewise.
11694         * math/w_logf.c: Likewise.
11695         * math/w_logl.c: Likewise.
11696         * math/w_log10.c: Likewise.
11697         * math/w_log10f.c: Likewise.
11698         * math/w_log10l.c: Likewise.
11699         * math/w_log2.c: Likewise.
11700         * math/w_log2f.c: Likewise.
11701         * math/w_log2l.c: Likewise.
11702         * math/w_pow.c: Likewise.
11703         * math/w_powf.c: Likewise.
11704         * math/w_powl.c: Likewise.
11705         * math/w_remainder.c: Likewise.
11706         * math/w_remainderf.c: Likewise.
11707         * math/w_remainderl.c: Likewise.
11708         * math/w_scalb.c: Likewise.
11709         * math/w_scalbf.c: Likewise.
11710         * math/w_scalbl.c: Likewise.
11711         * math/w_sqrt.c: Likewise.
11712         * math/w_sqrtf.c: Likewise.
11713         * math/w_sqrtl.c: Likewise.
11714         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11715         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
11716         used.
11717         * math/math_private.h: Declare __kernel_standard_f.
11718         * math/w_cosh.c: Remove cruft and optimize a bit.
11719         * math/w_coshf.c: Likewise.
11720         * math/w_coshl.c: Likewise.
11721         * math/w_exp2.c: Likewise.
11722         * math/w_exp2f.c: Likewise.
11723         * math/w_exp2l.c: Likewise.
11724         * math/w_hypot.c: Likewise.
11725         * math/w_hypotf.c: Likewise.
11726         * math/w_hypotl.c: Likewise.
11727         * math/w_lgamma.c: Likewise.
11728         * math/w_lgamma_r.c: Likewise.
11729         * math/w_lgammaf.c: Likewise.
11730         * math/w_lgammaf_r.c: Likewise.
11731         * math/w_lgammal.c: Likewise.
11732         * math/w_lgammal_r.c: Likewise.
11733         * math/w_sinh.c: Likewise.
11734         * math/w_sinhf.c: Likewise.
11735         * math/w_sinhl.c: Likewise.
11736         * math/w_tgamma.c: Likewise.
11737         * math/w_tgammaf.c: Likewise.
11738         * math/w_tgammal.c: Likewise.
11739         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11740         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11741         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11742         Minor optimizations.  Pretty printing.  Remove cruft.
11743         * sysdeps/i386/fpu/e_acosf.S: Likewise.
11744         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11745         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11746         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11747         * sysdeps/i386/fpu/e_acosl.c: Likewise.
11748         * sysdeps/i386/fpu/e_asin.S: Likewise.
11749         * sysdeps/i386/fpu/e_asinf.S: Likewise.
11750         * sysdeps/i386/fpu/e_atan2.S: Likewise.
11751         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11752         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11753         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11754         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11755         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11756         * sysdeps/i386/fpu/e_exp10.S: Likewise.
11757         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11758         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11759         * sysdeps/i386/fpu/e_exp2.S: Likewise.
11760         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11761         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11762         * sysdeps/i386/fpu/e_fmod.S: Likewise.
11763         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11764         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11765         * sysdeps/i386/fpu/e_hypot.S: Likewise.
11766         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11767         * sysdeps/i386/fpu/e_log.S: Likewise.
11768         * sysdeps/i386/fpu/e_log10.S: Likewise.
11769         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11770         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11771         * sysdeps/i386/fpu/e_log2.S: Likewise.
11772         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11773         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11774         * sysdeps/i386/fpu/e_logf.S: Likewise.
11775         * sysdeps/i386/fpu/e_logl.S: Likewise.
11776         * sysdeps/i386/fpu/e_pow.S: Likewise.
11777         * sysdeps/i386/fpu/e_powf.S: Likewise.
11778         * sysdeps/i386/fpu/e_powl.S: Likewise.
11779         * sysdeps/i386/fpu/e_remainder.S: Likewise.
11780         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11781         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11782         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11783         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11784         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11785         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11786         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11787         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11788         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11789         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11790         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11791         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11792         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11793         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11794         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11795         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11796         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11797         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11798         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11799         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11800         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11801         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11802         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11803         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11804         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11805         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11806         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11807         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11808         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11809         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11810         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11811         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11812         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11813         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11814         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11815         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11816         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11817         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11818         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11819         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11820         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11821         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11822         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11823         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11824         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11825         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11826         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11827         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11828         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11829         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11830         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11831         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11832         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11833         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11834         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11835         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11836         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11837         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11838         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11839         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11840         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11841         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11842         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11843         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11844         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11845         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11846         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11847         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11848         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11849         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11850         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11851         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11852         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11853         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11854         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11855         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11856         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11857         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11858         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11859         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11860         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11861         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11862         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11863         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11864         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11865         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11866         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11867         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11868         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11869         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11870         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11871         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11872         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11873         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11874         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11875         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11876         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11877         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11878         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11879         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11880         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11881         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11882         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11883         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11884         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11885         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11886         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11887         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11888         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11889         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11890         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11891         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11892         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11893         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11894         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11895         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11896         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11897         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11898         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
11899         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11900         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11901         (__isnanf): Likewise.
11902         (__isinf_ns): Likewise.
11903         (__isinf_nsf): Likewise.
11904         (__finite): Likewise.
11905         (__finitef): Likewise.
11906         (__ieee754_sqrt): Define as macro.
11907         (__ieee754_sqrtf): Define as macro.
11908         (__ieee754_sqrtl): Define as macro.
11909         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11910         inlined copy.
11911         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11912         __FINITE_MATH_ONLY__ consistent.
11913         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11915 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
11917         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11918         of rawmemchr.
11920         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11922 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
11924         * po/ja.po: Update from translation team.
11926 2011-10-08  Roland McGrath  <roland@hack.frob.com>
11928         * locale/programs/locarchive.c (prepare_address_space): New function.
11929         (create_archive, enlarge_archive, open_archive): Use it.
11931         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11932         inside [SHARED], where it is used.
11934         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11936         * nss/getent.c (netgroup_keys): Remove unused variable.
11937         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11939 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
11941         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11942         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11943         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11944         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11945         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11946         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11947         * math/Makefile (libm-calls): Add s_isinf_ns.
11948         * math/divtc3.c: Use __isinf_nsl instead of isinf.
11949         * math/multc3.c: Likewise.
11950         * math/s_casin.c: Likewise.
11951         * math/s_casinf.c: Likewise.
11952         * math/s_casinl.c: Likewise.
11953         * math/s_ccos.c: Likewise.
11954         * math/s_ccosf.c: Likewise.
11955         * math/s_ccosl.c: Likewise.
11956         * math/s_ctan.c: Likewise.
11957         * math/s_ctanf.c: Likewise.
11958         * math/s_ctanh.c: Likewise.
11959         * math/s_ctanhf.c: Likewise.
11960         * math/s_ctanhl.c: Likewise.
11961         * math/s_ctanl.c: Likewise.
11962         * math/w_fmod.c: Likewise.
11963         * math/w_fmodf.c: Likewise.
11964         * math/w_fmodl.c: Likewise.
11965         * math/w_remainder.c: Likewise.
11966         * math/w_remainderf.c: Likewise.
11967         * math/w_remainderl.c: Likewise.
11968         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11969         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11970         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11971         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11972         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11973         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11974         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11975         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11977         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11978         of the number.
11979         * stdio-common/printf_fphex.c: Likewise.
11980         * stdio-common/printf_size.c: Likewise.
11982         * math/e_exp10.c: Include math_private.h using <...> not "...".
11983         * math/e_exp10f.c: Likewise.
11984         * math/e_exp10l.c: Likewise.
11985         * math/e_exp2l.c: Likewise.
11986         * math/e_j0l.c: Likewise.
11987         * math/e_j1l.c: Likewise.
11988         * math/e_jnl.c: Likewise.
11989         * math/e_lgammal_r.c: Likewise.
11990         * math/e_rem_pio2l.c: Likewise.
11991         * math/e_scalb.c: Likewise.
11992         * math/e_scalbf.c: Likewise.
11993         * math/e_scalbl.c: Likewise.
11994         * math/k_cosl.c: Likewise.
11995         * math/k_sinl.c: Likewise.
11996         * math/k_tanl.c: Likewise.
11997         * math/s_cacoshf.c: Likewise.
11998         * math/s_catan.c: Likewise.
11999         * math/s_catanf.c: Likewise.
12000         * math/s_catanh.c: Likewise.
12001         * math/s_catanhf.c: Likewise.
12002         * math/s_catanhl.c: Likewise.
12003         * math/s_catanl.c: Likewise.
12004         * math/s_ccosh.c: Likewise.
12005         * math/s_ccoshf.c: Likewise.
12006         * math/s_ccoshl.c: Likewise.
12007         * math/s_cexp.c: Likewise.
12008         * math/s_cexpf.c: Likewise.
12009         * math/s_cexpl.c: Likewise.
12010         * math/s_clog.c: Likewise.
12011         * math/s_clog10.c: Likewise.
12012         * math/s_clog10f.c: Likewise.
12013         * math/s_clog10l.c: Likewise.
12014         * math/s_clogf.c: Likewise.
12015         * math/s_clogl.c: Likewise.
12016         * math/s_csin.c: Likewise.
12017         * math/s_csinf.c: Likewise.
12018         * math/s_csinh.c: Likewise.
12019         * math/s_csinhf.c: Likewise.
12020         * math/s_csinhl.c: Likewise.
12021         * math/s_csinl.c: Likewise.
12022         * math/s_csqrt.c: Likewise.
12023         * math/s_csqrtf.c: Likewise.
12024         * math/s_csqrtl.c: Likewise.
12025         * math/s_ctan.c: Likewise.
12026         * math/s_ctanf.c: Likewise.
12027         * math/s_ctanh.c: Likewise.
12028         * math/s_ctanhf.c: Likewise.
12029         * math/s_ctanhl.c: Likewise.
12030         * math/s_ctanl.c: Likewise.
12031         * math/s_ldexp.c: Likewise.
12032         * math/s_ldexpf.c: Likewise.
12033         * math/s_ldexpl.c: Likewise.
12034         * math/s_significand.c: Likewise.
12035         * math/s_significandf.c: Likewise.
12036         * math/s_significandl.c: Likewise.
12037         * math/w_acos.c: Likewise.
12038         * math/w_acosf.c: Likewise.
12039         * math/w_acosh.c: Likewise.
12040         * math/w_acoshf.c: Likewise.
12041         * math/w_acoshl.c: Likewise.
12042         * math/w_acosl.c: Likewise.
12043         * math/w_asin.c: Likewise.
12044         * math/w_asinf.c: Likewise.
12045         * math/w_asinl.c: Likewise.
12046         * math/w_atan2.c: Likewise.
12047         * math/w_atan2f.c: Likewise.
12048         * math/w_atan2l.c: Likewise.
12049         * math/w_atanh.c: Likewise.
12050         * math/w_atanhf.c: Likewise.
12051         * math/w_atanhl.c: Likewise.
12052         * math/w_cosh.c: Likewise.
12053         * math/w_coshf.c: Likewise.
12054         * math/w_coshl.c: Likewise.
12055         * math/w_dremf.c: Likewise.
12056         * math/w_exp10.c: Likewise.
12057         * math/w_exp10f.c: Likewise.
12058         * math/w_exp10l.c: Likewise.
12059         * math/w_exp2.c: Likewise.
12060         * math/w_exp2f.c: Likewise.
12061         * math/w_fmod.c: Likewise.
12062         * math/w_fmodf.c: Likewise.
12063         * math/w_fmodl.c: Likewise.
12064         * math/w_hypot.c: Likewise.
12065         * math/w_hypotf.c: Likewise.
12066         * math/w_hypotl.c: Likewise.
12067         * math/w_j0.c: Likewise.
12068         * math/w_j0f.c: Likewise.
12069         * math/w_j0l.c: Likewise.
12070         * math/w_j1.c: Likewise.
12071         * math/w_j1f.c: Likewise.
12072         * math/w_j1l.c: Likewise.
12073         * math/w_jn.c: Likewise.
12074         * math/w_jnf.c: Likewise.
12075         * math/w_jnl.c: Likewise.
12076         * math/w_lgamma.c: Likewise.
12077         * math/w_lgamma_r.c: Likewise.
12078         * math/w_lgammaf.c: Likewise.
12079         * math/w_lgammaf_r.c: Likewise.
12080         * math/w_lgammal.c: Likewise.
12081         * math/w_lgammal_r.c: Likewise.
12082         * math/w_log.c: Likewise.
12083         * math/w_log10.c: Likewise.
12084         * math/w_log10f.c: Likewise.
12085         * math/w_log10l.c: Likewise.
12086         * math/w_log2.c: Likewise.
12087         * math/w_log2f.c: Likewise.
12088         * math/w_log2l.c: Likewise.
12089         * math/w_logf.c: Likewise.
12090         * math/w_logl.c: Likewise.
12091         * math/w_pow.c: Likewise.
12092         * math/w_powf.c: Likewise.
12093         * math/w_powl.c: Likewise.
12094         * math/w_remainder.c: Likewise.
12095         * math/w_remainderf.c: Likewise.
12096         * math/w_remainderl.c: Likewise.
12097         * math/w_scalb.c: Likewise.
12098         * math/w_scalbf.c: Likewise.
12099         * math/w_scalbl.c: Likewise.
12100         * math/w_sinh.c: Likewise.
12101         * math/w_sinhf.c: Likewise.
12102         * math/w_sinhl.c: Likewise.
12103         * math/w_sqrt.c: Likewise.
12104         * math/w_sqrtf.c: Likewise.
12105         * math/w_sqrtl.c: Likewise.
12106         * math/w_tgamma.c: Likewise.
12107         * math/w_tgammaf.c: Likewise.
12108         * math/w_tgammal.c: Likewise.
12110         * po/ja.po: Update from translation team.
12112 2011-09-29  Andreas Jaeger  <aj@suse.de>
12114         [BZ #13179]
12115         * sunrpc/netname.c (netname2host): Fix logic.
12117         [BZ #6779]
12118         [BZ #6783]
12119         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12120         correctly.
12121         * math/w_remainder.c (__remainder): Likewise.
12122         * math/w_remainderf.c (__remainderf): Likewise.
12123         * math/libm-test.inc (remainder_test): Add test cases.
12125 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12127         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
12128         sdiv_qrnnd.
12130 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
12132         * string/test-memcmp.c: Avoid unncessary #defines.
12133         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12135 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12137         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12138         Use new sse2 version for core i3 - i7 as it's faster
12139         than sse42 version.
12140         (bit_Prefer_PMINUB_for_stringop): New.
12141         * sysdeps/x86_64/rawmemchr.S: Update.
12142         Replace with faster SSE2 version.
12143         * sysdeps/x86_64/memrchr.S: New file.
12144         * sysdeps/x86_64/memchr.S: Update.
12145         Replace with faster SSE2 version.
12147 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
12149         * elf/dl-load.c (lose): Add cast to avoid warning.
12151 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
12153         * po/ca.po: Update from translation team.
12155         * inet/getnetgrent_r.c: Hook up nscd.
12156         * nscd/Makefile (routines): Add nscd_netgroup.
12157         (nscd-modules): Add netgroupcache.
12158         (CFLAGS-netgroupcache.c): Define.
12159         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12160         (cache_search): Add const to second parameter.
12161         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12162         INNETGR.
12163         (dbs): Add netgrdb entry.
12164         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12165         (verify_persistent_db): Handle netgrdb.
12166         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12167         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12168         GETFDNETGR.
12169         (netgroup_response_header): Define.
12170         (innetgroup_response_header): Define.
12171         (datahead): Add netgroup_response_header and innetgroup_response_header
12172         elements.
12173         * nscd/nscd.conf: Add entries for netgroup cache.
12174         * nscd/nscd.h (dbtype): Add netgrdb.
12175         (_PATH_NSCD_NETGROUP_DB): Define.
12176         (netgroup_iov_disabled): Declare.
12177         (xmalloc, xcalloc, xrealloc): Move declarations here.
12178         (cache_search): Adjust prototype.
12179         Add netgroup-related prototypes.
12180         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12181         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12182         (__nscd_innetgr): Declare.
12183         * nscd/selinux.c (perms): Use access_vector_t as element type and
12184         add netgroup-related initializers.
12185         * nscd/netgroupcache.c: New file.
12186         * nscd/nscd_netgroup.c: New file.
12187         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12188         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12189         For four parameters use innetgr.
12190         * nss/nss_files/files-init.c: Add definition and callback for netgr.
12191         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12192         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12193         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12195         * nscd/connections.c (register_traced_file): Don't register file
12196         for disabled databases.
12198 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
12200         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12202         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12203         from tree and freeing node.
12205 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
12207         * nss/nsswitch.c (__nss_database_lookup): Handle
12208         nss_parse_service_list out of memory case.
12210 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
12212         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12213         out of memory case.
12215 2011-10-04  Andreas Schwab  <schwab@redhat.com>
12217         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12218         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12219         pass it down.
12220         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12221         elf_machine_rela, elf_machine_lazy_rel.
12222         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12223         (ELF_DYNAMIC_DO_REL): Likewise.
12224         (ELF_DYNAMIC_DO_RELA): Likewise.
12225         (ELF_DYNAMIC_RELOCATE): Likewise.
12226         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12227         to ELF_DYNAMIC_DO_REL.
12228         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12229         (dl_main): In trace mode always set __RTLD_NOIFUNC.
12230         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12231         elf_machine_rela.
12232         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12233         skip_ifunc, don't call ifunc function if non-zero.
12234         (elf_machine_rela): Likewise.
12235         (elf_machine_lazy_rel): Likewise.
12236         (elf_machine_lazy_rela): Likewise.
12237         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12238         (elf_machine_lazy_rel): Likewise.
12239         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12240         Likewise.
12241         (elf_machine_lazy_rel): Likewise.
12242         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12243         Likewise.
12244         (elf_machine_lazy_rel): Likewise.
12245         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12246         (elf_machine_lazy_rel): Likewise.
12247         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12248         (elf_machine_lazy_rel): Likewise.
12249         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12250         (elf_machine_lazy_rel): Likewise.
12251         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12252         (elf_machine_lazy_rel): Likewise.
12253         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12254         (elf_machine_lazy_rel): Likewise.
12255         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12256         (elf_machine_lazy_rel): Likewise.
12258 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
12260         * nss/nss_files/files-init.c (_nss_files_init): Use static
12261         initialization for all the *_traced_file variables.
12263 2011-09-28  Andreas Schwab  <schwab@redhat.com>
12265         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12267 2011-09-27  Roland McGrath  <roland@hack.frob.com>
12269         [BZ #13226]
12270         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12272 2011-09-27  Andreas Schwab  <schwab@redhat.com>
12274         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12275         Reread the line before reparsing it.
12277 2011-09-26  Andreas Schwab  <schwab@redhat.com>
12279         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12281 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
12282             Maxim Kuvyrkov  <maxim@codesourcery.com>
12283             Joseph Myers  <joseph@codesourcery.com>
12285         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12286         if needed for __stack_chk_guard.
12288 2011-09-19  Roland McGrath  <roland@hack.frob.com>
12290         * sysdeps/posix/spawni.c (script_execute): Always define it.
12291         It will be optimized away if unused.
12292         (maybe_script_execute): New function.
12293         (__spawni): Call it.
12295         * Makerules: Don't include tls.make.
12296         (config-tls): Always set to thread.
12297         * tls.make.c: File removed.
12299 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
12301         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12302         * config.make.in (CPPFLAGS-config): New substituted variable.
12304 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
12306         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12308         [BZ #13192]
12309         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12310         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12312 2011-09-15  Roland McGrath  <roland@hack.frob.com>
12314         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12315         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12316         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12317         (CALL_FAIL): Likewise.
12318         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12319         (CALL_FAIL): Macro removed.
12320         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12322 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
12324         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12325         for __FINITE_MATH_ONLY__ == 1.
12327 2011-09-15  Andreas Schwab  <schwab@redhat.com>
12329         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12330         __ieee754_sqrt instead of sqrt.
12331         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12332         __ieee754_sqrtf instead of sqrtf.
12333         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12334         __floorf instead of floorf.
12335         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12336         __floorf, __truncf instead of floorf, truncf.
12338 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
12340         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12342         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12343         __extern_always_inline.
12344         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12345         32-bit.
12347 2011-09-14  Andreas Schwab  <schwab@redhat.com>
12349         * elf/rtld.c (dl_main): Also relocate in dependency order when
12350         doing symbol dependency testing.
12352 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
12354         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12355         Always define `refsym'.
12357 2011-09-13  Andreas Schwab  <schwab@redhat.com>
12359         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12360         (__FD_ELT): Renamed from __FDELT.
12361         * misc/bits/select2.h (__FD_ELT): Likewise.
12362         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12363         __FD_MASK instead of __FDELT, __FDMASK.
12364         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12365         Likewise.
12366         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12367         Likewise.
12369         * elf/Makefile (gen-ldd): Fix pattern.
12371         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12372         (init_tls): Likewise.
12374 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
12376         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12378 2011-09-12  Andreas Schwab  <schwab@redhat.com>
12380         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12381         `struct cmsghdr *' instead of `void *'.
12382         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12383         Likewise.
12385 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
12387         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12388         if non-absolute.
12389         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12390         ldd_rewrite_script.
12392 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
12394         * configure.in: Remove --with-tls option.
12395         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12396         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12397         out in case it is missing.
12398         * sysdeps/ia64/elf/configure.in: Likewise.
12399         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12400         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12401         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12402         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12403         * sysdeps/sh/elf/configure.in: Likewise.
12404         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12405         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12406         * sysdeps/x86_64/elf/configure.in: Likewise.
12407         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12408         * sysdeps/mach/hurd/tls.h: Likewise.
12410         [BZ #13067]
12411         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12413         [BZ #13090]
12414         * configure.in: Fix use of AC_INIT.
12416         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12418 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
12420         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12421         __set_errno.
12422         * malloc/hooks.c: Likewise.
12424         [BZ #11929]
12425         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
12426         variables statically.
12427         (narenas): Initialize.
12428         (list_lock): Initialize.
12429         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
12430         initializtion of main_arena and list_lock.  Small cleanups.
12431         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12432         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
12433         Add initializers to main_arena and mp_.
12434         (malloc_state): Remove pagesize member.  Change all users to use
12435         GLRO(dl_pagesize).
12437         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12438         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
12439         is always initialized.
12441         * malloc/malloc.c: Removed unused configurations and dead code.
12442         * malloc/arena.c: Likewise.
12443         * malloc/hooks.c: Likewise.
12444         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12446         * include/tls.h: Removed.  USE___THREAD must always be defined.
12447         * bits/libc-tsd.h: Don't handle !USE___THREAD.
12448         * elf/dl-libc.c: Likewise.
12449         * elf/dl-tsd.c: Likewise.
12450         * include/errno.h: Likewise.
12451         * include/netdb.h: Likewise.
12452         * include/resolv.h: Likewise.
12453         * inet/herrno-loc.c: Likewise.
12454         * inet/herrno.c: Likewise.
12455         * malloc/arena.c: Likewise.
12456         * malloc/hooks.c: Likewise.
12457         * malloc/malloc.c: Likewise.
12458         * resolv/res-state.c: Likewise.
12459         * resolv/res_libc.c: Likewise.
12460         * sysdeps/i386/dl-machine.h: Likewise.
12461         * sysdeps/ia64/dl-machine.h: Likewise.
12462         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12463         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12464         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12465         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12466         * sysdeps/sh/dl-machine.h: Likewise.
12467         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12468         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12469         * sysdeps/unix/i386/sysdep.S: Likewise.
12470         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12471         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12472         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12473         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12474         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12475         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12476         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12477         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12478         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12479         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12480         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12481         * sysdeps/x86_64/dl-machine.h: Likewise.
12482         * tls.make.c: Likewise.
12484         * configure.in: Remove --with-__thread option.  Make tests for
12485         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12486         tls_model attribute fail if no support is available.  Remove
12487         USE_IN_LIBIO.
12488         * Makeconfig: Adjust for dropped configure option.  All features are
12489         now mandatory.
12490         * Makerules: Likewise.
12491         * Versions.def: Likewise.
12492         * argp/argp-fmtstream.c: Likewise.
12493         * argp/argp-fmtstream.h: Likewise.
12494         * argp/argp-help.c: Likewise.
12495         * assert/assert.c: Likewise.
12496         * config.h.in: Likewise.
12497         * config.make.in: Likewise.
12498         * configure: Likewise.
12499         * configure.in: Likewise.
12500         * csu/Versions: Likewise.
12501         * csu/init.c: Likewise.
12502         * elf/tst-audit2.c: Likewise.
12503         * elf/tst-tls10.c: Likewise.
12504         * elf/tst-tls10.h: Likewise.
12505         * elf/tst-tls11.c: Likewise.
12506         * elf/tst-tls12.c: Likewise.
12507         * elf/tst-tls14.c: Likewise.
12508         * elf/tst-tlsmod11.c: Likewise.
12509         * elf/tst-tlsmod12.c: Likewise.
12510         * elf/tst-tlsmod13.c: Likewise.
12511         * elf/tst-tlsmod13a.c: Likewise.
12512         * elf/tst-tlsmod14a.c: Likewise.
12513         * elf/tst-tlsmod15b.c: Likewise.
12514         * elf/tst-tlsmod16a.c: Likewise.
12515         * elf/tst-tlsmod16b.c: Likewise.
12516         * elf/tst-tlsmod7.c: Likewise.
12517         * elf/tst-tlsmod8.c: Likewise.
12518         * elf/tst-tlsmod9.c: Likewise.
12519         * gmon/gmon.c: Likewise.
12520         * grp/fgetgrent_r.c: Likewise.
12521         * grp/putgrent.c: Likewise.
12522         * hurd/fopenport.c: Likewise.
12523         * include/libc-symbols.h: Likewise.
12524         * include/tls.h: Likewise.
12525         * intl/gettextP.h: Likewise.
12526         * intl/loadinfo.h: Likewise.
12527         * locale/global-locale.c: Likewise.
12528         * locale/localeinfo.h: Likewise.
12529         * mach/devstream.c: Likewise.
12530         * malloc/arena.c: Likewise.
12531         * malloc/set-freeres.c: Likewise.
12532         * misc/err.c: Likewise.
12533         * misc/getttyent.c: Likewise.
12534         * misc/mntent_r.c: Likewise.
12535         * posix/getopt.c: Likewise.
12536         * posix/wordexp.c: Likewise.
12537         * pwd/fgetpwent_r.c: Likewise.
12538         * resolv/Versions: Likewise.
12539         * resolv/res_hconf.c: Likewise.
12540         * shadow/fgetspent_r.c: Likewise.
12541         * shadow/putspent.c: Likewise.
12542         * stdio-common/printf_fphex.c: Likewise.
12543         * stdio-common/tmpfile.c: Likewise.
12544         * stdlib/abort.c: Likewise.
12545         * stdlib/fmtmsg.c: Likewise.
12546         * sunrpc/auth_unix.c: Likewise.
12547         * sunrpc/clnt_perr.c: Likewise.
12548         * sunrpc/clnt_tcp.c: Likewise.
12549         * sunrpc/clnt_udp.c: Likewise.
12550         * sunrpc/clnt_unix.c: Likewise.
12551         * sunrpc/openchild.c: Likewise.
12552         * sunrpc/svc_simple.c: Likewise.
12553         * sunrpc/svc_tcp.c: Likewise.
12554         * sunrpc/svc_udp.c: Likewise.
12555         * sunrpc/svc_unix.c: Likewise.
12556         * sunrpc/xdr.c: Likewise.
12557         * sunrpc/xdr_array.c: Likewise.
12558         * sunrpc/xdr_rec.c: Likewise.
12559         * sunrpc/xdr_ref.c: Likewise.
12560         * sunrpc/xdr_stdio.c: Likewise.
12562 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12564         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12566 2011-07-03  Andreas Jaeger  <aj@suse.de>
12568         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12569         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12570         regenerate with gen-libm-tests.pl.
12572 2010-05-12  Petr Baudis  <pasky@suse.cz>
12574         [BZ #11589]
12575         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12576         around j0() zero points by switching to j1().
12577         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12578         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12579         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12580         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12582 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12584         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12585         instead of 0.
12586         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12587         instead of 0.                              .
12588         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12589         Patch in part by Pavel Roskin <proski@gnu.org>.
12591         [BZ #13138]
12592         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12593         realloc.
12594         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
12595         Free memory block if necessary.
12597         [BZ #12847]
12598         * libio/genops.c (INTDEF): For string streams the _lock pointer can
12599         be NULL.  Don't lock in this case.
12601 2011-09-09  Roland McGrath  <roland@hack.frob.com>
12603         * elf/elf.h (ELFOSABI_GNU): New macro.
12604         (ELFOSABI_LINUX): Define to that.
12606 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
12608         * string/strncat.c (strncat): Undef the symbol in case it has been
12609         defined in bits/string.h.
12611 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12613         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12615         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12616         link map.
12618 2011-08-17  Andreas Jaeger  <aj@suse.de>
12620         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12622 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12623             Ian Lance Taylor  <iant@google.com>
12625         * math/libm-test.inc (lround_test): New testcase.
12626         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12628 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
12630         * Makefile: Remove support for automatic cvs check-ins.
12631         * Makerules: Likewise.
12632         * config.make.in: Likewise.
12633         * configure.in: Likewise.
12634         * intl/Makefile: Likewise.
12635         * locale/Makefile: Likewise.
12636         * po/Makefile: Likewise.
12637         * posix/Makefile: Likewise.
12638         * sysdeps/gnu/Makefile: Likewise.
12639         * sysdeps/mach/hurd/Makefile: Likewise.
12640         * sysdeps/sparc/sparc32/Makefile: Likewise.
12642         [BZ #13118]
12643         * posix/Makefile (bug-regex32-ENV): Define.
12644         Patch by John Stanley <jpsinthemix@verizon.net>.
12646         * misc/Makefile (headers): Add bits/select2.h.
12647         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12648         * misc/bits/select2.h: New file.
12649         * include/bits/select2.h: New file.
12650         * debug/Makefile (routines): Add fdelt_chk.
12651         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12652         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12653         FD_ISSET.
12654         * debug/fdelt_chk.c: New file.
12656         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
12657         * wcsmbs/test-wmemcmp.c: Likewise.
12658         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12659         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12661 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12663         * string/Makefile (strop-tests): Add memcmp.
12664         * string/test-wmemcmp.c: New file.
12665         * string/test-memcmp.c: Add wmemcmp support.
12667 2011-09-08  Roland McGrath  <roland@hack.frob.com>
12669         [BZ #13153]
12670         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12671         2011-07-19 change.
12673         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12674         garbage value in a __mach_port_mod_refs call in the cases of the
12675         task-self and thread-self ports.
12677 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12679         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12681 2011-09-08  Andreas Schwab  <schwab@redhat.com>
12683         * elf/dl-load.c (lose): Check for non-null L.
12685 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
12687         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12689         * elf/dl-libc.c (dlerror_run): Pass back error code from
12690         dl_catch_error.
12692         [BZ #13123]
12693         * elf/dl-load.c (lose): Free l_origin if it is valid.
12695         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12696         names.
12697         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12698         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12699         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12700         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12701         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12702         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12704 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12706         * sysdeps/powerpc/fpu/e_hypot.c: New file.
12707         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12708         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12709         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12710         * sysdeps/powerpc/fpu/k_cosf.c: New file.
12711         * sysdeps/powerpc/fpu/k_sinf.c: New file.
12712         * sysdeps/powerpc/fpu/s_cosf.c: New file.
12713         * sysdeps/powerpc/fpu/s_sinf.c: New file.
12714         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12715         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12717 2011-08-15  Alan Modra  <amodra@gmail.com>
12719         [BZ #13092]
12720         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12721         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12722         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
12723         ppc_mcount to static-only-routines.
12724         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12725         __mcount_internal.
12726         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12727         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
12729 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
12731         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12732         for finite and infinity parameters.
12734 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
12736         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12737         and add nop instructions for throughput optimization.
12738         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12740 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
12742         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12743         aligned copy for power7 with vector-scalar instructions.
12744         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12746 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
12748         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12749         AVX check.
12751 2011-09-07  Andreas Schwab  <schwab@redhat.com>
12753         [BZ #13144]
12754         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12755         last change.
12757 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
12759         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12760         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12761         syscall wrapper around clock_gettime in __vdso_clock_gettime.
12762         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12763         clock_gettime.
12765 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
12767         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12768         Forgot to demangle the pointer.
12770         * sysdeps/i386/sysdep.h: Define atom_text_section.
12771         * sysdeps/x86_64/sysdep.h: Likewise.
12772         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12773         section with atom_text_section.
12774         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12775         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12776         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12777         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12778         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12780         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12781         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12782         already be defined.  Change to take two parameters and don't assign
12783         result to variable.  Adjust all users.
12784         Define INTERNAL_GETTIME if not already defined.
12785         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12786         call.
12787         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12788         HAVE_CLOCK_GETTIME_VSYSCALL.
12789         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12791         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12792         gettimeofday vsyscall, just use time.
12794 2011-09-06  Andreas Schwab  <schwab@redhat.com>
12796         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12797         <errno.h>.
12799 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
12801         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12802         syscall on x86-64.
12803         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12804         syscall.
12805         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12806         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12807         syscall if possible.
12809 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12811         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12812         e_ident.  Don't pass to find_mapsXX.
12813         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12815 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12818         strchr-sse2-no-bsf strrchr-sse2-no-bsf
12819         * sysdeps/x86_64/multiarch/strchr.S: Update.
12820         Check bit_slow_BSF bit.
12821         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12822         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12823         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12825 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12827         [BZ #13134]
12828         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12829         before glibc 2.15.
12830         (tryshell): Define.
12831         (__spawni): Change last parameter to be flag.  Test
12832         SPAWN_XFLAGS_USE_PATH flag to use path or not.
12833         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12834         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12835         * posix/spawni.c: Likewise.
12836         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12837         * posix/spawnp.c: Likewise.  Change normal version to use
12838         SPAWN_XFLAGS_USE_PATH.
12839         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12840         SPAWN_XFLAGS_TRY_SHELL.
12842         [BZ #13150]
12843         * posix/glob.h: Remove gcc 1.x support.
12845         [BZ #13068]
12846         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12848 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12850         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12851         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12852         strrchr-sse2-bsf
12853         * sysdeps/i386/i686/multiarch/strchr.S: New file.
12854         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12855         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12856         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12857         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12858         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12860 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12862         * sysdeps/x86_64/wcscmp.S: New file.
12864         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12865         wcscmp-c wcscmp-sse2
12866         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12867         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12868         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12869         * wcsmbs/wcscmp.c: Allow renaming.
12871 2011-09-05  David S. Miller  <davem@davemloft.net>
12873         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12874         stack slot, rather than the struct return pointer slot.
12875         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12876         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12878         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12880 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12882         * po/ja.po: Update from translation team.
12884         [BZ #13144]
12885         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12886         kernel in 64-bit binaries.
12888 2011-09-01  David S. Miller  <davem@davemloft.net>
12890         * elf/elf.h (HWCAP_SPARC_*): Move to..
12891         * sysdeps/sparc/sysdep.h: this new file and add new values.
12892         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12893         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12894         _DL_HWCAP_COUNT to 24.
12895         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12896         entries.
12897         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12898         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12899         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12900         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12901         instead of magic constants.
12902         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12904 2011-08-31  David S. Miller  <davem@davemloft.net>
12906         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12907         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12908         Reimplement to do errno handling inline.
12909         (SYSCALL_ERROR_HANDLER): New macro.
12910         (__SYSCALL_STRING): Do not do errno handling in asm.
12911         (__CLONE_SYSCALL_STRING): Delete.
12912         (__INTERNAL_SYSCALL_STRING): Delete.
12913         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12914         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12915         (PSEUDO): Reimplement to do errno handling inline.
12916         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12917         (SYSCALL_ERROR_HANDLER): New macro.
12918         (__SYSCALL_STRING): Do not do errno handling in asm.
12919         (__CLONE_SYSCALL_STRING): Delete.
12920         (__INTERNAL_SYSCALL_STRING): Delete.
12921         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12922         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12923         i386.
12924         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12925         (inline_syscall*): Add 'err' argument.
12926         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12927         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12928         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12929         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12931         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12932         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12934 2011-08-30  Andreas Schwab  <schwab@redhat.com>
12936         * elf/rtld.c (dl_main): Relocate objects in dependency order.
12938 2011-08-29  Jiri Olsa <jolsa@redhat.com>
12940         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12941         directive.
12943 2011-08-24  David S. Miller  <davem@davemloft.net>
12945         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12947 2011-08-24  Andreas Schwab  <schwab@redhat.com>
12949         * elf/Makefile: Add rules to build and run unload8 test.
12950         * elf/unload8.c: New file.
12951         * elf/unload8mod1.c: New file.
12952         * elf/unload8mod1x.c: New file.
12953         * elf/unload8mod2.c: New file.
12954         * elf/unload8mod3.c: New file.
12956         * elf/dl-close.c (_dl_close_worker): Reset private search list if
12957         it wasn't used.
12959 2011-08-23  David S. Miller  <davem@davemloft.net>
12961         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12962         subtract stack bias.
12963         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12964         %sp not %fp in calculations.
12965         (_JMPBUF_UNWINDS_ADJ): Likewise.
12967         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12968         (aio_suspend): Call it to force an exception region around the
12969         AIO_MISC_WAIT() invocation.
12971 2011-08-23  Andreas Schwab  <schwab@redhat.com>
12973         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12974         backslash.
12976 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
12978         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12979         protection macro.
12980         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12981         and <dl-machine.h>.
12982         (Elf64_FuncDesc): Remove.
12984 2011-08-22  David S. Miller  <davem@davemloft.net>
12986         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12987         sigaltstack check, add missing cfi directives.
12988         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12989         missing cfi directives, and sigaltstack handling.
12991 2011-08-16  Andreas Schwab  <schwab@redhat.com>
12993         [BZ #11724]
12994         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12995         object is seen twice.
12996         * elf/dl-fini.c (_dl_sort_fini): Likewise.
12998         * elf/Makefile (distribute): Add tst-initorder2.c.
12999         (tests): Add tst-initorder2.
13000         (modules-names): Add tst-initorder2a tst-initorder2b
13001         tst-initorder2c tst-initorder2d.  Add rules to build them.
13002         ($(objpfx)tst-initorder2.out): New rule.
13003         * elf/tst-initorder2.c: New file.
13004         * elf/tst-initorder2.exp: New file.
13006 2011-08-22  Andreas Schwab  <schwab@redhat.com>
13008         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13010         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13011         dependencies back to end of function.
13013         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13014         $(elfobjdir)/ld.so.
13016 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
13018         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13019         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13020         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13021         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13022         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13023         of __vdso_gettimeofday.
13024         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13025         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
13026         attribute_hidden.
13027         (_libc_vdso_platform_setup): Remove initialization of
13028         __vdso_gettimeofday and __vdso_time.
13030 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
13032         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13033         and fgetc_unlocked.
13034         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13035         getc_unlocked.
13037         * elf/dl-open.c (add_to_global): Report additions to the global scope
13038         for LD_DEBUG=scopes.
13039         (dl_open_worker): Also print scope of newly loaded dependencies.
13040         (_dl_show_scope): Indicate if there is no scope.
13042         [BZ #13114]
13043         * stdio-common/Makefile (tests): Add bug24.
13044         * stdio-common/bug24.c: New file.
13046 2011-08-19  Andreas Jaeger  <aj@suse.de>
13048         [BZ #13114]
13049         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13050         non-existant file when using close-on-exec mode.
13052 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
13054         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13055         the very first instruction.
13057         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13058         the CFI state in the end.
13059         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13060         inclusion of dl-trampoline.h.
13061         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13063 2011-08-19  Andreas Schwab  <schwab@redhat.com>
13065         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13066         expectations for long double.
13068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13069         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13071 2011-08-14  David S. Miller  <davem@davemloft.net>
13073         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13074         artificual limit depends upon the system page size.
13076 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
13078         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13079         * resolv/Makefile: Define CFLAGS-libresolv.
13081 2011-08-17  Andreas Schwab  <schwab@redhat.com>
13083         * nss/makedb.c (compute_tables): Make variables used in nested
13084         function static.
13086 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
13088         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13089         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13090         if buffer was too small.
13092         * elf/pldd.c (main): Attach to all threads in the process.
13093         Rewrite /proc handling to use *at functions.
13095 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
13097         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13098         specifies first scope to show.
13099         (dl_open_worker): Update callers.  Move printing scope of new
13100         object to before the relocation.
13101         * elf/rtld.c (dl_main): Update _dl_show_scope call.
13102         * sysdeps/generic/ldsodefs.h: Update declaration.
13104         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13105         string for the scope number.
13107 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
13109         * nscd/servicescache.c (cache_addserv): Make sure written is always
13110         initialized.
13112 2011-08-14  Roland McGrath  <roland@hack.frob.com>
13114         * sysdeps/i386/i486/bits/atomic.h
13115         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13116         statement expression, so as to suppress "set but not used" warning.
13117         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13119         * string/strncat.c (STRNCAT): Use prototype definition.
13121         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13122         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13123         -Iprograms here.
13124         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13125         (localedef-modules): Add localedef.
13126         (locale-modules): Add locale.
13128         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13129         * elf/rtld.c (dl_main): Invert order of assignment in last change,
13130         to avoid a warning.
13132 2011-08-14  David S. Miller  <davem@davemloft.net>
13134         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13135         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13137 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
13139         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13140         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13141         * elf/rtld.c (dl_main): Set l_name of vDSO.
13142         Call _dl_show_scope when DL_DEBUG_SCOPES.
13143         (process_dl_debug): Recognize scopes flag and also set it for all.
13144         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13145         Declare _dl_show_scope.
13147         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13148         (do_dlopen): Pass caller_dlopen to dl_open.
13149         (__libc_dlopen_mode): Initialize caller_dlopen.
13151         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13152         of libc.  Make tolower call locale-independent.  Optimize a bit by
13153         using isdigit instead of isalnum.
13154         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13156 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
13158         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13159         was a dependency or dynamically loaded.
13161 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
13163         * intl/l10nflist.c: Allow architecture-specific pop function.
13164         * sysdeps/x86_64/l10nflist.c: New file.
13166         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13167         classification.
13169 2011-08-10  Andreas Schwab  <schwab@redhat.com>
13171         * include/dirent.h: Add libc_hidden_proto for scandirat and
13172         scandirat64.  Don't declare __scandirat64.
13173         * dirent/scandirat.c: Add libc_hidden_def.
13174         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13175         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13177 2011-08-10  David S. Miller  <davem@davemloft.net>
13179         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13180         enum.
13181         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13182         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13183         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13185 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
13187         * Versions.def [libc]: Add GLIBC_2.15.
13188         * dirent/Makefile (routines): Add scandirat and scandirat64.
13189         * dirent/Versions [libc]: Export scandirat and scandirat64 for
13190         GLIBC_2.15.
13191         * dirent/dirent.h: Declare scandirat and scandirat64.
13192         * dirent/scandirat.c: New file.
13193         * dirent/scandirat64.c: New file.
13194         * sysdeps/wordsize-64/scandirat.c: New file.
13195         * sysdeps/wordsize-64/scandirat64.c: New file.
13196         * dirent/opendir.c: Define opendirat.
13197         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
13198         using scandirat.
13199         * dirent/scandir64.c: Adjust for scandir.c change.
13200         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
13201         __scandirat64, and __scandir_cancel_handler.
13202         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
13203         additional parameter and use openat instead of open (outside of ld.so).
13204         Add new __opendir as wrapper around __opendirat.
13205         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13206         here without requiring old scandirat implementation.
13208 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
13210         * dirent/scandir.c (cancel_handler): Renamed to
13211         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
13212         defined.  Adjust users.
13213         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13214         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13216 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
13218         * string/test-string.h (IMPL): Use __STRING to expand name and then
13219         stringify it.
13221         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
13222         of cleanups.
13224 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13226         * string/Makefile: Update.
13227         (strop-tests): Append strncat.
13228         * string/test-wcscmp.c: New file.
13229         New comprehensive test for wcscmp.
13230         * string/test-strcmp.c: Update.
13231         (WIDE): New define.
13233 2011-07-22  Andreas Schwab  <schwab@redhat.com>
13235         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13236         line.
13238 2011-07-26  Andreas Schwab  <schwab@redhat.com>
13240         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13241         encoding to ACE if AI_IDN.
13243 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
13245         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13246         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13248 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13250         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13251         Fix overflow bug in strncat.
13252         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13254         * string/test-strncat.c: Update.
13255         Add new tests for checking overflow bugs.
13257 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13259         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13260         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13261         * sysdeps/i386/i686/multiarch/strcat.S: New file.
13262         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13263         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13264         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13265         * sysdeps/i386/i686/multiarch/strncat.S: New file.
13266         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13267         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13269         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13270         (USE_AS_STRCAT): Define.
13271         Add strcat and strncat support.
13272         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13274 2011-07-25  Andreas Schwab  <schwab@redhat.com>
13276         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13277         __n bigger than INT_MAX+1.
13278         (__strncmp_g): Likewise.
13280 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
13282         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13283         * libio/stido.h: Likewise.
13285         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13286         (AF_NFC): Define.
13287         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13288         (AF_NFC): Define.
13290         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13291         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13292         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13293         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13294         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13296         [BZ #13021]
13297         * scripts/test-installation.pl: Don't expect libnss_test1 to be
13298         installed.
13300         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13301         typo.
13302         (_dl_x86_64_save_sse): Likewise.
13304 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
13306         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13307         OSXSAVE.
13308         (_dl_x86_64_save_sse): Likewise.
13310         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13312         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13314 2011-07-21  Andreas Schwab  <schwab@redhat.com>
13316         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13317         change.
13318         (_dl_x86_64_save_sse): Use correct AVX check.
13320 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13322         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13323         bug in strncpy/strncat.
13324         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13326 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
13328         * string/tester.c (test_strcat): Add tests for different alignments
13329         of source and destination.
13330         (test_strncat): Likewise.
13332 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
13334         [BZ #12852]
13335         * posix/glob.c (glob): Check passed in values before using them in
13336         expressions to avoid some overflows.
13337         (glob_in_dir): Likewise.
13339         [BZ #13007]
13340         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13341         check for AVX enablement so that we don't crash with old kernels and
13342         new hardware.
13343         * elf/tst-audit4.c: Add same checks here.
13344         * elf/tst-audit6.c: Likewise.
13346         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13348 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
13350         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13352 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
13354         * po/cs.po: Update from translation team.
13355         * po/bg.po: Likewise.
13357 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
13359         * misc/sys/cdefs.h: Add support for const attribute.
13360         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13361         to gnu_dev_{major,minor,makedev} functions.
13363 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
13365         * intl/dcigettext.c (get_output_charset): Add missing bracket.
13367 2011-07-20  Andreas Schwab  <schwab@redhat.com>
13369         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13370         strlen results.
13372 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13374         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13375         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13376         register in order to avoid conflicts with the soft frame pointer
13377         being held in r11 when necessary.
13378         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13379         (INTERNAL_VSYSCALL_NCS): Likewise.
13381 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
13383         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13384         * elf/dl-fini.c (_dl_fini): Adjust caller.
13385         * elf/dl-close.c (_dl_close_worker): Likewise.
13386         * sysdeps/generic/ldsodefs.h: Adjust declaration.
13388 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
13390         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13391         "aux_cache->nlibs < 0".
13393         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13394         in the reload-count case.
13396 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13399         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13400         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13401         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13402         * sysdeps/x86_64/multiarch/strcat.S: New file.
13403         * sysdeps/x86_64/multiarch/strncat.S: New file.
13404         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13405         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13406         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13407         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13408         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13409         (USE_AS_STRCAT): Define.
13410         Add strcat and strncat support.
13411         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13412         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13413         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13414         * string/strncat.c: Update.
13415         (USE_AS_STRNCAT): Define.
13416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13417         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13418         and i7.
13419         * sysdeps/x86_64/multiarch/init-arch.h
13420         (bit_Prefer_PMINUB_for_stringop): New.
13421         (index_Prefer_PMINUB_for_stringop): Likewise.
13422         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13423         bit_Prefer_PMINUB_for_stringop.
13425 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
13427         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13428         buffer64.
13429         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13430         of casting of buffer.
13431         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13432         buffer32 and buffer64.
13433         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13434         writes instead of casting of buffer.
13435         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13436         buffer32.
13437         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13438         casting of buffer.
13440 2011-07-19  Andreas Schwab  <schwab@redhat.com>
13442         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13444 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
13446         * nscd/nscd.c (termination_handler): Don't do anything for a database
13447         if it has not yet been initialized.
13449 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
13451         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13453 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
13455         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13457 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
13459         * po/nl.po: Update from translation team.
13460         * po/sv.po: Likewise.
13462 2011-07-16  Roland McGrath  <roland@hack.frob.com>
13464         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13465         now disallowed by GCC.
13467         * configure.in (use-default-link): Default to yes if a test -shared
13468         link meets our qualifications.
13469         * configure: Regenerated.
13471         * config.make.in (output-format): New variable.
13472         * configure.in: Check for ld --print-output-format support.
13473         * configure: Regenerated.
13474         * Makerules ($(common-objpfx)format.lds)
13475         [$(output-format) != unknown]: Just use $(output-format),
13476         instead of the linker-script munging.
13478 2011-07-14  Roland McGrath  <roland@hack.frob.com>
13480         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13481         of $(common-objpfx)shlib.lds.
13482         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13484         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13485         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13487         * configure.in (-z relro check): Adjust test code to add a large
13488         writable data section after it.
13489         * configure: Regenerated.
13491 2011-07-11  Roland McGrath  <roland@hack.frob.com>
13493         * configure.in (-z relro check): Fix test code to make the variable
13494         truly const.
13495         * configure: Regenerated.
13497 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
13499         * nscd/nscd.h (struct traced_file): Define.
13500         (struct database_dyn): Remove inotify_descr, reset_res, and filename
13501         elements.  Add traced_files.
13502         (inotify_fd): Declare.
13503         (register_traced_file): Declare.
13504         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13505         (inotify_fd): Export.
13506         (resolv_conf_descr): Remove.
13507         (nscd_init): Move inotify descriptor creation to main.
13508         Don't register files for notification here.
13509         (register_traced_file): New function.
13510         (invalidate_cache): Don't use reset_res to determine whether to call
13511         res_init, go through the list of registered files.
13512         (main_loop_poll): The inotify descriptors are now stored in the
13513         structures for the traced files.
13514         (main_loop_epoll): Likewise
13515         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
13516         to __nss_disable_nscd.
13517         * nscd/cache.c (prune_cache): There is no single inotify descriptor
13518         for a database anymore.  Check the records for all the registered
13519         files instead.
13520         * nss/Makefile (libnss_files-routines): Add files-init.
13521         (libnss_db-routines): Add db-init.
13522         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13523         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13524         * nss/nss_db/db-init.c: New file.
13525         * nss/nss_files/files-init.c: New file.
13526         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
13527         __nss_lookup_function.
13528         (__nss_lookup_function): Call nss_load_library.
13529         (nss_load_all_libraries): New function.
13530         (__nss_disable_nscd): Take parameter with callback function for files
13531         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
13532         used for the cached services.
13533         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13534         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13535         options for features to all the files in nscd.
13537         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13539 2011-07-10  Roland McGrath  <roland@hack.frob.com>
13541         * csu/elf-init.c (__libc_csu_init): Comment typo.
13543 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
13545         * po/pl.po: Update from translation team.
13546         * po/ja.po: Likewise.
13547         * po/ru.po: Likewise.
13548         * po/ko.po: Likewise.
13549         * po/fr.po: Likewise.
13551 2011-07-09  Roland McGrath  <roland@hack.frob.com>
13553         * configure.in (.ctors/.dtors header and trailer check):
13554         Use an empirical test on a built program.
13555         * configure: Regenerated.
13557         * configure.in (-z relro check): Use an empirical test on a built DSO.
13558         Detect, but do not require, on ia64.
13559         * configure: Regenerated.
13561         * configure.in (READELF): Find it with AC_CHECK_TOOL.
13562         Update tests that use readelf to use $READELF instead.
13563         * configure: Regenerated.
13565 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
13567         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13568         if the result is not used.
13570 2011-07-05  Andreas Jaeger  <aj@suse.de>
13572         [BZ#9696]
13573         * stdlib/tst-strtod.c: Add testcase.
13575 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
13577         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13578         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13579         The latter has a higher limit.  Take additional parameter to pass to
13580         the new function.
13581         (__pathconf): Pass file to __statfs_link_max.
13582         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13583         __statfs_link_max.
13584         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13585         __statfs_link_max.
13587         [BZ #12868]
13588         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13589         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13590         Handle Lustre.
13591         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13592         (__statfs_filesize_max): Likewise.
13593         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13595 2011-07-05  Andreas Jaeger  <aj@suse.de>
13597         * resolv/res_comp.c (dn_skipname): Remove unused variable.
13599 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
13601         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13602         `status' variable.
13603         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13604         Likewise.
13606 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
13608         * Makefile (strop-tests): Add strncat.
13609         * string/test-strncat.c: New file.
13611 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
13613         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13615 2011-06-21  Andreas Jaeger  <aj@suse.de>
13617         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13618         Copy rule from iconvdata/Makefile.
13620 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
13622         [BZ #12922]
13623         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13624         but no long options are defined, just return 'W'.
13626 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
13628         [BZ #9696]
13629         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13631 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
13633         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13634         netgroups to read.
13635         (innetgr): Likewise.
13637 2011-07-05  Roland McGrath  <roland@hack.frob.com>
13639         * config.make.in (install_root): Default to $(DESTDIR).
13641 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
13643         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13645 2011-07-02  Roland McGrath  <roland@hack.frob.com>
13647         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13649         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13650         containing directory rather than embedding absolute directory names.
13652         * scripts/check-local-headers.sh: Rewritten using awk.
13653         Match by word, not by line.  Print error messages for matches.
13654         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13656         * Makerules [shlib-lds-flags empty]:
13657         ($(common-objpfx)libc_pic.opts): New target.
13658         ($(common-objpfx)libc_pic.os.clean): New target.
13659         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13661         * config.make.in (OBJCOPY): New variable.
13662         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13663         * configure: Regenerated.
13665         * config.make.in (use-default-link): New variable.
13666         * configure.in (use_default_link): Grok --with-default-link to set it.
13667         * configure: Regenerated.
13668         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13669         (shlib-lds, shlib-lds-flags): Define to empty.
13671         * Makerules (shlib-lds): New variable.
13672         (shlib-lds-flags): New variable.
13673         (build-shlib, build-moduile, build-module-asneeded): Use it.
13674         ($(common-objpfx)libc.so): Use $(shlib-lds).
13675         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13676         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13678         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13679         DT_FLAGS/DT_FLAGS_1 with zero flags.
13681         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13682         linker script munging.
13684 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
13686         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13687         as 128-bit value.
13688         * crypt/sha512.c (sha512_process_block): Perform total addition using
13689         128-bit if possible.
13690         (__sha512_finish_ctx): Likewise.
13691         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13692         as 64-bit value.
13693         * crypt/sha256.c (SWAP64): Define.
13694         (sha256_process_block): Perform total addition using 64-bit if
13695         possible.
13696         (__sha256_finish_ctx): Likewise.
13698 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
13700         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
13701         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13702         * nscd/hstcache.c (cache_addhst): Likewise.
13703         * nscd/grpcache.c (cache_addgr): Likewise.
13704         * nscd/aicache.c (addhstaiX): Likewise
13705         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13707 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
13709         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13710         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13711         * nscd/hstcache.c (cache_addhst): Likewise.
13712         * nscd/grpcache.c (cache_addgr): Likewise.
13713         * nscd/aicache.c (addhstaiX): Likewise
13715 2011-07-01  Andreas Schwab  <schwab@redhat.com>
13717         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13718         domain only when needed.
13720 2011-06-30  Andreas Schwab  <schwab@redhat.com>
13722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13723         is always restored.
13725 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
13727         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13728         are re-adding the entry.
13729         * nscd/servicescache.c (cache_addserv): Likewise.
13731 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13733         * sysdeps/generic/dl-irel.h: fix protection against multiple
13734         inclusions.
13735         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13737 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
13739         [BZ #12935]
13740         * malloc/memusage.sh: Fix quoting in message.
13741         * debug/xtrace.sh: Likewise.
13743         * configure.in: Remove support for --experimental-malloc option, make
13744         it the default.
13745         * config.make.in: Likewise.
13746         * malloc/Makefile: Likewise.
13748 2011-06-27  Andreas Schwab  <schwab@redhat.com>
13750         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13751         two-byte characters.
13753 2011-06-27  Roland McGrath  <roland@hack.frob.com>
13755         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13756         AC_CACHE_CHECK invocation.
13757         * configure: Regenerated.
13759         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13761 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
13763         [BZ #12350]
13764         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
13765         bit from old_res_options.
13767         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13769         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13770         value type for setfct.
13772 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
13774         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13775         __gettimeofday instead of gettimeofday.
13777 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
13779         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13781 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13783         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13785         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13786         info.
13788 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
13790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13791         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13792         strcpy-sse2-unaligned strncpy-sse2-unaligned
13793         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13794         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13795         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13796         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13797         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13798         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13799         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13800         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13801         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13802         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13803         (STRCPY): Support SSE2 and SSSE3 versions.
13805 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
13807         [BZ #12874]
13808         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13809         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13810         kernels which artificially limit size of requests.
13812 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
13814         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13815         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13816         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13817         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13818         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13819         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13820         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13821         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13822         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13823         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13824         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13825         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13826         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13827         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13828         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13830         Enable unaligned load optimization for Intel Core i3, i5 and i7
13831         processors.
13832         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13833         Define.
13834         (index_Fast_Unaligned_Load): Define.
13835         (HAS_FAST_UNALIGNED_LOAD): Define.
13837 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
13839         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13841 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
13843         [BZ #12907]
13844         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13845         until it is clear that the information is realy needed.
13846         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13848 2011-06-22  Andreas Schwab  <schwab@redhat.com>
13850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13852 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
13854         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13855         /sys/devices/system/cpu/online if it is usable.
13857         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13858         reading the information from the /proc filesystem to once a second.
13860 2011-06-21  Andreas Jaeger  <aj@suse.de>
13862         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13863         NULL after inclusion of kernel headers.
13865 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
13867         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13868         calls to internal_setent.
13870         [BZ #12885]
13871         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13872         addresses using gethostbyname4_r ignore IPv4 addresses.
13874         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13875         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
13877         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13879 2011-06-20  David S. Miller  <davem@davemloft.net>
13881         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13882         inclusions.
13883         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13885         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13886         (elf_irel): Use it.
13887         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13888         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13889         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13890         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13891         * sysdeps/x86_64/dl-irel.h: Likewise.
13893         * elf/dl-runtime.c: Use elf_ifunc_invoke.
13894         * elf/dl-sym.c: Likewise.
13896 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
13898         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
13899         need to dereference resplen2.
13901 2011-06-14  Andreas Schwab  <schwab@redhat.com>
13903         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13905 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
13907         * Makeconfig: Define vardbdir and inst_vardbdir.
13908         * nss/Makefile: Add rules to install db-Makefile.
13910         * nss/nss_db/db-XXX.c: Cleanup.
13912         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13913         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13914         GLIBC_PRIVATE.
13915         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13916         * nss/makedb.c: Implement -g option to specify that value strings
13917         are generated and should not be added to table iterated over for
13918         get*ent calls.
13919         * nss/nss_db/db-initgroups.c: New file.
13921         * nss/getent.c: Add support for initgroups lookups through getgrouplist
13922         interface.
13924         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13925         (internal_getgrouplist): Adjust to name change.
13926         Update use_initgroups_entry if this is not the first call.
13927         * nss/databases.def: Add initgroups entry.
13929         * nss/makedb.c (compute_tables): Check result of multiple hash table
13930         sizes to minimize maximum chain length.
13932 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
13934         * Versions.def: Add entry for libnss_db.
13935         * shlib-versions: Likewise.
13936         * nss/Makefile: Add rules to build libnss_db.
13937         * nss/Versions: Add libnss_db information.  Organize libnss_files
13938         entries better.
13939         * nss/db-Makefile: Add gshadow support.  Change rules for the new
13940         makedb progra.  Some minor improvements to generate smaller files.
13941         * nss/nss_db/nss_db.h: Move NSS database header data structures to
13942         here from...
13943         * nss/makedb.c: ...here.
13944         Improve database format to be smaller and require less memory at
13945         runtime.
13946         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
13947         db anymore.
13948         * nss/nss_db/db-netgrp.c: Likewise.
13949         * nss/nss_db/db-open.c: Likewise.
13950         * nss/nss_files/flies-XXX.x: Adjust comments.
13951         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13952         * nss/nss_files/files-grp.c: Likewise.
13953         * nss/nss_files/files-hosts.c: Likewise.
13954         * nss/nss_files/files-network.c: Likewise.
13955         * nss/nss_files/files-proto.c: Likewise.
13956         * nss/nss_files/files-pwd.c: Likewise.
13957         * nss/nss_files/files-rpc.c: Likewise.
13958         * nss/nss_files/files-service.c: Likewise.
13959         * nss/nss_files/files-sgrp.c: Likewise.
13960         * nss/nss_files/files-spwd.c: Likewise.
13961         * nss/nss_db/db-alias.c: Removed.
13962         * nss/nss_db/dummy-db.h: Removed.
13964 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
13966         * nss/makedb.c: Rewritten to not use database library.
13967         * nss/Makefile: Update to build new makedb program.
13969 2011-06-14  Andreas Jaeger  <aj@suse.de>
13971         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13972         memset declaration.
13974 2011-06-10  Andreas Schwab  <schwab@redhat.com>
13976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13977         tmpbuf.
13979 2011-06-10  Roland McGrath  <roland@hack.frob.com>
13981         * Makerules (shlib.lds): Fail if the linker script comes out empty.
13982         * elf/Makefile ($(objpfx)ld.so): Likewise.
13984         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13985         Don't list ld.so twice in dependencies.
13987         * posix/bug-regex31.c: Include <stdlib.h>.
13989         * nscd/hstcache.c (cache_addhst): Remove unused variable.
13991         * nis/nss_compat/compat-spwd.c
13992         (getspent_next_nss_netgr): Remove unused variable.
13993         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13995         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13996         nonmembers" output to use the right array.
13998         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14000         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14002         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14003         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14004         * catgets/gencat.c (read_input_file): Likewise.
14005         * locale/programs/locarchive.c (enlarge_archive): Likewise.
14007         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14008         variable definition inside #if's controlling its use.
14010         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14012         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14014         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14016         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14017         unreachable code.
14019         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14021         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14022         * configure: Regenerated.
14024         * Makerules: Revert last change.
14025         * elf/Makefile: Likewise.
14027 2011-06-09  Roland McGrath  <roland@hack.frob.com>
14029         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14030         * elf/Makefile ($(objpfx)librtld.os): Likewise.
14031         (reloc-link): Likewise.
14033 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
14035         * elf/Makefile: Add rules to build pldd.
14036         * elf/pldd.c: New file.
14037         * elf/pldd-xx.c: New file.
14039 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
14041         * version.h: Update for 2.15 development version.
14043 2011-06-07  David S. Miller  <davem@davemloft.net>
14045         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14046         ifuncs.
14047         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14048         elf_machine_lazy_rel): Likewise.
14049         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14050         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14051         elf_machine_lazy_rel): Likewise.
14052         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14053         dl_hwcap via passed in argument.
14054         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14055         Likewise.
14057 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14059         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
14061 2011-06-06  Roland McGrath  <roland@hack.frob.com>
14063         [BZ #12849]
14064         * manual/fdl-1.1.texi: New file, verbatim from:
14065         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14066         * manual/lgpl-2.1.texi: New file, verbatim from:
14067         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14068         * manual/Makefile (licenses): New variable, list those new file names.
14069         (texis): Use it.
14070         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14072         * manual/fdl.texi: File removed.
14073         * manual/lesser.texi: File removed.
14074         * manual/libc.texinfo (Copying, Documentation License):
14075         Use new @include file names, put @appendix directive before @include.
14077 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
14079         [BZ #12841]
14080         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14081         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14082         (mq_open): Add __NTH.
14084 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
14086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14087         Assume Intel Core i3/i5/i7 processor if AVX is available.
14089 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
14091         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14092         typo.
14094 2011-05-31  Andreas Schwab  <schwab@redhat.com>
14096         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14097         memory.  Use alloca_account.  Fix memory leak when retrying.
14099 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
14101         * version.h (RELEASE): Bump for 2.14 release.
14102         * include/features.h (__GLIBC_MINOR__): Bump to 14.
14104         * config.make.in (RANLIB): Remove entry.
14106 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
14108         * po/Makefile (po-sed-cmd): Add ksh to extensions.
14109         (libc.pot): Work around missing support for .ksh extension in xgettext.
14111         [BZ #12684]
14112         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14113         if both request failed.
14114         (send_dg): In case of server errors clear resplen or *resplen2.
14116         [BZ #12454]
14117         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14118         when there are multiple maps.
14119         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14120         (_dl_fini): Remove test here.
14122         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14124 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
14126         [BZ #12350]
14127         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14128         bit from old_res_options.
14129         (gaih_inet): Likewise.
14131         [BZ #11099]
14132         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14133         as signed.
14135         * resolv/res_init.c (res_setoptions): Make the code more compact.
14137         [BZ #11558]
14138         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14139         set RES_USEVC.
14141         [BZ #11634]
14142         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14144         * malloc/malloc.h: Mark malloc hook variables as deprecated.
14146         [BZ #11781]
14147         * malloc/malloc.h: Declare malloc hook variables as volatile.
14149         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14150         in last patch.
14152         [BZ #11799]
14153         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14154         raise in the comment.
14155         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14156         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14157         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14159 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
14161         [BZ #12811]
14162         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14163         grow the buffers more if it already has to be sufficient.
14164         (build_wcs_upper_buffer): Likewise.
14165         * posix/regexec.c (check_matching): Likewise.
14166         (clean_state_log_if_needed): Likewise.
14167         (extend_buffers): Don't enlarge buffers beyond size of the input
14168         buffer.
14169         Patches mostly by Emil Wojak <emil@wojak.eu>.
14170         * posix/bug-regex32.c: New file.
14171         * posix/Makefile (tests): Add bug-regex32.
14173         * locale/findlocale.c (_nl_find_locale): Return right away if
14174         _nl_explode_name failed.
14175         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14177         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14179         * debug/xtrace.sh: Unify messages.
14180         * malloc/memusage.sh: Likewise.
14182         [BZ #12813]
14183         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14184         time symbol from vDSO.  Substitute with vsyscall if not available.
14185         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14186         __vdso_time.
14188         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14189         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14190         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14191         Add sendmmsg and internal_sendmmsg.
14192         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14193         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14194         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14196         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14197         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14198         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14200 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
14202         [BZ #12813]
14203         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14204         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
14205         available.
14206         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14207         __vdso_getcpu.
14209         [BZ #12814]
14210         * iconvdata/Makefile (tests): Add bug-iconv9.
14211         * iconvdata/bug-iconv9.c: New file.
14213 2011-05-27  Andreas Schwab  <schwab@redhat.com>
14215         [BZ #12814]
14216         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14218 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
14220         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14221         (struct user_regs_struct): Change intcs field back to cs.
14223 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
14225         * po/ja.po: Update from translation team.
14227 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
14229         [BZ #12795]
14230         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14231         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14233 2011-05-20  Andreas Schwab  <schwab@redhat.com>
14235         * stdlib/longlong.h: Update from GCC.
14237 2011-05-23  Andreas Schwab  <schwab@redhat.com>
14239         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14240         parameter name.
14241         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14242         Add parameter name.
14243         (__sysconf): Pass it down.
14245 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
14247         [BZ #12671]
14248         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14249         some situations.
14250         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14251         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14252         add in in __libc_use_alloca calls.  Adjust callers.
14253         (glob): Use malloc in some situations.
14255         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14256         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14257         pltexit.
14259 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
14261         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14262         and CLOCK_BOOTTIME_ALARM.
14264         [BZ #12782]
14265         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14266         is returned.
14268         * string/_strerror.c (__strerror_r): Print negative errors as signed
14269         numbers.
14271         [BZ #12777]
14272         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14273         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14274         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14276         * configure.in: Fix typo in redirection and correct removal of test
14277         files in two cases.
14279         [BZ #12788]
14280         * locale/setlocale.c (new_composite_name): Fix test to check for
14281         identical name of all categories.
14283         [BZ #12792]
14284         * libio/filedoalloc.c (local_isatty): New function.
14285         (_IO_file_doallocate): Use local_isatty.
14286         * stdio-common/perror.c (perror): In case a new stream is used
14287         forward the stream error.
14288         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14289         error flag.
14291 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
14293         [BZ #11869]
14294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14295         alloca.
14296         * include/alloca.h (extend_alloca_account): Define.
14298         [BZ #11857]
14299         * posix/regex.h: Fix comments with documentation of user-accessible
14300         fields after compilation and describe correct free'ing of pattern
14301         after re_compile_pattern.
14302         Patch by Reuben Thomas <rrt@sc3d.org>.
14304 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
14306         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14307         and -mno-altivec to prevent the compiler from using Altivec and/or
14308         VSX instructions when the corresponding registers are not available.
14310 2011-05-19  Andreas Schwab  <schwab@redhat.com>
14312         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14314 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
14316         * libio/freopen.c (freopen): Use __dup2, not dup2.
14317         * libio/freopen64.c (freopen64): Likewise.
14319 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
14321         [BZ #12775]
14322         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14323         * math/Makefile (tests): Add test-powl.
14324         (CFLAGS-test-powl.c): Define.
14325         * math/test-powl.c: New file.
14327 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14329         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14331 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
14333         [BZ #11837]
14334         * iconvdata/gb18030.c: Update to GB18020-2005.
14336 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
14338         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14339         RE_SYNTAX_POSIX_AWK): Update to match recent development.
14340         Patch by Aharon Robbins <arnold@skeeve.com>.
14342         [BZ #11892]
14343         * stdlib/putenv.c (putenv): Don't always create copy of the variable
14344         on the stack.
14346         [BZ #11895]
14347         * misc/pselect.c (__pselect): Handle timeout value errors hidden
14348         through underflows.
14350         [BZ #12766]
14351         * misc/error.c (error_at_line): Ensure file_name and old_file_name
14352         point to strings before performing equality test for error_one_per_line
14353         mode.
14355         [BZ #11697]
14356         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14358         [BZ #11820]
14359         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14360         (struct user_fpregs_struct): Avoid __uint*_t types.
14362         [BZ #6420]
14363         * malloc/mtrace.c (tr_where): Add additional parameter to point to
14364         symbol info.  Use it instead of calling _dl_addr locally.
14365         (lock_and_info): New function.
14366         (tr_freehook): Call lock_and_info and pass symbol info as additional
14367         parameter to tr_where.
14368         (tr_mallochook): Likewise.
14369         (tr_reallochook): Likewise.
14370         (tr_memalignhook): Likewise.
14372         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
14373         used and couldn't be at all thread-safe.
14375 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
14377         * libio/freopen.c (freopen): Don't close old file descriptor
14378         before the new one is opened.  Instead dup the new file descriptor
14379         to the old one after the new stream is created.
14380         * libio/freopen64.c (freopen64): Likewise.
14381         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14382         * libio/fileops.c (_IO_new_file_close_it): Handle new
14383         _IO_FLAGS2_NOCLOSE flag.
14384         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14385         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14386         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14387         _IO_FLAGS2_NOCLOSE flag.
14388         * include/unistd.h: Add hidden_proto for dup3.
14389         Define __have_dup3.
14390         * io/dup3.c: Define hidden symbol.
14391         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14393         [BZ #7101]
14394         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14395         when an incomplete long option is used.
14396         * posix/tst-getopt_long1.c: New file.
14397         * posix/Makefile (tests): Add tst-getopt_long1.
14399         [BZ #10138]
14400         * scripts/config.guess: Update from autoconf-2.68.
14401         * scripts/config.sub: Likewise.
14403         [BZ #10157]
14404         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14405         tests into ...
14406         (has_cpuclock): ...this.  New function.
14407         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14408         macro here based on has_cpuclock code.
14410         [BZ #10149]
14411         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14412         First byte (not low byte) is now always NUL.
14413         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14415         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14416         Use non-cancelable interfaces.
14418         [BZ #9809]
14419         * locale/iso-639.def: Add entry for Sorani.
14421         [BZ #11901]
14422         * include/stdlib.h: Move include protection to the right place.
14423         Define abort_msg_s.  Declare __abort_msg with it.
14424         * stdlib/abort.c (__abort_msg): Adjust type.
14425         * assert/assert.c (__assert_fail_base): New function.  Majority
14426         of code from __assert_fail.  Allocate memory for __abort_msg with
14427         mmap.
14428         (__assert_fail): Now call __assert_fail_base.
14429         * assert/assert-perr.c: Remove bulk of implementation.  Use
14430         __assert_fail_base.
14431         * include/assert.hL Declare __assert_fail_base.
14432         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14433         mmap.
14434         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14436 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
14438         [BZ #11952]
14439         [BZ #12453]
14440         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14441         until all modules are registered in the DTV.
14442         * elf/Makefile: Add rules to build and run tst-tls19.
14443         * elf/tst-tls19.c: New file.
14444         * elf/tst-tls19mod1.c: New file.
14445         * elf/tst-tls19mod2.c: New file.
14446         * elf/tst-tls19mod3.c: New file.
14447         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14449         [BZ #12083]
14450         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14451         correctly.
14453         [BZ #12601]
14454         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14455         two-byte sequence errors.
14456         * iconvdata/Makefile (tests): Add bug-iconv8.
14457         * iconvdata/bug-iconv8.c: New file.
14459         [BZ #12626]
14460         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14461         buf2 definition.
14463         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14465         [BZ #12432]
14466         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14467         (dummy_getcfa): New function.
14468         (init): Get _Unwind_GetCFA address, use dummy if not found.
14469         (backtrace_helper): In recursion check, also check whether CFA changes.
14470         (__backtrace): Completely initialize arg.
14472         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14473         storing incomplete byte sequence in state object.  Avoid testing for
14474         guaranteed too small input if we know there is enough data available.
14476 2011-05-11  Andreas Schwab  <schwab@redhat.com>
14478         * Makeconfig (+link-pie): Indent.
14479         * Rules (binaries-pie): Define if $(have-fpie) and
14480         $(build-shared).
14481         (binaries-shared): Also filter out $(binaries-pie).
14482         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14483         * nscd/Makefile (others-pie): Add nscd.
14484         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14485         ($(objpfx)nscd): Remove command override.
14486         * login/Makefile (others-pie): Add pt_chown.
14487         ($(objpfx)pt_chown): Remove command override.
14488         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14489         remove command overrides.
14491 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
14493         * libio/tst_putwc.c: Fix error messages.
14495         [BZ #12724]
14496         * libio/fileops.c (_IO_new_file_close_it): Always flush when
14497         currently writing and seek to current position when not.
14498         * libio/Makefile (tests): Add bug-fclose1.
14499         * libio/bug-fclose1.c: New file.
14501 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
14503         [BZ #12511]
14504         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14505         don't set DF_1_NODELETE here.
14506         (do_lookup_x): When entering new entry test for copy relocation
14507         and if necessary set DF_1_NODELETE flag.
14508         * elf/tst-unique4.cc: New file.
14509         * elf/tst-unique4.h: New file.
14510         * elf/tst-unique4lib.cc: New file.
14511         * elf/Makefile: Add rules to build and run tst-unique4.
14512         Patch by Piotr Bury <pbury@goahead.com>.
14514 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
14516         [BZ #12052]
14517         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14519         [BZ #12625]
14520         * misc/mntent_r.c (addmntent): Flush the stream after the output
14522         [BZ #12393]
14523         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14524         (is_trusted_path_normalize): Skip initial colon.  Append slash
14525         to empty buffer.  Duplicate is_trusted_path code but allow
14526         constructed patch to be prefix.
14527         (is_dst): Allow $ORIGIN followed by /.
14528         (_dl_dst_substitute): Correct clearing of check_for_trusted.
14529         Correct testing of result of is_trusted_path_normalize
14530         (decompose_rpath): Fix warning.
14532 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
14534         [BZ #11257]
14535         * grp/initgroups.c (internal_getgrouplist): When we found the service
14536         list through the initgroups entry in nsswitch.conf do not always
14537         continue on a successful lookup.  Don't always use the
14538         __nss_group_database value if it is set.
14539         * nss/nsswitch.conf (initgroups): Change action for successful db
14540         lookup to continue for compatibility.
14542 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
14544         [BZ #11532]
14545         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14546         and CP774 modules.
14547         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14548         and CP774 modules.
14549         * iconvdata/tst-tables.sh: Likewise.
14550         * iconvdata/cp770.c: New file.
14551         * iconvdata/cp771.c: New file.
14552         * iconvdata/cp772.c: New file.
14553         * iconvdata/cp773.c: New file.
14554         * iconvdata/cp774.c: New file.
14555         * iconvdata/testdata/CP770: New file.
14556         * iconvdata/testdata/CP770..UTF8: New file.
14557         * iconvdata/testdata/CP771: New file.
14558         * iconvdata/testdata/CP771..UTF8: New file.
14559         * iconvdata/testdata/CP772: New file.
14560         * iconvdata/testdata/CP772..UTF8: New file.
14561         * iconvdata/testdata/CP773: New file.
14562         * iconvdata/testdata/CP773..UTF8: New file.
14563         * iconvdata/testdata/CP774: New file.
14564         * iconvdata/testdata/CP774..UTF8: New file.
14566         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14567         END CHARMAP line.
14568         * iconvdata/gen-8bit-gap.sh: Likewise.
14569         * iconvdata/gen-8bit.sh: Likewise.
14571         * locale/iso-639.def: Add ary entry.
14573         [BZ #11258]
14574         * locale/C-translit.h.in: Add U20A1 transliteration.
14576         [BZ #12178]
14577         * locale/iso-639.def: Add wae entry.
14578         Patch by Kevin Bortis <bortis@translate-wae.ch>.
14580         [BZ #12545]
14581         * locale/programs/localedef.c (construct_output_path): Use ssize_t
14582         for n.
14584         [BZ #12711]
14585         * locale/C-translit.h.in: Add entry for U20B9.
14586         Patch by pravin.d.s@gmail.com.
14588 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
14590         [BZ #12713]
14591         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14592         ENAMETOOLONG use generic getcwd.
14593         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
14594         in rtld.  Use *stat64.
14595         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14596         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14597         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14598         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14599         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14600         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14601         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14602         __fstatat64 macros.
14603         * include/dirent.h: Add libc_hidden_proto for rewinddir.
14604         * dirent/rewinddir.c: Add libc_hidden_def.
14605         * sysdeps/mach/hurd/rewinddir.c: Likewise.
14606         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
14608         * include/dirent.h (__alloc_dir): Add flags parameter.
14609         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14610         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14611         __alloc_dir.
14612         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
14613         from fdopendir if O_CLOEXEC is already set.
14615 2011-03-15  Alan Modra  <amodra@gmail.com>
14617         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14618         l_tls_firstbyte_offset non-zero.  Save padding offset in
14619         l_tls_firstbyte_offset for later use.
14620         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14621         freeing static tls block.
14623 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
14625         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14626         where #ifdef was intended.  The intent is to prevent ARG_MAX from
14627         being defined by the kernel headers.
14629 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
14631         [BZ #12734]
14632         * resolv/resolv.h: Define RES_NOTLDQUERY.
14633         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14634         no-tld-query and set RES_NOTLDQUERY.
14635         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14636         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14637         modern BIND to search name as TLD unless forbidden.
14639 2011-05-07  Petr Baudis  <pasky@suse.cz>
14640             Ulrich Drepper  <drepper@gmail.com>
14642         [BZ #12393]
14643         * elf/dl-load.c (fillin_rpath): Move trusted path check...
14644         (is_trusted_path): ...to here.
14645         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14646         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14647         using is_trusted_path_normalize() in setuid scripts.
14649 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14651         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14652         __BEGIN/__END_DECLS.
14654 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
14656         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14657         NSS_STATUS_NOTFOUND if no record was found.
14659 2011-05-05  Andreas Schwab  <schwab@redhat.com>
14661         * sunrpc/Makefile (headers): Add rpc/netdb.h.
14662         (headers-not-in-tirpc): Remove rpc/netdb.h
14663         * resolv/netdb.h: Revert last change.
14665 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14667         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14668         circular dependency between libgcc.a and libc.a.
14670 2011-05-05  Andreas Schwab  <schwab@redhat.com>
14672         * resolv/netdb.h: Don't include <rpc/netdb.h>.
14673         * nis/Makefile: Don't install rpcsvc/*.
14674         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14675         instead of <rpc/types.h>.
14676         (MAXHOSTNAMELEN): Define.
14678 2011-05-03  Andreas Schwab  <schwab@redhat.com>
14680         * elf/ldconfig.c (add_dir): Don't crash on empty path.
14682 2011-04-28  Maciej Babinski  <mbabinski@google.com>
14684         [BZ #12714]
14685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14686         gethostbyname4_r when IPv6 results are possible.
14688 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
14690         [BZ #12723]
14691         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14692         _PC_PIPE_BUF handling.
14694 2011-04-30  Bruno Haible  <bruno@clisp.org>
14696         [BZ #12717]
14697         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14698         * resolv/netdb.h (getnameinfo): Change type of flags parameter
14699         to 'int'.
14700         * inet/getnameinfo.c (getnameinfo): Likewise.
14702 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
14704         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14705         to groups setting in database lookup.
14706         * nss/nsswitch.conf: Add initgroups entry.
14708 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
14710         [BZ #12685]
14711         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14712         mode string.
14713         Patch by Eric Blake <eblake@redhat.com>.
14715 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
14717         * sunrpc/Makefile (need-export-routines): Add svc_run.
14718         (routines): Remove svc_run.
14719         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14720         * sunrpc/clnt_perr.c (clnt_perrno): Export.
14721         * sunrpc/svc_run.c (svc_run): Likewise.
14722         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14724 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
14726         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14727         problem in reallocation in last patch.
14729 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
14731         * sunrpc/Makefile: Move inclusion of Rules.
14733 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
14735         * nss/nss_files/files-initgroups.c: New file.
14736         * nss/Makefile (libnss_files-routines): Add files-initgroups.
14737         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14738         _nss_files_initgroups_dyn.
14740 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
14742         * elf/elf.h (R_ARM_IRELATIVE): Define.
14744 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
14746         * po/ru.po: Update from translation team.
14748 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
14750         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14751         dependencies.
14753 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
14755         [BZ #12653]
14756         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14757         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14758         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14759         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14760         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14762 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
14764         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14765         differing bytes.
14766         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14767         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14768         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14770 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
14772         [BZ #12420]
14773         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14774         storing it.
14775         * stdlib/bug-getcontext.c: New file.
14776         * stdlib/Makefile: Add rules to build and run bug-getcontext.
14778 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14780         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14781         instructions into .machine "z9-109".
14782         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14783         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14785 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14787         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14788         between environment variables and auxiliary vector.
14790 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
14792         * Makefile: Add rules to build linkobj/libc.so.
14793         * include/libc-symbols.h: Define libc_hidden_nolink.
14794         * include/rpc/auth.h: Mark functions which are to be hidden.
14795         * include/rpc/auth_des.h: Likewise.
14796         * include/rpc/auth_unix.h: Likewise.
14797         * include/rpc/clnt.h: Likewise.
14798         * include/rpc/des_crypt.h: Likewise.
14799         * include/rpc/key_prot.h: Likewise.
14800         * include/rpc/pmap_clnt.h: Likewise.
14801         * include/rpc/pmap_prot.h: Likewise.
14802         * include/rpc/pmap_rmt.h: Likewise.
14803         * include/rpc/rpc_msg.h: Likewise.
14804         * include/rpc/svc.h: Likewise.
14805         * include/rpc/svc_auth.h: Likewise.
14806         * include/rpc/xdr.h: Likewise.
14807         * nis/Makefile: Link all DSOs against linkobj/libc.so.
14808         * nss/Makefile: Likewise.
14809         * sunrpc/Makefile: Don't install headers.  Build library with normal
14810         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
14811         * sunrpc/auth_des.c: Hide exported symbols by default, export some
14812         for the compat linking library.  Remove use of INTDEF/INTUSE.
14813         * sunrpc/auth_none.c: Likewise.
14814         * sunrpc/auth_unix.c: Likewise.
14815         * sunrpc/authdes_prot.c: Likewise.
14816         * sunrpc/authuxprot.c: Likewise.
14817         * sunrpc/clnt_gen.c: Likewise.
14818         * sunrpc/clnt_perr.c: Likewise.
14819         * sunrpc/clnt_raw.c: Likewise.
14820         * sunrpc/clnt_simp.c: Likewise.
14821         * sunrpc/clnt_tcp.c: Likewise.
14822         * sunrpc/clnt_udp.c: Likewise.
14823         * sunrpc/clnt_unix.c: Likewise.
14824         * sunrpc/des_crypt.c: Likewise.
14825         * sunrpc/des_soft.c: Likewise.
14826         * sunrpc/get_myaddr.c: Likewise.
14827         * sunrpc/key_call.c: Likewise.
14828         * sunrpc/key_prot.c: Likewise.
14829         * sunrpc/netname.c: Likewise.
14830         * sunrpc/pm_getmaps.c: Likewise.
14831         * sunrpc/pm_getport.c: Likewise.
14832         * sunrpc/pmap_clnt.c: Likewise.
14833         * sunrpc/pmap_prot.c: Likewise.
14834         * sunrpc/pmap_prot2.c: Likewise.
14835         * sunrpc/pmap_rmt.c: Likewise.
14836         * sunrpc/publickey.c: Likewise.
14837         * sunrpc/rpc_cmsg.c: Likewise.
14838         * sunrpc/rpc_common.c: Likewise.
14839         * sunrpc/rpc_dtable.c: Likewise.
14840         * sunrpc/rpc_prot.c: Likewise.
14841         * sunrpc/rpc_thread.c: Likewise.
14842         * sunrpc/rtime.c: Likewise.
14843         * sunrpc/svc.c: Likewise.
14844         * sunrpc/svc_auth.c: Likewise.
14845         * sunrpc/svc_authux.c: Likewise.
14846         * sunrpc/svc_raw.c: Likewise.
14847         * sunrpc/svc_run.c: Likewise.
14848         * sunrpc/svc_simple.c: Likewise.
14849         * sunrpc/svc_tcp.c: Likewise.
14850         * sunrpc/svc_udp.c: Likewise.
14851         * sunrpc/svc_unix.c: Likewise.
14852         * sunrpc/svcauth_des.c: Likewise.
14853         * sunrpc/xcrypt.c: Likewise.
14854         * sunrpc/xdr.c: Likewise.
14855         * sunrpc/xdr_array.c: Likewise.
14856         * sunrpc/xdr_float.c: Likewise.
14857         * sunrpc/xdr_intXX_t.c: Likewise.
14858         * sunrpc/xdr_mem.c: Likewise.
14859         * sunrpc/xdr_rec.c: Likewise.
14860         * sunrpc/xdr_ref.c: Likewise.
14861         * sunrpc/xdr_sizeof.c: Likewise.
14862         * sunrpc/xdr_stdio.c: Likewise.
14864 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
14866         [BZ #12650]
14867         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14868         * sysdeps/ia64/dl-tls.h: Likewise.
14869         * sysdeps/powerpc/dl-tls.h: Likewise.
14870         * sysdeps/s390/dl-tls.h: Likewise.
14871         * sysdeps/sh/dl-tls.h: Likewise.
14872         * sysdeps/sparc/dl-tls.h: Likewise.
14873         * sysdeps/x86_64/dl-tls.h: Likewise.
14874         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14876 2011-03-14  Andreas Schwab  <schwab@redhat.com>
14878         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14879         rpath element also skip the following colon.
14880         (expand_dynamic_string_token): Add is_path parameter and pass
14881         down to DL_DST_REQUIRED and _dl_dst_substitute.
14882         (decompose_rpath): Call expand_dynamic_string_token with
14883         non-zero is_path.  Ignore empty rpaths.
14884         (_dl_map_object_from_fd): Call expand_dynamic_string_token
14885         with zero is_path.
14887 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
14889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14890         Make cancelable.
14892 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
14894         [BZ #12655]
14895         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14896         Patch by Filipe David Manana <fdmanana@apache.org>.
14898 2011-04-07  Andreas Schwab  <schwab@redhat.com>
14900         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14901         Maintain aligned stack.
14902         (CHECK_RSP): Remove unused macro.
14904 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
14906         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14907         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14909 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
14911         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14913         * include/features.h: Mention __USE_XOPEN2K8 in comment.
14915 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
14917         [BZ #12518]
14918         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14919         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14920         * sysdeps/x86_64/memmove.c: New file.
14921         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14922         (memcpy): Renamed to ...
14923         (__new_memcpy): This.
14924         (memcpy): Provide GLIBC_2_14 memcpy.
14925         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14926         (memcpy): Provide GLIBC_2_2_5 memcpy.
14928 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14930         [BZ #12631]
14931         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14933 2011-03-30  Andreas Schwab  <schwab@redhat.com>
14935         * misc/syncfs.c: New file.
14936         * misc/Makefile (routines): Add syncfs.
14937         * posix/unistd.h: Declare syncfs.
14938         * sysdeps/unix/syscalls.list: Add syncfs.
14940 2011-04-01  Andreas Schwab  <schwab@redhat.com>
14942         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14943         open_by_handle_at.
14944         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14945         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14946         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14947         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14948         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14949         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14950         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14952 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14954         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14955         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14956         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14957         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14958         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14960         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14962         * io/Makefile: Compile fallocate.c, fallocate64.c, and
14963         sync_file_range.c with -fexceptions.
14964         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14965         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14966         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14967         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14968         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14969         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14970         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14971         sync_file_range as cancellation point
14972         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
14973         now a wrapper around __call_sync_file_range with cancellation handling.
14974         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14975         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
14976         function name to __call_sync_file_range.
14977         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14978         Add call_sync_file_range.
14980 2011-04-01  Andreas Schwab  <schwab@redhat.com>
14982         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14983         bits/timex.h.
14985 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14987         * iconv/iconv.h: Fix typo in comment.
14988         * io/fcntl.h: Likewise.
14989         * libio/stdio.h: Likewise.
14990         * posix/spawn.h: Likewise.
14991         * posix/unistd.h: Likewise.
14992         * stdlib/stdlib.h: Likewise.
14993         * time/time.h: Likewise.
14994         * wcsmbs/wchar.h: Likewise.
14996         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14997         open_by_handle): Add.
14998         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14999         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
15000         Augment a few comments.
15001         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15002         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15003         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15004         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15005         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15006         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15007         open_by_handle.
15009         * io/fcntl.h (AT_EMPTY_PATH): Define.
15011 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
15013         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15014         * sysdeps/unix/sysv/linux/bits/time.h: New file.
15015         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15016         to...
15017         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
15018         * Versions.def: Add GLIBC_2.14.
15019         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15020         Export.
15022 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
15024         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15025         round counter.
15026         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15028 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15030         [BZ #12597]
15031         * string/test-strncmp.c (do_page_test): New function.
15032         (check2): Likewise.
15033         (test_main): Call check2.
15034         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15036 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
15038         [BZ #12587]
15039         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15040         Handle cache information in CPU leaf 4.
15041         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15043 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
15045         [BZ #12583]
15046         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15047         character representation.
15048         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15050 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
15052         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15053         END(__isnan) to END(__isnanf) to match function entry point/label
15054         EALIGN(__isnanf,...).
15056 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
15058         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15060 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
15062         [BZ #12510]
15063         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15064         copy from the symbol referenced in the relocation to initialize the
15065         used variable.
15066         Patch by Piotr Bury <pbury@goahead.com>.
15067         * elf/Makefile: Add rules to build and tst-unique3.
15068         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15069         * elf/tst-unique3.cc: New file.
15070         * elf/tst-unique3.h: New file.
15071         * elf/tst-unique3lib.cc: New file.
15072         * elf/tst-unique3lib2.cc: New file.
15074         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15076 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
15078         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15079         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
15080         to _start.
15082 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
15084         * elf/dl-load.c (_dl_map_object): If we are looking for the first
15085         to-be-loaded object along a path to loader is ld.so.
15087 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
15088             Ulrich Drepper  <drepper@gmail.com>
15090         * sysdeps/x86_64/memset.S: After aligning destination, code
15091         branches to different locations depending on the value of
15092         misalignment, when multiarch is enabled. Fix this.
15094 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
15096         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15097         Set _x86_64_preferred_memory_instruction for AMD processsors.
15098         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15099         Set bit_Prefer_SSE_for_memop for AMD processors.
15101 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
15103         * libio/fmemopen.c (fmemopen): Optimize a bit.
15105 2011-03-03  Andreas Schwab  <schwab@redhat.com>
15107         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15109 2011-03-03  Roland McGrath  <roland@redhat.com>
15111         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15113 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
15115         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15116         __bzero_ultra1 instead of __memset_ultra1.
15118 2011-02-23  Andreas Schwab  <schwab@redhat.com>
15119             Ulrich Drepper  <drepper@gmail.com>
15121         [BZ #12509]
15122         * include/link.h (struct link_map): Add l_orig_initfini.
15123         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15124         returning unsuccessfully.
15125         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15126         close of a file loaded at startup, restore the original l_initfini
15127         list.
15128         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15129         list, store the pointer.
15130         * elf/Makefile ($(objpfx)noload-mem): New rule.
15131         (noload-ENV): Define.
15132         (tests): Add $(objpfx)noload-mem.
15133         * elf/noload.c: Include <memcheck.h>.
15134         (main): Call mtrace.  Close all opened handles.
15136 2011-02-17  Andreas Schwab  <schwab@redhat.com>
15138         [BZ #12454]
15139         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15140         dependencies are missing.
15142 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15144         Fix __if_freereq crash: Unlike the generic version which uses free,
15145         Hurd needs munmap.
15146         * sysdeps/mach/hurd/ifreq.h: New file.
15148 2011-01-27  Petr Baudis  <pasky@suse.cz>
15149             Ulrich Drepper  <drepper@gmail.com>
15151         [BZ 12445]#
15152         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15153         to extend_alloca().
15154         * stdio-common/bug23.c: New file.
15155         * stdio-common/Makefile (tests): Add bug23.
15157 2010-09-28  Andreas Schwab  <schwab@redhat.com>
15158             Ulrich Drepper  <drepper@gmail.com>
15160         [BZ #12489]
15161         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15162         before performing relro protection.  At old place add assertion
15163         to make sure nothing changed.
15165 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
15166             Glauber de Oliveira Costa  <glommer@gmail.com>
15168         * elf/elf.h: Add new ARM TLS relocs.
15170 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
15172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15173         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15174         cast from r3.
15175         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
15176         'tests' variable.
15177         * sysdeps/wordsize-64/tst-writev.c: New file.
15179 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
15181         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15182         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15183         insns in _dl_start to prevent a TOC reference before relocs are
15184         resolved.
15186 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
15188         [BZ #12469]
15189         * Makeconfig: Remove RANLIB definition.
15190         * Makerules: Don't use RANLIB.
15191         * aclocal.m4: Remove ranlib test.
15192         * configure.in: No need to check for ranlib.
15193         * elf/rtld-Rules: Don't use RANLIB.
15195 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15197         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15198         protection macro.
15199         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15200         inclusion protection macro.
15202         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15203         SIGRTMIN and SIGRTMAX and print information in that case only when
15204         SIGRTMIN is defined.
15206 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
15208         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15209         arginfo fn returning -1.
15211         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15212         and thousands string is zero terminated.
15214 2011-02-03  Andreas Schwab  <schwab@redhat.com>
15216         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15217         sysdeps/unix/sysv/linux/bits/socket.h.
15219 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15221         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15222         (__CPU_COUNT): Remove old macros.
15223         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15224         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15225         (__CPU_ALLOC, __CPU_FREE): Add macros.
15226         (__sched_cpualloc, __sched_cpufree): Add declarations.
15228 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
15230         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15231         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15232         * nscd/aicache.c (addhstaiX): Return timeout of added value.
15233         (readdhstai): Return value of addhstaiX call.
15234         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15235         (addgrbyX): Return value returned by cache_addgr.
15236         (readdgrbyname): Return value returned by addgrbyX.
15237         (readdgrbygid): Likewise.
15238         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15239         (addpwbyX): Return value returned by cache_addpw.
15240         (readdpwbyname): Return value returned by addhstbyX.
15241         (readdpwbyuid): Likewise.
15242         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15243         (addservbyX): Return value returned by cache_addserv.
15244         (readdservbyname): Return value returned by addservbyX:
15245         (readdservbyport): Likewise.
15246         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15247         (addhstbyX): Return value returned by cache_addhst.
15248         (readdhstbyname): Return value returned by addhstbyX.
15249         (readdhstbyaddr): Likewise.
15250         (readdhstbynamev6): Likewise.
15251         (readdhstbyaddrv6): Likewise.
15252         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15253         (readdinitgroups): Return value returned by addinitgroupsX.
15254         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15255         (prune_cache): Keep track of timeout value of re-added entries.
15256         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15257         * nscd/nscd.h: Adjust prototypes of readd* functions.
15259 2011-02-04  Roland McGrath  <roland@redhat.com>
15261         * nis/nis_server.c (nis_servstate): Use the right name for 0.
15262         (nis_stats): Likewise.
15263         * nis/nis_modify.c (nis_modify): Likewise.
15264         * nis/nis_remove.c (nis_remove): Likewise.
15265         * nis/nis_add.c (nis_add): Likewise.
15267         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15269         * posix/fnmatch_loop.c: Add some consts.
15271         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15273 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
15275         [BZ #12460]
15276         * config.make.in (config-cflags-novzeroupper): Define.
15277         * configure.in: Substitute libc_cv_cc_novzeroupper.
15278         * elf/Makefile (AVX-CFLAGS): Define.
15279         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15280         (CFLAGS-tst-auditmod4a.c): Likewise.
15281         (CFLAGS-tst-auditmod4b.c): Likewise.
15282         (CFLAGS-tst-auditmod6b.c): Likewise.
15283         (CFLAGS-tst-auditmod6c.c): Likewise.
15284         (CFLAGS-tst-auditmod7b.c): Likewise.
15285         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15287 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
15289         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15290         function to the callback.
15291         Patch partly by Jiri Olsa <jolsa@redhat.com>.
15293 2011-02-02  Andreas Schwab  <schwab@redhat.com>
15295         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15296         of errno.
15298 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
15300         [BZ #11724]
15301         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15302         of constructors.
15303         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15304         of destructors.
15305         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15307         [BZ #11724]
15308         * elf/Makefile: Add rules to build and run new test.
15309         * elf/tst-initorder.c: New file.
15310         * elf/tst-initorder.exp: New file.
15311         * elf/tst-initordera1.c: New file.
15312         * elf/tst-initordera2.c: New file.
15313         * elf/tst-initordera3.c: New file.
15314         * elf/tst-initordera4.c: New file.
15315         * elf/tst-initorderb1.c: New file.
15316         * elf/tst-initorderb2.c: New file.
15317         * elf/tst-order-a1.c: New file.
15318         * elf/tst-order-a2.c: New file.
15319         * elf/tst-order-a3.c: New file.
15320         * elf/tst-order-a4.c: New file.
15321         * elf/tst-order-b1.c: New file.
15322         * elf/tst-order-b2.c: New file.
15323         * elf/tst-order-main.c: New file.
15324         New test case by George Gensure <werkt0@gmail.com>.
15326 2010-10-01  Andreas Schwab  <schwab@redhat.com>
15328         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15329         decoding ACE if AI_CANONIDN.
15331 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
15333         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15335 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
15337         * version.h (RELEASE): Bump for 2.13 release.
15338         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15340         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15342         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15343         MADV_NOHUGEPAGE.
15344         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15345         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15346         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15347         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15348         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15349         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15351         * posix/getconf.c: Update copyright year.
15352         * catgets/gencat.c: Likewise.
15353         * csu/version.c: Likewise.
15354         * debug/catchsegv.sh: Likewise.
15355         * debug/xtrace.sh: Likewise.
15356         * elf/ldconfig.c: Likewise.
15357         * elf/ldd.bash.in: Likewise.
15358         * elf/sprof.c (print_version): Likewise.
15359         * iconv/iconv_prog.c: Likewise.
15360         * iconv/iconvconfig.c: Likewise.
15361         * locale/programs/locale.c: Likewise.
15362         * locale/programs/localedef.c: Likewise.
15363         * malloc/memusage.sh: Likewise.
15364         * malloc/mtrace.pl: Likewise.
15365         * nscd/nscd.c (print_version): Likewise.
15366         * nss/getent.c: Likewise.
15368         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15369         PF_CAIF, and PF_ALG.
15370         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15372 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
15374         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15375         (modules-names): Use them.
15376         (ifunc-test-modules, ifunc-pie-tests): Define.
15377         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15378         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15379         (test-extras): Likewise.
15380         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15381         $(compile-command.c).
15382         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15383         (all-built-dso): Define.
15384         (check-textrel.out, check-execstack.out): Depend on it.
15386         * configure.in: Don't override --enable-multi-arch.
15388 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
15390         [BZ #6812]
15391         * nscd/hstcache.c (tryagain): Define.
15392         (cache_addhst): Return tryagain not notfound for temporary errors.
15393         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15394         failed.
15396 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
15398         [BZ #10563]
15399         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15400         to make the syscall.
15401         * sysdeps/unix/sysv/linux/setgroups.c: New file.
15403         [BZ #12378]
15404         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15405         and fall back to matching as normal character if the string ends before
15406         the matching ']' is found.  This is what POSIX requires.
15407         * posix/testfnm.c: Adjust test result.
15408         * posix/globtest.sh: Adjust test result.  Add new test.
15409         * posix/tst-fnmatch.input: Likewise.
15410         * posix/tst-fnmatch2.c: Add new test.
15412 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
15414         * elf/Makefile (check-execstack): Revert last change.  Depend on
15415         check-execstack.h.
15416         (check-execstack.h): New target.
15417         (generated): Add check-execstack.h.
15418         * elf/check-execstack.c: Include "check-execstack.h".
15419         (main): Revert last change.
15420         (handle_file): Return zero if GNU_STACK is absent and
15421         DEFAULT_STACK_PERMS doesn't include PF_X.
15423 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
15425         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15426         in child fails because the descriptor is already closed.
15427         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15428         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15429         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15431         [BZ #12397]
15432         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15433         syscall.
15435         [BZ #10484]
15436         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15437         temporary buffer used to handle multi lookups locally.
15438         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15440 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
15442         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15443         loader is ld.so.
15445 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
15447         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15448         alignment for SSE2.
15450 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
15452         [BZ #12394]
15453         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15454         characters.  When rounding increased number of integer digits recompute
15455         number of groups.
15456         * stdio-common/tst-grouping.c: New file.
15457         * stdio-common/Makefile: Add rules to build and run tst-grouping.
15459 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
15461         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15462         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
15464         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15465         void.
15466         * bits/select.h: Likewise.
15468 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
15470         * po/ja.po: Update from translation team.
15472 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
15474         [BZ #11155]
15475         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15476         implementation just like for lxstat, fxstatat, et al.
15478 2010-12-27  Jim Meyering  <meyering@redhat.com>
15480         [BZ #12348]
15481         * posix/regexec.c (build_trtable): Return failure indication upon
15482         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
15484 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
15486         [BZ #12201]
15487         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15488         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15489         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15490         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15492         [BZ #12207]
15493         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15495         [BZ #12204]
15496         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15497         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15499 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
15501         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15502         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15503         script has SORT_BY_INIT_PRIORITY.
15504         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15505         NO_CTORS_DTORS_SECTIONS is defined.
15506         * elf/soinit.c: Likewise.
15507         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15508         NO_CTORS_DTORS_SECTIONS is defined.
15509         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15510         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15511         * sysdeps/sh/init-first.c: Likewise.
15512         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15514 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
15516         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15517         always use the slow path.
15519 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
15521         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15522         similar rule which adds the sysdep directories to the header search in
15523         order to pick up the correct platform stackinfo.h.
15524         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15525         perform test if it is, otherwise return successfully without testing.
15526         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15527         DEFAULT_STACK_PERMS define in stackinfo.h.
15528         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15529         defined in stackinfo.h.
15530         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15531         DEFAULT_STACK_PERMS defined in stackinfo.h.
15532         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15533         * sysdeps/ia64/stackinfo.h: Likewise.
15534         * sysdeps/s390/stackinfo.h: Likewise.
15535         * sysdeps/sh/stackinfo.h: Likewise.
15536         * sysdeps/sparc/stackinfo.h: Likewise.
15537         * sysdeps/x86_64/stackinfo.h: Likewise.
15538         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15539         PF_X for powerpc64.  Retain PF_X for powerpc32.
15541 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
15543         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15544         accurately.
15545         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15546         GETDENTS_64BIT_ALIGNED.
15548 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
15550         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15552 2010-12-10  Andreas Schwab  <schwab@redhat.com>
15554         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15555         _GNU_SOURCE.
15557         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15558         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15559         Remove __restrict.
15560         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15561         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15563 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
15565         [BZ #11655]
15566         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15567         are initialized.
15569 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
15571         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15573 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
15575         * po/it.po: Update from translation team.
15577 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
15579         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15580         unused codes.
15582 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
15584         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15586 2010-11-24  Andreas Schwab  <schwab@redhat.com>
15588         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15589         specially.
15590         (gaih_getanswer_slice): Likewise.
15592 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
15594         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15596 2010-05-31  Petr Baudis  <pasky@suse.cz>
15598         [BZ #11149]
15599         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15600         silently even in the chroot mode.
15602 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
15604         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15605         last patch a bit.  Pretty printing
15607 2010-05-31  Petr Baudis <pasky@suse.cz>
15609         [BZ #10085]
15610         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15611         initialization of skip_initgroups_dyn.
15613 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
15615         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15616         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15618 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
15620         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15622 2010-11-11  Andreas Schwab  <schwab@redhat.com>
15624         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15625         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15626         (tst-fnmatch-ENV): Set MALLOC_TRACE.
15627         ($(objpfx)tst-fnmatch-mem): New rule.
15628         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15629         * posix/tst-fnmatch.c (main): Call mtrace.
15631 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
15633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15634         Support Intel processor model 6 and model 0x2c.
15636 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
15638         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15639           signed comparison.
15641 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
15643         [BZ #12205]
15644         * string/test-strncasecmp.c (check_result): New function.
15645         (do_one_test): Use it.
15646         (check1): New function.
15647         (test_main): Use it.
15648         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15649         Support strcasecmp and strncasecmp.
15651 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
15653         [BZ #12194]
15654         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15655         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15657 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15659         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15660         IFUNC support.
15661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15662         memset-x86-64.
15663         * sysdeps/x86_64/multiarch/bzero.S: New file.
15664         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15665         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15666         * sysdeps/x86_64/multiarch/memset.S: New file.
15667         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15669         Set bit_Prefer_SSE_for_memop for Intel processors.
15670         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15671         Define.
15672         (index_Prefer_SSE_for_memop): Define.
15673         (HAS_PREFER_SSE_FOR_MEMOP): Define.
15675 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
15677         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15678         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15680 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
15682         [BZ #12191]
15683         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15684         (__x86_64_raw_data_cache_size_half): Likewise.
15685         (__x86_64_raw_shared_cache_size): Likewise.
15686         (__x86_64_raw_shared_cache_size_half): Likewise.
15688         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15689         (__x86_64_raw_data_cache_size_half): Likewise.
15690         (__x86_64_raw_shared_cache_size): Likewise.
15691         (__x86_64_raw_shared_cache_size_half): Likewise.
15692         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15693         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15694         and __x86_64_raw_shared_cache_size_half.  Round
15695         __x86_64_data_cache_size_half, __x86_64_data_cache_size
15696         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15697         to multiple of 256 bytes.
15699 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
15701         [BZ #12167]
15702         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15703         of inacessible symlinks.  Verify result of symlink before returning it.
15704         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15705         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15707 2010-10-28  Erich Ritz  <erichritz@gmail.com>
15709         * math/math.h (isinf): Fix typo in comment.
15711 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
15713         * po/da.po: Update from translation team.
15715 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
15717         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15718         is added to the list.
15720 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15721             Ulrich Drepper  <drepper@gmail.com>
15723         * elf/dl-object.c (_dl_new_object): Don't append the new object to
15724         the global list here.  Move code to...
15725         (_dl_add_to_namespace_list): ...here.  New function.
15726         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15727         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15728         * elf/dl-load.c (lose): Don't remove the element from the list.
15729         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15730         (_dl_map_object): Likewise.
15732 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
15734         [BZ #12159]
15735         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15736         into all bytes of SSE register.
15737         Patch by Richard Li <richardpku@gmail.com>.
15739 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
15741         [BZ #12140]
15742         * malloc/malloc.c (_int_free): Fill correct number of bytes when
15743         perturbing.
15745 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
15747         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15748         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15749         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15750         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15752         submachine.
15753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15755 2010-10-22  Andreas Schwab  <schwab@redhat.com>
15757         * include/dlfcn.h (__RTLD_SECURE): Define.
15758         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
15759         mode & __RTLD_SECURE instead.
15760         (open_path): Rename preloaded parameter to secure.
15761         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15762         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15763         * elf/dl-deps.c (openaux): Likewise.
15764         * elf/rtld.c (struct map_args): Remove is_preloaded.
15765         (map_doit): Don't use it.
15766         (dl_main): Likewise.
15767         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15768         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15770 2010-09-09  Andreas Schwab  <schwab@redhat.com>
15772         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15773         (sysd-rules-targets): Remove duplicates.
15774         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15775         rtld-%.$o dependency.
15777 2010-10-18  Andreas Schwab  <schwab@redhat.com>
15779         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15780         _dl_map_object do it.
15782 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
15784         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15785         fast fma builtins, define the macros in the C99 standard.
15786         (FP_FAST_FMAF): Likewise.
15787         (FP_FAST_FMAL): Likewise.
15788         * sysdeps/x86_64/bits/mathdef.h: Likewise.
15790         * bits/mathdef.h: Update copyright year.
15791         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15793 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
15795         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15796         builtins, define the macros in the C99 standard.
15797         (FP_FAST_FMAF): Likewise.
15798         (FP_FAST_FMAL): Likewise.
15799         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15800         multiply/add.
15801         (FP_FAST_FMAF): Likewise.
15803 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
15805         [BZ #3268]
15806         * math/libm-test.inc (fma_test): Some new testcases.
15807         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15808         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15809         y and infinite z.  Do multiplication by C already in long double.
15810         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15812         y and infinite z.  Do bitwise or of inexact bit into u.d.
15813         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15814         * sysdeps/i386/fpu/s_fmaf.S: Removed.
15815         * sysdeps/i386/fpu/s_fma.S: Removed.
15816         * sysdeps/i386/fpu/s_fmal.S: Removed.
15818 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
15820         [BZ #3268]
15821         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15822         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15823         computation is not scheduled after fetestexcept.  Fix value
15824         of minimum denormal long double.
15826 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
15828         [BZ #3268]
15829         * math/libm-test.inc (fma_test): Add some more tests.
15830         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15831         correctly.
15833 2010-10-15  Andreas Schwab  <schwab@redhat.com>
15835         * scripts/data/localplt-s390-linux-gnu.data: New file.
15836         * scripts/data/localplt-s390x-linux-gnu.data: New file.
15838 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
15840         [BZ #3268]
15841         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15842         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15843         instead of dbl-64.
15844         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15845         inlines.
15846         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15848         if one of x and y is very large and the other is subnormal.
15849         * sysdeps/s390/fpu/s_fmaf.c: New file.
15850         * sysdeps/s390/fpu/s_fma.c: New file.
15851         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15852         * sysdeps/powerpc/fpu/s_fma.S: New file.
15853         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15854         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15855         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15857 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
15859         [BZ #3268]
15860         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15861         fma tests.
15862         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15863         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15864         * sysdeps/i386/i686/multiarch/s_fma.c: Include
15865         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15866         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15867         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15868         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15870 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
15872         [BZ #12078]
15873         * posix/regcomp.c (parse_branch): One more memory leak plugged.
15874         * posix/bug-regex31.input: Add test case.
15876 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
15878         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15879         * posix/bug-regex31.input: New file.
15881         [BZ #12078]
15882         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15883         (parse_sub_exp): Fix last change, use postorder.
15885         * posix/bug-regex31.c: New file.
15886         * posix/Makefile: Add rules to build and run bug-regex31.
15888         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15890         [BZ #12078]
15891         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15893         [BZ #12108]
15894         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15895         to have entries in sys_siglist.
15897         [BZ #12093]
15898         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15899         be NULL.
15901 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
15903         [BZ #3268]
15904         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15905         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15906         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15907         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15908         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15909         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15910         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15911         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15912         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15913         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15914         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15915         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15916         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15917         * math/ftestexcept.c (fetestexcept): Likewise.
15918         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15919         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15920         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15921         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15922         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15923         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15924         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15926 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
15928         [BZ #12107]
15929         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15930         newline.
15932 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
15934         * string/bug-strstr1.c: New file.
15935         * string/Makefile: Add rules to build and run bug-strstr1.
15937 2010-10-05  Eric Blake  <eblake@redhat.com>
15939         [BZ #12092]
15940         * string/str-two-way.h (two_way_long_needle): Always clear memory
15941         when skipping input due to the shift table.
15943 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
15945         [BZ #12005]
15946         * malloc/mcheck.c: Handle large requests.
15948         [BZ #12077]
15949         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15950         for strncmp and strncasecmp.
15951         * string/stratcliff.c: Add tests for strcmp and strncmp.
15952         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15954 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15956         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15957         __set_fpscr.
15959 2010-09-30  Andreas Jaeger  <aj@suse.de>
15961         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15962         (CGROUP_SUPER_MAGIC): Define.
15963         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15964         Handle btrfs and cgroup file systems.
15965         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15966         Likewise.
15968 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
15970         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15971         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15973 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15975         [BZ #12067]
15976         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15977         trying to locate the ELF header.
15979 2010-09-27  Andreas Schwab  <schwab@redhat.com>
15981         [BZ #11611]
15982         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15983         Mask out sign-bit copies when constructing f_fsid.
15985 2010-09-24  Petr Baudis <pasky@suse.cz>
15987         * debug/stack_chk_fail_local.c: Add missing licence exception.
15988         * debug/warning-nop.c: Likewise.
15990 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
15992         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15993         implementing getdents64 using getdents syscall, set d_type if
15994         __ASSUME_GETDENTS32_D_TYPE.
15996 2010-09-16  Andreas Schwab  <schwab@redhat.com>
15998         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15999         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16001 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
16003         [BZ #12037]
16004         * posix/unistd.h: Undo change of feature selection for ftruncate from
16005         2010-01-11.
16007 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
16009         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16010         detection.
16012 2010-09-20  Andreas Schwab  <schwab@redhat.com>
16014         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16015         fanotify_mark.
16016         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16018 2010-09-14  Andreas Schwab  <schwab@redhat.com>
16020         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16021         variables after CHECK_SP call.
16022         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16024 2010-09-13  Andreas Schwab  <schwab@redhat.com>
16025             Ulrich Drepper  <drepper@redhat.com>
16027         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16028         re-relocationg ld.so.
16029         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16030         _dl_init_paths call.
16031         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
16032         here anymore.
16034 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
16036         * resolv/res_init.c (__res_vinit): Count the default server we added.
16038 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
16039             Ulrich Drepper  <drepper@redhat.com>
16041         [BZ #11968]
16042         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16043         (____longjmp_chk): Use %ebx for saving value across system call.
16044         Add unwind info.
16046 2010-09-06  Andreas Schwab  <schwab@redhat.com>
16048         * manual/Makefile: Don't mix pattern rules with normal rules.
16050 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16052         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16053         operation.
16054         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16055         * libio/iofopncook.c (_IO_cookie_init): Likewise.
16056         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16057         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16058         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16059         Likewise.
16061 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
16063         [BZ #11979]
16064         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16065         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16067 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
16069         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16070         * sysdeps/x86_64/addmul_1.S: Likewise.
16071         * sysdeps/x86_64/lshift.S: Likewise.
16072         * sysdeps/x86_64/mul_1.S: Likewise.
16073         * sysdeps/x86_64/rshift.S: Likewise.
16074         * sysdeps/x86_64/sub_n.S: Likewise.
16075         * sysdeps/x86_64/submul_1.S: Likewise.
16077 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16079         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16080         Define __sched_param instead of SCHED_* and sched_param when
16081         <bits/sched.h> is included with __need_schedparam defined.
16082         * bits/sched.h [__need_schedparam]
16083         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16084         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16085         (__defined_schedparam): Define to 1.
16086         (__sched_param): New structure, identical to sched_param.
16087         (__need_schedparam): Undefine.
16089 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
16091         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16092         (epoll_create1): Declare.
16094         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16096 2010-08-31  Andreas Schwab  <schwab@redhat.com>
16098         [BZ #7066]
16099         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16100         shifting retval into place.
16102 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
16104         * nis/rpcsvc/nis.h: Update copyright notice.
16105         * nis/rpcsvc/nis.x: Likewise.
16106         * nis/rpcsvc/nis_callback.h: Likewise.
16107         * nis/rpcsvc/nis_callback.x: Likewise.
16108         * nis/rpcsvc/nis_object.x: Likewise.
16109         * nis/rpcsvc/nis_tags.h: Likewise.
16110         * nis/rpcsvc/yp.h: Likewise.
16111         * nis/rpcsvc/yp.x: Likewise.
16112         * nis/rpcsvc/ypupd.h: Likewise.
16113         * nis/yp_xdr.c: Likewise.
16114         * nis/ypupdate_xdr.c: Likewise.
16116         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
16117         mainly the body of pmap_getport.  Add parameters to specify timeouts.
16118         (pmap_getport): Use __libc_rpc_getport.
16119         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16120         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16121         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16123 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
16125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16126         fanotify_mark.
16128 2010-08-27  Roland McGrath  <roland@redhat.com>
16130         * sysdeps/i386/i686/multiarch/Makefile
16131         (CFLAGS-varshift.c): New variable.
16133 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
16135         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16136         * sysdeps/i386/i686/multiarch/varshift.c: New file.
16138         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16140         * sysdeps/x86_64/strlen.S: Minimal code improvement.
16142 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16144         * sysdeps/x86_64/strlen.S: Unroll the loop.
16145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16146         strlen-sse2 strlen-sse2-bsf.
16147         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16148         __strlen_no_bsf if bit_Slow_BSF is set.
16149         (__strlen_sse42): Removed.
16150         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16151         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16153 2010-08-25  Roland McGrath  <roland@redhat.com>
16155         * sysdeps/x86_64/multiarch/varshift.S: File removed.
16156         * sysdeps/x86_64/multiarch/varshift.c: New file.
16157         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16158         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16159         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16160         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16162 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16164         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16165         strlen-sse2 strlen-sse2-bsf.
16166         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16167         __strlen_sse2_bsf if bit_Slow_BSF is unset.
16168         (__strlen_sse2): Removed.
16169         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16170         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16171         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16172         bit_Slow_BSF for Atom.
16173         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16174         (index_Slow_BSF): Define.
16175         (HAS_SLOW_BSF): Define.
16177 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
16179         [BZ #10851]
16180         * resolv/res_init.c (__res_vinit): When no server address at all
16181         is given default to loopback.
16183 2010-08-24  Roland McGrath  <roland@redhat.com>
16185         * configure.in: Remove config-name.h generation.
16186         * configure: Regenerated.
16187         * config-name.in: File removed.
16188         * scripts/config-uname.sh: New file.
16189         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16190         ($(objdir)config-name.h): New target.
16192         * sunrpc/rpc_parse.h: Avoid nested comment.
16194 2010-08-24  Richard Henderson  <rth@redhat.com>
16195             Ulrich Drepper  <drepper@redhat.com>
16196             H.J. Lu  <hongjiu.lu@intel.com>
16198         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16200         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16201         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
16202         _mm_alignr_epi8 with _mm_loadu_si128.
16203         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16204         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16205         (__m128i_shift_right): Removed.
16206         * sysdeps/i386/i686/multiarch/varshift.h: New file.
16207         * sysdeps/i386/i686/multiarch/varshift.S: New file.
16208         * sysdeps/x86_64/multiarch/varshift.h: New file.
16209         * sysdeps/x86_64/multiarch/varshift.S: New file.
16211 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
16213         * configure.in: Move assembler checks to before sysdep dir checking.
16215 2010-08-20  Petr Baudis  <pasky@suse.cz>
16217         * LICENSES: Sync the sunrpc license.
16219 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
16221         * sunrpc/auth_des.c: Update copyright notice once again.
16222         * sunrpc/auth_none.c: Likewise.
16223         * sunrpc/auth_unix.c: Likewise.
16224         * sunrpc/authdes_prot.c: Likewise.
16225         * sunrpc/authuxprot.c: Likewise.
16226         * sunrpc/bindrsvprt.c: Likewise.
16227         * sunrpc/clnt_gen.c: Likewise.
16228         * sunrpc/clnt_perr.c: Likewise.
16229         * sunrpc/clnt_raw.c: Likewise.
16230         * sunrpc/clnt_simp.c: Likewise.
16231         * sunrpc/clnt_tcp.c: Likewise.
16232         * sunrpc/clnt_udp.c: Likewise.
16233         * sunrpc/clnt_unix.c: Likewise.
16234         * sunrpc/des_crypt.c: Likewise.
16235         * sunrpc/des_soft.c: Likewise.
16236         * sunrpc/get_myaddr.c: Likewise.
16237         * sunrpc/getrpcport.c: Likewise.
16238         * sunrpc/key_call.c: Likewise.
16239         * sunrpc/key_prot.c: Likewise.
16240         * sunrpc/openchild.c: Likewise.
16241         * sunrpc/pm_getmaps.c: Likewise.
16242         * sunrpc/pm_getport.c: Likewise.
16243         * sunrpc/pmap_clnt.c: Likewise.
16244         * sunrpc/pmap_prot.c: Likewise.
16245         * sunrpc/pmap_prot2.c: Likewise.
16246         * sunrpc/pmap_rmt.c: Likewise.
16247         * sunrpc/rpc/auth.h: Likewise.
16248         * sunrpc/rpc/auth_unix.h: Likewise.
16249         * sunrpc/rpc/clnt.h: Likewise.
16250         * sunrpc/rpc/des_crypt.h: Likewise.
16251         * sunrpc/rpc/key_prot.h: Likewise.
16252         * sunrpc/rpc/netdb.h: Likewise.
16253         * sunrpc/rpc/pmap_clnt.h: Likewise.
16254         * sunrpc/rpc/pmap_prot.h: Likewise.
16255         * sunrpc/rpc/pmap_rmt.h: Likewise.
16256         * sunrpc/rpc/rpc.h: Likewise.
16257         * sunrpc/rpc/rpc_des.h: Likewise.
16258         * sunrpc/rpc/rpc_msg.h: Likewise.
16259         * sunrpc/rpc/svc.h: Likewise.
16260         * sunrpc/rpc/svc_auth.h: Likewise.
16261         * sunrpc/rpc/types.h: Likewise.
16262         * sunrpc/rpc/xdr.h: Likewise.
16263         * sunrpc/rpc_clntout.c: Likewise.
16264         * sunrpc/rpc_cmsg.c: Likewise.
16265         * sunrpc/rpc_common.c: Likewise.
16266         * sunrpc/rpc_cout.c: Likewise.
16267         * sunrpc/rpc_dtable.c: Likewise.
16268         * sunrpc/rpc_hout.c: Likewise.
16269         * sunrpc/rpc_main.c: Likewise.
16270         * sunrpc/rpc_parse.c: Likewise.
16271         * sunrpc/rpc_parse.h: Likewise.
16272         * sunrpc/rpc_prot.c: Likewise.
16273         * sunrpc/rpc_sample.c: Likewise.
16274         * sunrpc/rpc_scan.c: Likewise.
16275         * sunrpc/rpc_scan.h: Likewise.
16276         * sunrpc/rpc_svcout.c: Likewise.
16277         * sunrpc/rpc_tblout.c: Likewise.
16278         * sunrpc/rpc_util.c: Likewise.
16279         * sunrpc/rpc_util.h: Likewise.
16280         * sunrpc/rpcinfo.c: Likewise.
16281         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16282         * sunrpc/rpcsvc/key_prot.x: Likewise.
16283         * sunrpc/rpcsvc/klm_prot.x: Likewise.
16284         * sunrpc/rpcsvc/mount.x: Likewise.
16285         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16286         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16287         * sunrpc/rpcsvc/rex.x: Likewise.
16288         * sunrpc/rpcsvc/rstat.x: Likewise.
16289         * sunrpc/rpcsvc/rusers.x: Likewise.
16290         * sunrpc/rpcsvc/sm_inter.x: Likewise.
16291         * sunrpc/rpcsvc/spray.x: Likewise.
16292         * sunrpc/rpcsvc/yppasswd.x: Likewise.
16293         * sunrpc/rtime.c: Likewise.
16294         * sunrpc/svc.c: Likewise.
16295         * sunrpc/svc_auth.c: Likewise.
16296         * sunrpc/svc_authux.c: Likewise.
16297         * sunrpc/svc_raw.c: Likewise.
16298         * sunrpc/svc_run.c: Likewise.
16299         * sunrpc/svc_simple.c: Likewise.
16300         * sunrpc/svc_tcp.c: Likewise.
16301         * sunrpc/svc_udp.c: Likewise.
16302         * sunrpc/svc_unix.c: Likewise.
16303         * sunrpc/svcauth_des.c: Likewise.
16304         * sunrpc/xcrypt.c: Likewise.
16305         * sunrpc/xdr.c: Likewise.
16306         * sunrpc/xdr_array.c: Likewise.
16307         * sunrpc/xdr_float.c: Likewise.
16308         * sunrpc/xdr_mem.c: Likewise.
16309         * sunrpc/xdr_rec.c: Likewise.
16310         * sunrpc/xdr_ref.c: Likewise.
16311         * sunrpc/xdr_sizeof.c: Likewise.
16312         * sunrpc/xdr_stdio.c: Likewise.
16314         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16315         handling.
16317 2010-08-19  Andreas Schwab  <schwab@redhat.com>
16319         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16321 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
16323         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16324         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16325         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16326         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16327         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16328         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16329         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16330         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16331         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16332         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16333         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16334         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16335         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16336         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16338 2010-07-26  Anton Blanchard  <anton@samba.org>
16340         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16341         * malloc/arena.c (heap_trim): Likewise.
16343 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
16345         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16346         here.  Not...
16347         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16348         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16350 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
16352         * sysdeps/i386/elf/Makefile: New file.
16354 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
16356         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16357         from fanotify_init.
16358         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16359         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16361 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
16363         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16364         of strncasecmp_l.
16365         * sysdeps/multiarch/strcmp.S: Likewise.
16367 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
16369         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16370         strncase_l-nonascii.
16371         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16372         Add strncase_l-ssse3.
16373         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16374         * sysdeps/x86_64/strcmp.S: Likewise.
16375         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16376         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16377         * sysdeps/x86_64/strncase.S: New file.
16378         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16379         * sysdeps/x86_64/strncase_l.S: New file.
16380         * string/Makefile (strop-tests): Add strncasecmp.
16381         * string/test-strncasecmp.c: New file.
16383         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16384         warning.
16386         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16387         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16389 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
16391         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16393 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
16395         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16396         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16397         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16399 2010-05-01  Alan Modra  <amodra@gmail.com>
16401         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16402         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16403         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16404         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16405         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16406         tidying.  Don't tail-call __sigjmp_save for static lib.
16407         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16408         save location.
16409         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16410         (CALL_MCOUNT): Add eh info, and nop after bl.
16411         (TAIL_CALL_SYSCALL_ERROR): New macro.
16412         (PSEUDO_RET): Use it.
16413         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16414         Correct save location of integer regs and cr.
16415         (_dl_profile_resolve): Correct cr save location.  Delete nops
16416         after bl when SHARED.  Reduce cfi size a little by better
16417         placement of cfi directives.
16418         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16419         make a stack frame.  Instead use parm save area as a temp.
16420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16421         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
16422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16423         Don't make a stack frame for parent, use parm save area.
16424         Increase child stack frame to 112 bytes.  Don't save unused reg,
16425         and adjust reg usage.  Set up cfi on error recovery and
16426         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16428         (__makecontext): Add dummy nop after jump to exit.
16429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16430         Use correct parm save area and cr save, reduce stack frame.
16431         Correct cfi for possible PSEUDO_RET frame setup.
16432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16433         Branch to local label emitted by PSEUDO_RET rather than
16434         __syscall_error.
16436 2010-08-12  Andreas Schwab  <schwab@redhat.com>
16438         [BZ #11904]
16439         * locale/programs/locale.c (print_assignment): New function.
16440         (show_locale_vars): Use it.
16442 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
16444         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16445         field.
16446         (struct statfs64): Likewise.
16447         (_STATFS_F_FLAGS): Define.
16448         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16449         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16450         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16451         (ST_VALID): Define locally.
16452         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16453         __statvfs_getflags, use the provided value.
16454         * sysdeps/unix/sysv/linux/kernel-features.h: Define
16455         __ASSUME_STATFS_F_FLAGS.
16457         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16459         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16460         Add sys/fanotify.h.
16461         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16462         fanotify_mask for GLIBC_2.13.
16463         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16464         fanotify_init and fanotify_mark.
16465         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16466         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16468         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16469         Add prlimit.
16470         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16471         prlimit64 for GLIBC_2.13.
16472         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16473         prlimit64.
16474         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16475         syscall.
16476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16477         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16478         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16479         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16480         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
16481         add prlimit alias.
16482         * sysdeps/unix/sysv/linux/prlimit.c: New file.
16484         [BZ #11903]
16485         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16486         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16488         * nss/Makefile: Add rules to build and run tst-nss-test1.
16489         * shlib-versions: Add entry for libnss_test1.
16490         * nss/nss_test1.c: New file.
16491         * nss/tst-nss-test1.c: New file.
16493         * nss/nsswitch.c (__nss_database_custom): Define new variable.
16494         (__nss_configure_lookup): Set appropriate entry in
16495         __nss_configure_lookup to true.
16496         * nss/nsswitch.h: Define enum with indeces of databases in
16497         databases and __nss_database_custom arrays.  Declare
16498         __nss_database_custom.
16499         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16500         to avoid using nscd when custom rules are installed.
16501         * nss/getXXbyYY_r.c: Likewise.
16502         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16504         * nss/nss_files/files-parse.c: Whitespace fixes.
16506 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
16508         [BZ #11883]
16509         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16510         * posix/fnmatch_loop.c: Likewise.
16512 2010-07-17  Andi Kleen  <ak@linux.intel.com>
16514         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16515         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16516         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16517         * Versions.def [GLIBC_2.13]: Add.
16519 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
16521         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16522         Also fail if tpwd after pwuid call is NULL.
16524 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16526         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16527         when converting to ms.
16529 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16531         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16532         EOPNOTSUPP errors with ENOTTY.
16533         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16534         EOPNOTSUPP errors with ENOTTY.
16536 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
16538         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16539         Add strcasecmp_l-ssse3.
16540         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16541         strcasecmp.
16542         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16543         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16544         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16546 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
16548         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16550         * string/Makefile (strop-tests): Add strcasecmp.
16551         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16552         strcasecmp_l-nonascii.
16553         (gen-as-const-headers): Add locale-defines.sym.
16554         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16555         * sysdeps/x86_64/strcasecmp.S: New file.
16556         * sysdeps/x86_64/strcasecmp_l.S: New file.
16557         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16558         * sysdeps/x86_64/locale-defines.sym: New file.
16559         * string/test-strcasecmp.c: New file.
16561         * string/test-strcasestr.c: Test both ends of the range of characters.
16562         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16564 2010-07-29  Roland McGrath  <roland@redhat.com>
16566         [BZ #11856]
16567         * manual/locale.texi (Yes-or-No Questions): Fix example code.
16569 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
16571         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16572         for ld.so.
16574 2010-07-27  Andreas Schwab  <schwab@redhat.com>
16576         * manual/memory.texi (Malloc Tunable Parameters): Document
16577         M_PERTURB.
16579 2010-07-26  Roland McGrath  <roland@redhat.com>
16581         [BZ #11840]
16582         * configure.in (-fgnu89-inline check): Set and substitute
16583         gnu89_inline, not libc_cv_gnu89_inline.
16584         * configure: Regenerated.
16585         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16587 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
16589         * string/test-strnlen.c: New file.
16590         * string/Makefile (strop-tests): Add strnlen.
16591         * string/tester.c (test_strnlen): Add a few more test cases.
16592         * string/tst-strlen.c: Better error reporting.
16594         * sysdeps/x86_64/strnlen.S: New file.
16596 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
16598         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16599         lower-latency instructions.
16601 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
16603         * string/test-strcasestr.c: New file.
16604         * string/test-strstr.c: New file.
16605         * string/Makefile (strop-tests): Add strstr and strcasestr.
16606         * string/str-two-way.h: Don't undefine MAX.
16607         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16609 2010-07-21  Andreas Schwab  <schwab@redhat.com>
16611         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16612         strcasestr-nonascii.
16613         (CFLAGS-strcasestr-nonascii.c): Define.
16614         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16615         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16616         Remove unused attribute.
16618 2010-07-20  Roland McGrath  <roland@redhat.com>
16620         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16621         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
16622         ld.so.cache was broken.  With it, there is no way to disable dsocaps
16623         like LD_HWCAP_MASK can disable hwcaps.
16625 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
16627         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16629 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
16631         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16632         call in strcasestr.
16633         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16634         __strcasestr_sse42_nonascii.
16635         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16636         strcasestr-nonascii.c.
16637         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16639 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
16641         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16642         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16643         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16644         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16646 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
16648         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16649         fcntl.
16651 2010-07-06  Andreas Schwab  <schwab@redhat.com>
16653         [BZ #11577]
16654         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16655         dl_signal_cerror.
16657 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
16659         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16660         _PC_PIPE_BUF using F_GETPIPE_SZ.
16662 2010-07-05  Roland McGrath  <roland@redhat.com>
16664         * manual/arith.texi (Rounding Functions): Fix rint description
16665         implicit in round description.
16667 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
16669         * elf/Makefile: Fix linking for a few tests to make recent linker
16670         happy.
16672 2010-06-30  Andreas Schwab  <schwab@redhat.com>
16674         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16675         $(common-objpfx)libc_nonshared.a.
16677 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
16679         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16680         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16681         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16682         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16683         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16684         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16685         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16686         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16701         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16702         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16703         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16704         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16705         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16706         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16707         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16708         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16709         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16710         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16711         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16712         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16728 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16730         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16731         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
16732         * string/memmove.c (memmove): Renamed to ...
16733         (MEMMOVE): ...this.  Default to memmove.
16734         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16735         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16736         (END_CHK): Define.
16737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16738         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16739         mempcpy-ssse3-back memmove-ssse3-back.
16740         * sysdeps/x86_64/multiarch/bcopy.S: New file .
16741         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16742         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16743         * sysdeps/x86_64/multiarch/memcpy.S: New file.
16744         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16745         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16746         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16747         * sysdeps/x86_64/multiarch/memmove.c: New file.
16748         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16749         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16750         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16751         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16752         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16753         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16754         Define.
16755         (index_Fast_Copy_Backward): Define.
16756         (HAS_ARCH_FEATURE): Define.
16757         (HAS_FAST_REP_STRING): Define.
16758         (HAS_FAST_COPY_BACKWARD): Define.
16760 2010-06-21  Andreas Schwab  <schwab@redhat.com>
16762         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16763         Restore proper fallback handling.
16765 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
16767         [BZ #11701]
16768         * posix/group_member.c (__group_member): Correct checking loop.
16770         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16771         OOM in getpwuid_r correctly.  Return error number when the caller
16772         should return, otherwise -1.
16773         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16774         call returning > 0 value.
16775         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16777 2010-06-07  Andreas Schwab  <schwab@redhat.com>
16779         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16780         libc_nonshared.a from targets in modules-names.
16782 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
16784         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16785         requires it.
16787 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
16789         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16790         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16791         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16792         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16794 2010-06-02  Andreas Schwab  <schwab@redhat.com>
16796         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16798 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
16800         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16801         and F_GETPIPE_SZ.
16802         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16803         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16804         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16805         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16806         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16807         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16809 2010-06-14  Roland McGrath  <roland@redhat.com>
16811         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16813 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
16815         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16816         __REDIRECT followed by __THROW.
16817         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16818         * posix/getopt.h (getopt): Likewise.
16820 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
16822         * hurd/lookup-at.c (__file_name_lookup_at): Accept
16823         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
16824         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16825         in AT_FLAGS.
16826         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16827         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16829 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
16831         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16833 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
16835         [BZ #11640]
16836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16837         Properly check family and model.
16839 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
16841         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16843 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
16845         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16847 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
16849         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16850         symbol reference.
16852 2010-05-19  Andreas Schwab  <schwab@redhat.com>
16854         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16855         symbol reference.
16857 2010-05-21  Andreas Schwab  <schwab@redhat.com>
16859         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16860         and internal_recvmmsg.
16861         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16862         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16863         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16864         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16866         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16867         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16868         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16870 2010-05-20  Andreas Schwab  <schwab@redhat.com>
16872         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16874 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
16876         POWER7 optimizations.
16877         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16878         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16880 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
16882         * version.h: Update for 2.13 development version.
16884 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
16886         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16887         exceptions.  Return 0.
16889 2010-05-07  Roland McGrath  <roland@redhat.com>
16891         * elf/ldconfig.c (main): Add a const.
16893 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
16895         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16896         (args_options): Add no-idn option.
16897         (ahosts_keys_int): Add idn_flags to ai_flags.
16898         (parse_option): Handle 'i' option to clear idn_flags.
16900         * malloc/malloc.c (_int_free): Possible race in the most recently
16901         added check.  Only act on the data if no current modification
16902         happened.
16904 See ChangeLog.17 for earlier changes.