Get rid of ASM_GLOBAL_DIRECTIVE.
[platform/upstream/glibc.git] / ChangeLog
1 2012-07-10  Marek Polacek  <polacek@redhat.com>
2
3         [BZ #14151]
4         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
5         libc_cv_asm_global_directive with .globl.
6         * configure: Regenerated.
7         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8         with .globl.
9         * sysdeps/i386/configure: Regenerated.
10         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11         with .globl.
12         * sysdeps/x86_64/configure: Regenerated.
13         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15         * elf/tst-unique2mod2.c: Likewise.
16         * elf/tst-unique2mod1.c: Likewise.
17         * elf/tst-unique1mod2.c: Likewise.
18         * elf/tst-unique1mod1.c: Likewise.
19         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23         * sysdeps/mach/sysdep.h: Likewise.
24         * sysdeps/i386/sysdep.h: Likewise.
25         * sysdeps/i386/i386-mcount.S: Likewise.
26         * sysdeps/x86_64/_mcount.S: Likewise.
27         * sysdeps/x86_64/sysdep.h: Likewise.
28         * sysdeps/sh/_mcount.S: Likewise.
29         * sysdeps/sh/sysdep.h: Likewise.
30         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37         * locale/localeinfo.h: Likewise.
38         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40
41 2012-07-09  Roland McGrath  <roland@hack.frob.com>
42
43         [BZ #14336]
44         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45         system".
46         * manual/message.texi (The Uniforum approach): Likewise.
47         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48         (glibc iconv Implementation): Likewise.
49
50 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
51
52         [BZ #14337]
53         * math/s_clog.c (__clog): Avoid scaling a value down where that
54         could result in underflow.
55         * math/s_clog10.c (__clog10): Likewise.
56         * math/s_clog10f.c (__clog10f): Likewise.
57         * math/s_clog10l.c (__clog10l): Likewise.
58         * math/s_clogf.c (__clogf): Likewise.
59         * math/s_clogl.c (__clogl): Likewise.
60         * math/libm-test.inc (clog_test): Add more tests.
61         (clog10_test): Likewise.
62         * sysdeps/i386/fpu/libm-test-ulps: Update.
63         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64
65 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66
67         [BZ #14283]
68         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
69         by 7 not 8 to examine high bit of fractional part.
70
71         [BZ #14042]
72         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73         for call to __mcount_internal.
74         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
75         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
76         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
77
78 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
79
80         [BZ #14154]
81         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
82         approximation for values within 0x1p-13f of an odd multiple of
83         pi/4.
84         * math/libm-test.inc (tan_test): Do not allow spurious underflow
85         exception.  Add more tests.
86         * sysdeps/i386/fpu/libm-test-ulps: Update.
87
88         [BZ #6778]
89         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
90         inputs and return -1 for them.  Do not check for +Inf in case not
91         reachable for +Inf.
92         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
93         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
94         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
95         and return -1 for them.  Do not check for +Inf in case not
96         reachable for +Inf.
97         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
98         define.
99         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
100         and return -1 for them.  Do not check for +Inf in case not
101         reachable for +Inf.
102         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
103         spurious underflow.
104         * sysdeps/i386/fpu/libm-test-ulps: Update.
105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
106
107 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
108
109         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
110
111 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
112
113         [BZ #14157]
114         [BZ #14331]
115         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
116         could result in spurious underflow.  Scale down values above
117         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
118         * math/s_csqrtf.c (__csqrtf): Likewise.
119         * math/s_csqrtl.c (__csqrtl): Likewise.
120         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
121         spurious underflow.
122         * sysdeps/i386/fpu/libm-test-ulps: Update.
123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
124
125 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
126
127         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
128         xopen-msg.sed.
129         * catgets/xopen-msg.awk: New file.
130         * catgets/xopen-msg.sed: Removed.
131
132         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
133         po2text.sed.
134         * intl/po2test.awk: New file.
135         * intl/po2test.sed: Removed.
136
137 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
138
139         [BZ #14328]
140         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
141         or multiply small sinh result by itself.
142         * math/s_ctanf.c (__ctanf): Likewise.
143         * math/s_ctanh.c (__ctanh): Likewise.
144         * math/s_ctanhf.c (__ctanhf): Likewise.
145         * math/s_ctanhl.c (__ctanhl): Likewise.
146         * math/s_ctanl.c (__ctanl): Likewise.
147         * math/libm-test.inc (ctan_test_tonearest): New function.
148         (ctan_test_towardzero): Likewise.
149         (ctan_test_downward): Likewise.
150         (ctan_test_upward): Likewise.
151         (ctanh_test_tonearest): Likewise.
152         (ctanh_test_towardzero): Likewise.
153         (ctanh_test_downward): Likewise.
154         (ctanh_test_upward): Likewise.
155         (main): Call these new functions.
156         * sysdeps/i386/fpu/libm-test-ulps: Update.
157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
158
159 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
160
161         * .gitignore: Delete /ports entry.
162
163 2012-07-03  Andreas Jaeger  <aj@suse.de>
164
165         * po/bg.po: Update from translation team.
166         * po/cs.po: Likewise.
167         * po/de.po: Likewise.
168         * po/hr.po: Likewise.
169         * po/nl.pl: Likewise.
170         * po/pl.po: Likewise.
171         * po/vi.po: Likewise.
172
173 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
174
175         * Makeconfig [!+link] (+link-before-libc): New variable.
176         [!+link] (+link-after-libc): Likewise.
177         [!+link] (+link-tests): Likewise.
178         [!+link] (+link): Define in terms of $(+link-before-libc) and
179         $(+link-after-libc).
180         [!+link-static] (+link-static-before-libc): New variable.
181         [!+link-static] (+link-static-after-libc): Likewise.
182         [!+link-static] (+link-static-tests): Likewise.
183         [!+link-static] (+link-static): Define in terms of
184         $(+link-static-before-libc) and $(+link-static-after-libc).
185         [build-shared] (link-libc-before-gnulib): New variable.
186         [build-shared] (link-libc-tests): Likewise.
187         [build-shared] (link-libc): Define in terms of
188         $(link-libc-before-gnulib).
189         [!build-shared] (link-libc-tests): New variable.
190         (link-libc-static-tests): New variable.
191         [!gnulib] (gnulib-arch): New variable.
192         [!gnulib] (gnulib-tests): Likewise.
193         [!gnulib] (static-gnulib-arch): Likewise.
194         [!gnulib] (static-gnulib-tests): Likewise.
195         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
196         Define with "=" instead of ":=".
197         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
198         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
199         * Rules (binaries-all-notests): New variable.
200         (binaries-all-tests): Likewise.
201         (binaries-static-notests): Likewise.
202         (binaries-static-tests): Likewise.
203         (binaries-all): Define using $(binaries-all-notests) and
204         $(binaries-all-tests).
205         (binaries-static): Define using $(binaries-static-notests) and
206         $(binaries-static-tests).
207         (binaries-shared-tests): New variable.
208         (binaries-shared-notests): Likewise.
209         (binaries-shared): Remove variable.
210         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
211         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
212         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
213         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
214         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
215         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
216         * elf/Makefile (sln-modules): New variable.
217         (extra-objs): Add $(sln-modules:=.o).
218         (ldconfig-modules): Add static-stubs.
219         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
220         * elf/static-stubs.c: New file.
221
222         [BZ #14283]
223         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
224         by 7 not 8 to examine high bit of fractional part.  Use volatile
225         variables when splitting into final array of floats if
226         __FLT_EVAL_METHOD__ != 0.
227         * math/libm-test.inc (cos_test): Add another test.
228         (sin_test): Likewise.
229         * sysdeps/i386/fpu/libm-test-ulps: Update.
230
231         [BZ #14273]
232         * math/libm-test.inc (cosh_test): Add more tests.
233
234         * version.h (RELEASE): Set to "development".
235         (VERSION): Set to "2.16.90".
236
237 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
238
239         * NEWS: Update copyright. Remove last-updated date.
240         Mention math library bug fixes and timezone data changes.
241         * README: Mention GNU/Hurd, x32, and HPPA support status.
242
243 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
244
245         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
246
247 2012-06-27  Andreas Jaeger  <aj@suse.de>
248
249         * manual/contrib.texi (Contributors): Add Samuel Thibault.
250
251 2012-06-25  Andreas Jaeger  <aj@suse.de>
252
253         * sysdeps/s390/fpu/libm-test-ulps: Update.
254
255 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
256             Thomas Schwinge  <thomas@codesourcery.com>
257
258         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
259         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
260         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
261         fanotify_mark.
262
263 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
264
265         * sysdeps/mach/start.c: Remove file.
266         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
267         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
268         * sysdeps/sh/init-first.c: Likewise.
269
270         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
271         registers for frame unwinding purposes, add CFI directives.
272         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
273         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
274         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
275         Likewise.
276
277         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
278         __fortify_fail returning.
279         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
280
281         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
282         sysdeps/sh/____longjmp_chk.S.
283         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
284         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
285         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
286         (gen-as-const-headers): Append sigaltstack-offsets.sym.
287
288         * sysdeps/sh/abort-instr.h: New file.
289         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
290         process in case exit returns.
291
292         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
293         initialize the GOT register before use.
294
295         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
296         calculation of ARGC > 4.
297
298         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
299         meaningful names to some local labels.
300
301 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
302             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
303
304         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
305         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
306         (__arch_compare_and_exchange_val_16_acq): Likewise.
307         (__arch_compare_and_exchange_val_32_acq): Likewise.
308         (atomic_exchange_and_add): Fix gUSA sequence.
309         (atomic_add): Likewise.
310         (atomic_add_negative): Likewise.
311         (atomic_add_zero): Likewise.
312         (atomic_bit_test_set): Likewise.
313
314 2012-06-22  Andreas Schwab  <schwab@redhat.com>
315
316         [BZ #13579]
317         * include/link.h (struct link_map): Add l_free_initfini.
318         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
319         l_initfini.
320         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
321         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
322         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
323         set.
324
325 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
326
327         * configure.in: Use AC_LANG_SOURCE.
328         * configure: Regenerate.
329
330 2012-06-22  Roland McGrath  <roland@hack.frob.com>
331
332         * configure.in (libc_cv_localstatedir): New substituted variable.
333         * configure: Regenerated.
334         * config.make.in (localstatedir): New variable, substituted from
335         libc_cv_localstatedir.
336         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
337         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
338         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
339         * sysdeps/gnu/configure: Regenerated.
340
341 2012-06-21  Jeff Law  <law@redhat.com>
342
343         [BZ #14277]
344         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
345         free.  Simplify list management for _LIBC case.
346
347 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
348
349         [BZ #14273]
350         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
351         Clear sign bit of 64-bit integer value before comparing against
352         overflow value.
353
354         * sysdeps/mach/configure: Regenerated.
355
356 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
357
358         [BZ #14278]
359         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
360
361 2012-06-21  Jeff Law  <law@redhat.com>
362
363         [BZ #13882]
364         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
365         uint16_t for elements in the "seen" array to avoid char overflows.
366         * elf/dl-fini.c (_dl_sort_fini): Likewise.
367         * elf/dl-open.c (dl_open_worker): Likewise.
368
369 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
370
371         * scripts/list-sources.sh: Scan PORTS for translations.
372         * po/libc.pot: Regenerated.
373
374 2012-06-21  Andreas Jaeger  <aj@suse.de>
375
376         [BZ #12194]
377         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
378         warning.
379         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
380         * bits/byteswap-16.h (__bswap_16): Likewise.
381         * bits/byteswap.h (__bswap_constant_16): Likewise.
382
383 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
384
385         [BZ #14117]
386         * sysdeps/i386/fpu_control.h: Removed.
387         * sysdeps/x86_64/fpu_control.h: Moved to ...
388         * sysdeps/x86/fpu_control.h: Here.
389
390         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
391         (_FPU_SETCW): Likewise.
392
393 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
394
395         [BZ #14117]
396         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
397         * sysdeps/x86/fpu/bits/mathinline.h: This.
398         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
399
400         [BZ #14050]
401         [BZ #14117]
402         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
403         functions if __x86_64__ is defined.
404
405 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
406
407         * string/endian.h: Add !__ASSEMBLER__ condition for including
408         conversion interfaces.
409
410 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
411
412         [BZ #14241]
413         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
414         of ABS(x) in calculating zero to negative powers other than odd
415         integers.
416         * math/libm-test.inc (pow_test): Add more tests.
417
418 2012-06-15  Andreas Jaeger  <aj@suse.de>
419
420         * manual/contrib.texi (Contributors): Update entry of Liubov
421         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
422         Machado Filho.
423
424 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
425
426         * string/string.h: Add __wur to GNU version of strerror_r.
427
428 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
429
430         [BZ #14229]
431         * string/Makefile (tests): Add tst-strtok_r.
432         * string/tst-strtok_r.c: New file.
433         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
434         RAX_LP/RDX_LP on SAVE_PTR.
435
436 2012-06-14  Roland McGrath  <roland@hack.frob.com>
437
438         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
439
440 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
441
442         * libm_test.inc (csqrt_test): Allow more spurious underflow
443         exceptions.
444         (j0_test): Likewise.
445         (j1_test): Likewise.
446         (y0_test): Likewise.
447         (y1_test): Likewise.
448
449 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
450
451         * po/Makefile (libc.pot): Use UTF-8 charset.
452
453 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
454
455         [BZ #14210]
456         Suppress sign-conversion warning from FD_SET.
457         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
458         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
459         not unsigned long int.
460         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
461
462 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
463
464         [BZ #14050]
465         [BZ #14117]
466         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
467         __extern_always_inline instead of __extern_inline.
468         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
469         (__signbit): Likewise.
470         (__signbitl): Support C++ namespace.
471         (lrintf): New inline function.
472         (lrint): Likewise.
473         (llrintf): Likewise.
474         (llrint): Likewise.
475         (fmaxf): Likewise.
476         (fmax): Likewise.
477         (fminf): Likewise.
478         (fmin): Likewise.
479         (rint): Likewise.
480         (rintf): Likewise.
481         (ceil): Likewise.
482         (ceilf): Likewise.
483         (floor): Likewise.
484         (floorf): Likewise.
485         (nearbyint): Likewise.
486         (nearbyintf): Likewise.
487
488 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
489
490         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
491         non-default versions.
492
493 2012-06-11  Roland McGrath  <roland@hack.frob.com>
494
495         [BZ #14218]
496         * manual/argp.texi (Argp): Reword argp_parse description slightly.
497
498 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
499
500         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
501         (FE_UPWARD, FE_DOWNWARD): Don't define.
502         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
503         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
504
505         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
506         reading it.
507         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
508         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
509
510 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
511
512         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
513         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
514         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
515         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
516
517 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
518
519         [BZ #14117]
520         * sysdeps/i386/fpu/bits/fenv.h: Removed.
521         * sysdeps/i386/fpu/Implies: New file.
522         * sysdeps/x86_64/fpu/Implies: Likewise.
523         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
524         * sysdeps/x86/fpu/bits/fenv.h: This.
525
526         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
527         __SSE_MATH__.
528
529 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
530
531         [BZ #14134]
532         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
533         character 0xffff that matches the last element of the
534         conversion table.
535
536 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
537
538         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
539         fmodl commit.
540
541 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
542
543         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
544         values higher than 25.6283.
545
546 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
547
548         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
549         subnormal exponent extraction and add some __builtin_expect.
550         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
551         Fix for subnormal mantissa calculation.
552
553 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
554
555         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
556         cpu2 is -1 and errno is not ENOSYS.
557
558 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
559
560         [BZ #14117]
561         * sysdeps/i386/i486/bits/string.h: Renamed to ...
562         * sysdeps/x86/bits/string.h: This.
563         * sysdeps/x86_64/bits/string.h: Removed.
564
565         * sysdeps/i386/i486/bits/string.h: Define inline functions only
566         if not compiling for x86-64, but compiling for >= i486.
567
568         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
569         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
570
571         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
572         New macro from Linux kernel 3.4.0.
573         (FP_XSTATE_MAGIC2): Likewise.
574         (FP_XSTATE_MAGIC2_SIZE): Likewise.
575         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
576         (struct _fpx_sw_bytes): New struct.
577         (struct _xsave_hdr): Likewise.
578         (struct _ymmh_state): Likewise.
579         (struct _xstate): Likewise.
580
581         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
582         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
583         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
584         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
585         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
586         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
587
588         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
589         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
590         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
591         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
592         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
593         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
594
595 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
596
597         [BZ #13743]
598         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
599         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
600         (sysdep_headers): Include sys/platform/ppc.h.
601         * sysdeps/powerpc/test-gettimebase.c: Test for
602         __ppc_get_timebase() to catch future ISA opcode/insn changes.
603         * manual/Makefile (appendices): Include platform.texi.
604         * manual/contrib.texi (Contributors): Update @node pointers.
605         * manual/maint.texi (Maintenance): Likewise.
606         (Platform): New node.
607         * manual/platform.texi: New file.  Document the new features.
608
609 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
610             Jakub Jelinek  <jakub@redhat.com>
611
612         [BZ #14188]
613         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
614         where __builtin_expect is unavailable.
615
616 2012-06-03  David S. Miller  <davem@davemloft.net>
617
618         * stdlib/longlong.h: Updated from GCC.
619
620 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
621
622         [BZ #14042]
623         * sysdeps/powerpc/powerpc32/mcount.c: New file.
624         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
625         __mcount_internal.
626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
627         (GLIBC_2.16): Likewise.
628
629 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
630
631         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
632
633 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
634
635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
636         (default-abi): New variable.
637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
638         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
639         variable.
640         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
641         Likewise.
642         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
643         Likewise.
644         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
645         Likewise.
646
647         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
648         definition.  Document in comment.
649
650 2012-06-01  David S. Miller  <davem@davemloft.net>
651
652         * stdlib/longlong.h: Updated from GCC.
653
654 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
655
656         [BZ #14117]
657         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
658         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
659         sys/debugreg.h sys/io.h here.
660         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
661         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
662         sys/io.h.
663         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
664         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
665         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
666         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
667         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
668         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
669
670         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
671         Define only if __x86_64__ is defined.
672
673 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
674
675         [BZ #14048]
676         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
677         Use int64_t for variable i.
678         * math/libm-test.inc (fmod_test): Add more tests.
679
680         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
681         z computation is not scheduled after fetestexcept.
682         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
683         Use math_force_eval instead of asm to ensure calculation scheduled
684         before exception test.
685         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
686         Ensure a1 + u.d computation is not scheduled after fetestexcept.
687
688 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
689
690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
691         computation is not scheduled after fetestexcept.
692
693 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
694
695         [BZ #14117]
696         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
697         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
698
699 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
700
701         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
702         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
703
704 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
705
706         [BZ #14117]
707         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
708         <bits/wordsize.h>.
709         (__WCHAR_MIN): Support __WORDSIZE == 64.
710         (__WCHAR_MAX): Likewise.
711
712         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
713         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
714
715         [BZ #14183]
716         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
717         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
718
719         [BZ #14117]
720         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
721         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
722
723         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
724         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
725
726         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
727         Defined to 1 if __x86_64__ isn't defined.
728         (_STAT_VER_LINUX_OLD): New.
729         (st_atime): Remove duplicate.
730         (st_mtime): Likewise.
731         (st_ctime): Likewise.
732
733 2012-05-31  David S. Miller  <davem@davemloft.net>
734
735         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
736         entries.
737
738 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
739
740         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
741         gen-libm-test.pl.
742
743         [BZ #14132]
744         * elf/dl-reloc.c: Include <_itoa.h>.
745         (_dl_reloc_bad_type): Remove use of INTUSE.
746         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
747         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
748         * stdio-common/psiginfo.c (psiginfo): Likewise.
749         * stdio-common/psignal.c (psignal): Likewise.
750         * string/strsignal.c (strsignal): Likewise.
751         * include/signal.h (_sys_siglist): Declare hidden proto.
752         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
753         INTVARDEF with libc_hidden_data_def.
754         * stdio-common/itoa-udigits.c: Likewise.
755         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
756         (_itoa_lower_digits_internal): Remove declaration.
757         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
758         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
759         (_sys_sigabbrev_internal): Remove aliases.
760         (_sys_siglist): Define hidden alias.
761
762 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
763
764         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
765         bits/sysctl.h.
766
767 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
768
769         [BZ #14117]
770         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
771         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
772
773         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
774         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
775         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
776         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
777         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
778         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
779
780         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
781         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
782         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
783
784         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
785         with __addr.
786         (insw): Likewise.
787         (insl): Likewise.
788         (outsb): Likewise.
789         (outsw): Likewise.
790         (outsl): Likewise.
791
792         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
793         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
794         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
795
796         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
797         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
798         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
799         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
800         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
801         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
802
803         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
804         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
805
806         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
807         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
808
809         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
810         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
811         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
812
813         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
814         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
815         to ...
816         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
817
818         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
819         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
820         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
821
822         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
823         for x86-64.
824         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
825
826 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
827
828         * math/math.h (M_El): Use two more decimal places.
829         (M_LOG2El): Likewise.
830         (M_LOG10El): Likewise.
831         (M_LN2l): Likewise.
832         (M_LN10l): Likewise.
833         (M_PIl): Likewise.
834         (M_PI_2l): Likewise.
835         (M_PI_4l): Likewise.
836         (M_1_PIl): Likewise.
837         (M_2_PIl): Likewise.
838         (M_2_SQRTPIl): Likewise.
839         (M_SQRT2l): Likewise.
840         (M_SQRT1_2l): Likewise.
841
842 2012-05-31  David S. Miller  <davem@davemloft.net>
843
844         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
845         values between float registers.
846         * sysdeps/sparc/sparc64/memset.S: Likewise.
847         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
848
849 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
850
851         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
852         -D_FORTIFY_SOURCE=1.
853         (CPPFLAGS-tst-longjmp_chk.c): Define.
854         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
855         (CPPFLAGS-tst-longjmp_chk2.c): Define.
856         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
857         CFLAGS-tst-wchar-h.c.
858
859 2012-05-31  Marek Polacek  <polacek@redhat.com>
860
861         [BZ #14132]
862         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
863         __endmntent_internal): Remove declaration.
864         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
865         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
866         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
867
868 2012-05-30  David S. Miller  <davem@davemloft.net>
869
870         * sysdeps/sparc/sparc32/soft-fp/q_util.c
871         (___Q_simulate_exceptions): Use real FP ops rather than writing
872         into the %fsr.
873         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
874         Likewise.
875
876 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
877
878         [BZ #14117]
879         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
880         * sysdeps/x86/bits/xtitypes.h: This.
881
882         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
883         * sysdeps/x86/bits/wordsize.h: This.
884
885         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
886         * sysdeps/x86/bits/huge_vall.h: This.
887
888         * sysdeps/i386/bits/select.h: Removed.
889         * sysdeps/x86_64/bits/select.h: Renamed to ...
890         * sysdeps/x86/bits/select.h: This.
891
892         * sysdeps/i386/bits/setjmp.h: Removed.
893         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
894         * sysdeps/x86/bits/setjmp.h: This.
895
896         * sysdeps/i386/bits/mathdef.h: Removed.
897         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
898         * sysdeps/x86/bits/mathdef.h: This.
899
900 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
901
902         [BZ #14132]
903         * include/sys/socket.h (__connect_internal)
904         (__libc_sa_len_internal): Remove declaration.
905         (__connect, __libc_sa_len): Declare hidden_proto.
906         (SA_LEN): Remove use of INTUSE.
907         * socket/connect.c: Add libc_hidden_def.
908         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
909         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
910         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
911         alias.
912         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
913         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
914         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
915         of adding _internal alias.
916
917 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
918
919         [BZ #14117]
920         * sysdeps/i386/bits/link.h: Removed.
921         * sysdeps/i386/bits/linkmap.h: Likewise.
922         * sysdeps/x86_64/bits/link.h: Renamed to ...
923         * sysdeps/x86/bits/link.h: This.
924         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
925         * sysdeps/x86/bits/linkmap.h: This.
926
927         * sysdeps/i386/bits/endian.h: Removed.
928         * sysdeps/x86_64/bits/endian.h: Renamed to ...
929         * sysdeps/x86/bits/endian.h: This.
930
931         * sysdeps/i386/bits/byteswap.h: Removed.
932         * sysdeps/i386/bits/byteswap-16.h: Likewise.
933         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
934         * sysdeps/x86/bits/byteswap.h: This.
935         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
936         * sysdeps/x86/bits/byteswap-16.h: This.
937         * sysdeps/i386/Implies: Add x86.
938         * sysdeps/x86_64/Implies: Likewise.
939
940 2012-05-30  David S. Miller  <davem@davemloft.net>
941
942         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
943         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
944         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
945         (FP_TRAPPING_EXCEPTIONS): Define.
946         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
947         (FP_TRAPPING_EXCEPTIONS): Define.
948         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
949         subnormals only when inexact has been signalled or underflow
950         exceptions are enabled.
951         (_FP_PACK_CANONICAL): Likewise.
952
953 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
954
955         [BZ #14183]
956         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
957         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
958
959 2012-05-30  Richard Henderson  <rth@twiddle.net>
960
961         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
962         with #ifndef NOT_IN_libc.
963
964         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
965         marked to avoid plt entry.
966
967 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
968
969         [BZ #14112]
970         * Makeconfig (default-abi): New macro.
971         (abi-includes): Likewise.
972         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
973         $(abi-$(default-abi)-lib-soname) for soname if defined.
974         ($(common-objpfx)gnu/lib-names.stmp): Generate from
975         abi-variants.
976         * Makefile (installed-stubs): Likewise.
977         * include/stubs-biarch.h: Removed.
978         * scripts/lib-names.awk: Only handle one library at a time.
979         * scripts/soversions.awk: Remove WORDSIZE support.
980         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
981         entries.
982         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
983         Removed.
984         (syscall-list-default-condition): Likewise.
985         (syscall-list-default-condition): Likewise.
986         (syscall-list-includes): Likewise.
987         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
988         syscall-list-* with abi-*.  Handle undefined abi-variants.
989         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
990         * sysdeps/unix/sysv/linux/i386/Implies: New file.
991         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
992         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
993         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
994         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
995         Removed.
996         (syscall-list-32-options): Likewise.
997         (syscall-list-32-condition): Likewise.
998         (syscall-list-64-options): Likewise.
999         (syscall-list-64-condition): Likewise.
1000         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1001         macro.
1002         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1003         Renamed to ...
1004         (abi-*): This.
1005         (abi-64-ld-soname): New macro.
1006         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1007         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1008         Renamed to ...
1009         (abi-*): This.
1010         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1011         * sysdeps/x86_64/x32/shlib-versions: Likewise.
1012
1013 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
1014
1015         * sysdeps/unix/sysv/linux/kernel-features.h
1016         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1017         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1018         include <kernel-features.h>.
1019         [!__NR_ftruncate64]: Remove conditional code.
1020         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1021         [__NR_ftruncate64]: Make code unconditional.
1022         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1023         * sysdeps/unix/sysv/linux/truncate64.c: Do not
1024         include <kernel-features.h>.
1025         [!__NR_ftruncate64]: Remove conditional code.
1026         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1027         [__NR_ftruncate64]: Make code unconditional.
1028         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1030         include <kernel-features.h>.
1031         [!__NR_ftruncate64]: Remove conditional code.
1032         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1033         [__NR_ftruncate64]: Make code unconditional.
1034         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1036         include <kernel-features.h>.
1037         [!__NR_ftruncate64]: Remove conditional code.
1038         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1039         [__NR_ftruncate64]: Make code unconditional.
1040         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1041
1042         * configure.in (libc_cv_fpie): Weaken to a compile test using
1043         LIBC_TRY_CC_OPTION.
1044         * configure: Regenerated.
1045
1046 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1047
1048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1052         Refreshed.
1053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1059         Refreshed.
1060
1061 2012-05-27  David S. Miller  <davem@davemloft.net>
1062
1063         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1064         (___Q_zero): New.
1065         (__Q_simulate_exceptions): Return void.  Change to simulate
1066         exceptions by writing into the %fsr.
1067         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1068         (__Qp_handle_exceptions): Likewise.
1069         (numbers): Delete.
1070         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1071         __Qp_handle_exceptions.
1072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1073         __Qp_handle_exceptions.
1074         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1075         as unused and give dummy FP_RND_NEAREST initializer.
1076         (FP_INHIBIT_RESULTS): Define.
1077         (___Q_simulate_exceptions): Update declaration.
1078         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1079         formatting.
1080         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1081         as unused and give dummy FP_RND_NEAREST initializer.
1082         (__Qp_handle_exceptions): Update declaration.
1083         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1084         formatting.
1085
1086 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
1087
1088         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1089         the temporary FPU control word.
1090         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1091         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1092         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1093         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1094         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1095         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1096         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1097         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1098         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1099         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1100         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1101
1102 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1103
1104         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1105         fields.
1106
1107 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
1108
1109         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1110         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1111         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1112         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1113         Likewise.
1114         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1115         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1116         Likewise.
1117
1118 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
1119
1120         * po/h.po: Update from translation team.
1121
1122 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
1123
1124         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1125
1126         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1127         handling of denormals.
1128         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1129         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1130         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1131         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1132         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1133         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1134         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1135         Likewise.
1136
1137 2012-05-26  Marek Polacek  <polacek@redhat.com>
1138
1139         [BZ #14152]
1140         * math/libm-test.inc (fma_test): Don't always expect underflow
1141         exception.
1142
1143 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1144
1145         [BZ #12416]
1146         * elf/tst-execstack.c: Include stackinfo.h.
1147         (do_test): Adjust test case to ensure that pthread_getattr_np
1148         behaviour remains the same after marking stack executable.
1149
1150 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1151
1152         * sysdeps/unix/sysv/linux/kernel-features.h
1153         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1154         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1155         kernel-features.h.
1156         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1157         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1158         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1159         kernel-features.h.
1160         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1161         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1162
1163 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1164
1165         * configure.in: Define the default includes to being none.
1166         * configure: Regenerated.
1167
1168 2012-05-25  Roland McGrath  <roland@hack.frob.com>
1169
1170         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1171         * sysdeps/x86_64/setjmp.S: Likewise.
1172         * sysdeps/i386/bsd-setjmp.S: Likewise.
1173         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1174         * sysdeps/i386/setjmp.S: Likewise.
1175         * sysdeps/i386/__longjmp.S: Likewise.
1176         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1177         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1178
1179         * include/stap-probe.h: New file.
1180         * configure.in: Handle --enable-systemtap.
1181         * configure: Regenerated.
1182         * config.h.in (USE_STAP_PROBE): New #undef.
1183         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1184         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1185         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1186
1187 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1188
1189         [BZ #13717]
1190         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1191         to 2.4.0 where earlier.
1192         * sysdeps/unix/sysv/linux/configure: Regenerated.
1193         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1194         <kernel-features.h>.
1195         [__ASSUME_32BITUIDS]: Make code unconditional.
1196         [!__ASSUME_32BITUIDS]: Remove conditional code.
1197         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1198         <kernel-features.h>.
1199         [__ASSUME_32BITUIDS]: Make code unconditional.
1200         [!__ASSUME_32BITUIDS]: Remove conditional code.
1201         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1202         [__ASSUME_32BITUIDS]: Make code unconditional.
1203         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1204         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1205         <kernel-features.h>.
1206         [__ASSUME_32BITUIDS]: Make code unconditional.
1207         [!__ASSUME_32BITUIDS]: Remove conditional code.
1208         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1209         <kernel-features.h>.
1210         [__ASSUME_32BITUIDS]: Make code unconditional.
1211         [!__ASSUME_32BITUIDS]: Remove conditional code.
1212         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1213         <kernel-features.h>.
1214         [__ASSUME_32BITUIDS]: Make code unconditional.
1215         [!__ASSUME_32BITUIDS]: Remove conditional code.
1216         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1217         <kernel-features.h>.
1218         [__ASSUME_32BITUIDS]: Make code unconditional.
1219         [!__ASSUME_32BITUIDS]: Remove conditional code.
1220         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1221         <kernel-features.h>.
1222         [__ASSUME_32BITUIDS]: Make code unconditional.
1223         [!__ASSUME_32BITUIDS]: Remove conditional code.
1224         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1225         <kernel-features.h>.
1226         [__ASSUME_32BITUIDS]: Make code unconditional.
1227         [!__ASSUME_32BITUIDS]: Remove conditional code.
1228         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1229         <kernel-features.h>.
1230         [__ASSUME_32BITUIDS]: Make code unconditional.
1231         [!__ASSUME_32BITUIDS]: Remove conditional code.
1232         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1233         <kernel-features.h>.
1234         [__ASSUME_32BITUIDS]: Make code unconditional.
1235         [!__ASSUME_32BITUIDS]: Remove conditional code.
1236         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1237         <kernel-features.h>.
1238         [__ASSUME_32BITUIDS]: Make code unconditional.
1239         [!__ASSUME_32BITUIDS]: Remove conditional code.
1240         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1241         <kernel-features.h>.
1242         [__ASSUME_32BITUIDS]: Make code unconditional.
1243         [!__ASSUME_32BITUIDS]: Remove conditional code.
1244         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1245         <kernel-features.h>.
1246         [__NR_setresgid] (__setresgid): Do not declare.
1247         [__ASSUME_32BITUIDS]: Make code unconditional.
1248         [!__ASSUME_32BITUIDS]: Remove conditional code.
1249         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1250         <kernel-features.h>.
1251         [__NR_setresuid] (__setresuid): Do not declare.
1252         [__ASSUME_32BITUIDS]: Make code unconditional.
1253         [!__ASSUME_32BITUIDS]: Remove conditional code.
1254         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1255         <kernel-features.h>.
1256         [__ASSUME_32BITUIDS]: Make code unconditional.
1257         [!__ASSUME_32BITUIDS]: Remove conditional code.
1258         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1259         <kernel-features.h>.
1260         [__ASSUME_32BITUIDS]: Make code unconditional.
1261         [!__ASSUME_32BITUIDS]: Remove conditional code.
1262         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1263         <kernel-features.h>.
1264         [__ASSUME_32BITUIDS]: Make code unconditional.
1265         [!__ASSUME_32BITUIDS]: Remove conditional code.
1266         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1267         <kernel-features.h>.
1268         [__ASSUME_32BITUIDS]: Make code unconditional.
1269         [!__ASSUME_32BITUIDS]: Remove conditional code.
1270         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1271         <kernel-features.h>.
1272         [__ASSUME_32BITUIDS]: Make code unconditional.
1273         [!__ASSUME_32BITUIDS]: Remove conditional code.
1274         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1275         <kernel-features.h>.
1276         [__ASSUME_32BITUIDS]: Make code unconditional.
1277         [!__ASSUME_32BITUIDS]: Remove conditional code.
1278         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1279         <kernel-features.h>.
1280         [__ASSUME_32BITUIDS]: Make code unconditional.
1281         [!__ASSUME_32BITUIDS]: Remove conditional code.
1282         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1283         <kernel-features.h>.
1284         [__ASSUME_32BITUIDS]: Make code unconditional.
1285         [!__ASSUME_32BITUIDS]: Remove conditional code.
1286         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1287         <kernel-features.h>.
1288         [__ASSUME_32BITUIDS]: Make code unconditional.
1289         [!__ASSUME_32BITUIDS]: Remove conditional code.
1290         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1291         <kernel-features.h>.
1292         [__ASSUME_32BITUIDS]: Make code unconditional.
1293         [!__ASSUME_32BITUIDS]: Remove conditional code.
1294         * sysdeps/unix/sysv/linux/kernel-features.h
1295         (__ASSUME_SETRESUID_SYSCALL): Remove.
1296         (__ASSUME_SETRESGID_SYSCALL): Likewise.
1297         (__ASSUME_32BITUIDS): Likewise.
1298         (__ASSUME_LDT_WORKS): Likewise.
1299         (__ASSUME_O_DIRECTORY): Likewise.
1300         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1301         architecture but not kernel version.
1302         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1303         (__ASSUME_MMAP2_SYSCALL): Likewise.
1304         (__ASSUME_STAT64_SYSCALL): Likewise.
1305         (__ASSUME_IPC64): Likewise.
1306         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1307         <kernel-features.h>.
1308         [__ASSUME_32BITUIDS]: Make code unconditional.
1309         [!__ASSUME_32BITUIDS]: Remove conditional code.
1310         * sysdeps/unix/sysv/linux/opendir.c: Do not include
1311         <kernel-features.h>.
1312         [__ASSUME_O_DIRECTORY]: Make code unconditional.
1313         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1314         132096]: Remove conditional code.
1315         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1316         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1317         <kernel-features.h>.
1318         [__ASSUME_32BITUIDS]: Make code unconditional.
1319         [!__ASSUME_32BITUIDS]: Remove conditional code.
1320         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1321         <kernel-features.h>.
1322         [__ASSUME_32BITUIDS]: Make code unconditional.
1323         [!__ASSUME_32BITUIDS]: Remove conditional code.
1324         * sysdeps/unix/sysv/linux/setegid.c: Do not include
1325         <kernel-features.h>.
1326         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1327         unconditional.
1328         (__setresgid): Do not declare.
1329         [__ASSUME_32BITUIDS]: Make code unconditional.
1330         [!__ASSUME_32BITUIDS]: Remove conditional code.
1331         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1332         <kernel-features.h>.
1333         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1334         unconditional.
1335         (__setresuid): Do not declare.
1336         [__ASSUME_32BITUIDS]: Make code unconditional.
1337         [!__ASSUME_32BITUIDS]: Remove conditional code.
1338         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1339         <kernel-features.h>.
1340         [__ASSUME_32BITUIDS]: Make code unconditional.
1341         [!__ASSUME_32BITUIDS]: Remove conditional code.
1342         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1343         <kernel-features.h>.
1344         [__ASSUME_32BITUIDS]: Make code unconditional.
1345         [!__ASSUME_32BITUIDS]: Remove conditional code.
1346
1347 2012-05-25  Richard Henderson  <rth@twiddle.net>
1348
1349         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1350         dl_hwcap to ifunc resolver.
1351         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1352         elf_ifunc_invoke.
1353         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1354         dl_hwcap to ifunc resolver.
1355         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1356
1357 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1358
1359         [BZ #14153]
1360         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1361         for |x| <= 2**-26, not 2**-57.
1362         * math/libm-test.inc (acos_test): Do not allow spurious underflow
1363         exception.
1364
1365 2012-05-24  Jeff Law  <law@redhat.com>
1366
1367         * stdio-common/Makefile (tests): Add bug25.
1368         * stdio-common/bug25.c: New test.
1369
1370 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1371
1372         [BZ #13576]
1373         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1374         multiple of MALLOC_ALIGNMENT in size.
1375         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1376
1377 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1378
1379         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1380         Require >= 256.
1381         (FILENAME_MAX): Use macro-int-constant.
1382         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
1383         (_IOFBF): Use macro-int-constant.
1384         (_IOLBF): Likewise.
1385         (_IONBF): Likewise.
1386         (SEEK_CUR): Likewise.
1387         (SEEK_END): Likewise.
1388         (SEEK_SET): Likewise.
1389         (TMP_MAX): Likewise.
1390         (EOF): Use macro-int-constant.  Require < 0.
1391         (NULL): Use macro-constant.  Require == 0.
1392         (stdin): Require type to be FILE *.
1393         (stdout): Likewise.
1394         (stderr): Likewise.
1395         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1396         macro-int-constant.
1397         (EXIT_SUCCESS): Likewise.
1398         (NULL): Use macro-constant.  Require == 0.
1399         (RAND_MAX): Use macro-int-constant.
1400         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1401         [C99-based standards] (strtof): Require function.
1402         [C99-based standards] (strtold): Likewise.
1403         [C99-based standards] (strtoll): Likewise.
1404         [C99-based standards] (strtoull): Likewise.
1405         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1406         [ISO || ISO99 || ISO11] (limits.h): Likewise.
1407         [ISO || ISO99 || ISO11] (math.h): Likewise.
1408         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1409         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1410         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1411
1412 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
1413
1414         [BZ #14132]
1415         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1416         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1417         * intl/dgettext.c (DCGETTEXT): Likewise.
1418         * intl/gettext.c (DCGETTEXT): Likewise.
1419         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1420         * posix/regex_internal.h (gettext): Likewise.
1421         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1422         Remove declaration.
1423         * include/argz.h (__argz_count_internal)
1424         (__argz_stringify_internal): Remove declaration.
1425         (__argz_count, __argz_stringify): Declare hidden proto.
1426         * intl/dcgettext.c: Remove use of INTDEF.
1427         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1428         * string/argz-stringify.c: Likewise.
1429         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1430         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1431         Declare hidden proto.
1432         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1433         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1434         Declare hidden proto.
1435         * include/stdio.h (__asprintf_internal): Don't declare.
1436         (__asprintf): Don't define as macro.  Declare hidden proto.
1437         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1438         (__fsetlocking): Declare hidden proto.
1439         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1440         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1441         hidden proto.
1442         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1443         (_IO_setlinebuf): Remove use of INTUSE.
1444         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1445         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1446         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1447         Remove declaration.
1448         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1449         (_IO_do_flush): Remove use of INTUSE.
1450         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1451         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1452         (_IO_adjust_column, _IO_least_wmarker)
1453         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1454         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1455         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1456         (_IO_default_doallocate, _IO_wdefault_doallocate)
1457         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1458         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1459         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1460         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1461         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1462         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1463         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1464         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1465         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1466         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1467         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1468         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1469         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1470         proto.
1471         (_IO_flush_all_internal, _IO_adjust_column_internal)
1472         (_IO_default_uflow_internal, _IO_default_finish_internal)
1473         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1474         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1475         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1476         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1477         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1478         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1479         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1480         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1481         (_IO_file_close_internal, _IO_file_close_it_internal)
1482         (_IO_file_underflow_internal, _IO_file_overflow_internal)
1483         (_IO_file_init_internal, _IO_file_attach_internal)
1484         (_IO_file_fopen_internal, _IO_file_read_internal)
1485         (_IO_file_sync_internal, _IO_file_seek_internal)
1486         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1487         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1488         (_IO_str_underflow_internal, _IO_str_overflow_internal)
1489         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1490         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1491         (_IO_list_all_internal, _IO_link_in_internal)
1492         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1493         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1494         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1495         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1496         (_IO_do_write_internal, _IO_padn_internal)
1497         (_IO_getline_info_internal, _IO_getline_internal)
1498         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1499         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1500         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1501         (_IO_vfscanf_internal, _IO_vfprintf_internal)
1502         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1503         (_IO_init_internal, _IO_un_link_internal): Don't declare.
1504         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1505         with libc_hidden_ver, remove use of INTUSE.
1506         * libio/genops.c: Likewise.
1507         * libio/freopen.c: Likewise.
1508         * libio/freopen64.c: Likewise.
1509         * libio/iofclose.c: Likewise.
1510         * libio/iofdopen.c: Likewise.
1511         * libio/iofflush.c: Likewise.
1512         * libio/iofflush_u.c: Likewise.
1513         * libio/iofgets.c: Likewise.
1514         * libio/iofgets_u.c: Likewise.
1515         * libio/iofopen.c: Likewise.
1516         * libio/iofopncook.c: Likewise.
1517         * libio/iofread.c: Likewise.
1518         * libio/iofread_u.c: Likewise.
1519         * libio/ioftell.c: Likewise.
1520         * libio/iofwrite.c: Likewise.
1521         * libio/iogetline.c: Likewise.
1522         * libio/iogets.c: Likewise.
1523         * libio/iogetwline.c: Likewise.
1524         * libio/iopadn.c: Likewise.
1525         * libio/iopopen.c: Likewise.
1526         * libio/ioseekoff.c: Likewise.
1527         * libio/ioseekpos.c: Likewise.
1528         * libio/iosetbuffer.c: Likewise.
1529         * libio/iosetvbuf.c: Likewise.
1530         * libio/ioungetc.c: Likewise.
1531         * libio/ioungetwc.c: Likewise.
1532         * libio/iovdprintf.c: Likewise.
1533         * libio/iovsprintf.c: Likewise.
1534         * libio/iovsscanf.c: Likewise.
1535         * libio/memstream.c: Likewise.
1536         * libio/obprintf.c: Likewise.
1537         * libio/oldfileops.c: Likewise.
1538         * libio/oldiofclose.c: Likewise.
1539         * libio/oldiofdopen.c: Likewise.
1540         * libio/oldiofopen.c: Likewise.
1541         * libio/oldiopopen.c: Likewise.
1542         * libio/oldstdfiles.c: Likewise.
1543         * libio/putc.c: Likewise.
1544         * libio/setbuf.c: Likewise.
1545         * libio/setlinebuf.c: Likewise.
1546         * libio/stdfiles.c: Likewise.
1547         * libio/strops.c: Likewise.
1548         * libio/vasprintf.c: Likewise.
1549         * libio/vscanf.c: Likewise.
1550         * libio/vsnprintf.c: Likewise.
1551         * libio/vswprintf.c: Likewise.
1552         * libio/wfiledoalloc.c: Likewise.
1553         * libio/wfileops.c: Likewise.
1554         * libio/wgenops.c: Likewise.
1555         * libio/wmemstream.c: Likewise.
1556         * libio/wstrops.c: Likewise.
1557         * libio/__fpurge.c: Likewise.
1558         * libio/__fsetlocking.c: Likewise.
1559         * assert/assert.c: Likewise.
1560         * debug/fgets_chk.c: Likewise.
1561         * debug/fgets_u_chk.c: Likewise.
1562         * debug/fread_chk.c: Likewise.
1563         * debug/fread_u_chk.c: Likewise.
1564         * debug/gets_chk.c: Likewise.
1565         * debug/obprintf_chk.c: Likewise.
1566         * debug/vasprintf_chk.c: Likewise.
1567         * debug/vdprintf_chk.c: Likewise.
1568         * debug/vsnprintf_chk.c: Likewise.
1569         * debug/vsprintf_chk.c: Likewise.
1570         * malloc/mtrace.c: Likewise.
1571         * misc/error.c: Likewise.
1572         * misc/syslog.c: Likewise.
1573         * stdio-common/asprintf.c: Likewise.
1574         * stdio-common/fxprintf.c: Likewise.
1575         * stdio-common/getw.c: Likewise.
1576         * stdio-common/isoc99_fscanf.c: Likewise.
1577         * stdio-common/isoc99_scanf.c: Likewise.
1578         * stdio-common/isoc99_vfscanf.c: Likewise.
1579         * stdio-common/isoc99_vscanf.c: Likewise.
1580         * stdio-common/isoc99_vsscanf.c: Likewise.
1581         * stdio-common/printf-prs.c: Likewise.
1582         * stdio-common/printf_fp.c: Likewise.
1583         * stdio-common/printf_fphex.c: Likewise.
1584         * stdio-common/printf_size.c: Likewise.
1585         * stdio-common/putw.c: Likewise.
1586         * stdio-common/scanf.c: Likewise.
1587         * stdio-common/sprintf.c: Likewise.
1588         * stdio-common/tmpfile.c: Likewise.
1589         * stdio-common/vfprintf.c: Likewise.
1590         * stdio-common/vfscanf.c: Likewise.
1591         * stdlib/strfmon_l.c: Likewise.
1592         * sunrpc/openchild.c: Likewise.
1593         * sunrpc/xdr_stdio.c: Likewise.
1594         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1595         * sysdeps/mach/hurd/tmpfile.c: Likewise.
1596
1597 2012-05-24  Roland McGrath  <roland@hack.frob.com>
1598
1599         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1600
1601         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1602         in the third column, to generate for the shared library an IFUNC
1603         that uses _dl_vdso_vsym.
1604         * Makerules (COMPILE.c, compile-stdin.c): New variables.
1605         * Makeconfig (object-suffixes-noshared): New variable.
1606
1607         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1608         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1609         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1610         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1611
1612         [BZ #14132]
1613         * include/sys/time.h (__gettimeofday): Remove macro.
1614         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1615         * time/gettimeofday.c (__gettimeofday): Remove #undef.
1616         Remove INTDEF.
1617         (__gettimeofday): Add libc_hidden_def.
1618         (gettimeofday): Add libc_hidden_weak.
1619         * sysdeps/mach/gettimeofday.c: Likewise.
1620         * sysdeps/posix/gettimeofday.c: Likewise.
1621         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1622         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1623         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1624         (__gettimeofday_internal): Remove strong_alias.
1625         (__gettimeofday): Add libc_hidden_def.
1626         (gettimeofday): Add libc_hidden_weak.
1627         * sysdeps/unix/syscalls.list (gettimeofday):
1628         Remove __gettimeofday_internal alias.
1629
1630 2012-05-24  Daniel Jacobowitz  <drow@false.org>
1631             H.J. Lu  <hongjiu.lu@intel.com>
1632
1633         [BZ #12495]
1634         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1635         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1636         (largebin_index_32_big): New.
1637         (largebin_index): Use it for 16-byte alignment.
1638         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
1639         correction with front_misalign.
1640
1641 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1642
1643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1645         Likewise.
1646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1647         Likewise.
1648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1649         Likewise.
1650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1651         Likewise.
1652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1653         Likewise.
1654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1655         Likewise.
1656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1657         Likewise.
1658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1659         Likewise.
1660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1661         Likewise.
1662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1663         Likewise.
1664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1665         Likewise.
1666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1667         Likewise.
1668
1669         * scripts/data/c++-types-x32-linux-gnu.data: New file.
1670         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1671
1672 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1673
1674         [BZ #10846]
1675         [BZ #14036]
1676         * math/libm-test.inc (exp_test): Add test from bug 14036.
1677         (pow_test): Add test from bug 10846.
1678
1679         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1680         and other flags.
1681         (special_function): Do not include flags in test name.
1682         (parse_args): Likewise.
1683         * sysdeps/i386/fpu/libm-test-ulps: Update.
1684         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1685         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1686         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1688
1689         * math/gen-libm-test.pl (%beautify): Add entries for underflow
1690         exceptions.
1691         * math/libm-test.inc ("Philosophy"): Update comment about
1692         exception testing.
1693         (UNDERFLOW_EXCEPTION): New macro.
1694         (UNDERFLOW_EXCEPTION_OK): Likewise.
1695         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1696         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1697         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1698         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1699         (INVALID_EXCEPTION_OK): Update value.
1700         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1701         (OVERFLOW_EXCEPTION_OK): Likewise.
1702         (IGNORE_ZERO_INF_SIGN): Likewise.
1703         (test_exceptions): Handle underflow exceptions.
1704         (acos_test): Update for underflow exception expectations.
1705         (cexp_test): Likewise.
1706         (clog_test): Likewise.
1707         (clog10_test): Likewise.
1708         (csqrt_test): Likewise.
1709         (ctan_test): Likewise.
1710         (ctanh_test): Likewise.
1711         (exp_test): Likewise.
1712         (exp10_test): Likewise.
1713         (exp2_test): Likewise.
1714         (expm1_test): Likewise.
1715         (fma_test): Likewise.
1716         (j0_test): Likewise.
1717         (jn_test): Likewise.
1718         (nexttoward_test): Likewise.
1719         (pow_test): Likewise.
1720         (scalbn_test): Likewise.
1721         (scalbln_test): Likewise.
1722         (tan_test): Likewise.
1723         (y1_test): Likewise.
1724         * sysdeps/i386/fpu/libm-test-ulps: Update.
1725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1726
1727 2012-05-23  David S. Miller  <davem@davemloft.net>
1728
1729         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1730         (__libc_sigaction): Remove unused local variables.
1731
1732 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1733
1734         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1735
1736 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
1737
1738         mktime: avoid signed integer overflow
1739         * time/mktime.c (__mktime_internal): Do not mishandle the case
1740         where diff == INT_MIN.
1741
1742         mktime: simplify computation of average
1743         * time/mktime.c (ranged_convert): Use new time_t_avg function
1744         instead of rolling our own (probably-slower) code.
1745
1746         mktime: do not assume signed right shift propagates sign bit
1747         * time/mktime.c (isdst_differ): New static function.
1748         (__mktime_internal): No need to normalize tm_isdst now.
1749         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1750         tm_isdst values.
1751
1752         mktime: merge another wrapv change from gnulib
1753         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1754         from some compilers.
1755
1756         mktime: remove incorrect attempt at unusual arithmetics
1757         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1758         The code didn't really work on such machines anyway.
1759         (TYPE_MINIMUM): Assume two's complement.
1760         (twos_complement_arithmetic): Verify that long_int and time_t
1761         are two's complement (or unsigned, in the latter case).
1762
1763         mktime: check signed shifts on long_int and time_t, too
1764         * time/mktime.c (SHR): Check that shifts work as desired
1765         on the types long_int and time_t too, as SHR is used on
1766         such types.
1767
1768         mktime: do not assume 'long' is wide enough
1769         * time/mktime.c (verify): Move decl up.
1770         (long_int): New type.
1771         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1772         to remove assumption in the code that 'long' is wide enough to
1773         store year values.  This assumption is not true on x32 and on
1774         some non-glibc platforms.
1775
1776         mktime: merge wrapv change from gnulib
1777         * time/mktime.c (WRAPV): New macro.
1778         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1779         (guess_time_tm, __mktime_internal): Do not assume that signed
1780         integer overflow wraps around; modern compilers generate code
1781         where this assumption is no longer valid.
1782
1783 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1784
1785         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1786         Replace "jmp L(pseudo_end)" with "ret".
1787         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1788         Likewise.
1789
1790 2012-05-23  Andreas Jaeger  <aj@suse.de>
1791
1792         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1793         * sysdeps/unix/sysv/linux/poll.c: Remove file.
1794
1795 2012-05-23  Andreas Jaeger  <aj@suse.de>
1796             Maximilian Attems  <max@stro.at>
1797
1798         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1799         New macros.
1800
1801 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1802
1803         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1804         code so that pseudo_end is just ret and the stack pointer is
1805         correct also for static library in error case.
1806
1807 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
1808
1809         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1810         move to syscalls.list.
1811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1815
1816         * manual/install.texi (Running make install): Do not mention Linux
1817         kernel version for which pt_chown is not needed.
1818         (Linux): Do not mention problems with nscd with 2.0 kernels.
1819         * INSTALL: Regenerated.
1820
1821 2012-05-23  Andreas Jaeger  <aj@suse.de>
1822
1823         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1824         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1825         macro.
1826         * sysdeps/unix/sysv/linux/s390/bits/mman.h
1827         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1828         * sysdeps/unix/sysv/linux/sh/bits/mman.h
1829         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1830         * sysdeps/unix/sysv/linux/i386/bits/mman.h
1831         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1832         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1833         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1834         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1835         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1836         * sysdeps/unix/sysv/linux/bits/in.h
1837         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1838
1839 2012-05-22  Roland McGrath  <roland@hack.frob.com>
1840
1841         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1842         (PREPARE_VERSION): Just use assert instead, it will be elided
1843         under [NDEBUG] anyway.
1844
1845 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1846
1847         * sysdeps/unix/sysv/linux/Makefile: Include
1848         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1849         (sysdep_routines): Remove sysctl.
1850         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1851         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1852         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1853         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1854         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1855
1856 2012-05-22  Andreas Jaeger  <aj@suse.de>
1857
1858         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1859         that pseudo_end is just ret and the stack pointer is correct also
1860         for static library in error case.
1861
1862 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1863
1864         [BZ #14122]
1865         * nss/nsswitch.c (defconfig_entries): New variable.
1866         (__nss_database_lookup): Don't leak defconfig entries.
1867         (nss_parse_service_list): Don't leak on error paths.
1868         (free_database_entries): New function.
1869         (free_defconfig): New function.
1870         (free_mem): Move common code to free_database_entries.
1871
1872 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1873
1874         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1875         Add arch_prctl.
1876         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1877
1878         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1879         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1881         New macro.
1882         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1883         (INTERNAL_SYSCALL_TYPES): Likewise.
1884         (LOAD_ARGS_TYPES_[1-6]): Likewise.
1885         (LOAD_REGS_TYPES_[1-6]): Likewise.
1886         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1887         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1888
1889 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1890
1891         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1892         copysignl for GLIBC_2_0.
1893         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1894         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1895         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1896         logbl for GLIBC_2_0.
1897         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1898         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1899
1900 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1901
1902         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1903         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
1904
1905         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1906         Use "neg %eax".
1907
1908         * time/mktime.c: Update copyright years.
1909
1910 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1911
1912         mktime: merge comment-quoting-style change from gnulib
1913         * time/mktime.c: Quote 'like this' in comments.
1914         The GNU coding standards suggest that we no longer quote `like this',
1915         as "`" and "'" are typically rendered asymmetrically nowadays.
1916         The typical gnulib style is to quote 'like this' when quoting
1917         code, and "like this" when quoting English.
1918
1919         * time/mktime.c (compile-command): Add "-I.".
1920
1921         mktime: merge mktime-internal.h change from gnulib
1922         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1923
1924         mktime: merge time_r change from gnulib
1925         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1926
1927         mktime: merge DEBUG change from gnulib
1928         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1929         case system <time.h> has a #define.
1930
1931         mktime: merge <sys/types.h> change from gnulib
1932         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1933         since <time.t> is now guaranteed to define time_t.
1934
1935         mktime: merge HAVE_CONFIG_H change from gnulib
1936         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1937
1938 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1939
1940         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1941         Use "neg %eax".
1942
1943         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1944         __rlim_t cast.
1945         (struct rusage): Use anonymous union to pad each field to
1946         __syscall_slong_t.
1947
1948 2012-05-21  David S. Miller  <davem@davemloft.net>
1949
1950         * Makefules (o-iterator): Remove .s cases.
1951         (compile-command.s): Delete.
1952         (COMPILE.s): Delete.
1953         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1954
1955 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
1956
1957         * configure.in (libc_cv_predef_stack_protector): Only consider
1958         "foobar" and "__stack_chk_fail" lines in libc_undefs.
1959         * configure: Regenerated.
1960
1961 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1962
1963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1964         New macro.  Use R*LP on int and pointer.
1965         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1966         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1967         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1968         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1969
1970         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1971         [__WORDSIZE_TIME64_COMPAT32] instead of
1972         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1973         (struct utmp): Likewise.
1974         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1975         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1976         Renamed to ...
1977         (__WORDSIZE_TIME64_COMPAT32): This.
1978         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1979         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1980         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1981         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1982         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1983         (__WORDSIZE_TIME64_COMPAT32): New macro.
1984
1985 2012-05-21  Andreas Jaeger  <aj@suse.de>
1986
1987         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1988         only if [SHARED]. Add prototype for __wcschr_ia32.
1989
1990 2012-05-21  Roland McGrath  <roland@hack.frob.com>
1991
1992         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1993         of %rbp unmolested in the jmp_buf while mangling the low bits.
1994         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1995         unmolested high bits of %rbp while demangling the low bits.
1996         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1997
1998 2012-05-21  Andreas Jaeger  <aj@suse.de>
1999
2000         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2001         * sunrpc/svc_simple.c: Use it for registerrpc.
2002         * sunrpc/xcrypt.c: Use it for passwd2des.
2003
2004         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2005
2006 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2007
2008         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2009         Don't define if [__SYSCALL_WORDSIZE != 32].
2010         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2011         New macro.
2012
2013 2012-05-21  Bruno Haible  <bruno@clisp.org>
2014             Andreas Jaeger  <aj@suse.de>
2015
2016         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2017         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2018         inptr and inend for must_buffer_ch.
2019         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2020         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2021         * stdio-common/Makefile (tests): Remove bug15.
2022         (bug15-ENV): Remove macro.
2023         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2024         anymore.
2025
2026 2012-05-19  Andreas Jaeger  <aj@suse.de>
2027             Roland McGrath  <roland@hack.frob.com>
2028
2029         * manual/contrib.texi: Completely rewritten. It contains now an
2030         alphabetical list of contributors and their contributions.
2031
2032 2012-05-21  Richard Henderson  <rth@twiddle.net>
2033
2034         * misc/getauxval.c (__getauxval): Use unsigned long int.
2035         * misc/sys/auxv.h: Include <sys/cdefs.h>.
2036         (getauxval): Use unsigned long int.
2037
2038 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2039
2040         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2041
2042 2012-05-21  Roland McGrath  <roland@hack.frob.com>
2043
2044         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2045         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2046         __alignof__ (long double).
2047
2048 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2049
2050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2051
2052 2012-05-20  Richard Henderson  <rth@twiddle.net>
2053
2054         * misc/getauxval.c: New file.
2055         * misc/sys/auxv.h: New file.
2056         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2057         (routines): Add getauxval.
2058         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2059         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2060         * elf/dl-sysdep.c (_dl_auxv): Remove.
2061         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2062         * elf/dl-support.c (_dl_auxv): New variable.
2063         (_dl_aux_init): Initialize it.
2064         * manual/startup.texi (Auxiliary Vector): New node.
2065         * sysdeps/generic/bits/hwcap.h: New file.
2066         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2067         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
2068         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2069         * sysdeps/sparc/sysdep.h: ... here.  Include it.
2070         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2071         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2073         Update.
2074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2077         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2082
2083 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2084
2085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2086
2087 2012-05-19  David S. Miller  <davem@davemloft.net>
2088
2089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2090
2091 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
2092
2093         [BZ #14123]
2094         * math/s_ccosh.c: Include <float.h>
2095         (__ccosh): Avoid internal overflow calculating sinh and cosh
2096         values before multiplying by sin and cos values.
2097         * math/s_ccoshf.c: Likewise.
2098         * math/s_ccoshl.c: Likewise.
2099         * math/s_csin.c: Likewise.
2100         * math/s_csinf.c: Likewise.
2101         * math/s_csinl.c: Likewise.
2102         * math/s_csinh.c: Likewise.
2103         * math/s_csinhf.c: Likewise.
2104         * math/s_csinhl.c: Likewise.
2105         * math/libm-test.inc (ccos_test): Add more tests.
2106         (ccosh_test): Likewise.
2107         (csin_test): Likewise.
2108         (csinh_test): Likewise.
2109         * sysdeps/i386/fpu/libm-test-ulps: Update.
2110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2111
2112 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2113
2114         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2115         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2116
2117         * sysdeps/x86_64/x32/_itoa.h: Add comment.
2118
2119 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
2120
2121         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2122         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2123         * sysdeps/powerpc/soft-fp/Versions: Likewise.
2124         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2125         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2126         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2127         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2128         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2129         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2130         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2131         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2132         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2133         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2134         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2135         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2136         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2137         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2138         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2139         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2140         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2141         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2142         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2143         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2144         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2145         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2146         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2147         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2148         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2149         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2150         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2151         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2152
2153 2012-05-18  Andreas Jaeger  <aj@suse.de>
2154
2155         * csu/.gitignore: Delete.
2156
2157 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2158
2159         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2160         (timex): Use __syscall_slong_t.
2161
2162 2012-05-18  Andreas Jaeger  <aj@suse.de>
2163             Carlos O'Donell  <carlos_odonell@mentor.com>
2164
2165         * manual/install.texi (Configuring and compiling): Update
2166         description about files modified in the source directory.
2167         * INSTALL: Regenerated.
2168
2169 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2170
2171         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2172         value.  Use "or" to set return value to -1.
2173         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2174         negate return value.
2175
2176 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2177
2178         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2179         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2180         failure if the compiler has Graphite support disabled.
2181         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2182         Likewise.
2183         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2184         CFLAGS-memmove.c): Likewise.
2185         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2186         Likewise.
2187
2188 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2189
2190         * sysdeps/x86_64/x32/_itoa.h: New file.
2191
2192         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2193         getdents system call only if kernel and user dirents have the
2194         same d_ino and d_off.
2195
2196         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2197         LLONG_MAX != LONG_MAX.
2198         (_itoa_word): Use _ITOA_WORD_TYPE on value.
2199         (_fitoa_word): Likewise.
2200
2201         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2202         years.
2203         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2204         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2205         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2206
2207         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2208         include <bits/wordsize.h>.  Check __x86_64__ instead of
2209         __WORDSIZE.
2210         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2211         if __x86_64__ is defined.  Use anonymous union on fpstate.
2212
2213         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2214         anonymous union.
2215
2216 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
2217
2218         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2219         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2220         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2221         Refer to _rtld_local_ro instead of _rtld_global_ro.
2222         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2223         Likewise.
2224         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2225         Likewise.
2226         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2227         Likewise.
2228         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2229         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2230         of _rtld_global, and rtld_progname instead of _dl_argv[0].
2231
2232         * sysdeps/powerpc/powerpc32/dl-machine.c
2233         (__elf_machine_runtime_setup) [PROF]: Don't reference
2234         _dl_prof_resolve.
2235
2236 2012-05-18  Andreas Jaeger  <aj@suse.de>
2237
2238         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2239         function only available for GCCs before 3.4 since GCC 3.4
2240         introduced a builtin.
2241         (lrint): Likewise.
2242         (llrintf): Likewise.
2243         (llrint): Likewise.
2244         (fmaxf): Likewise.
2245         (fmax): Likewise.
2246         (fminf): Likewise.
2247         (fmin): Likewise.
2248         (rint): Likewise.
2249         (rintf): Likewise.
2250         (nearbyint): Likewise.
2251         (nearbyintf): Likewise.
2252         (ceil): Likewise.
2253         (ceilf): Likewise.
2254         (floor): Likewise.
2255         (floorf): Likewise.
2256
2257 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2258
2259         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2260         on both fields and cast pointer to __syscall_ulong_t.
2261
2262         * bits/types.h (__fsword_t): New type.
2263         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2264         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2265         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2266         (__FSWORD_T_TYPE): Likewise.
2267         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2268         (__FSWORD_T_TYPE): Likewise.
2269         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2270         (__FSWORD_T_TYPE): Likewise.
2271         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2272         (__FSWORD_T_TYPE): Likewise.
2273         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2274         __SWORD_TYPE with __fsword_t.
2275         (statfs64): Likewise.
2276
2277 2012-05-17  David S. Miller  <davem@davemloft.net>
2278
2279         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2280
2281 2012-05-17  Andreas Jaeger  <aj@suse.de>
2282
2283         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2284         warning.
2285
2286 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2287
2288         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2289
2290 2012-05-17  Andreas Jaeger  <aj@suse.de>
2291
2292         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2293         when it is used.
2294
2295 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
2296
2297         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2298
2299 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2300
2301         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2302         * sysdeps/x86_64/tst-mallocalign1.c: New file.
2303
2304 2012-05-17  Andreas Jaeger  <aj@suse.de>
2305             Carlos O'Donell  <carlos_odonell@mentor.com>
2306
2307         [BZ #14059]
2308         * sysdeps/x86_64/multiarch/init-arch.h
2309         (bit_YMM_Usable): Rename to...
2310         (bit_AVX_Usable): ... this.
2311         (bit_FMA4_Usable): New macro.
2312         (bit_XMM_state): New macro.
2313         (bit_YMM_state): New macro.
2314         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2315         [__ASSEMBLER__] (index_AVX_Usable): ... this.
2316         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2317         (CPUID_OSXSAVE): New macro.
2318         (CPUID_AVX): New macro.
2319         (CPUID_FMA4): New macro.
2320         (index_YMM_Usable): Rename to...
2321         (index_AVX_Usable): ... this.
2322         (HAS_AVX): Use HAS_ARCH_FEATURE.
2323         (HAS_FMA4): Likewise.
2324         (HAS_YMM_USABLE): Remove.
2325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2326         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2327         are present.
2328         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2329         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2330         * sysdeps/x86_64/multiarch/Makefile: Likewise.
2331         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2332         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2333
2334 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
2335
2336         * math/libm-test.c: Support platforms without multiple rounding modes.
2337         * math/bug-nextafter.c: Support platforms without FP exceptions.
2338         * math/bug-nexttoward.c: Likewise.
2339         * math/test-fenv.c: Likewise.
2340         * math/test-misc.c: Likewise.
2341         * stdlib/bug-getcontext.c: Likewise.
2342
2343 2012-05-17  Andreas Jaeger  <aj@suse.de>
2344
2345         * manual/examples/search.c (critter_cmp): Change signature to
2346         avoid warnings.
2347         * manual/string.texi (Collation Functions): Likewise.
2348
2349 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2350
2351         * bits/types.h: Fold copyright years.
2352         * bits/typesizes.h: Likewise.
2353         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2354         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2355         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2356         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2357         * time/time.h: Likewise.
2358
2359 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
2360
2361         [BZ #208]
2362         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2363         in instead of returning them.  Return void.
2364         (__libc_mallinfo): Accumulate over all arenas.
2365         (__malloc_stats): Adjust for change in int_mallinfo interface.
2366
2367 2012-05-16  Roland McGrath  <roland@hack.frob.com>
2368
2369         [BZ #10375]
2370         * configure.in (NM): Add AC_CHECK_TOOL for it.
2371         (libc_extra_cflags): New substituted variable.
2372         Check for -fstack-protector being used implicitly.
2373         * configure: Regenerated.
2374         * config.make.in (config-extra-cflags): New variable,
2375         gets @libc_extra_cflags@.
2376         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2377
2378         [BZ #10375]
2379         * configure.in: Check for _FORTIFY_SOURCE being predefined.
2380         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2381         * configure: Regenerated.
2382         * config.make.in (CPPUNDEFS): New substituted variable.
2383         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2384         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2385         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2386
2387 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2388
2389         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2390         (mq_attr): Use __syscall_slong_t.
2391
2392 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2393
2394         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2395         Check __x86_64__ instead of __WORDSIZE.
2396         (_STAT_VER_LINUX): Likewise.
2397         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
2398         __syscall_ulong_t and __syscall_slong_t.
2399         (stat64): Likewise.
2400
2401 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2402
2403         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2404
2405 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2406
2407         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2408
2409 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2410
2411         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2412         __syscall_ulong_t.
2413
2414         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2415         include <bits/wordsize.h>.  Check __x86_64__ instead of
2416         __WORDSIZE.
2417         (greg_t): Use "__extension__ long long int" if __x86_64__ is
2418         defined.
2419         (mcontext_t): Replace "unsigned long" with "unsigned long long".
2420
2421         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2422         include <bits/wordsize.h>.  Check __x86_64__ instead of
2423         __WORDSIZE.
2424         (user_regs_struct): Use "__extension__ unsigned long long"
2425         instead of "unsigned long" if __x86_64__ is defined.
2426         (user): Likewise.  Pad after pointer field if __ILP32__ is
2427         defined.
2428
2429 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
2430
2431         * configure.in (makeinfo): Require version 4.5 or later.  Allow
2432         versions 5 to 9.
2433         * configure: Regenerated.
2434         * manual/install.texi (texinfo): Increase version requirement to
2435         4.5 or later.
2436         * INSTALL: Regenerated.
2437
2438         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2439
2440 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2441
2442         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2443
2444         * sysdeps/x86_64/x32/ffs.c: New file.
2445
2446         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2447         __syscall_ulong_t.
2448         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2449         defined.  Use __syscall_ulong_t.
2450         (shminfo): Use __syscall_ulong_t.
2451         (shm_info): Likewise.
2452
2453         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2454         __syscall_ulong_t.
2455
2456         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2457         <bits/wordsize.h>.
2458         (msgqnum_t): Use __syscall_ulong_t.
2459         (msglen_t): Likewise.
2460         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
2461         __syscall_ulong_t.
2462
2463         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2464         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
2465
2466         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2467
2468         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2469         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2470
2471         * sysvipc/sys/msg.h (msgbuf): Replace long int with
2472         __syscall_slong_t.
2473
2474         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2475         include <bits/wordsize.h>.  Check __x86_64__ instead of
2476         __WORDSIZE.
2477
2478         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2479         "unsigned long long int" if __x86_64__ is defined.
2480         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2481
2482         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2483         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
2484         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2485
2486         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2487         <stdint.h>.
2488         (GET_PC): Cast to uintptr_t first.
2489         (GET_FRAME): Likewise.
2490         (GET_STACK): Likewise.
2491
2492         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2493         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2494         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2495         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2496         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2497         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2498         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2499         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2500         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2501         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2502         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2503         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2504         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2505         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2506         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2507         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2508         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2509         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2510         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2511         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2512         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2513         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2514         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2515         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2516         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2517         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2518         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2519         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2520         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2521
2522 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
2523
2524         * Makerules (+depfiles): Also collect depfiles from .oS in
2525         $(extra-objs).
2526         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2527         .oS, $(libnldbl-routines)).
2528
2529         * Makerules (native-compile-mkdep-flags): Define.
2530         * sunrpc/Makefile (extra-objs): Add $(addprefix
2531         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2532         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2533         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
2534         calling $(make-target-directory).
2535
2536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2537
2538         * bits/types.h (__snseconds_t): Removed.
2539         * time/time.h (struct timespec): Replace __snseconds_t with
2540         __syscall_slong_t.
2541         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2542         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2543         Likewise.
2544         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2545         (__SNSECONDS_T_TYPE): Likewise.
2546         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2547         (__SNSECONDS_T_TYPE): Likewise.
2548         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2549         (__SNSECONDS_T_TYPE): Likewise.
2550
2551 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2552
2553         * sysdeps/mach/hurd/bits/typesizes.h
2554         (__SYSCALL_SLONG_TYPE): New macro.
2555         (__SYSCALL_ULONG_TYPE): Likewise.
2556
2557 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2558
2559         * bits/types.h (__syscall_slong_t): New type.
2560         (__syscall_ulong_t): Likewise.
2561
2562         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2563         (__SYSCALL_ULONG_TYPE): Likewise.
2564         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2565         (__SYSCALL_SLONG_TYPE): Likewise.
2566         (__SYSCALL_ULONG_TYPE): Likewise.
2567         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2568         (__SYSCALL_SLONG_TYPE): Likewise.
2569         (__SYSCALL_ULONG_TYPE): Likewise.
2570         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2571         (__SYSCALL_SLONG_TYPE): Likewise.
2572         (__SYSCALL_ULONG_TYPE): Likewise.
2573
2574 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2575
2576         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2577         Add sigaltstack-offsets.sym.
2578         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2579         <sigaltstack-offsets.h>.
2580         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
2581         longjmp_msg pointer.
2582         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
2583         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2584         signal stack.
2585         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2586
2587 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
2588
2589         * elf/stackguard-macros.h: Remove file.
2590         * sysdeps/generic/stackguard-macros.h: New file.
2591         * sysdeps/i386/stackguard-macros.h: Likewise.
2592         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2593         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2594         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2595         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2596         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2597         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2598         * sysdeps/x86_64/stackguard-macros.h: Likewise.
2599         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2600         <elf/stackguard-macros.h>.
2601
2602         [BZ #14109]
2603         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2604         __aligned__ in attribute.
2605         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2606         (gregset_t): Likewise.
2607
2608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2609
2610         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2611         * sysdeps/x86_64/64/Implies-after: Here.  New file.
2612         * sysdeps/x86_64/x32/Implies-after: New file.
2613
2614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2615
2616         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2617         and access return value for _dl_profile_fixup.  Use R10_LP to
2618         load frame size.
2619
2620 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2621
2622         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2623
2624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2625
2626         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2627         * sysdeps/x86_64/x32/sysdep.h: New file.
2628
2629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2630
2631         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2632         * sysdeps/x86_64/setjmp.S: Likewise.
2633
2634 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2635
2636         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2637         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2638         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2639         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2640         remove unused global constant.
2641
2642 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
2643
2644         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2645         include of <not-cancel.h>.
2646
2647 2012-05-15  Roland McGrath  <roland@hack.frob.com>
2648
2649         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2650
2651 2012-05-15  Jeff Law  <law@redhat.com>
2652             Andreas Jaeger  <aj@suse.de>
2653
2654         [BZ #13594]
2655         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2656         out from...
2657         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2658         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2659         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2660         code changing __hst_map_handle.map.
2661
2662 2012-05-15  Roland McGrath  <roland@hack.frob.com>
2663
2664         * configure.in (sysnames): Look for Implies-before and Implies-after
2665         files.
2666         * configure: Regenerated.
2667
2668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2669
2670         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2671         8-byte data alignment with LP_SIZE alignment.
2672
2673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2674
2675         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2676         into R10_LP.
2677
2678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2679
2680         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2681
2682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2683
2684         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2685         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2686         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2687         Likewise.
2688         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2689
2690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2691
2692         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2693         (stackinfo_sub_sp): Likewise.
2694
2695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2696
2697         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2698         RAX_LP.
2699
2700 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2701
2702         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2703         into R*_LP.
2704
2705 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2706
2707         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2708         sizes into R*_LP.
2709
2710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2711
2712         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2713
2714 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2715
2716         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2717         into R11_LP and load __x86_64_shared_cache_size_half into
2718         R8_LP.
2719
2720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2721
2722         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2723         R8_LP.
2724
2725 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2726
2727         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2728         logb for POWER7.
2729         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2730         logbf for POWER7.
2731         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2732         logbl for POWER7.
2733         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2734         powerpc32/power7/fpu/s_logb.c via #include.
2735         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2736         powerpc32/power7/fpu/s_logbf.c via #include.
2737         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2738         powerpc32/power7/fpu/s_logbl.c via #include.
2739
2740 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
2741
2742         * README.libm: Remove file.
2743
2744 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2745
2746         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2747         count for x32.  Use R*_LP and omit operand-size suffix.
2748
2749 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2750
2751         * shlib-versions: Move x86_64-.*-linux.* entries to ...
2752         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
2753         * sysdeps/x86_64/x32/shlib-versions: New file.
2754
2755 2012-05-14  Roland McGrath  <roland@hack.frob.com>
2756
2757         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2758         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2759         Use _dl_fatal_printf instead.
2760
2761 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
2762
2763         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2764         set if not set by the user.  Do not allow for being unset.
2765         * sysdeps/unix/sysv/linux/configure: Regenerated.
2766
2767 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2768
2769         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2770         the `q' suffix from lea and replace .quad with ASM_ADDR.
2771
2772 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2773
2774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2775         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
2776         instead of $17.
2777         (PTR_DEMANGLE): Likewise.
2778
2779 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2780
2781         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2782         (LP_OP): Likewise.
2783         (ASM_ADDR): Likewise.
2784         (RAX_LP): Likewise.
2785         (RBP_LP): Likewise.
2786         (RBX_LP): Likewise.
2787         (RCX_LP): Likewise.
2788         (RDI_LP): Likewise.
2789         (RSI_LP): Likewise.
2790         (RSP_LP): Likewise.
2791         (R8_LP): Likewise.
2792         (R9_LP): Likewise.
2793         (R10_LP): Likewise.
2794         (R10_LP): Likewise.
2795         (R11_LP): Likewise.
2796         (R12_LP): Likewise.
2797         (R13_LP): Likewise.
2798         (R14_LP): Likewise.
2799         (R15_LP): Likewise.
2800
2801 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2802
2803         * sysdeps/x86_64/x32/dl-machine.h: New file.
2804
2805 2012-05-14  Andreas Jaeger  <aj@suse.de>
2806
2807         * manual/Makefile (subdir): Remove export of subdir.
2808         (all): Remove target.
2809         (.PHONY): Remove all from list.
2810         (mkinstalldirs): Remove.
2811         (.PHONY): Remove installdirs from list.
2812         ($(inst_infodir)/libc.info): Use make-target-directory.
2813         (installdirs): Remove.
2814         (subdir_%): Remove.
2815         (glibc-targets): Remove.
2816         (lib): Remove.
2817         (stubs): Remove.
2818         ($(objpfx)stubs ../po/manual.pot): Remove.
2819         ($(objpfx)stamp%): Remove.
2820         (make-target-directory): Remove.
2821         (subdir_install): Remove.
2822         (routines): Remove.
2823         (aux): Remove.
2824         (sources): Remove.
2825         (objects): Remove.
2826         (headers): Remove.
2827
2828         [BZ #13750]
2829         * manual/.gitignore: Remove, it's not needed anymore.
2830         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2831         all files in it.
2832         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2833         directory.
2834         (texis): Renamed to $(objpfx)texis.
2835         (texis-path): New, contains path to generated files.
2836         (chapters.%): Use texis-path for complete path, add extra argument
2837         libc-texinfo.sh.
2838         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2839         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2840         (summary,texi, stamp-summary): Use complete path of
2841         files. Generate files in build dir.
2842         (dir-add.texi): Build in build dir.
2843         (libm-err.texi,stamp-libm-err): Likewise.
2844         (version.texi, stamp-version): Likewise.
2845         (.%c.texi): Likewise.
2846         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2847         (mostlyclean): Remove target.
2848         (realclean): Remove target.
2849         (generated): Add new variable with contents from mostlyclean and
2850         realclean, remove entries duplicated in common-mostlyclean, add
2851         stamp-libm-err and stamp-version.
2852         (generated-dirs): Add libc directory.
2853         ($(inst_infodir)/libc.info): Install files from build dir.
2854
2855         * manual/install.texi (Configuring and compiling): Adjust since
2856         the info files are not part of the tar ball anymore.
2857
2858 2012-05-14  Andreas Jaeger  <aj@suse.de>
2859
2860         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2861         variable.
2862
2863 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
2864
2865         [BZ #13717]
2866         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2867         to 2.2.0 where earlier.
2868         * sysdeps/unix/sysv/linux/configure: Regenerated.
2869         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2870         Remove conditional code.
2871         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2872         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2873         Remove conditional code.
2874         [!__NR_lchown]: Likewise.
2875         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2876         [__NR_lchown]: Likewise.
2877         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2878         comment referencing __ASSUME_LCHOWN_SYSCALL.
2879         * sysdeps/unix/sysv/linux/i386/sigaction.c
2880         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2881         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2882         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2883         Remove conditional code.
2884         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2885         (__protocol_available): Remove #if 0 code.
2886         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2887         conditional code.
2888         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2889         * sysdeps/unix/sysv/linux/kernel-features.h
2890         (__ASSUME_GETCWD_SYSCALL): Don't define.
2891         (__ASSUME_REALTIME_SIGNALS): Likewise.
2892         (__ASSUME_PREAD_SYSCALL): Likewise.
2893         (__ASSUME_PWRITE_SYSCALL): Likewise.
2894         (__ASSUME_POLL_SYSCALL): Likewise.
2895         (__ASSUME_LCHOWN_SYSCALL): Likewise.
2896         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2897         non-SPARC.
2898         (__ASSUME_SIOCGIFNAME): Don't define.
2899         (__ASSUME_MSG_NOSIGNAL): Likewise.
2900         (__ASSUME_SENDFILE): Define unconditionally.
2901         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2902         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2903         conditional code.
2904         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2905         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2906         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2907         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2908         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2909         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2910         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2912         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2913         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2915         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2916         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2918         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2919         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2921         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2922         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2924         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2925         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2927         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2928         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2930         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2931         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2933         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2934         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2935         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2936         Remove conditional code.
2937         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2938         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2939         Remove conditional code.
2940         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2941         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2942         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2943         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2944         Remove conditional code.
2945         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2946         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2947         Remove conditional code.
2948         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2949         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2950         Remove conditional code.
2951         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2952         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2953         Remove conditional code.
2954         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2955         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2956         Remove conditional code.
2957         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2958         * sysdeps/unix/sysv/linux/sh/pwrite64.c
2959         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2960         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2961         * sysdeps/unix/sysv/linux/sigaction.c
2962         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2963         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2964         * sysdeps/unix/sysv/linux/sigpending.c
2965         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2966         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2967         * sysdeps/unix/sysv/linux/sigprocmask.c
2968         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2969         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2970         * sysdeps/unix/sysv/linux/sigsuspend.c
2971         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2972         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2973         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2974         (__libc_missing_rt_sigs): Remove.
2975         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2976         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2977         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2978         Remove conditional code.
2979         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2980         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2981         return 1.
2982         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2983         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2984         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2985         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2986
2987 2012-05-14  Andreas Jaeger  <aj@suse.de>
2988
2989         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2990         it's not used in glibc.
2991         (__coshm1): Likewise.
2992         (__acosh1p): Likewise.
2993         (__sgn): Likewise.
2994
2995         * manual/string.texi (Copying and Concatenation): Add missing
2996         variable in concat example.
2997         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2998
2999 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3000
3001         [BZ #14103]
3002         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3003         __builtin_clzl with __builtin_clzll.
3004
3005 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3006
3007         [BZ #14104]
3008         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3009         libc_freeres_ptr.
3010
3011 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3012
3013         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3014         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3015         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3016         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3017
3018 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
3019
3020         * NEWS: Update ia64 info.
3021
3022 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
3023
3024         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3025         used as bcopy.
3026
3027 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
3028
3029         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3030         * sysdeps/unix/syscalls.list (dup3): Likewise.
3031         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3032         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3033
3034 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3035
3036         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3037         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3038
3039 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3040
3041         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3042         thread pointer.
3043         (TLS_IE): Use mov/add instead of movq/addq to load thread
3044         pointer.
3045         (TLS_GD_PREFIX): New.
3046         (TLS_GD): Use it.
3047
3048 2012-05-11  David S. Miller  <davem@davemloft.net>
3049
3050         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3051         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3052         (_FPU_SETCW): Likewise.
3053
3054 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3055
3056         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3057         is 32-byte aligned.
3058
3059 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
3060
3061         [BZ #11837]
3062         * iconvdata/gb18030.c: Update tables.
3063         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
3064         characters specially.
3065         (BODY for TO_LOOP): Add encoding of missing ranges.
3066
3067 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
3068
3069         [BZ #13673]
3070         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3071         * sysdeps/mach/hurd/dup3.c: Likewise.
3072         * sysdeps/mach/hurd/readlinkat.c: Likewise.
3073         * sysdeps/powerpc/memmove.c:: Likewise.
3074
3075 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3076
3077         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3078         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3079
3080 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3081
3082         * elf/elf.h (R_X86_64_RELATIVE64): New.
3083         (R_X86_64_NUM): Updated.
3084         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3085         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
3086         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3087         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3088         tst-quad1pie tst-quad2pie
3089         (modules-names): Add tst-quadmod1 tst-quadmod2.
3090         ($(objpfx)tst-quad1): New dependency.
3091         ($(objpfx)tst-quad2): Likewise.
3092         ($(objpfx)tst-quad1pie): Likewise.
3093         ($(objpfx)tst-quad2pie): Likewise.
3094         * sysdeps/x86_64/tst-quad1.c: New file.
3095         * sysdeps/x86_64/tst-quad1pie.c: New file.
3096         * sysdeps/x86_64/tst-quad2.c: Likewise.
3097         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3098         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3099         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3100         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3101         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3102
3103 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3104
3105         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3106         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3107         * streams/stropts.h (t_scalar_t): Define type.
3108
3109         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3110         (_PATH_PRESERVE): Set to "/var/lib".
3111         (_PATH_RWHODIR): Set to "/var/spool/rwho".
3112
3113         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3114         instead of int.
3115
3116         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3117         if __dir_mkfile succeeded.
3118
3119         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3120         checking for _hurd_dtablesize.  Unlock it right after having
3121         finished _hurd_dtable allocation.
3122
3123 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3124
3125         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3126         * sysdeps/mach/hurd/configure: Regenerated.
3127         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3128         special-casing to...
3129         * sysdeps/gnu/configure.in: ... this new file.
3130         * sysdeps/unix/sysv/linux/configure: Regenerated.
3131         * sysdeps/gnu/configure: New generated file.
3132
3133         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3134         for Linux: use nsec instead of usec, as well as:
3135         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3136         members of type struct timespec.
3137         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3138         New macros.
3139         (struct stat64): Likewise.
3140         (_STATBUF_ST_NSEC): New macro.
3141         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3142
3143         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3144         __strtoul_internal rather than strtoul.
3145
3146 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3147
3148         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3149         and reject them.
3150
3151 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3152
3153         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3154         which preserves existing values.
3155         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3156
3157 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3158
3159         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3160         TIMEOUT values.  Return EINVAL for NFDS values either negative or
3161         greater than FD_SETSIZE.
3162
3163 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3164
3165         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3166         allocated, call __vm_protect to finish enabling the existing space, and
3167         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3168         allocate the remainder.
3169
3170 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3171
3172         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3173         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
3174
3175 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3176
3177         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3178         sysdeps/mach/hurd/readlink.c.
3179
3180         * posix/tst-sysconf.c (posix_options): Only use
3181         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3182         _POSIX_SYNCHRONIZED_IO when they are defined
3183         * sysdeps/mach/hurd/bits/posix_opt.h:
3184         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3185         (_XOPEN_REALTIME): Undefine macro.
3186         (_XOPEN_REALTIME_THREADS): Undefine macro.
3187         (_XOPEN_SHM): Undefine macro.
3188         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3189         macro to -1.
3190         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3191         macro to -1.
3192         (_POSIX_ASYNC_IO): Undefine macro.
3193         (_POSIX_PRIORITIZED_IO): Undefine macro.
3194         (_POSIX_SPIN_LOCKS): Define macro to -1.
3195
3196         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3197         SA_NODEFER, SA_RESETHAND.
3198         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3199         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3200         F_DUPFD_CLOEXEC.
3201
3202 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3203
3204         * elf/Makefile (pldd-modules): Define unconditionally.
3205
3206 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3207
3208         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3209
3210 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3211
3212         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3213         Return ENOENT when name is empty.
3214         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3215
3216 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3217
3218         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3219
3220         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3221
3222 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3223
3224         Fix mlock in all cases except non-readable pages.
3225         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3226         instead of VM_PROT_ALL as parameter to __vm_wire function.
3227
3228         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3229         (__mkdir): When path is `/', just fail with EEXIST.
3230         * sysdeps/mach/hurd/mkdirat.c: Likewise.
3231
3232 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3233
3234         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3235         <sys/uio.h> (for writev).
3236         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3237         and <sys/param.h> (for MIN).
3238
3239 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3240
3241         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3242         REQUESTED_TIME.  Properly set the remaining time and return EINTR
3243         if interrupted.
3244
3245 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3246
3247         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3248         Depend on against $(link-rpcuserlibs).
3249
3250 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3251
3252         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3253         (__libc_stack_end): Do not use attribute_relro.
3254         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3255         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3256         to libthread-provided value.
3257         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3258         attribute_relro.
3259
3260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3261
3262         [BZ #3748]
3263         * bits/libc-lock.h (__libc_once_get): New macro.
3264         * sysdeps/mach/bits/libc-lock.h: Likewise.
3265         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3266         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3267         instead of using implementation details.
3268
3269         * libio/fileops.c: Unconditionally include <kernel-features.h>.
3270         * libio/freopen.c: Likewise.
3271         * libio/freopen64.c: Likewise.
3272         * misc/syslog.c: Likewise.
3273         * nscd/connections.c: Likewise.
3274         * nscd/netgroupcache.c: Likewise.
3275         * sysdeps/posix/getcwd.c: Likewise.
3276
3277 2012-05-10  Roland McGrath  <roland@hack.frob.com>
3278
3279         * math/w_ilogbf.c: Add #include <limits.h>.
3280
3281 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3282
3283         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
3284         path instead of returning without unlocking.
3285
3286         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3287         immediate-write ioctls.
3288         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3289
3290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3291
3292         * sysdeps/mach/hurd/i386/init-first.c (init): Use
3293         __builtin_frame_address instead of making assumptions about the
3294         location of the return address relative to DATA.  Force early load of
3295         the return address.
3296         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3297         __builtin_frame_address.
3298
3299         dup3 for GNU Hurd.
3300         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3301         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
3302         implement dup3 and do some further code clean-ups.
3303         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3304         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3305
3306 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3307
3308         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3309
3310         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3311         HURD_CRITICAL_END around holding _hurd_dtable_lock.
3312         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3313         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3314         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3315         d->port.lock.
3316
3317         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3318         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
3319         when handler == SIG_ERR, not when handler != SIG_ERR.
3320
3321 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3322
3323         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3324         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3325         definitions.
3326
3327         accept4 for GNU Hurd.
3328         * include/sys/socket.h (__libc_accept4): New prototype.
3329         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
3330         to implement __libc_accept4.
3331         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3332         __libc_accept4.
3333         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3334
3335         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3336         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3337         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3338         signal-defines.sym.
3339
3340 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3341
3342         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3343
3344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3345
3346         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3347         assertion on O_CLOEXEC flag.
3348         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3349         * hurd/intern-fd.c: Likewise.
3350         * hurd/port2fd.c: Likewise.
3351
3352 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3353
3354         [BZ #3906]
3355         * bits/in.h (IPV6_PKTINFO): Define new macro.
3356         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3357
3358 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3359
3360         [BZ #13954]
3361         [BZ #13955]
3362         [BZ #13956]
3363         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3364         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3365         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3366         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3367         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3368         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3369         * math/libm-test.inc (logb_test) : Additional logb tests.
3370
3371 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
3372             Andreas Jaeger  <aj@suse.de>
3373
3374         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3375         * configure: Regenerated.
3376         * config.h.in (LINK_OBSOLETE_RPC): New macro.
3377         * config.make.in (link-obsolete-rpc): New substituted variable.
3378         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3379         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3380         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3381         (shared-only-routines): Don't set it under [link-obsolete-rpc],
3382         so that libc.a contains the symbols.
3383         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3384         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3385         * sunrpc/auth_none.c: Likewise.
3386         * sunrpc/auth_unix.c: Likewise.
3387         * sunrpc/authdes_prot.c: Likewise.
3388         * sunrpc/authuxprot.c: Likewise.
3389         * sunrpc/clnt_gen.c: Likewise.
3390         * sunrpc/clnt_perr.c: Likewise.
3391         * sunrpc/clnt_raw.c: Likewise.
3392         * sunrpc/clnt_simp.c: Likewise.
3393         * sunrpc/clnt_tcp.c: Likewise.
3394         * sunrpc/clnt_udp.c: Likewise.
3395         * sunrpc/clnt_unix.c: Likewise.
3396         * sunrpc/des_crypt.c: Likewise.
3397         * sunrpc/des_soft.c: Likewise.
3398         * sunrpc/get_myaddr.c: Likewise.
3399         * sunrpc/key_call.c: Likewise.
3400         * sunrpc/key_prot.c: Likewise.
3401         * sunrpc/netname.c: Likewise.
3402         * sunrpc/pm_getmaps.c: Likewise.
3403         * sunrpc/pm_getport.c: Likewise.
3404         * sunrpc/pmap_clnt.c: Likewise.
3405         * sunrpc/pmap_prot.c: Likewise.
3406         * sunrpc/pmap_prot2.c: Likewise.
3407         * sunrpc/pmap_rmt.c: Likewise.
3408         * sunrpc/publickey.c: Likewise.
3409         * sunrpc/rpc_cmsg.c: Likewise.
3410         * sunrpc/rpc_common.c: Likewise.
3411         * sunrpc/rpc_dtable.c: Likewise.
3412         * sunrpc/rpc_prot.c: Likewise.
3413         * sunrpc/rpc_thread.c: Likewise.
3414         * sunrpc/rtime.c: Likewise.
3415         * sunrpc/svc.c: Likewise.
3416         * sunrpc/svc_auth.c: Likewise.
3417         * sunrpc/svc_raw.c: Likewise.
3418         * sunrpc/svc_run.c: Likewise.
3419         * sunrpc/svc_tcp.c: Likewise.
3420         * sunrpc/svc_udp.c: Likewise.
3421         * sunrpc/svc_unix.c: Likewise.
3422         * sunrpc/svcauth_des.c: Likewise.
3423         * sunrpc/xcrypt.c: Likewise.
3424         * sunrpc/xdr.c: Likewise.
3425         * sunrpc/xdr_array.c: Likewise.
3426         * sunrpc/xdr_float.c: Likewise.
3427         * sunrpc/xdr_intXX_t.c: Likewise.
3428         * sunrpc/xdr_mem.c: Likewise.
3429         * sunrpc/xdr_rec.c: Likewise.
3430         * sunrpc/xdr_ref.c: Likewise.
3431         * sunrpc/xdr_sizeof.c: Likewise.
3432         * sunrpc/xdr_stdio.c: Likewise.
3433
3434 2012-05-10  Roland McGrath  <roland@hack.frob.com>
3435
3436         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3437         change.  Update copyright years.
3438
3439 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
3440
3441         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3442
3443 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
3444             Joseph Myers  <joseph@codesourcery.com>
3445             Paul Pluzhnikov  <ppluzhnikov@google.com>
3446
3447         [BZ #14012]
3448         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3449         requiring rpcgen.
3450         [cross-compiling] (extra-libs): Likewise.
3451         [cross-compiling] (extra-libs-others): Likewise.
3452         [cross-compiling] (librpcsvc-routines): Likewise.
3453         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3454         [cross-compiling] (omit-deps): Likewise.
3455         (sunrpc-CPPFLAGS): New variable.
3456         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3457         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3458         (cross-rpcgen-objs): New variable.
3459         (extra-objs): Append $(cross-rpcgen-objs).
3460         ($(cross-rpcgen-objs)): New rule.
3461         ($(objpfx)cross-rpcgen): Likewise.
3462         (rpcgen-cmd): Define to use $(built-program-file).  Expand
3463         comment.
3464         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3465         ($(objpfx)x%.stmp): Likewise.
3466         * sunrpc/proto.h [IS_IN_build] (_): Define.
3467         [IS_IN_build] (_libc_intl_domainname): Likewise.
3468
3469 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3470
3471         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3472         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3473         and R_X86_64_TPOFF64.
3474
3475 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
3476
3477         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3478         sysdeps/unix/sysv/syscalls.list.
3479         (stime): Likewise.
3480         (utime): Likewise.
3481         * sysdeps/unix/sysv/syscalls.list: Remove file.
3482
3483 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3484
3485         [BZ #3440]
3486         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3487         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3488         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3489         (__LC_IDENTIFICATION): Make these macros useful in #if
3490         expressions, as required by C99.
3491
3492 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
3493
3494         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3495         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
3496         after this.
3497
3498 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
3499
3500         * stdlib/longlong.h: Updated from GCC.
3501
3502 2012-05-09  Andreas Jaeger  <aj@suse.de>
3503
3504         * nscd/nscd.c (run_modes): Make named enum, reorder so that
3505         default is first entry.
3506         (run_mode): Set type.
3507         (main): Remove informal message about syslog.
3508         (options): Fix typo.
3509
3510         [BZ #14053]
3511         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3512         to asm.
3513         (lrint): Likewise.
3514         (llrintf): Likewise.
3515         (llrint): Likewise.
3516         (rint): Likewise.
3517         (rintf): Likewise.
3518         (nearbyint): Likewise.
3519         (nearbyintf): Likewise.
3520
3521 2012-05-09  Andreas Jaeger  <aj@suse.de>
3522             Pedro Alves  <palves@redhat.com>
3523
3524         * nscd/nscd.c (run_mode): Use enum.
3525         (main): Cleanup coding style issue.
3526
3527 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
3528             Andreas Jaeger  <aj@suse.de>
3529
3530         * nscd/nscd.c (go_background): Replaced with...
3531         (run_mode): ... this.
3532         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3533         (options): Add -F --foreground.
3534         (main): Implement it.
3535         (parse_opt): Parse it.
3536
3537 2012-05-09  Andreas Jaeger  <aj@suse.de>
3538
3539         [BZ #14083]
3540         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3541         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3542         -Wconversion warning.
3543         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3544         Likewise.
3545
3546 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
3547
3548         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
3549         == 0.
3550         (LC_ALL): Use macro-int-constant.
3551         (LC_COLLATE): Likewise.
3552         (LC_CTYPE): Likewise.
3553         (LC_MESSAGES): Likewise.
3554         (LC_MONETARY): Likewise.
3555         (LC_NUMERIC): Likewise.
3556         (LC_TIME): Likewise.
3557         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3558         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3559         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3560         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3561         Specify type.
3562         [C99-based standards] (float_t): Expect type.
3563         [C99-based standards] (double_t): Expect type.
3564         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
3565         type.
3566         [C99-based standards] (HUGE_VALL): Likewise.
3567         [C99-based standards] (INFINITY): Likewise.
3568         [C99-based standards] (NAN): Likewise.
3569         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3570         [C99-based standards] (FP_NAN): Likewise.
3571         [C99-based standards] (FP_NORMAL): Likewise.
3572         [C99-based standards] (FP_SUBNORMAL): Likewise.
3573         [C99-based standards] (FP_ZERO): Likewise.
3574         [C99-based standards] (FP_FAST_FMA): Use
3575         optional-macro-int-constant.  Specify type.  Require == 1.
3576         [C99-based standards] (FP_FAST_FMAF): Likewise.
3577         [C99-based standards] (FP_FAST_FMAL): Likewise.
3578         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3579         [C99-based standards] (FP_ILOGBNAN): Likewise.
3580         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3581         Specify type.
3582         [C99-based standards] (MATH_ERREXCEPT): Likewise.
3583         [C99-based standards] (math_errhandling): Specify type.
3584         [ISO99 || ISO11] (signgam): Do not allow.
3585         [non-C99-based standards] (copysignf): Do not allow.
3586         [non-C99-based standards] (exp2f): Likewise.
3587         [non-C99-based standards] (log2f): Likewise.
3588         [non-C99-based standards] (modff): Allow.
3589         [non-C99-based standards] (erff): Do not allow.
3590         [non-C99-based standards] (erfcf): Likewise.
3591         [non-C99-based standards] (gammaf): Likewise.
3592         [non-C99-based standards] (hypotf): Likewise.
3593         [non-C99-based standards] (j0f): Likewise.
3594         [non-C99-based standards] (j1f): Likewise.
3595         [non-C99-based standards] (jnf): Likewise.
3596         [non-C99-based standards] (lgammaf): Likewise.
3597         [non-C99-based standards] (tgammaf): Likewise.
3598         [non-C99-based standards] (y0f): Likewise.
3599         [non-C99-based standards] (y1f): Likewise.
3600         [non-C99-based standards] (ynf): Likewise.
3601         [non-C99-based standards] (isnanf): Likewise.
3602         [non-C99-based standards] (acoshf): Likewise.
3603         [non-C99-based standards] (asinhf): Likewise.
3604         [non-C99-based standards] (atanhf): Likewise.
3605         [non-C99-based standards] (cbrtf): Likewise.
3606         [non-C99-based standards] (expm1f): Likewise.
3607         [non-C99-based standards] (ilogbf): Likewise.
3608         [non-C99-based standards] (log1pf): Likewise.
3609         [non-C99-based standards] (logbf): Likewise.
3610         [non-C99-based standards] (nextafterf): Likewise.
3611         [non-C99-based standards] (remainderf): Likewise.
3612         [non-C99-based standards] (rintf): Likewise.
3613         [non-C99-based standards] (scalbf): Likewise.
3614         [non-C99-based standards] (copysignl): Likewise.
3615         [non-C99-based standards] (exp2l): Likewise.
3616         [non-C99-based standards] (log2l): Likewise.
3617         [non-C99-based standards] (modfl): Allow.
3618         [non-C99-based standards] (erfl): Do not allow.
3619         [non-C99-based standards] (erfcl): Likewise.
3620         [non-C99-based standards] (gammal): Likewise.
3621         [non-C99-based standards] (hypotl): Likewise.
3622         [non-C99-based standards] (j0l): Likewise.
3623         [non-C99-based standards] (j1l): Likewise.
3624         [non-C99-based standards] (jnl): Likewise.
3625         [non-C99-based standards] (lgammal): Likewise.
3626         [non-C99-based standards] (tgammal): Likewise.
3627         [non-C99-based standards] (y0l): Likewise.
3628         [non-C99-based standards] (y1l): Likewise.
3629         [non-C99-based standards] (ynl): Likewise.
3630         [non-C99-based standards] (isnanl): Likewise.
3631         [non-C99-based standards] (acoshl): Likewise.
3632         [non-C99-based standards] (asinhl): Likewise.
3633         [non-C99-based standards] (atanhl): Likewise.
3634         [non-C99-based standards] (cbrtl): Likewise.
3635         [non-C99-based standards] (expm1l): Likewise.
3636         [non-C99-based standards] (ilogbl): Likewise.
3637         [non-C99-based standards] (log1pl): Likewise.
3638         [non-C99-based standards] (logbl): Likewise.
3639         [non-C99-based standards] (nextafterl): Likewise.
3640         [non-C99-based standards] (remainderl): Likewise.
3641         [non-C99-based standards] (rintl): Likewise.
3642         [non-C99-based standards] (scalbl): Likewise.
3643         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3644         [non-C99-based standards] (FP_*): Do not allow.
3645         [C99-based standards] (FP_*): Change to
3646         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3647         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3648         allow.
3649         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3650         (SIG_ERR): Likewise.
3651         [X/Open-based standards] (SIG_HOLD): Likewise.
3652         (SIG_IGN): Likewise.
3653         (SIGABRT): Use macro-int-constant.  Specify type.  Require
3654         positive value.
3655         (SIGFPE): Likewise.
3656         (SIGILL): Likewise.
3657         (SIGINT): Likewise.
3658         (SIGSEGV): Likewise.
3659         (SIGTER): Likewise.
3660         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3661         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3662         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3663         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3664         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3665         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3666         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3667         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3668         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3669         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3670         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3671         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3672         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3673         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3674         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3675         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3676         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3677         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3678         [X/Open-based standards] (SIGTRAP): Likewise.
3679         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3680         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3681         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3682         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3683         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3684         allow.
3685
3686 2012-05-08  Ian Wienand  <ianw@vmware.com>
3687
3688         [BZ #14080]
3689         * time/tzset.c (__tzset_parse_tz): Update default rules for
3690         daylight time changes in the Energy Policy Act of 2005.
3691
3692 2012-05-09  Andreas Jaeger  <aj@suse.de>
3693
3694         [BZ #13983]
3695         * elf/ldconfig.c (parse_conf): Change string to make clear that
3696         ldconfig only issued a warning if ld.so.conf does not exist.
3697
3698 2012-05-08  David S. Miller  <davem@davemloft.net>
3699
3700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3701         movxtod instead of popping the value on the stack.
3702
3703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3704
3705 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
3706
3707         * config.h.in: Add HAVE_ARM_PCS_VFP.
3708
3709 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
3710
3711         [BZ #13979]
3712         * include/features.h: Warn if user requests __FORTIFY_SOURCE
3713         checking but the checks are disabled for any reason.
3714
3715 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3716
3717         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3718         and ELF64_R_TYPE with ELFW(R_TYPE).
3719
3720 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
3721
3722         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3723         (ulimit): Likewise.
3724
3725         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3726         (settimeofday): Likewise.
3727
3728 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
3729
3730         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
3731         a struct th_u2 inside the union, and move tu_block/tu_code into
3732         a new th_u3 union of tu_block/tu_code inside of that.  Move
3733         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
3734         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
3735         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3736         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3737         (th_stuff): Change to th_u1.tu_stuff.
3738         (th_data): Define.
3739         (th_msg): Change to th_u1.th_u2.tu_data.
3740
3741 2012-05-07  David S. Miller  <davem@davemloft.net>
3742
3743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3744
3745         [BZ #14074]
3746         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3747         (SETUP_PIC_REG): Use it.
3748         (SETUP_PIC_REG_LEAF): Use it.
3749
3750 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
3751
3752         [BZ #13885]
3753         [BZ #13923]
3754         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3755         USE_AS_EXPM1L.
3756         (EXPL_FINITE): Likewise.
3757         (FLDLOG): Likewise.
3758         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3759         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3760         e_expl.S.
3761         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3762         USE_AS_EXPM1L.
3763         (EXPL_FINITE): Likewise.
3764         (FLDLOG): Likewise.
3765         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3766         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3767         e_expl.S.
3768         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
3769         test of -max_value argument for long double.
3770         * sysdeps/i386/fpu/libm-test-ulps: Update.
3771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3772
3773 2012-05-06  David S. Miller  <davem@davemloft.net>
3774
3775         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3776         quad soft-float symbols whose references which are compiler
3777         generated.
3778         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3779
3780 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
3781
3782         [BZ #13884]
3783         [BZ #13914]
3784         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3785         USE_AS_EXP10L.
3786         (EXPL_FINITE): Likewise.
3787         (FLDLOG): Likewise.
3788         (c0): Likewise.
3789         (c1): Likewise.
3790         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
3791         Adjust comments for base varying.
3792         (__expl_finite): Change alias to EXPL_FINITE.
3793         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3794         e_expl.S.
3795         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3796         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3797         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3798         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3799         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3800         USE_AS_EXP10L.
3801         (EXPL_FINITE): Likewise.
3802         (FLDLOG): Likewise.
3803         (c0): Likewise.
3804         (c1): Likewise.
3805         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
3806         Adjust comments for base varying.
3807         (__expl_finite): Change alias to EXPL_FINITE.
3808         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
3809         tests for bugs.
3810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3811
3812         [BZ #14064]
3813         * math/libm-test.inc (check_float_internal): Correct ulp
3814         calculation for subnormal expected results.
3815
3816 2012-05-06  Andreas Jaeger  <aj@suse.de>
3817
3818         * Makeconfig (+math-flags): New, set to -frounding-math.
3819         (+cflags): Add +math-flags so that all of glibc gets compiled with
3820         it.
3821
3822         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3823
3824 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
3825
3826         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3827         Disable one test.
3828
3829         [BZ #13787]
3830         [BZ #13922]
3831         [BZ #14036]
3832         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3833         (__ieee754_expl): Allow for and saturate large arguments.
3834         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3835         (u_threshold): Likewise.
3836         (__exp): Call __ieee754_exp before checking for overflow and
3837         underflow.
3838         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3839         (u_threshold): Likewise.
3840         (__expf): Call __ieee754_expf before checking for overflow and
3841         underflow.
3842         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3843         (u_threshold): Likewise.
3844         (__expl): Call __ieee754_expl before checking for overflow and
3845         underflow.
3846         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3847         (__ieee754_expl): Allow for and saturate large arguments.
3848         * math/libm-test.inc (exp_test): Add another test.  Do not allow
3849         missing overflow exception on overflow.
3850         (expm1_test): Do not allow missing overflow exception on overflow.
3851
3852         * sysdeps/i386/fpu/e_expl.c: Move to ...
3853         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
3854         rather than using inline asm.
3855         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3856         * sysdeps/x86_64/fpu/e_expl.S: Copy from
3857         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3858
3859         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3860         (nice): Likewise.
3861         (poll): Likewise.
3862         (signal): Likewise.
3863         (time): Likewise.
3864         (times): Likewise.
3865
3866 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3867
3868         * sysdeps/unix/syscalls.list (adjtime): Add entry from
3869         sysdeps/unix/common/syscalls.list.
3870         (fchmod): Likewise.
3871         (fchown): Likewise.
3872         (ftruncate): Likewise.
3873         (getrusage): Likewise.
3874         (gettimeofday): Likewise.
3875         (setpgid): Likewise.
3876         (setregid): Likewise.
3877         (setreuid): Likewise.
3878         (sigaction): Likewise.
3879         (truncate): Likewise.
3880         (vhangup): Likewise.
3881         * sysdeps/unix/common/syscalls.list: Remove file.
3882         * sysdeps/unix/bsd/Implies: Don't include unix/common.
3883         * sysdeps/unix/sysv/linux/Implies: Likewise.
3884
3885 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
3886
3887         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3889         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3890         Moved to ...
3891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3892         Here.
3893         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3894         to ...
3895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3896         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3897         to ...
3898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3899         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3900         to ...
3901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3902         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3903         to ...
3904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3905         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3906         to ...
3907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3908         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3909         to ...
3910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3911         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3912         to ...
3913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3914         Here.
3915         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3916         to ...
3917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3918         Here.
3919         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3920         to ...
3921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3922         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3923         Moved to ...
3924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3925         Here.
3926         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3927         to ...
3928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3929
3930 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3931
3932         * sysdeps/unix/common/bits/dirent.h: Remove file.
3933         * sysdeps/unix/common/bits/fcntl.h: Likewise.
3934
3935         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3936         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3937         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3938         * sysdeps/unix/bsd/isatty.c: Likewise.
3939         * sysdeps/unix/bsd/tcdrain.c: Likewise.
3940         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3941         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3942
3943 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3944
3945         [BZ #13563]
3946         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3947         long double comparison inaccuracies.
3948         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3950
3951 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
3952
3953         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3954         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3955
3956 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3957
3958         [BZ #14049]
3959         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3960         nonzero digits before rounding a hex value.
3961         * stdlib/tst-strtod.c (tests): Add another test.
3962
3963 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3964
3965         * sysdeps/s390/fpu/libm-test-ulps: Update.
3966
3967 2012-05-03  Andreas Jaeger  <aj@suse.de>
3968
3969         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3970         does not get optimized out.
3971         (malloc_opt_barrier): New.
3972
3973 2012-05-03  Andreas Jaeger  <aj@suse.de>
3974             Roland McGrath  <roland@hack.frob.com>
3975
3976         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3977         intermediate file deletion.
3978         (generated): Add .symlist files.
3979
3980 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
3981
3982         [BZ #13775]
3983         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3984         Redirect under this condition.
3985         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3986         [__USE_GNU] (__dprintf_chk): Not under this condition.
3987         [__USE_GNU] (__vdprintf_chk): Likewise.
3988         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3989         under this condition.
3990         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3991         [__USE_XOPEN2K8] (dprintf): Define under this condition.
3992         [__USE_XOPEN2K8] (vdprintf): Likewise.
3993         [__USE_GNU] (__dprintf_chk): Not under this condition.
3994         [__USE_GNU] (__vdprintf_chk): Likewise.
3995         [__USE_GNU] (dprintf): Likewise.
3996         [__USE_GNU] (vdprintf): Likewise.
3997
3998 2012-05-03  Roland McGrath  <roland@hack.frob.com>
3999
4000         * elf/Makefile (common-generated): Set this instead of generated for
4001         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
4002         $(all-built-dso)-derived lists.
4003
4004 2012-05-03  Andreas Jaeger  <aj@suse.de>
4005
4006         * sysdeps/i386/fpu/libm-test-ulps: Update.
4007
4008         * FAQ: Removed.
4009         * FAQ.in: Likewise.
4010         * scripts/gen-FAQ.pl: Likewise.
4011         * manual/install.texi (Installation): Point to online location of
4012         FAQ.
4013         * Makefile (files-for-dist): Remove FAQ.
4014         (FAQ): Remove.
4015
4016 2012-05-02  Allan McRae  <allan@archlinux.org>
4017
4018         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4019         (LDFLAGS-reldepmod5.so): Likewise.
4020         (LDFLAGS-reldep6mod1.so): Likewise.
4021         (LDFLAGS-reldep6mod4.so): Likewise.
4022         (LDFLAGS-reldep8mod3.so): Likewise.
4023         (LDFLAGS-unload4mod1.so): Likewise.
4024         (LDFLAGS-unload4mod2.so): Likewise.
4025         (LDFLAGS-tst-initorder): Likewise.
4026         (LDFLAGS-tst-initordera2.so): Likewise.
4027         (LDFLAGS-tst-initordera3.so): Likewise.
4028         (LDFLAGS-tst-initordera4.so): Likewise.
4029         (LDFLAGS-tst-initorderb2.so): Likewise.
4030         (LDFLAGS-noload): Likewise.
4031         (LDFLAGS-next): Likewise.
4032         (LDFLAGS-order2mod1.so): Likewise.
4033         (LDFLAGS-order2mod2.so): Likewise.
4034         (LDFLAGS-tst-initorder2): Likewise.
4035         (LDFLAGS-tst-initorder2a.so): Likewise.
4036         (LDFLAGS-tst-initorder2b.so): Likewise.
4037         (LDFLAGS-tst-initorder2c.so): Likewise.
4038         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4039
4040 2012-05-02  David S. Miller  <davem@davemloft.net>
4041
4042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4043
4044 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4045
4046         [BZ #14055]
4047         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4048
4049 2012-05-02  Andreas Jaeger  <aj@suse.de>
4050
4051         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4052         since we manipulate rounding mode.
4053         (CPPFLAGS-test-idouble.c): Likewise.
4054         (CPPFLAGS-test-ifloat.c): Likewise.
4055         (CFLAGS-test-ldouble.c): Likewise.
4056         (CFLAGS-test-double.c): Likewise.
4057         (CFLAGS-test-float.c): Likewise.
4058         (CFLAGS-test-misc.c): Likewise.
4059         (CFLAGS-test-test-fenv.c): Likewise.
4060
4061 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4062
4063         [BZ #2550]
4064         [BZ #2570]
4065         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4066         comparisons to determine direction to adjust input.
4067
4068 2012-05-01  Roland McGrath  <roland@hack.frob.com>
4069
4070         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4071         output to the target.
4072
4073         * scripts/localplt.awk: New file.
4074         * elf/Makefile ($(objpfx)check-localplt): Target removed.
4075         (check-localplt-CFLAGS): Variable removed.
4076         ($(all-built-dso:=.jmprel)): New static pattern rule.
4077         (generated): Add those targets.
4078         (localplt-built-dso): New variable.
4079         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4080
4081         * elf/check-localplt.c: File removed.
4082
4083         * scripts/check-execstack.awk: New file.
4084         * elf/Makefile ($(objpfx)check-execstack): Target removed.
4085         (check-execstack-CFLAGS): Variable removed.
4086         ($(objpfx)check-execstack.h): Target removed.
4087         ($(objpfx)execstack-default): New target.
4088         (generated): Add that instead of check-execstack.h.
4089         ($(all-built-dso:=.phdr)): New static pattern rule.
4090         (generated): Add those targets.
4091         * elf/check-execstack.c: File removed.
4092
4093         * scripts/check-textrel.awk: New file.
4094         * elf/Makefile ($(objpfx)check-textrel): Target removed.
4095         (check-textrel-CFLAGS): Variable removed.
4096         (all-built-dso): Use := to define.o
4097         ($(all-built-dso:=.dyn)): New static pattern rule.
4098         (generated): Add those targets.
4099         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4100         * config.make.in (READELF): New substituted variable.
4101         * elf/check-textrel.c: File removed.
4102
4103 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
4104
4105         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4106         allow.
4107         * conform/data/ctype.h-data [C99-based standards] (isblank):
4108         Expect function.
4109         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4110         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4111         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4112         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4113         Specify type.  Require positive value.
4114         (EILSEQ): Likewise.
4115         (ERANGE): Likewise.
4116         [ISO || POSIX] (EILSEQ): Do not expect.
4117         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4118         Specify type.  Require positive value.
4119         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4120         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4121         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4122         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4123         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4124         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4125         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4126         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4127         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4128         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4129         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4130         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4131         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4132         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4133         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4134         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4135         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4136         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4137         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4138         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4139         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4140         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4141         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4142         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4143         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4144         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4145         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4146         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4147         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4148         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4149         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4150         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4151         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4152         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4153         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4154         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4155         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4156         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4157         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4158         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4159         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4160         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4161         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4162         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4163         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4164         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4165         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4166         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4167         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4168         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4169         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4170         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4171         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4172         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4173         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4174         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4175         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4176         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4177         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4178         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4179         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4180         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4181         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4182         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4183         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4184         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4185         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4186         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4187         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4188         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4189         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4190         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4191         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4192         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4193         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4194         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4195         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4196         Require >= 2.
4197         (FLT_ROUNDS): Expect as macro, not constant.
4198         (FLT_MANT_DIG): Use macro-int-constant.
4199         (DBL_MANT_DIG): Likewise.
4200         (LDBL_MANT_DIG): Likewise.
4201         (FLT_DIG): Likewise.
4202         (DBL_DIG): Likewise.
4203         (LDBL_DIG): Likewise.
4204         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
4205         (DBL_MIN_EXP): Likewise.
4206         (LDBL_MIN_EXP): Likewise.
4207         (FLT_MAX_EXP): Use macro-int-constant.
4208         (DBL_MAX_EXP): Likewise.
4209         (LDBL_MAX_EXP): Likewise.
4210         (FLT_MAX_10_EXP): Likewise.
4211         (DBL_MAX_10_EXP): Likewise.
4212         (LDBL_MAX_10_EXP): Likewise.
4213         (FLT_MAX): Use macro-constant.
4214         (DBL_MAX): Likewise.
4215         (LDBL_MAX): Likewise.
4216         (FLT_EPSILON): Use macro-constant.  Give upper bound.
4217         (DBL_EPSILON): Likewise.
4218         (LDBL_EPSILON): Likewise.
4219         (FLT_MIN): Likewise.
4220         (DBL_MIN): Likewise.
4221         (LDBL_MIN): Likewise.
4222         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4223         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4224         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4225         [ISO11] (FLT_HAS_SUBNORM): Likewise.
4226         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4227         [ISO11] (DBL_DECIMAL_DIG): Likewise.
4228         [ISO11] (FLT_DECIMAL_DIG): Likewise.
4229         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4230         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4231         [ISO11] (FLT_TRUE_MIN): Likewise.
4232         [ISO11] (LDBL_TRUE_MIN): Likewise.
4233         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4234         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4235         (SCHAR_MIN): Use macro-int-constant.  Specify type.
4236         (SCHAR_MAX): Likewise.
4237         (UCHAR_MAX): Likewise.
4238         (CHAR_MIN): Likewise.
4239         (CHAR_MAX): Likewise.
4240         (MB_LEN_MAX): Use macro-int-constant.
4241         (SHRT_MIN): Use macro-int-constant.  Specify type.
4242         (SHRT_MAX): Likewise.
4243         (USHRT_MAX): Likewise.
4244         (INT_MAX): Likewise.
4245         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
4246         bound negative.
4247         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
4248         bound with "U".
4249         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
4250         bound with "L".
4251         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
4252         bound negative.  Suffix upper bound with "L".
4253         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
4254         bound with "UL".
4255         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4256         Specify type.
4257         [C99-based standards] (LLONG_MAX): Likewise.
4258         [C99-based standards] (ULLONG_MAX): Likewise.
4259         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
4260         == 0.
4261         [ISO11] (max_align_t): Require type.
4262         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4263
4264         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4265         from $CFLAGS, without defining away __attribute__ calls.
4266         (checknamespace): Use $CFLAGS_namespace.
4267
4268         * conform/conformtest.pl (@keywords): Only include C99 keywords
4269         for standards based on C99 or C11.
4270
4271         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4272         Disable tests.
4273         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4274         UNIX98]: Likewise.
4275
4276         * conform/conformtest.pl: Handle "macro-int-constant" and test for
4277         usability of symbols in #if.
4278
4279         * conform/conformtest.pl: If macro or constant types start
4280         "promoted:", expect the symbol to be of the following type
4281         promoted by the integer promotions.
4282
4283         * conform/conformtest.pl: Parse all "constant" and "macro" lines
4284         in one place.  Also handle "macro-constant".
4285
4286         * conform/conformtest.pl: Only accept expected macro values with
4287         "==".  Parse all "macro" lines in one place.
4288         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4289
4290         * conform/conformtest.pl: Handle braced types on "constant" lines
4291         instead of handling "typed-constant".
4292         * conform/data/signal.h-data: Use "constant" instead of
4293         "typed-constant".
4294
4295         * conform/conformtest.pl: Handle "optional-" at start of lines in
4296         one place rather than duplicating several cases.  Handle each
4297         format of "macro" line with initial "optional-".
4298
4299         * conform/conformtest.pl: Only accept expected constant or
4300         optional-constant values with "==".  Parse all "constant" lines in
4301         one place.  Parse all "optional-constant" lines in one place.
4302         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4303         * conform/data/fmtmsg.h-data: Likewise.
4304         * conform/data/netinet/in.h-data: Likewise.
4305         * conform/data/tar.h-data: Likewise.
4306         * conform/data/limits.h-data: Use "==" form on "constant" and
4307         "optional-constant" lines.
4308
4309         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4310         Use -std=c99 for XOPEN2K.
4311         (@knownproblems): Remove.
4312         (newtoken): Don't check %isknown.
4313
4314         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4315         Do not expect macro.
4316         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4317         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4318         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4319         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4320         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4321         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4322         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4323         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4324         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4325         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4326         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4327         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4328         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4329         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4330         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4331         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4332         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4333         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4334         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4335         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4336         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4337         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4338         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4339         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4340         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4341         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4342         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4343         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4344         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4345         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4346         [XPG3] (acosh): Likewise.
4347         [XPG3] (asinh): Likewise.
4348         [XPG3] (atanh): Likewise.
4349         [XPG3] (cbrt): Likewise.
4350         [XPG3] (expm1): Likewise.
4351         [XPG3] (ilogb): Likewise.
4352         [XPG3] (log1p): Likewise.
4353         [XPG3] (logb): Likewise.
4354         [XPG3] (nextafter): Likewise.
4355         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4356         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4357         [XPG3] (remainder): Likewise.
4358         [XPG3] (rint): Likewise.
4359         [XPG3 || XPG4 || UNIX98] (round): Likewise.
4360         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4361         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4362         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4363         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4364         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4365         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4366         [UNIX98 || XOPEN2K] (scalb): Expect.
4367         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4368         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4369         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4370         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4371         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4372         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4373         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4374         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4375         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4376         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4377         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4378         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4379         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4380         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4381         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4382         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4383         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4384         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4385         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4386         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4387         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4388         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4389         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4390         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4391         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4392         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4393         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4394         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4395         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4396         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4397         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4398         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4399         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4400         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4401         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4402         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4403         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4404         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4405         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4406         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4407         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4408         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4409         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4410         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4411         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4412         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4413         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4414         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4415         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4416         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4417         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4418         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4419         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4420         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4421         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4422         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4423         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4424         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4425         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4426         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4427         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4428         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4429         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4430         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4431         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4432         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4433         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4434         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4435         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4436         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4437         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4438         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4439         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4440         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4441         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4442         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4443         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4444         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4445         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4446         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4447         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4448         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4449         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4450         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4451         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4452         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4453         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4454         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4455         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4456         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4457         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4458         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4459         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4460         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4461         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4462         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4463         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4464         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4465         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4466         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4467         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4468         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4469         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4470         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4471         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4472         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4473         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4474         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4475         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4476         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4477         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4478         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4479         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4480         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4481         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4482         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4483         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4484         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4485         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4486         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4487         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4488         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4489         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4490         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4491         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4492         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4493         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4494         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4495         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4496         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4497         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4498         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4499         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4500         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4501         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4502         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4503         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4504
4505         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4506         _XOPEN_SOURCE_EXTENDED for XPG4.
4507
4508         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4509
4510         * Makeconfig (localtime): Remove variable.
4511         (inst_localtime-file): Likewise.
4512
4513 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4514
4515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4516         Update.
4517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4518         Update.
4519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4520         Update.
4521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4522         Update.
4523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4524         Update.
4525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4526         Update.
4527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4528         Update.
4529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4530         Update.
4531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4532         Update.
4533
4534 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
4535
4536         [BZ #2550]
4537         [BZ #2570]
4538         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4539         comparisons to determine direction to adjust input.
4540         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4541         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4542         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4543         Likewise.
4544         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4545         Likewise.
4546         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4547         Likewise.
4548         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4549         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4550         Likewise.
4551         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4552         Likewise.
4553         * math/libm-test.inc (nexttoward_test): Add more tests.
4554
4555 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4556
4557         [BZ #14040]
4558         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4559         in version GLIBC_2.1, not GLIBC_2.0.
4560         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4561         Likewise.
4562
4563 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
4564
4565         [BZ #13942]
4566         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4567         (1 - x) * (1 + x).
4568         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4569         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4570         * math/libm-test.inc (acos_test): Add more tests.
4571         (asin_test): Likewise.
4572         * sysdeps/i386/fpu/libm-test-ulps: Update.
4573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4574
4575         [BZ #14034]
4576         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4577         of square root.
4578         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4579         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4580         * math/libm-test.inc (acos_test_tonearest): New function.
4581         (acos_test_towardzero): Likewise.
4582         (acos_test_downward): Likewise.
4583         (acos_test_upward): Likewise.
4584         (asin_test_tonearest): Likewise.
4585         (asin_test_towardzero): Likewise.
4586         (asin_test_downward): Likewise.
4587         (asin_test_upward): Likewise.
4588         (main): Call the new functions.
4589         * sysdeps/i386/fpu/libm-test-ulps: Update.
4590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4591
4592         [BZ #13884]
4593         [BZ #13924]
4594         * math/e_exp10.c: Include <float.h>.
4595         (__ieee754_exp10): Handle underflow here rather than multiplying
4596         large negative argument by M_LN10.
4597         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4598         of __ieee754_expf.
4599         * math/e_exp10l.c: Include <float.h>.
4600         (__ieee754_exp10l): Handle underflow here rather than multiplying
4601         large negative argument by M_LN10l.
4602         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
4603         spurious overflow exception on underflow.
4604
4605 2012-04-29  Marek Polacek  <polacek@redhat.com>
4606
4607         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4608         (__fortify_function): New macro.
4609         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4610         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4611         __extern_always_inline.
4612         * libio/bits/stdio2.h: Likewise.
4613         * libio/bits/stdio.h: Likewise.
4614         * string/string.h: Likewise.
4615         * string/bits/string3.h: Likewise.
4616         * include/stdio.h: Likewise.
4617         * stdlib/bits/stdlib.h: Likewise.
4618         * stdlib/stdlib.h: Likewise.
4619         * rt/bits/mqueue2.h: Likewise.
4620         * rt/mqueue.h: Likewise.
4621         * posix/bits/unistd.h: Likewise.
4622         * posix/unistd.h: Likewise.
4623         * io/bits/poll2.h: Likewise.
4624         * io/bits/fcntl2.h: Likewise.
4625         * io/fcntl.h: Likewise.
4626         * io/sys/poll.h: Likewise.
4627         * misc/bits/syslog.h: Likewise.
4628         * misc/bits/syslog-ldbl.h: Likewise.
4629         * misc/sys/syslog.h: Likewise.
4630         * socket/bits/socket2.h: Likewise.
4631         * socket/sys/socket.h: Likewise.
4632         * debug/tst-chk1.c: Likewise.
4633         * wcsmbs/bits/wchar2.h: Likewise.
4634         * wcsmbs/bits/wchar-ldbl.h: Likewise.
4635         * wcsmbs/wchar.h: Likewise.
4636
4637 2012-04-29  Andreas Jaeger  <aj@suse.de>
4638
4639         * Makerules (tests): Remove enable-check-abi protection.
4640         (check-abi-warn): Remove.
4641         (check-abi-%): Remove check-abi-warn usage.
4642
4643         * configure.in: Remove check-abi configure option.
4644         * configure: Regenerated.
4645         * config.make.in (enable-check-abi): Remove.
4646
4647 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
4648
4649         [BZ #14033]
4650         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4651         double functions to double *_finite functions.
4652
4653         [BZ #13941]
4654         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4655         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4656         LDBL_MIN_EXP.
4657         * stdio-common/Makefile (tests): Add tst-sprintf3.
4658         * stdio-common/tst-sprintf3.c: New file.
4659
4660         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4661         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4662
4663 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
4664
4665         * conform/conformtest.pl: Remove duplicate typed-constant
4666         handling.
4667
4668 2012-04-28  David S. Miller  <davem@davemloft.net>
4669
4670         * Makerules (%.abilist): Add vpath on sysdep_dirs.
4671         (check-abi-%): Remove AWK script prerequisite and explicit
4672         abilist directory.
4673         (check-abi): Rewrite to just diff the symlist with the abilist.
4674         (config-tls, config-abi-config): Delete, no longer used.
4675         (update-abi-%): Remove AWK script and explicit abilist directory.
4676         (update-abi): Rewrite to simply compare and conditionally copy the
4677         symlist and the sysdep abilist file.  Remove update-abi-config
4678         checks.
4679         * abilist/ld.abilist: Remove.
4680         * abilist/libBrokenLocale.abilist: Remove.
4681         * abilist/libanl.abilist: Remove.
4682         * abilist/libcrypt.abilist: Remove.
4683         * abilist/libdl.abilist: Remove.
4684         * abilist/librt.abilist: Remove.
4685         * abilist/libthread_db.abilist: Remove.
4686         * abilist/libutil.abilist: Remove.
4687         * scripts/extract-abilist.awk: Remove.
4688         * scripts/merge-abilist.awk: Remove.
4689         * sysdeps/generic/libcidn.abilist: New file.
4690         * sysdeps/generic/libnss_compat.abilist: New file.
4691         * sysdeps/generic/libnss_db.abilist: New file.
4692         * sysdeps/generic/libnss_dns.abilist: New file.
4693         * sysdeps/generic/libnss_files.abilist: New file.
4694         * sysdeps/generic/libnss_hesiod.abilist: New file.
4695         * sysdeps/generic/libnss_nis.abilist: New file.
4696         * sysdeps/generic/libnss_nisplus.abilist: New file.
4697         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4698         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4699         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4700         file.
4701         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4702         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4703         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4704         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4705         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4706         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4707         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4708         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4709         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4710         file.
4711         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4712         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4713         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4714         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4715         file.
4716         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4717         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4718         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4719         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4720         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4721         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4722         file.
4723         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4724         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4725         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4726         file.
4727         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4728         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4729         New file.
4730         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4731         New file.
4732         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4733         New file.
4734         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4735         New file.
4736         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4737         New file.
4738         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4739         New file.
4740         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4741         New file.
4742         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4743         New file.
4744         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4745         New file.
4746         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4747         New file.
4748         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4749         New file.
4750         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4751         New file.
4752         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4753         New file.
4754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4755         file.
4756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4757         New file.
4758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4759         New file.
4760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4761         file.
4762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4763         New file.
4764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4765         New file.
4766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4767         file.
4768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4769         New file.
4770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4771         New file.
4772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4773         New file.
4774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4775         New file.
4776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4777         New file.
4778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4779         New file.
4780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4782         file.
4783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4784         New file.
4785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4786         file.
4787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4788         file.
4789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4790         file.
4791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4792         file.
4793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4794         file.
4795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4796         New file.
4797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4798         file.
4799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4800         file.
4801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4802         New file.
4803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4804         file.
4805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4807         file.
4808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4809         New file.
4810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4811         file.
4812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4813         file.
4814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4815         file.
4816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4817         file.
4818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4819         file.
4820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4821         New file.
4822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4823         file.
4824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4825         file.
4826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4827         New file.
4828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4829         file.
4830         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4831         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4832         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4833         file.
4834         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4835         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4836         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4837         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4838         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4839         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4840         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4841         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4842         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4843         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4846         file.
4847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4848         New file.
4849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4850         file.
4851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4852         file.
4853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4854         file.
4855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4856         file.
4857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4858         file.
4859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4860         New file.
4861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4862         New file.
4863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4864         file.
4865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4866         New file.
4867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4868         file.
4869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4871         file.
4872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4873         New file.
4874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4875         file.
4876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4877         file.
4878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4879         file.
4880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4881         file.
4882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4883         file.
4884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4885         New file.
4886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4887         New file.
4888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4889         file.
4890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4891         New file.
4892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4893         file.
4894
4895 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
4896
4897         * conform/conformtest.pl: Fix typo in handling typed-constant from
4898         allow-header.
4899
4900 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
4901
4902         * README: Cut down references to pre-2.6 Linux kernels and
4903         Linuxthreads.  Update lists of configurations in libc and ports
4904         and sort alphabetically.  Say "or newer" with Linux kernel version
4905         requirements.
4906
4907         * config.h.in [IS_IN_build]: Allow compiling without optimization.
4908
4909 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4910
4911         [BZ #887]
4912         * math/libm-test.inc (logb_test_downward): New test to expose
4913         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4914         rounding mode.
4915
4916 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
4917
4918         [BZ #14027]
4919         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4920         to be done.
4921         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4922         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4923
4924 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
4925
4926         * sysdeps/unix/i386/brk.S: Remove file.
4927         * sysdeps/unix/i386/dl-brk.S: Likewise.
4928         * sysdeps/unix/i386/pipe.S: Likewise.
4929         * sysdeps/unix/i386/sigreturn.S: Likewise.
4930         * sysdeps/unix/i386/syscall.S: Likewise.
4931         * sysdeps/unix/i386/vfork.S: Likewise.
4932         * sysdeps/unix/i386/wait.S: Likewise.
4933
4934         * sysdeps/unix/common/tcsendbrk.c: Move to ...
4935         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4936
4937         * configure.in (arm*-none*): Do not allow without
4938         --enable-hacker-mode.
4939         (netbsd*): Remove case setting base_os.
4940         (386bsd*): Likewise.
4941         (freebsd*): Likewise.
4942         (bsdi*): Likewise.
4943         (osf*): Likewise.
4944         (sunos*): Likewise.
4945         (ultrix*): Likewise.
4946         (newsos*): Likewise.
4947         (dynix*): Likewise.
4948         (*bsd*): Likewise.
4949         (sysv*): Likewise.
4950         (isc*): Likewise.
4951         (esix*): Likewise.
4952         (sco*): Likewise.
4953         (minix*): Likewise.
4954         (irix4*): Likewise.
4955         (irix6*): Likewise.
4956         (solaris[2-9]*): Likewise.
4957         (none): Likewise.
4958         * configure: Regenerated.
4959
4960 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4961
4962         [BZ #11521]
4963         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4964         overflow or cancellation in calculating denominator.
4965         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4966         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4967         down expression to avoid unexpected rounding in newer GCCs.
4968         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4969
4970 2012-04-26  David S. Miller  <davem@davemloft.net>
4971
4972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4973         long-double compat symbols.
4974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4987
4988 2012-04-25  David S. Miller  <davem@davemloft.net>
4989
4990         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4991         HWCAP_* values only after the memory barriers have been defined.
4992         (atomic_full_barrier): Define.
4993         (atomic_read_barrier): Define.
4994         (atomic_write_barrier): Define.
4995
4996 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4997
4998         * shlib-versions: Add libgcc_s version information.
4999         * sysdeps/generic/libgcc_s.h: Remove.
5000         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5001         libgcc_s.h.
5002         * sysdeps/gnu/unwind-resume.c: Likewise.
5003         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5004
5005 2012-04-25  David S. Miller  <davem@davemloft.net>
5006
5007         * sysdeps/unix/sparc/brk.S: Delete.
5008         * sysdeps/unix/sparc/dl-brk.S: Delete.
5009         * sysdeps/unix/sparc/pipe.S: Delete.
5010         * sysdeps/unix/sparc/sysdep.S: Delete.
5011         * sysdeps/unix/sparc/sysdep.h: Delete.
5012         * sysdeps/unix/sparc/vfork.S: Delete.
5013         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5014         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5015         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5016         ret_ERRVAL, r0, r1, MOVE): Define.
5017         (JUMPTARGET): Remove.
5018         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5019         sysdeps/unix/sparc/sysdep.h
5020         (ENTRY, END): Remove.
5021         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5022
5023 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
5024
5025         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5026         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5027         -DIS_IN_build.
5028
5029         * timezone/README: Update upstream location and email address for
5030         tzcode and tzdata.
5031         * timezone/zdump.c: Update from tzcode 2012b.
5032         * timezone/zic.c: Likewise.
5033
5034         * configure.in (libc_cv_as_needed): Remove test.
5035         * configure: Regenerated.
5036         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5037         conditional definition.
5038         [$(have-as-needed) != yes] (no-as-needed): Likewise.
5039         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5040         * config.make.in (have-as-needed): Remove variable.
5041
5042 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5043             Paul Pluzhnikov  <ppluzhnikov@google.com>
5044
5045         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5046         strings correctly.
5047
5048 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5049
5050         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5051         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5052         * sysdeps/sh/strlen.S: Likewise.
5053
5054 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5055
5056         * sysdeps/unix/fork.S: Remove file.
5057         * sysdeps/unix/i386/fork.S: Likewise.
5058         * sysdeps/unix/sparc/fork.S: Likewise.
5059
5060         * sysdeps/unix/system.c: Remove file.
5061         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5062
5063         * sysdeps/unix/getegid.S: Remove file.
5064         * sysdeps/unix/geteuid.S: Likewise.
5065
5066 2012-04-24  Roland McGrath  <roland@hack.frob.com>
5067
5068         * scripts/check-localplt.awk: New file.
5069         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5070         of diff.
5071         * scripts/data/localplt-generic.data: Add a comment.
5072
5073         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5074         NODE when __dir_mkfile failed.
5075         * sysdeps/mach/hurd/symlinkat.c: Likewise.
5076         Reported by Ludovic Courtès <ludo@gnu.org>.
5077
5078 2012-04-24  Andreas Jaeger  <aj@suse.de>
5079
5080         * Makerules (common-clean): Also remove gen-as-const-headers
5081         files.
5082
5083 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5084
5085         * Makerules (native-compile): Do not change working directory for
5086         build.  Use $(OUTPUT_OPTION) in command.
5087         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5088
5089 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5090
5091         [BZ #13886]
5092         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5093         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5094         * math/libm-test.inc (floor_test): Add more tests.
5095         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5096
5097 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5098
5099         * sysdeps/unix/getdents.c: Remove file.
5100         * sysdeps/unix/sysv/getdents.c: Likewise.
5101         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5102
5103         * sysdeps/unix/syscalls.list (madvise): Add syscall from
5104         sysdeps/unix/mman/syscalls.list.
5105         (mmap): Likewise.
5106         (mprotect): Likewise.
5107         (msync): Likewise.
5108         (munmap): Likewise.
5109         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5110         * sysdeps/unix/mman/syscalls.list: Remove.
5111         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5112
5113         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5114         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5115         * configure: Regenerated.
5116         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5117         $(libgcc_s_suffix).
5118         * config.make.in (libgcc_s_suffix): Remove variable.
5119
5120 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
5121
5122         * sysdeps/unix/sysv/gethostname.c: Move to ...
5123         * sysdeps/posix/gethostname.c: ... here.
5124
5125         * sysdeps/unix/execve.S: Remove file.
5126
5127         * sysdeps/unix/_exit.S: Remove file.
5128
5129 2012-04-23  Andreas Jaeger  <aj@suse.de>
5130
5131         [BZ #13739]
5132         * manual/Makefile: Remove make dist support, there's no
5133         need for a stand-alone documentation tar ball.
5134         (TEXI2DVI): Define always, it's not in Makeconfig.
5135         (dist): Removed.
5136         (tar-it): Removed.
5137         (edition): Removed.
5138         (glibc-doc-$(edition).tar): Removed
5139         (%.Z): Removed.
5140         (%.gz): Removed.
5141         (%.uu): Removed.
5142         (ETAGS): Remove, it's in Makeconfig.
5143         (move-if-change): Remove, it's in Makeconfig.
5144
5145 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
5146
5147         [BZ #13970]
5148         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5149         (strtod, strtof, strtold, strtol, strtoul, strtoq)
5150         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5151         (strtod_l, strtof_l, strtold_l): Remove __wur.
5152         It is not necessarily an error to ignore strtol's return value.
5153         One can reliably look at the stored endptr to decide whether
5154         the number had valid syntax.
5155
5156 2012-04-21  Andreas Jaeger  <aj@suse.de>
5157
5158         [BZ #13739]
5159         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5160
5161 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
5162
5163         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5164         * sysdeps/unix/sysv/Versions: Remove file.
5165
5166 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
5167
5168         [BZ #13927]
5169         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5170
5171 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
5172
5173         [BZ #7064]
5174         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5175         version from __vm86.
5176
5177 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
5178
5179         * sysdeps/unix/common/lxstat.c: Remove file.
5180         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5181
5182         * sysdeps/unix/sysv/Makefile: Remove file.
5183
5184         * sysdeps/unix/sysv/direct.h: Remove file.
5185
5186         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5187         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5188         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5189         * sysdeps/unix/sysv/bits/signum.h: Likewise.
5190         * sysdeps/unix/sysv/bits/stat.h: Likewise.
5191         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5192         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5193
5194         * sysdeps/unix/sysv/setrlimit.c: Remove file.
5195
5196         * sysdeps/unix/xmknod.c: Remove file.
5197         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5198
5199         * sysdeps/unix/sysv/settimeofday.c: Remove file.
5200
5201         * sysdeps/unix/sysv/i386/time.S: Remove file.
5202
5203         * sysdeps/unix/fxstat.c: Remove file.
5204         * sysdeps/unix/xstat.c: Likewise.
5205         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5206
5207         * sysdeps/unix/sysv/sigaction.c: Remove file.
5208
5209         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5210         (sysdep_headers): Remove variable.
5211         [termio.h not in sysdep_headers] (generated): Likewise.
5212         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5213         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5214         * sysdeps/unix/sysv/tcdrain.c: Likewise.
5215         * sysdeps/unix/sysv/tcflow.c: Likewise.
5216         * sysdeps/unix/sysv/tcflush.c: Likewise.
5217         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5218         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5219         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5220         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5221         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5222
5223         * sysdeps/unix/siglist.c: Remove file.
5224
5225         * sysdeps/unix/getppid.S: Remove file.
5226
5227         * sysdeps/unix/mkdir.c: Remove file.
5228         * sysdeps/unix/rmdir.c: Likewise.
5229
5230 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
5231
5232         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5233         ERR_MAX value.
5234         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5235         errlist-compat value.
5236
5237 2012-04-18  David S. Miller  <davem@davemloft.net>
5238
5239         * sysdeps/generic/memcopy.h (reg_char): Delete.
5240         * debug/strcat_chk.c: Use char, not reg_char.
5241         * debug/strcpy_chk.c: Likewise.
5242         * debug/strncat_chk.c: Likewise.
5243         * debug/strncpy_chk.c: Likewise.
5244         * string/memchr.c: Likewise.
5245         * string/memrchr.c: Likewise.
5246         * string/rawmemchr.c: Likewise.
5247         * string/strcat.c: Likewise.
5248         * string/strchr.c: Likewise.
5249         * string/strchrnul.c: Likewise.
5250         * string/strcmp.c: Likewise.
5251         * string/strcpy.c: Likewise.
5252         * string/strncat.c: Likewise.
5253         * string/strncmp.c: Likewise.
5254         * string/strncpy.c: Likewise.
5255
5256 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
5257
5258         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5259         __builtin_memcopy is called when src and dest ranges are known to not
5260         overlap.
5261
5262 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
5263
5264         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5265         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5266         fwd_align_merge macro call.
5267         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5268         bwd_align_merge macro call.
5269         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5270
5271 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
5272
5273         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5274         bwd_align_merge macros.
5275         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5276         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5277         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5278
5279 2012-04-18  David S. Miller  <davem@davemloft.net>
5280
5281         * sysdeps/sparc/sparc64/memcopy.h: Delete.
5282
5283 2012-04-18  Andreas Jaeger  <aj@suse.de>
5284
5285         [BZ# 6794]
5286         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5287         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5288         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5289
5290         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5291         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5292         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5293
5294         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5295         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5296         Adjust for changed ldbl-128 files.
5297
5298         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5299         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5300         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5301
5302 2012-04-17  David S. Miller  <davem@davemloft.net>
5303
5304         * sysdeps/sparc/sparc32/memcopy.h: Delete.
5305
5306 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
5307
5308         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5309         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5310         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5311         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5312         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5313         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5314
5315 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5316
5317         [BZ #6794]
5318         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5319         * math/libm-test.inc: Add ilogb errno and exception tests.
5320         * math/w_ilogb.c: New file: ilogb wrapper.
5321         * math/w_ilogbf.c: New file: ilogbf wrapper.
5322         * math/w_ilogbl.c: New file: ilogbl wrapper.
5323         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5324         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5325         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5326         exception being thrown with 0.0 as argument.
5327         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5328         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5329         exception being thrown with 0.0 as argument.
5330         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5331         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5332         exception being thrown with 0.0 as argument.
5333         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5334         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5335         exception being thrown with 0.0 as argument.
5336         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5337         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5338         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5339         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5340         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5341         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5342         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5343         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5344         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5345
5346 2012-04-17  Petr Baudis  <pasky@ucw.cz>
5347
5348         * include/sys/uio.h: Change __vector to __iovec to avoid clash
5349         with altivec.
5350
5351 2012-04-16  Marek Polacek  <polacek@redhat.com>
5352
5353         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5354
5355 2012-04-16  Marek Polacek  <polacek@redhat.com>
5356
5357         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5358         operands of fdivp instruction.
5359
5360 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
5361
5362         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5363         * elf/tst-auditmod3b.c: Likewise.
5364         * elf/tst-auditmod4b.c: Likewise.
5365         * elf/tst-auditmod5b.c: Likewise.
5366         * elf/tst-auditmod6b.c: Likewise.
5367         * elf/tst-auditmod6c.c: Likewise.
5368         * elf/tst-auditmod7b.c: Likewise.
5369         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5370         * sysdeps/x86_64/preconfigure.in: Likewise.
5371         * sysdeps/x86_64/preconfigure: Regenerated.
5372
5373 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
5374
5375         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5376         __ILP32__.
5377
5378 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
5379
5380         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5381         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5382
5383 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
5384
5385         [BZ #13973]
5386         * locale/iso-639.def: Fix gl language name. Spotted by
5387         Yaron Shahrabani.
5388
5389 2012-04-12  Roland McGrath  <roland@hack.frob.com>
5390
5391         [BZ #2074]
5392         * libio/libio.h (__io_write_fn): Update comment.
5393
5394 2012-04-12  Petr Baudis  <pasky@ucw.cz>
5395
5396         [BZ #2074]
5397         * stdio.texi (Hook Functions): The user provided writer function
5398         is not allowed to return -1.
5399
5400 2012-04-11  David S. Miller  <davem@davemloft.net>
5401
5402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5403
5404 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
5405
5406         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5407         Add a leading slash to rtkaio.
5408
5409 2012-04-11  Jim Meyering  <meyering@redhat.com>
5410
5411         [BZ #11959]
5412         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5413         It is not necessarily an error to ignore fwrite's return
5414         value.  One can reliably use ferror to test for errors after
5415         the fact.
5416
5417 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5418
5419         * bits/types.h (__snseconds_t): New type.
5420         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5421
5422         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5423         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5424         (__SNSECONDS_T_TYPE): Likewise.
5425         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5426         (__SNSECONDS_T_TYPE): Likewise.
5427         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5428         (__SNSECONDS_T_TYPE): Likewise.
5429
5430 2012-04-10  Andreas Jaeger  <aj@suse.de>
5431
5432         [BZ #2636]
5433         * manual/time.texi (Processor Time): Return type of times is
5434         elapsed real time since an arbitrary point in the past.
5435         (CPU Time): Move CLK_TCK from here...
5436         (Processor Time): ...to here.  Correct description.
5437         * manual/conf.texi (Constants for Sysconf): Correct description of
5438         _SC_CLK_TCK.
5439
5440 2012-04-10  David S. Miller  <davem@davemloft.net>
5441
5442         [BZ #13967]
5443         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5444         where the is a gap between DT_REL(A) and DT_JMPREL.
5445
5446 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5447
5448         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5449         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5450         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5451
5452 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5453
5454         * elf/dl-support.c (_dl_inhibit_cache): New variable.
5455         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5456         (dl_main): Handle --inhibit-cache.
5457         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5458         _dl_inhibit_cache.
5459         * elf/dl-load.c (_dl_map_object): Use it.
5460         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5461
5462 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
5463
5464         [BZ #13872]
5465         * sysdeps/i386/fpu/e_powl.S (p78): New object.
5466         (__ieee754_powl): Saturate large exponents rather than testing for
5467         overflow of y*log2(x).
5468         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5469         * math/libm-test.inc (pow_test): Do not permit spurious overflow
5470         exceptions.
5471
5472         [BZ #11521]
5473         * math/s_ctan.c: Include <float.h>.
5474         (__ctan): Avoid internal overflow or cancellation in calculating
5475         denominator.
5476         * math/s_ctanf.c: Likewise.
5477         * math/s_ctanl.c: Likewise.
5478         * math/s_ctanh.c: Likewise.
5479         * math/s_ctanhf.c: Likewise.
5480         * math/s_ctanhl.c: Likewise.
5481         * math/libm-test.inc (ctan_test): Add more tests.
5482         (ctanh_test): Likewise.
5483         * sysdeps/i386/fpu/libm-test-ulps: Update.
5484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5485
5486 2012-04-09  Andreas Jaeger  <aj@suse.de>
5487
5488         [BZ #6894]
5489         * manual/filesys.texi (Directory Entries): Mention that d_namlen
5490         is an optional BSD extension.
5491
5492         [BZ #10254]
5493         * manual/stdio.texi (Opening Streams): Document additional fopen
5494         parameters.
5495
5496 2012-04-09  Roland McGrath  <roland@hack.frob.com>
5497
5498         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5499         %eax without telling the compiler.
5500
5501 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
5502
5503         [BZ # 13963]
5504         * manual/install.texi: Use sourceware.org.
5505
5506 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
5507
5508         [BZ #13873]
5509         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5510         (__ieee754_pow): Generate overflow and underflow using huge*huge
5511         and tiny*tiny rather than just returning constant infinity or zero
5512         for large exponents.
5513         * math/libm-test.inc (pow_test): Require overflow exceptions for
5514         applicable cases of large exponents.
5515
5516         [BZ #706]
5517         * sysdeps/i386/fpu/e_pow.S (p10): New object.
5518         (__ieee754_pow): Use iterative multiplication algorithm only for
5519         integer exponents with absolute value below 1024.  Check for odd
5520         integer exponents when using algorithm for real exponents.
5521         * math/libm-test.inc (pow_test): Add more tests.
5522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5523
5524 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
5525
5526         [BZ #13705]
5527         * math/libm-test.inc (exp_test): Do not allow overflow exception
5528         on underflow test.
5529
5530 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
5531
5532         [BZ #13705]
5533         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5534         instead of __kernel_standard_f.
5535
5536 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
5537
5538         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5539         * sysdeps/x86_64/memset_chk.S: Likewise.
5540
5541 2012-04-08  Andreas Jaeger  <aj@suse.de>
5542
5543         [BZ #10153]
5544         * manual/startup.texi (Environment Access): Describe return value
5545         for putenv and setenv.
5546
5547         [BZ #6895]
5548         * manual/filesys.texi (Directory Entries): Add description for
5549         DT_LNK.
5550
5551         [BZ #6890]
5552         * manual/filesys.texi (Directory Entries): Clarify that it's file
5553         system not operating system in the description of DT_UNKNOWN.
5554
5555         [BZ #6578]
5556         * manual/syslog.texi (closelog): Fix reference, it's openlog.
5557
5558 2012-04-08  Stephen Compall  <s11@member.fsf.org>
5559
5560         [BZ #6649]
5561         * manual/llio.texi (Opening and Closing Files): Add cross
5562         reference to explain mode argument.
5563
5564 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
5565
5566         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5567         * sysdeps/x86_64/memset_chk.S: Likewise.
5568
5569 2012-04-07  David S. Miller  <davem@davemloft.net>
5570
5571         * elf/elf.h (R_SPARC_WDISP10): Define.
5572         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5573         R_SPARC_SIZE32.
5574         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5575         R_SPARC_SIZE64 and R_SPARC_H34.
5576
5577 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
5578
5579         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5580         conditions and remove no longer applicable assertion.
5581
5582 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
5583
5584         * bits/byteswap.h: Include <features.h>.
5585         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5586         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5587
5588 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
5589
5590         * bits/byteswap.h (__bswap_16): Removed.
5591         Include <bits/byteswap-16.h> to get __bswap_16.
5592         * sysdeps/i386/bits/byteswap.h: Likewise.
5593         * sysdeps/s390/bits/byteswap.h: Likewise.
5594         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5595         * bits/byteswap-16.h: New file.
5596         * sysdeps/i386/bits/byteswap-16.h: Likewise.
5597         * sysdeps/s390/bits/byteswap-16.h: Likewise.
5598         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5599         * string/Makefile (headers): Add bits/byteswap-16.h.
5600
5601 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5602
5603         [BZ #13895]
5604         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5605         extra indirection.
5606         * nss/Makefile (tests-static, tests): Add tst-nss-static.
5607         * nss/tst-nss-static.c: New.
5608
5609 2012-04-06  Robert Millan  <rmh@gnu.org>
5610
5611         [BZ #6486]
5612         * manual/llio.texi (File Position Primitive): lseek
5613         refers to WHENCE when it really means OFFSET.
5614
5615 2012-04-06  Andreas Jaeger  <aj@suse.de>
5616
5617         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5618         strncmp declarations.
5619
5620         * abilist/libc.abilist: Add __poll and __ppoll.
5621
5622 2012-04-05  David S. Miller  <davem@davemloft.net>
5623
5624         * scripts/check-local-headers.sh: Accept a host triplet in the
5625         path matched by the exclude regexp.
5626
5627         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5628         definition.
5629         * sysdeps/powerpc/powerpc32/dl-machine.h
5630         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5631         * sysdeps/s390/s390-32/dl-machine.h
5632         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5633         * sysdeps/sparc/sparc32/dl-machine.h
5634         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5635         * sysdeps/sparc/sparc64/dl-machine.h
5636         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5637
5638         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5639         lazy binding.
5640         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5641         undefined symbol errors.
5642
5643         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5644         DT_NEEDED entries.
5645
5646 2012-04-05  Michael Matz  <matz@suse.de>
5647
5648         [BZ #13592]
5649         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5650
5651 2012-04-05  Andreas Jaeger  <aj@suse.de>
5652
5653         [BZ #13908]
5654         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5655         comment.
5656
5657 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5658
5659         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5660         which ROUND is no valid rounding mode.
5661
5662 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5663
5664         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5665         read again.
5666         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5667
5668 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5669
5670         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5671         an exception using FPU order intentionally.
5672
5673 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5674
5675         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5676         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5677         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5678         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5679
5680 2012-04-05  Simon Josefsson  <simon@josefsson.org>
5681
5682         [BZ #12340]
5683         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5684         EINVAL when BUFLEN is too smal.
5685
5686 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
5687
5688         [BZ #13553]
5689         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5690         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5691
5692 2012-04-03  Andreas Jaeger  <aj@suse.de>
5693
5694         [BZ #13938]
5695         * manual/setjmp.texi (System V contexts): Fix sentence.
5696
5697         [BZ #13926]
5698         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5699         New macro for this case.
5700         [!__GNUC__] (__bswap_64): New inline function for this case.
5701         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5702         * bits/byteswap.h: Likewise.
5703         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5704         ull, guard with __GLIBC_HAVE_LONG_LONG.
5705
5706         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5707         __GLIBC_HAVE_LONG_LONG.
5708
5709         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5710         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5711
5712 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5713
5714         [BZ #13691]
5715         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5716         inptr and inend, rather than using last_ch.
5717
5718 2012-04-02  David S. Miller  <davem@davemloft.net>
5719
5720         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5721         * stdio-common/printf-parse.h (read_int): Change return type to
5722         'int', return -1 on INT_MAX overflow.
5723         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5724         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
5725         overflows INT_MAX.  Check for overflow of in-format-string precision
5726         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
5727         SIZE_MAX not INT_MAX for integer overflow test.
5728         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5729         skip the construct in the format string but do not record anything.
5730         * stdio-common/bug22.c: Adjust to test both width/prevision
5731         INT_MAX overflow as well as total length INT_MAX overflow.  Check
5732         explicitly for proper errno values.
5733
5734 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
5735
5736         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5737         CHAR_MAX.
5738         * string/test-strcmp.c [! WIDE]: Likewise.
5739         * time/tst-mktime2.c: Likewise for INT_MAX.
5740         * string/test-string.h: #include <sys/param.h> for MIN.
5741
5742         * csu/init-first.c (__libc_init_first): Call __ctype_init.
5743         * sysdeps/i386/init-first.c (init): Likewise.
5744         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5745         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5746         * sysdeps/sh/init-first.c (init): Likewise.
5747
5748 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
5749
5750         * po/ru.po: Update from translation team.
5751         * po/vi.po: Likewise.
5752
5753 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5754
5755         * resolv/nss_dns/dns-host.c: Merge copyright years.
5756
5757 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5758
5759         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5760         Optimize memcpy with prefetch if
5761         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
5762         src, dst pointers have unequal 16 byte alignments.
5763
5764 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5765
5766         [BZ #13928]
5767         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5768         from a CNAME entry and return the minimum ttl for the query.
5769         (gaih_getanswer_slice): Likewise.
5770
5771 2012-03-30  Jeff Law  <law@redhat.com>
5772
5773         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5774         due to long keys.
5775         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5776         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5777
5778         * resolv/nss_dns/dns-host.c: Update copyright year.
5779
5780 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
5781
5782         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5783         requests to save a system call.  Fix check that all bytes are sent.
5784
5785         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5786         comments for sendmmsg.
5787
5788 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5789
5790         [BZ #13691]
5791         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5792         with only 1 character between 0x0041 and 0x01b0.
5793         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5794         * wcsmbs/tst-mbsnrtowcs.c: New file.
5795
5796 2012-03-29  David S. Miller  <davem@davemloft.net>
5797
5798         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5799         small copies by hand.
5800
5801 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5802
5803         [BZ #13761]
5804         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5805         _nss_compat_initgroups_dyn): Fall back to malloc/free
5806         for large group memberships.
5807
5808 2012-03-28  David S. Miller  <davem@davemloft.net>
5809
5810         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5811         that branches into memcpy.
5812         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5813         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5814         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5815         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5816         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5817         bits.
5818         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5819         implementation too.
5820         * sysdeps/sparc/mempcpy.S: New file.
5821
5822         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5823         the IFUNC routine in the libc case.
5824         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5825
5826         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5827         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5828         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5829         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5830         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5831         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5832         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5833         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5834
5835         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5836         loop to 256 bytes instead of 64 bytes and fix test signedness.
5837
5838         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5839         * sysdeps/sparc/sparc32/Makefile: rather than here...
5840         * sysdeps/sparc/sparc64/Makefile: and here.
5841
5842 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
5843
5844         * malloc/mallocbug.c: Avoid warnings about unused variables.
5845
5846 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5847
5848         [BZ #13760]
5849         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5850         in the right place. Discard and retry query if response is
5851         larger than input buffer size.
5852
5853 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
5854
5855         [BZ #369]
5856         [BZ #2678]
5857         [BZ #3866]
5858         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5859         x for large integer exponent.
5860         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5861         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
5862         sign of result as needed afterwards.
5863         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5864         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5865         result for underflowing pow the same as for overflow.
5866         (__kernel_standard_l): Handle powl overflow and underflow here
5867         rather than calling __kernel_standard.
5868         * math/libm-test.inc (pow_test): Add more tests.
5869
5870         [BZ #3868]
5871         [BZ #13879]
5872         [BZ #13910]
5873         [BZ #13911]
5874         [BZ #13912]
5875         [BZ #13913]
5876         [BZ #13915]
5877         [BZ #13916]
5878         [BZ #13917]
5879         [BZ #13918]
5880         [BZ #13919]
5881         [BZ #13920]
5882         [BZ #13921]
5883         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5884         * sysdeps/ieee754/k_standard.c: Include <float.h>.
5885         (__kernel_standard_l): New function.
5886         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5887         __kernel_standard.
5888         * math/w_acosl.c (__acosl): Likewise.
5889         * math/w_asinl.c (__asinl): Likewise.
5890         * math/w_atan2l.c (__atan2l): Likewise.
5891         * math/w_atanhl.c (__atanhl): Likewise.
5892         * math/w_coshl.c (__coshl): Likewise.
5893         * math/w_exp10l.c (__exp10l): Likewise.
5894         * math/w_exp2l.c (__exp2l): Likewise.
5895         * math/w_fmodl.c (__fmodl): Likewise.
5896         * math/w_hypotl.c (__hypotl): Likewise.
5897         * math/w_j0l.c (__j0l, __y0l): Likewise.
5898         * math/w_j1l.c (__j1l, __y1l): Likewise.
5899         * math/w_jnl.c (__jnl, __ynl): Likewise.
5900         * math/w_lgammal.c (__lgammal): Likewise.
5901         * math/w_log10l.c (__log10l): Likewise.
5902         * math/w_log2l.c (__log2l): Likewise.
5903         * math/w_logl.c (__logl): Likewise.
5904         * math/w_powl.c (__powl): Likewise.
5905         * math/w_remainderl.c (__remainderl): Likewise.
5906         * math/w_scalbl.c (sysv_scalbl): Likewise.
5907         * math/w_sinhl.c (__sinhl): Likewise.
5908         * math/w_sqrtl.c (__sqrtl): Likewise.
5909         * math/w_tgammal.c (__tgammal): Likewise.
5910         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5911         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5912         * math/libm-test.inc (acos_test): Add more tests.
5913         (acosh_test): Likewise.
5914         (asin_test): Likewise.
5915         (atanh_test): Likewise.
5916         (exp_test): Likewise.
5917         (exp10_test): Likewise.
5918         (exp2_test): Likewise.
5919         (expm1_test): Likewise.
5920         (lgamma_test): Likewise.
5921         (log_test): Likewise.
5922         (log10_test): Likewise.
5923         (log1p_test): Likewise.
5924         (log2_test): Likewise.
5925         (pow_test): Do not allow some spurious overflow exceptions.
5926         (sqrt_test): Add more tests.
5927         (tgamma_test): Likewise.
5928         (y0_test): Likewise.
5929         (y1_test): Likewise.
5930         (yn_test): Likewise.
5931
5932 2012-03-27  Anton Blanchard  <anton@samba.org>
5933
5934         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5935         MAP_HUGETLB.
5936         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5937         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5938         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5939
5940 2012-03-27  David S. Miller  <davem@davemloft.net>
5941
5942         * conform/Makefile: Run run-conformtest.sh using $(BASH).
5943
5944         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5945         have-as-vis3 check.
5946
5947 2012-03-27  Andreas Jaeger  <aj@suse.de>
5948
5949         * sysdeps/x86_64/elf/configure.in: Moved to ...
5950         * sysdeps/x86_64/configure.in: ... here.
5951         * sysdeps/x86_64/elf/start.S: Moved to ...
5952         * sysdeps/x86_64/start.S: ... here.
5953         * sysdeps/x86_64/elf/configure: Delete.
5954
5955         * sysdeps/x86_64/configure.in: Merge contents from
5956         sysdeps/i386/configure.in (without i686 check).
5957
5958         * sysdeps/i386/elf/Versions: Merge into ...
5959         * sysdeps/i386/Versions: ... this.
5960         * sysdeps/i386/elf/Versions: Delete file.
5961         * sysdeps/i386/elf/start.S: Moved to ...
5962         * sysdeps/i386/start.S: ...here.
5963         * sysdeps/i386/elf/configure.in: Merge into...
5964         * sysdeps/i386/configure.in: ...here.
5965         * sysdeps/i386/elf/configure.in: Delete file.
5966         * sysdeps/i386/elf/configure: Delete file.
5967
5968         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5969         * debug/backtracesyms.c: ... here.
5970         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5971         * debug/backtracesymsfd.c: ... here.
5972         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5973         * sysdeps/generic/ifunc-sel.h: ... here.
5974
5975         * sysdeps/unix/i386/start.c: Delete file.
5976         * sysdeps/unix/sparc/start.c: Delete file.
5977         * sysdeps/unix/start.c: Delete file.
5978
5979         * sysdeps/sh/elf/configure.in: Moved to ...
5980         * sysdeps/sh/configure.in: ... here.
5981         * sysdeps/sh/elf/start.S: Moved to ...
5982         * sysdeps/sh/start.S: ... here.
5983         * sysdeps/sh/elf/configure: Delete file.
5984
5985         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5986         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5987         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5988         * sysdeps/powerpc/powerpc64/entry.h: ... here.
5989         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5990         * sysdeps/powerpc/powerpc64/start.S: here.
5991         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5992         * sysdeps/powerpc/powerpc64/Makefile: ... this.
5993         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5994         * sysdeps/powerpc/powerpc64/configure.in: ... this.
5995         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5996
5997         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5998         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5999         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6000         * sysdeps/powerpc/powerpc32/start.S: ... here.
6001         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6002         * sysdeps/powerpc/powerpc32/configure.in: ... this.
6003         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6004
6005         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6006         * sysdeps/powerpc/ifunc-sel.h: ... here.
6007         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6008         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6009
6010         * sysdeps/sparc/elf/configure.in: Moved to ...
6011         * sysdeps/sparc/configure.in: ... here.
6012         * sysdeps/sparc/elf/configure: Delete file.
6013         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6014         * sysdeps/sparc/sparc32/start.S: ... here.
6015         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6016         * sysdeps/sparc/sparc64/start.S: ... here.
6017         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6018         * sysdeps/sparc/sparc32/Makefile: ... this.
6019         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6020         * sysdeps/sparc/sparc64/Makefile: ... this.
6021
6022         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6023         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6024         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6025         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6026         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6027         * sysdeps/s390/s390-32/setjmp.S: ... here.
6028         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6029         * sysdeps/s390/s390-32/configure.in: ... here.
6030         * sysdeps/s390/s390-32/elf/configure: Delete file.
6031         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6032         * sysdeps/s390/s390-32/start.S: ... here.
6033
6034         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6035         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6036         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6037         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6038         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6039         * sysdeps/s390/s390-64/setjmp.S: ... here.
6040         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6041         * sysdeps/s390/s390-64/configure.in: ... here
6042         * sysdeps/s390/s390-64/elf/configure: Delete file.
6043         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6044         * sysdeps/s390/s390-64/start.S: ... here.
6045         * sysdeps/s390/s390-64/elf/configure: Delete.
6046
6047         * configure.in: Remove support for elf directories in sysdeps.
6048
6049         * configure: Regenerated.
6050         * sysdeps/i386/configure: Regenerated.
6051         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6052         * sysdeps/powerpc/powerpc64/configure: Regenerated.
6053         * sysdeps/s390/s390-32/configure: Regenerated.
6054         * sysdeps/s390/s390-64/configure: Regenerated.
6055         * sysdeps/sh/configure: Regenerated.
6056         * sysdeps/sparc/configure: Regenerated.
6057         * sysdeps/x86_64/configure: Regenerated.
6058
6059 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
6060
6061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6062
6063         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6064         denormal result into account.
6065
6066 2012-03-25  Roland McGrath  <roland@hack.frob.com>
6067
6068         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6069         Reported by Allan McRae <allan@archlinux.org>.
6070
6071 2012-03-23  Jeff Law  <law@redhat.com>
6072
6073         * nss/getnssent.c (__nss_getent): Fix typo.
6074
6075 2012-03-23  David S. Miller  <davem@davemloft.net>
6076
6077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6078
6079 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
6080
6081         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6082         to pad to uint64_t for each field.
6083         (dl_tls_index): Replace unsigned long with uint64_t.
6084
6085 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
6086         Paul Pluzhnikov  <ppluzhnikov@google.com>
6087
6088         [BZ #6528]
6089         * grp/Makefile (otherlibs): Don't set it.
6090         * inet/Makefile (otherlibs): Likewise.
6091         * login/Makefile (otherlibs): Likewise.
6092         * nscd/Makefile (otherlibs): Likewise.
6093         * posix/Makefile (otherlibs): Likewise.
6094         * pwd/Makefile (otherlibs): Likewise.
6095         * rt/Makefile (otherlibs): Likewise.
6096         * sunrpc/Makefile (otherlibs): Likewise.
6097         * nss/Makefile (otherlibs): Likewise.
6098         Add libnss_files to routines and static-only-routines.
6099         ($(objpfx)getent): Remove rule.
6100         * resolv/Makefile: Add libnss_dns and libresolv to routines and
6101         static-only-routines.
6102
6103 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
6104
6105         [BZ #13892]
6106         * math/s_cexp.c: Include <float.h>.
6107         (__cexp): Handle exp result overflowing not necessarily
6108         overflowing both real and imaginary parts of result.
6109         * math/s_cexpf.c: Likewise.
6110         * math/s_cexpl.c: Likewise.
6111         * math/libm-test.inc (cexp_test): Add more tests.
6112         * sysdeps/i386/fpu/libm-test-ulps: Update.
6113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6114
6115 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6116
6117         * include/link.h (ELFW): New macro.
6118         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6119         Replace ELF64_R_TYPE with ELFW(R_TYPE).
6120
6121 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6122
6123         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6124         with uint64_t.
6125
6126 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6127
6128         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6129         declaration.
6130         (struct La_x32_retval): Likewise.
6131
6132 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6133
6134         * sysdeps/x86_64/preconfigure.in: New file.
6135         * sysdeps/x86_64/preconfigure: New generated file.
6136
6137 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
6138
6139         [BZ #13824]
6140         * math/e_exp2l.c: Include <float.h>.
6141         (__ieee754_exp2l): Handle overflow and underflow cases
6142         separately.  Only pass fractional part of argument to
6143         __ieee754_expl.
6144         * math/libm-test.inc (exp2_test): Add more tests.
6145
6146         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6147         negating x to take absolute value.
6148         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6149         Likewise.
6150         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6151         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6152         Likewise.
6153         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6154         computing low part if x was negated.
6155         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6156
6157 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6158
6159         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6160         la_x32_gnu_pltexit.
6161         (pltexit): Cast int_retval to ptrdiff_t.
6162         * elf/tst-auditmod3b.c: Likewise.
6163         * elf/tst-auditmod4b.c: Likewise.
6164         * elf/tst-auditmod5b.c: Likewise.
6165         * elf/tst-auditmod6b.c: Likewise.
6166         * elf/tst-auditmod6c.c: Likewise.
6167         * elf/tst-auditmod7b.c: Likewise.
6168
6169         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6170         and x32_gnu_pltexit.
6171
6172         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6173         __ELF_NATIVE_CLASS.
6174         (La_x32_regs): New macro.
6175         (La_x32_retval): Likewise.
6176         (la_x32_gnu_pltenter): New function prototype.
6177         (la_x32_gnu_pltexit): Likewise.
6178
6179 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
6180
6181         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6182         exponent.
6183
6184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6185
6186         * configure.in (libc_cv_cc_nofma): Check for option to disable
6187         generation of FMA instructions.
6188         * configure: Regenerate.
6189         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6190         * sysdeps/ieee754/dbl-64/Makefile: New file.
6191         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6192         Remove brandred-fma4.
6193         (CFLAGS-brandred-fma4.c): Remove.
6194         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6195         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6196         define.
6197         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6198         define.
6199
6200 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6201
6202         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6203         LLONG_MAX != LONG_MAX.
6204         (_itoa_word): Use _ITOA_WORD_TYPE on value.
6205         (_fitoa_word): Likewise.
6206         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6207         LLONG_MAX != LONG_MAX.
6208         * stdio-common/_itowa.h: Include <_itoa.h>.
6209         (_itowa_word): Use _ITOA_WORD_TYPE on value.
6210         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
6211         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
6212         only if not defined.
6213         (_ITOA_WORD_TYPE): Likewise.
6214         (_itoa_word): Use _ITOA_WORD_TYPE on value.
6215         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6216
6217 2012-03-21  David S. Miller  <davem@davemloft.net>
6218
6219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6220
6221 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6222
6223         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6224         of x86_64 when setting libc_cv_slibdir, libdir and
6225         libc_cv_localedir.
6226         * sysdeps/unix/sysv/linux/configure: Regenerated.
6227
6228 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
6229
6230         * manual/lang.texi (Old Varargs): Remove section.
6231         (How Variadic): Update menu.
6232         (va_start): Do not mention varargs.h.
6233
6234 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6235             Joseph Myers  <joseph@codesourcery.com>
6236
6237         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6238         link test.
6239         * configure: Regenerated.
6240
6241 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6242
6243         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6244         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6245         conformtest.pl
6246
6247 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
6248
6249         * NOTES: Remove.
6250         * Makefile (files-for-dist): Remove NOTES.
6251         (NOTES): Remove rule.
6252         * README: Don't refer to NOTES.
6253         * manual/creature.texi: Don't include macros.texi.
6254         * manual/intro.texi (creature.texi): Remove comment referring to
6255         NOTES.
6256
6257         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6258         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6259         * configure: Regenerated.
6260         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6261         LIBC_TRY_CC_OPTION.
6262         (libc_cv_as_i686): Likewise.
6263         (libc_cv_cc_avx): Likewise.
6264         (libc_cv_cc_sse2avx): Likewise.
6265         (libc_cv_cc_fma4): Likewise.
6266         (libc_cv_cc_novzeroupper): Likewise.
6267         * sysdeps/i386/configure: Regenerated.
6268
6269         [BZ #13883]
6270         * sysdeps/i386/fpu/s_cexp.S: Remove.
6271         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6272         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6273         * math/libm-test.inc (cexp_test): Add more tests.
6274         * sysdeps/i386/fpu/libm-test-ulps: Update.
6275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6276
6277 2012-03-21  Allan McRae  <allan@archlinux.org>
6278
6279         * timezone/Makefile: Do not install iso3166.tab and zone.tab
6280
6281 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
6282
6283         [BZ #13871]
6284         * math/w_exp2.c: Do not include <float.h>.
6285         (o_threshold, u_threshold): Remove.
6286         (__exp2): Calculate result before checking finiteness and calling
6287         __kernel_standard.
6288         * math/w_exp2f.c: Likewise.
6289         * math/w_exp2l.c: Likewise.
6290         * math/libm-test.inc (exp2_test): Require overflow exception for
6291         1e6 input.
6292
6293         [BZ #3866]
6294         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6295         range of signed 64-bit integers before using fistpll.  Remove
6296         checks for whether integers fit in mantissa bits.
6297         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6298         the range of signed 32-bit integers before using fistpl.  Remove
6299         checks for whether integers fit in mantissa bits.
6300         * sysdeps/i386/fpu/e_powl.S (p64): New object.
6301         (__ieee754_powl): Test for y outside the range of signed 64-bit
6302         integers before using fistpll.  Reduce 64-bit values to 63-bit
6303         ones as needed.
6304         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6305         divide-by-zero is raised for zero to large negative powers.
6306         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6307         (__ieee754_powl): Test for y outside the range of signed 64-bit
6308         integers before using fistpll.  Reduce 64-bit values to 63-bit
6309         ones as needed.
6310         * math/libm-test.inc (pow_test): Add more tests.
6311
6312 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6313
6314         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6315         <stdio-common/_itoa.h>.
6316         * debug/segfault.c: Likewise.
6317         * elf/dl-cache.c: Likewise.
6318         * elf/dl-minimal.c: Likewise.
6319         * elf/dl-misc.c: Likewise.
6320         * elf/dl-sysdep.c: Likewise.
6321         * elf/dl-version.c: Likewise.
6322         * elf/rtld.c: Likewise.
6323         * hurd/hurdsock.c: Likewise.
6324         * hurd/lookup-retry.c: Likewise.
6325         * malloc/malloc.c: Likewise.
6326         * malloc/mtrace.c: Likewise.
6327         * nscd/nscd_getgr_r.c: Likewise.
6328         * nscd/nscd_getpw_r.c: Likewise.
6329         * nscd/nscd_getserv_r.c: Likewise.
6330         * posix/getopt_init.c: Likewise.
6331         * posix/wordexp.c: Likewise.
6332         * stdio-common/_itoa.c: Likewise.
6333         * stdio-common/printf_fphex.c: Likewise.
6334         * stdio-common/vfprintf.c: Likewise.
6335         * string/_strerror.c: Likewise.
6336         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6337         * sysdeps/i386/i686/hp-timing.h: Likewise.
6338         * sysdeps/mach/_strerror.c: Likewise.
6339         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6340         * sysdeps/mach/hurd/sethostid.c: Likewise.
6341         * sysdeps/mach/hurd/xmknodat.c: Likewise.
6342         * sysdeps/mach/xpg-strerror.c: Likewise.
6343         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6344         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6345         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6346         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6347         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6348         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6349         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6350         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6351         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6352         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6353         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6354         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6355         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6356         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6357         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6358         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6359         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6360         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6361         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6362         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6363         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6364
6365         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6366
6367         * stdio-common/_itoa.h: Moved to ...
6368         * sysdeps/generic/_itoa.h: Here.
6369
6370         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6371
6372         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6373         instead of "_itoa.h" and "_itowa.h".
6374         * stdio-common/vfprintf.: Likewise.
6375
6376 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6377
6378         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6379         <bits/wordsize.h>.
6380         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6381         (__signbit): Likwise.
6382         (llrintf): Likwise.
6383         (llrint): Likwise.
6384
6385 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6386
6387         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6388         __WORDSIZE != 64.
6389
6390 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
6391
6392         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6393         OVERFLOW_EXCEPTION_OK.
6394         * math/libm-test.inc ("Philosophy"): Update comment about
6395         exception testing.
6396         (OVERFLOW_EXCEPTION): Define.
6397         (OVERFLOW_EXCEPTION_OK): Likewise.
6398         (INVALID_EXCEPTION_OK): Renumber.
6399         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6400         (IGNORE_ZERO_INF_SIGN): Likewise.
6401         (test_exceptions): Handle FE_OVERFLOW.
6402         (exp10_test): Expect overflow exceptions.
6403         (exp2_test): Likewise.
6404         (expm1_test): Likewise.
6405         (nextafter_test): Likewise.
6406         (pow_test): Likewise.
6407         (scalbn_test): Likewise.
6408         (scalbln_test): Likewise.
6409
6410 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6411
6412         * sysdeps/x86_64/bits/atomic.h
6413         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6414         64bit integer.
6415         (atomic_exchange_acq): Likewise.
6416         (__arch_exchange_and_add_body): Likewise.
6417         (__arch_add_body): Likewise.
6418         (atomic_add_negative): Likewise.
6419         (atomic_add_zero): Likewise.
6420
6421 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6422
6423         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6424         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6425
6426 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6427
6428         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6429         Check __x86_64__ instead of __WORDSIZE.
6430
6431 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6432
6433         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6434
6435 2012-03-19  David S. Miller  <davem@davemloft.net>
6436
6437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6438
6439         * sysdeps/sparc/fpu/fenv_private.h: New file.
6440         * sysdeps/sparc/fpu/math_private.h: Use it.
6441         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6442         Remove.
6443         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6444         (libc_feholdexcept_setroundl): Remove.
6445         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6446         Remove.
6447         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6448         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6449
6450 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6451
6452         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6453         int64_t instead of long int.
6454         (INSERT_WORDS64): Likwise.
6455
6456 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6457
6458         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6459         _Unwind_GetCFA return to _Unwind_Ptr first.
6460
6461 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
6462
6463         [BZ #13629]
6464         * math/s_clog.c: Include <float.h>.
6465         (__clog): Scale large or subnormal inputs.
6466         * math/s_clogf.c: Likewise.
6467         * math/s_clogl.c: Likewise.
6468         * math/s_clog10.c: Include <float.h>.
6469         (M_LOG10_2): Define.
6470         (__clog10): Scale large or subnormal inputs.
6471         * math/s_clog10f.c: Likewise.
6472         * math/s_clog10l.c: Likewise.
6473         * math/libm-test.inc (clog_test): Add more tests.
6474         (clog10_test): Likewise.
6475         * sysdeps/i386/fpu/libm-test-ulps: Update.
6476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6477
6478         [BZ #11451]
6479         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6480         x and y.
6481         * math/libm-test.inc (atan2_test): Add another test.
6482
6483         * Makerules (common-objdir-compile): Remove.
6484         * sysdeps/unix/Makefile (config-generated): Do not add
6485         $(unix-generated) to variable.
6486         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6487         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6488         Remove rule.
6489         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6490         Likewise.
6491         [generic bits/local_lim.h] (before-compile): Do not append to
6492         variable.
6493         [generic bits/local_lim.h] (common-generated): Likewise.
6494         [generic sys/param.h] (before-compile): Do not append to variable.
6495         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6496         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6497         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6498         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6499         include.
6500         [generic sys/param.h] (sys/param.h-includes): Remove variable.
6501         [generic sys/param.h] (sys/param.h-includes): Remove rule.
6502         [generic sys/param.h] ($(addprefix
6503         $(common-objpfx),$(sys/param.h-includes))): Likewise.
6504         [generic sys/param.h] (common-generated): Do not append to
6505         variable.
6506         [generic sys/param.h] (sysdep_headers): Likewise.
6507         [generic bits/errno.h] (before-compile): Do not append to
6508         variable.
6509         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6510         rule.
6511         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6512         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6513         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6514         [generic bits/errno.h] (common-generated): Do not append to
6515         variable.
6516         [generic bits/ioctls.h] (before-compile): Do not append to
6517         variable.
6518         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6519         rule.
6520         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6521         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6522         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6523         rule.
6524         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6525         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6526         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6527         [generic bits/ioctls.h] (common-generated): Do not append to
6528         variable.
6529         [generic sys/syscall.h] (syscall.h): Remove variable.
6530         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6531         rule.
6532         [generic sys/syscall.h] (before-compile): Do not append to
6533         variable.
6534         [generic sys/syscall.h] (common-generated): Likewise.
6535         * sysdeps/unix/errnos-tmpl.c: Remove file.
6536         * sysdeps/unix/errnos.awk: Likewise.
6537         * sysdeps/unix/ioctls-tmpl.c: Likewise.
6538         * sysdeps/unix/ioctls.awk: Likewise.
6539         * sysdeps/unix/mk-local_lim.c: Likewise.
6540         * sysdeps/unix/snarf-ioctls: Likewise.
6541
6542 2012-03-19  Richard Henderson  <rth@twiddle.net>
6543
6544         * sysdeps/i386/fpu/fenv_private.h: New file.
6545         * sysdeps/i386/fpu/math_private.h: Use it.
6546         (math_opt_barrier, math_force_eval): Remove.
6547         (libc_feholdexcept_setround_53bit): Remove.
6548         (libc_feupdateenv_53bit): Remove.
6549         * sysdeps/x86_64/fpu/math_private.h: Likewise.
6550         (math_opt_barrier, math_force_eval): Remove.
6551         (libc_feholdexcept): Remove.
6552         (libc_feholdexcept_setround): Remove.
6553         (libc_fetestexcept, libc_fesetenv): Remove.
6554         (libc_feupdateenv_test): Remove.
6555         (libc_feupdateenv, libc_feholdsetround): Remove.
6556         (libc_feresetround): Remove.
6557
6558         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6559         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6560
6561         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6562         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6563         (libc_feupdateenv_testl): New.
6564         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6565         (libc_feupdateenv_testf): New.
6566         (libc_feupdateenv): Use libc_feupdateenv_test.
6567         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6568         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6569
6570         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6571         (libc_feholdsetroundf, libc_feholdsetroundl): New.
6572         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6573         (libc_feresetround_noex): New.
6574         (libc_feresetround_noexf): New.
6575         (libc_feresetround_noexl): New.
6576         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6577         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6578         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6579         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6580         SET_RESTORE_ROUND.
6581         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6582         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6583         (__cos): Likewise.
6584         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6585         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6586         SET_RESTORE_ROUND_NOEX.
6587         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6588         SET_RESTORE_ROUND_NOEXF.
6589         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6590         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6591         (libc_feholdsetroundf): New.
6592         (libc_feresetround, libc_feresetroundf): New.
6593
6594         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6595         (libc_feholdexcept_setround_53bit): Convert from macro to function.
6596         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
6597
6598         * sysdeps/generic/math_private.h: Include <fenv.h>.
6599         (default_libc_feholdexcept): New.
6600         (default_libc_feholdexcept_setround): New.
6601         (default_libc_fesetenv, default_libc_feupdateenv): New.
6602         (libc_feholdexcept): Only define if undefined.
6603         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6604         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6605         (libc_feholdexcept_setroundl): Likewise.
6606         (libc_feholdexcept_setround_53bit): Likewise.
6607         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6608         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6609         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6610         (libc_feupdateenv_53bit): Likewise.
6611         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6612         (libc_feholdexcept): Convert from macro to inline function.
6613         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6614         (libc_fesetenv, libc_feupdateenv): Likewise.
6615
6616         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6617         not previously defined.
6618         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6619         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6620         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6621         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6622         * sysdeps/ieee754/flt-32/math_private.h: New file.
6623         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6624         math_private.h below SET_FLOAT_WORD.
6625         (__isnan, __isinf_ns, __finite): Remove.
6626         (__isnanf, __isinf_nsf, __finitef): Remove.
6627
6628 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
6629
6630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6631
6632 2012-03-17  David S. Miller  <davem@davemloft.net>
6633
6634         [BZ #6471]
6635         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6636         for 2.16.
6637
6638 2012-03-16  David S. Miller  <davem@davemloft.net>
6639
6640         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6641         warnings.
6642
6643         [BZ #6471]
6644         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6645         properly.
6646         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6647         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6648         sysdep_routines when subdir is sysvipc.
6649         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6650         __getshmlba helper.
6651
6652         * sysdeps/sparc/fpu/libm-test/ulps: Update.
6653
6654 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6655
6656         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6657         [__LP64__].
6658
6659 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6660
6661         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6662         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6663         (__lround): Renamed to ...
6664         (__llround): This.  Replace long int with long long int.
6665         Define lround functions as aliases of llround functions.
6666         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6667
6668 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6669
6670         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6671         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
6672         adresses to uintptr_t.  Replace "long int" and "unsigned long
6673         int" with "greg_t" on va_arg.
6674
6675 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6676
6677         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6678         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6679
6680         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6681         Move e_machine check before EI_CLASS check.  Handle x32
6682         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6683         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6684         SKIP_EM_IA_64 and include
6685         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6686
6687         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6688         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6689         (add_system_dir): New macro.
6690
6691         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6692         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6693
6694 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
6695
6696         [BZ #2551]
6697         [BZ #2552]
6698         [BZ #2553]
6699         [BZ #2554]
6700         [BZ #2562]
6701         [BZ #2563]
6702         [BZ #2565]
6703         [BZ #2566]
6704         [BZ #2576]
6705         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6706         (y0): Likewise.
6707         * math/w_j0f.c (j0f): Likewise.
6708         (y0f): Likewise.
6709         * math/w_j0l.c (__j0l): Likewise.
6710         (__y0l): Likewise.
6711         * math/w_j1.c (j1): Likewise.
6712         (y1): Likewise.
6713         * math/w_j1f.c (j1f): Likewise.
6714         (y1f): Likewise.
6715         * math/w_j1l.c (__j1l): Likewise.
6716         (__y1l): Likewise.
6717         * math/w_jn.c (jn): Likewise.
6718         (yn): Likewise.
6719         * math/w_jnf.c (jnf): Likewise.
6720         (ynf): Likewise.
6721         * math/w_jnl.c (__jnl): Likewise.
6722         (__ynl): Likewise.
6723         * math/libm-test.inc (j0_test): Add more tests.
6724         (j1_test): Likewise.
6725         (jn_test): Likewise.  Add trailing semicolon to existing test.
6726         (y0_test): Likewise.
6727         (y1_test): Likewise.
6728         * sysdeps/i386/fpu/libm-test-ulps: Update.
6729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6730
6731         [BZ #13851]
6732         [BZ #13854]
6733         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6734         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6735         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6736         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6737         (__tanl): Set errno for infinite argument.
6738         * sysdeps/i386/fpu/mptan.c: Remove.
6739         * sysdeps/i386/fpu/s_tan.S: Likewise.
6740         * sysdeps/i386/fpu/s_tanl.S: Likewise.
6741         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6742         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6743         * math/libm-test.inc (tan_test): Add more tests and enable more
6744         tests for double and long double.
6745         * sysdeps/i386/fpu/libm-test-ulps: Update.
6746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6747
6748 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6749
6750         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6751         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6752
6753 2012-03-16  Roland McGrath  <roland@hack.frob.com>
6754
6755         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6756         * configure.in: Use it for both main tree and add-ons.
6757         * configure: Regenerated.
6758
6759 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6760
6761         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6762
6763 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
6764
6765         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6766         in comment.
6767
6768         [BZ #13851]
6769         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6770         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6771         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6772         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6773         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6774         infinite argument.
6775         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6776         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6777         != 0 for prec == 2.
6778         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6779         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6780         * sysdeps/i386/fpu/s_cosl.S: Likewise.
6781         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6782         * sysdeps/i386/fpu/s_sinl.S: Likewise.
6783         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6784         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6785         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6786         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6787         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6788         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6789         * math/libm-test.inc (cos_test): Add more tests and enable more
6790         tests for long double.
6791         (sin_test): Likewise.
6792         (sincos_test): Likewise.
6793         * sysdeps/i386/fpu/libm-test-ulps: Update.
6794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6795
6796 2012-03-16  David S. Miller  <davem@davemloft.net>
6797
6798         * sysdeps/sparc/fpu/math_private.h: New file.
6799
6800 2012-03-15  David S. Miller  <davem@davemloft.net>
6801
6802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6803         file.
6804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6806         file.
6807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6811         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6812         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6813         sysdep routines.
6814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6815
6816         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6817         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6818
6819         * sysdeps/sparc/sparc-ifunc.h: New file.
6820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6821         sparc-ifunc.h
6822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6824         Likewise.
6825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6826         Likewise.
6827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6831         Likewise.
6832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6837         Likewise.
6838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6839         Likewise.
6840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6844         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6845         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6846         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6847         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6848         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6852         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6853         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6854         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6855         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6856         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6857         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6858         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6859         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6860         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6861         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6862         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6863         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6864
6865 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
6866
6867         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6868         scaling.
6869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6870
6871 2012-03-15  Andreas Jaeger  <aj@suse.de>
6872
6873         [BZ #13852]
6874         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6875         ieee754/flt-32 implementation for sin, cos and sincos.
6876         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6877         * sysdeps/i386/fpu/s_cosf.S: Likewise.
6878         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6879         * sysdeps/i386/fpu/s_sinf.S: Likewise.
6880         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6881         ieee754/flt-32 implementation for tan.
6882
6883         * math/libm-test.inc (cos_test): Enable some large input tests for
6884         float as well
6885         (sin_test): Likewise.
6886         (sincos_test): Likewise.
6887         (tan_test): Add tests for large input.
6888
6889         * sysdeps/i386/fpu/libm-test-ulps: Update.
6890
6891 2012-03-15  Andreas Jaeger  <aj@suse.de>
6892
6893         [BZ #13658]
6894         * math/libm-test.inc (cos_test): Add more test cases.
6895         (sin_test): Likewise.
6896         (sincos_test): Likewise.
6897
6898 2012-03-15  Andreas Jaeger  <aj@suse.de>
6899
6900         [BZ #13837]
6901         * math/libm-test.inc (cos_test): Add a test case for large input
6902         value.
6903         (sin_test): Likewise.
6904         (sincos_test): Likewise.
6905
6906 2012-03-15  Andreas Jaeger  <aj@suse.de>,
6907         Joseph Myers  <joseph@codesourcery.com>
6908
6909         [BZ #13658]
6910         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6911         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6912         * sysdeps/i386/fpu/branred.c: Likewise.
6913         * sysdeps/i386/fpu/dosincos.c: Likewise.
6914         * sysdeps/i386/fpu/mpa.c: Likewise.
6915         * sysdeps/i386/fpu/s_cos.S: Likewise.
6916         * sysdeps/i386/fpu/s_sin.S: Likewise.
6917         * sysdeps/i386/fpu/s_sincos.S: Likewise.
6918         * sysdeps/i386/fpu/sincos32.c: Likewise.
6919
6920         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6921         Define.
6922         (libc_feupdateenv_53bit): Define.
6923         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6924         Define.
6925         (libc_feupdateenv_53bit): Define.
6926
6927         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6928         53 bit (without extend i386 double precision).
6929
6930         * math/libm-test.inc (sincos_test): Add tests for large input.
6931         (sin): Likewise.
6932         (cos): Likewise.
6933
6934         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6935
6936 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
6937
6938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6939
6940 2012-03-15  David S. Miller  <davem@davemloft.net>
6941
6942         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6943         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6944         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6945         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6950         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6955         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6956         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6958         file.
6959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6961         file.
6962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6964         file.
6965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6967         file.
6968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6969         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6970         fmin/fmax sysdep routines.
6971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6972
6973 2012-03-14  David S. Miller  <davem@davemloft.net>
6974
6975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6978         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6979         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6980         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6981         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6982         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6983         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6987         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6988         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6989         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6990         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6993         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6994         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6995         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6996         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6997         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6998         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6999         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7000         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7001         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7002         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7003         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7004         routines.
7005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7006         file.
7007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7009         file.
7010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7012         file.
7013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7015         file.
7016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7018         file.
7019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7021         file.
7022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7023         file.
7024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7025         file.
7026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7027         file.
7028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7029         New file.
7030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7031         file.
7032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7033         file.
7034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7036         file.
7037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7039         file.
7040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7042         file.
7043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7045         VIS3 routines.
7046
7047         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7048         New file.
7049
7050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7051
7052         * sysdeps/sparc/configure.in: New file.
7053         * sysdeps/sparc/configure: Generate.
7054         * configure.in (libc_cv_sparc_as_vis3): Substitute.
7055         * configure: Regenerate.
7056         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7057         * config.make.in (have-as-vis3): New.
7058         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7059         available use -Av9d instead of -Av9a.
7060         * sysdeps/sparc/sparc64/Makefile: Likewise.
7061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7063         New file.
7064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7065         file.
7066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7067         New file.
7068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7069         file.
7070         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7071         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7072         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7073         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7074         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7075
7076         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7077         fzeros/fnegs to load 0x80000000 into a float register instead of
7078         using the stack.
7079         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7080
7081 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
7082
7083         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7084         bits/syscall.h.
7085         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7086         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7087         ($(inst_includedir)/bits/syscall.h): Remove rule.
7088         ($(objpfx)bits/syscall.d): Include instead of
7089         $(objpfx)syscall-list.d.
7090         (generated): Change syscall-list.h and syscall-list.d to
7091         bits/syscall.h and bits/syscall.d.
7092
7093 2012-03-14  Roland McGrath  <roland@hack.frob.com>
7094
7095         [BZ #13846]
7096         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7097
7098 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
7099
7100         [BZ #13841]
7101         * math/s_csqrt.c: Include <float.h>.
7102         (__csqrt): Scale large or subnormal inputs.
7103         * math/s_csqrtf.c: Likewise.
7104         * math/s_csqrtl.c: Likewise.
7105         * math/libm-test.inc (csqrt_test): Add more tests.
7106         * sysdeps/i386/fpu/libm-test-ulps: Update.
7107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7108
7109         [BZ #13840]
7110         * math/libm-test.inc (hypot_test): Add more tests.
7111
7112 2012-03-13  David S. Miller  <davem@davemloft.net>
7113
7114         [BZ #13840]
7115         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7116         double-precision for the calculation instead of scaling.
7117
7118 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
7119
7120         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7121         manipulate bits before adding and subtracting TWO52[sx].
7122         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7123         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7124         Likewise.
7125         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7126
7127 2012-03-13  David S. Miller  <davem@davemloft.net>
7128
7129         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7130         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7131         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7132         rtld-global-offsets.h
7133         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7134
7135         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7136         large parameters.
7137
7138         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7139
7140         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7141         'err' in the ifdef scope in which it is actually used.
7142
7143         * nss/nss_db/db-init.c: Include string.h
7144
7145 2012-03-12  David S. Miller  <davem@davemloft.net>
7146
7147         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7148         masking out of the most significant byte of random value used.
7149         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7150         Fix coding style in previous change.
7151
7152         * sysdeps/unix/sysv/linux/kernel-features.h
7153         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7154         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7155         expression.
7156         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7157         later.
7158
7159 2012-03-11  David S. Miller  <davem@davemloft.net>
7160
7161         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7162         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7163         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7164         for 'resultvar' otherwise things get truncated on 64-bit.
7165
7166         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7167         Fix masking out of the most significant byte of random value used.
7168
7169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7170
7171 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
7172
7173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7174
7175 2012-03-09  David S. Miller  <davem@davemloft.net>
7176
7177         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7178         variables with appropriate CPP guards.
7179         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7180         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
7181         on resulting framesize and the management of the outregs buffer for pltexit.
7182         Preserve floating point return values across _dl_call_pltexit call.
7183         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7184         framesize and the management of the outregs buffer for pltexit.
7185         Preserve floating point return values across _dl_call_pltexit
7186         call.
7187         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7188         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7189         (print_exit): Fix format string for return register value.
7190
7191 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
7192
7193         * sunrpc/Makefile (others): Add rpcgen.
7194         ($(objpfx)rpcgen): Remove special build rule and dependency on
7195         libc.
7196         * sunrpc/rpcgen.c: New file.
7197
7198 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
7199
7200         [BZ #13673]
7201         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7202         * stdio-common/bug-vfprintf-nargs.c: Likewise.
7203         * sysdeps/i386/crti.S: Likewise.
7204         * sysdeps/i386/crtn.S: Likewise.
7205         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7206         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7207         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7208         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7209         * sysdeps/sh/crti.S: Likewise.
7210         * sysdeps/sh/crtn.S: Likewise.
7211         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7212
7213         [BZ #13673]
7214         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7215         with URL.
7216         * locale/programs/locfile-kw.gperf: Likewise.
7217         * locale/programs/charmap-kw.h: Regenerated.
7218         * locale/programs/locfile-kw.h: Likewise.
7219
7220         [BZ #13673]
7221         * intl/plural.y: Replace FSF snail mail address with URL.
7222         * intl/plural.c: Regenerated.
7223
7224 2012-03-09  Richard Henderson  <rth@twiddle.net>
7225
7226         * include/math_private.h: Remove file.
7227         * math/math_private.h: Move file ...
7228         * sysdeps/generic/math_private.h: ... here.
7229
7230         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7231         * sysdeps/powerpc/fpu/math_private.h: Likewise.
7232         * sysdeps/x86_64/fpu/math_private.h: Likewise.
7233
7234         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7235         and <math_private.h>.
7236         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7237         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7238         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7239         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7240         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7241         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7242         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7243         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7244         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7245         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7246         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7247         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7248         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7249         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7250         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7251         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7252         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7253         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7254         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7255         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7256         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7257         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7258         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7259         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7260         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7261         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7262         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7263         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7264         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7265         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7266         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7267         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7268         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7269         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7270         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7271         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7272         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7273         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7274         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7275         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7276         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7277         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7278         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7279         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7280         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7281         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7282         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7283         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7284         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7285         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7286         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7287         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7288         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7289         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7290         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7291         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7292         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7293         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7294         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7295         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7296         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7297         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7299         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7300         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7301         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7302         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7303         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7304         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7305         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7306         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7307         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7308         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7309         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7310         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7311         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7312         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7313         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7314         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7315         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7316         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7317         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7318         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7319         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7320         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7321         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7322         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7323         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7324         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7325         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7326         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7327         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7328         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7329         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7330         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7331         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7332         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7333         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7334         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7335         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7336         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7337         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7338         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7339         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7340         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7341         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7342         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7343         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7344         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7345         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7346         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7347         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7348         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7349         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7350         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7351         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7352         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7353         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7354         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7355         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7356         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7357         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7358         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7359         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7360         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7361         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7362         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7363         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7364         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7365         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7366         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7367         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7368         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7369         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7370         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7371         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7372         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7373         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7374         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7375         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7376         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7377         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7378         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7379         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7380         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7381         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7382         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7383         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7384         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7385         * sysdeps/ieee754/k_standard.c: Likewise.
7386         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7387         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7388         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7389         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7390         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7391         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7392         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7393         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7394         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7395         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7396         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7397         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7398         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7399         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7400         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7401         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7402         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7403         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7404         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7405         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7406         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7407         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7408         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7409         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7410         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7411         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7412         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7413         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7414         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7415         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7416         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7417         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7418         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7419         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7420         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7421         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7422         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7423         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7424         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7425         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7426         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7427         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7428         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7429         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7430         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7431         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7432         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7433         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7434         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7435         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7436         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7437         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7438         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7439         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7440         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7441         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7442         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7443         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7444         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7445         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7446         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7447         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7448         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7449         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7450         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7451         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7452         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7453         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7454         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7455         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7456         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7457         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7458         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7459         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7460         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7461         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7462         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7463         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7464         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7465         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7466         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7467         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7468         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7469         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7470         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7471         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7472         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7473         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7474         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7475         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7476         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7477         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7478         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7479         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7480         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7481         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7482         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7483         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7484         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7485         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7486         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7487         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7488         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7489         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7490         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7491         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7492         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7493         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7494         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7495         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7496         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7497         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7498         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7499         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7500         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7501         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7502         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7503         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7504         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7505         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7506         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7507         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7508         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7509         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7510         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7511         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7512         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7513         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7514         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7515         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7516         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7517         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7518         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7519         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7520         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7521         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7522         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7523         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7524         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7525         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7526         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7527         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7528         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7529         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7530         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7531         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7532         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7533         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7534         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7535         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7536         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7537         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7538         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7539         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7540         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7541         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7542         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7543         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7544         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7545         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7546         * sysdeps/ieee754/s_lib_version.c: Likewise.
7547         * sysdeps/ieee754/s_matherr.c: Likewise.
7548         * sysdeps/ieee754/s_signgam.c: Likewise.
7549         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7550         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7551         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7552         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7553         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7554         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7555         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7556         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7557         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7558         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7559         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7560         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7561         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7562         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7563         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7564         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7565         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7566         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7567         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7568         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7569         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7570
7571 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
7572
7573         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7574         * sunrpc/rpc_main.c: Likewise.
7575         * sunrpc/rpc_svcout.c: Likewise.
7576
7577 2012-03-09  David S. Miller  <davem@davemloft.net>
7578
7579         * include/math_private.h: New file.
7580
7581 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
7582
7583         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7584         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7585         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7586         from <bits/socket_type.h>.
7587         (enum __socket_type): Don't define here.
7588         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7590         bits/socket_type.h.
7591
7592         [BZ #13566]
7593         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7594         checking __USE_GNU.
7595
7596         * Makerules ($(inst_includedir)/%.h): New rule.
7597         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7598         (install-others): Remove variable setting.
7599         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7600
7601 2012-03-08  Richard Henderson  <rth@twiddle.net>
7602
7603         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7604         from macro to inline function; merge with the
7605         !__LIBC_INTERNAL_MATH_INLINES version.
7606         (__ieee754_sqrtf): Likewise.
7607
7608         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7609         to inline function.
7610         (__rintf, __floor, __floorf): Likewise.
7611
7612         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7613         macro to inline function.
7614         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7615
7616         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7617         not <math/math_private.h>.
7618
7619 2012-03-08  David S. Miller  <davem@davemloft.net>
7620
7621         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7622         copyright year.
7623         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7624
7625 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
7626
7627         * resolv/gai_misc.c (handle_requests): Fix struct timespec
7628         normalization.
7629         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7630         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7631
7632 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
7633
7634         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
7635         be defined individually, they must be defined as a block.  Define
7636         S for printing a string instead of hidint the different by using a
7637         macro for adding the 'l'.
7638         * stdio-common/tst-fphex-wide.c: Adjust.
7639
7640 2012-03-07  Marek Polacek  <polacek@redhat.com>
7641
7642         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7643
7644 2012-03-08  Marek Polacek  <polacek@redhat.com>
7645
7646         [BZ #13806]
7647         * stdio-common/Makefile (tests): Add tst-fphex-wide.
7648         * stdio-common/tst-fphex.c: Define a few macros to make the
7649         test reusable.  Use them.
7650         * stdio-common/tst-fphex-wide.c: New file.
7651
7652 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
7653
7654         [BZ #6911]
7655         * manual/macros.texi (gnusystems): New macro.
7656         (nongnusystems): Likewise.
7657         (gnulinuxhurdsystems): Likewise.
7658         (gnuhurdsystems): Likewise..
7659         (gnulinuxsystems): Likewise.
7660         * manual/charset.texi: Use new macros or @theglibc{} to refer to
7661         variants of the GNU system, not "GNU system".
7662         * manual/conf.texi: Likewise.
7663         * manual/errno.texi: Likewise.  Update example of errno macro
7664         expansion.
7665         * manual/filesys.texi: Likewise.
7666         (getumask): Document as specific to GNU/Hurd.
7667         * manual/install.texi: Likewise.  Reword some references to
7668         GNU/Linux.
7669         * manual/intro.texi: Likewise.
7670         * manual/io.texi: Likewise.
7671         (File Name Portability): Detail which constraints are inapplicable
7672         to all GNU systems and which are only inapplicable to GNU/Hurd.
7673         * manual/job.texi: Likewise.
7674         * manual/llio.texi: Likewise.
7675         (O_NOCTTY): Document as present on GNU/Linux.
7676         * manual/maint.texi: Likewise.
7677         * manual/memory.texi: Likewise.
7678         * manual/pattern.texi: Likewise.
7679         * manual/pipe.texi: Likewise.
7680         * manual/process.texi: Likewise.
7681         * manual/resource.texi: Likewise.
7682         (RUSAGE_CHILDREN): Remove statement about specifying a particular
7683         child on GNU/Hurd.
7684         * manual/setjmp.texi: Likewise.
7685         * manual/signal.texi: Likewise.
7686         * manual/startup.texi: Likewise.
7687         * manual/stdio.texi: Likewise.
7688         * manual/terminal.texi: Likewise.
7689         (ONLCR): Document as POSIX.
7690         (OXTABS): Document availability on GNU/Linux as XTABS.
7691         (ONOEOT): Document availability separately from other bits.
7692         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7693         * manual/time.texi: Likewise.
7694         * manual/users.texi: Likewise.
7695         * INSTALL: Regenerated.
7696         * sysdeps/gnu/errlist.c: Regenerated.
7697
7698         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7699         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7700         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
7701         puts.
7702         * configure: Regenerated.
7703
7704 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
7705
7706         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7707         default includes instead of AC_HEADER_CHECK.
7708         * sysdeps/i386/configure: Regenerated.
7709
7710         [BZ #10716]
7711         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7712         * math/s_cacoshf.c (__cacoshf): Likewise.
7713         * math/s_cacoshl.c (__cacoshl): Likewise.
7714         * math/s_casinh.c (__casinh): Set signs of result from argument.
7715         * math/s_casinhf.c (__casinhf): Likewise.
7716         * math/s_casinhl.c (__casinhl): Likewise.
7717         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7718         (casinh_test): Add more tests.
7719         * sysdeps/i386/fpu/libm-test-ulps: Update.
7720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7721
7722 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
7723
7724         * po/zh_TW.po: Update from translation team.
7725
7726         * login/Makefile (distribute): Remove variable.
7727         * catgets/Makefile: Likewise.
7728         * mach/Makefile: Likewise.
7729         * malloc/Makefile: Likewise.
7730         * misc/Makefile: Likewise.
7731         * iconv/Makefile: Likewise.
7732         * nscd/Makefile: Likewise.
7733         * hurd/Makefile: Likewise.
7734         * manual/Makefile: Likewise.
7735         * locale/Makefile: Likewise.
7736         * intl/Makefile: Likewise.
7737         * conform/Makefile: Likewise.
7738         * nss/Makefile: Likewise.
7739         * time/Makefile: Likewise.
7740         * soft-fp/Makefile: Likewise.
7741         * dirent/Makefile: Likewise.
7742         * gmon/Makefile: Likewise.
7743         * po/Makefile: Likewise.
7744         * rt/Makefile: Likewise.
7745         * socket/Makefile: Likewise.
7746         * math/Makefile: Likewise.
7747         * signal/Makefile: Likewise.
7748         * debug/Makefile: Likewise.
7749         * elf/Makefile: Likewise.
7750         * timezone/Makefile: Likewise.
7751         * stdlib/Makefile: Likewise.
7752         * iconvdata/Makefile: Likewise.
7753         * sunrpc/Makefile: Likewise.
7754         * io/Makefile: Likewise.
7755         * argp/Makefile: Likewise.
7756         * inet/Makefile: Likewise.
7757         * hesiod/Makefile: Likewise.
7758         * grp/Makefile: Likewise.
7759         * csu/Makefile: Likewise.
7760         * wctype/Makefile: Likewise.
7761         * crypt/Makefile: Likewise.
7762         * libio/Makefile: Likewise.
7763         * string/Makefile: Likewise.
7764         * nis/Makefile: Likewise.
7765         * resolv/Makefile: Likewise.
7766         * stdio-common/Makefile: Likewise.
7767         * wcsmbs/Makefile: Likewise.
7768         * dlfcn/Makefile: Likewise.
7769         * posix/Makefile: Likewise.
7770
7771         [BZ #6959]
7772         * timezone/Makefile: Don't install timezone files, just the programs
7773         and scripts.
7774
7775 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
7776
7777         * nss/databases.def: Add missing gshadow entry.
7778
7779         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
7780
7781 2012-03-06  Marek Polacek  <polacek@redhat.com>
7782
7783         [BZ #13726]
7784         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7785         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7786         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7787         * stdio-common/tst-long-dbl-fphex.c: New file.
7788
7789 2012-03-06  David S. Miller  <davem@davemloft.net>
7790
7791         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7792         (set_obp_int): New function.
7793         (get_obp_int): New function.
7794         (__get_clockfreq_via_dev_openprom): Likewise.
7795         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7796         Avoid unused variable warnings on 'val' and use builtin_expect.
7797         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7798         __builtin_expect.
7799         (INLINE_CLONE_SYSCALL): Likewise.
7800
7801 2012-03-05  David S. Miller  <davem@davemloft.net>
7802
7803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7804
7805 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
7806
7807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7808
7809         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7810         only for |x| >= 40.
7811         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7812
7813 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7814
7815         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7816         Replace gettimeofday with __vdso_gettimeofday.
7817
7818         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7819         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7820         __vdso_clock_gettime and __vdso_getcpu.
7821
7822         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7823         time with __vdso_time.
7824
7825 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
7826
7827         * manual/lang.texi (size_t): Note types to which size_t may be
7828         equivalent with the GNU C Library, but do not describe when
7829         differences between them are significant.
7830
7831 2012-03-05  Andreas Jaeger  <aj@suse.de>
7832
7833         * sysdeps/i386/fpu/libm-test-ulps: Update.
7834
7835 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
7836
7837         [BZ #3976]
7838         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7839         (__ieee754_pow): Save and restore rounding mode and use
7840         round-to-nearest for main computations.
7841         * math/libm-test.inc (pow_test_tonearest): New function.
7842         (pow_test_towardzero): Likewise.
7843         (pow_test_downward): Likewise.
7844         (pow_test_upward): Likewise.
7845         (main): Call the new functions.
7846         * sysdeps/i386/fpu/libm-test-ulps: Update.
7847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7848
7849         [BZ #3976]
7850         * math/libm-test.inc (cosh_test_tonearest): New function.
7851         (cosh_test_towardzero): Likewise.
7852         (cosh_test_downward): Likewise.
7853         (cosh_test_upward): Likewise.
7854         (sinh_test_tonearest): Likewise.
7855         (sinh_test_towardzero): Likewise.
7856         (sinh_test_downward): Likewise.
7857         (sinh_test_upward): Likewise.
7858         (main): Call the new functions.
7859         * sysdeps/i386/fpu/libm-test-ulps: Update.
7860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7861
7862 2012-03-05  Tom de Vries  <tom@codesourcery.com>
7863
7864         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7865         default stack guard is set in last bytes.
7866         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7867
7868 2012-03-05  Kees Cook  <keescook@chromium.org>
7869
7870         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7871
7872         [BZ #13656]
7873         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7874         possibly allocate from heap instead of stack.
7875         * stdio-common/bug-vfprintf-nargs.c: New file.
7876         * stdio-common/Makefile (tests): Add nargs overflow test.
7877
7878 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
7879
7880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7881
7882 2012-03-03  Marek Polacek  <polacek@redhat.com>
7883
7884         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7885         * math/math_private.h: Likewise.
7886         * stdlib/tst-strtod.c: Likewise.
7887         * sysdeps/i386/i486/bits/atomic.h: Likewise.
7888         * sysdeps/x86_64/bits/atomic.h: Likewise.
7889
7890 2012-03-02  David S. Miller  <davem@davemloft.net>
7891
7892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7896         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7897         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7898         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7899         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7900
7901 2012-03-02  Roland McGrath  <roland@hack.frob.com>
7902
7903         [BZ #13792]
7904         * manual/examples/README: New file, says the example source files
7905         can be used under GPL>=2.
7906         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7907         line containing just "*/".
7908         * manual/examples/add.c: Add copyright header (GPL>=2).
7909         * manual/examples/argp-ex1.c: Likewise.
7910         * manual/examples/argp-ex2.c: Likewise.
7911         * manual/examples/argp-ex3.c: Likewise.
7912         * manual/examples/argp-ex4.c: Likewise.
7913         * manual/examples/atexit.c: Likewise.
7914         * manual/examples/db.c: Likewise.
7915         * manual/examples/dir.c: Likewise.
7916         * manual/examples/dir2.c: Likewise.
7917         * manual/examples/execinfo.c: Likewise.
7918         * manual/examples/filecli.c: Likewise.
7919         * manual/examples/filesrv.c: Likewise.
7920         * manual/examples/fmtmsgexpl.c: Likewise.
7921         * manual/examples/genpass.c: Likewise.
7922         * manual/examples/inetcli.c: Likewise.
7923         * manual/examples/inetsrv.c: Likewise.
7924         * manual/examples/isockad.c: Likewise.
7925         * manual/examples/longopt.c: Likewise.
7926         * manual/examples/memopen.c: Likewise.
7927         * manual/examples/memstrm.c: Likewise.
7928         * manual/examples/mkfsock.c: Likewise.
7929         * manual/examples/mkisock.c: Likewise.
7930         * manual/examples/mygetpass.c: Likewise.
7931         * manual/examples/pipe.c: Likewise.
7932         * manual/examples/popen.c: Likewise.
7933         * manual/examples/rprintf.c: Likewise.
7934         * manual/examples/search.c: Likewise.
7935         * manual/examples/select.c: Likewise.
7936         * manual/examples/setjmp.c: Likewise.
7937         * manual/examples/sigh1.c: Likewise.
7938         * manual/examples/sigusr.c: Likewise.
7939         * manual/examples/stpcpy.c: Likewise.
7940         * manual/examples/strdupa.c: Likewise.
7941         * manual/examples/strftim.c: Likewise.
7942         * manual/examples/strncat.c: Likewise.
7943         * manual/examples/subopt.c: Likewise.
7944         * manual/examples/swapcontext.c: Likewise.
7945         * manual/examples/termios.c: Likewise.
7946         * manual/examples/testopt.c: Likewise.
7947         * manual/examples/testpass.c: Likewise.
7948         * manual/examples/timeval_subtract.c: Likewise.
7949
7950         [BZ #13792]
7951         * manual/time.texi (Elapsed Time): Move timeval_subtract example
7952         function to ...
7953         * manual/timeval_subtract.c.texi: ... here, new file.
7954
7955 2012-03-02  David S. Miller  <davem@davemloft.net>
7956
7957         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7958
7959 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
7960
7961         [BZ #3976]
7962         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7963         (__sin): Save and restore rounding mode and use round-to-nearest
7964         for all computations.
7965         (__cos): Save and restore rounding mode and use round-to-nearest
7966         for all computations.
7967         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7968         <fenv.h>.
7969         (tan): Save and restore rounding mode and use round-to-nearest for
7970         all computations.
7971         * math/libm-test.inc (cos_test_tonearest): New function.
7972         (cos_test_towardzero): Likewise.
7973         (cos_test_downward): Likewise.
7974         (cos_test_upward): Likewise.
7975         (sin_test_tonearest): Likewise.
7976         (sin_test_towardzero): Likewise.
7977         (sin_test_downward): Likewise.
7978         (sin_test_upward): Likewise.
7979         (tan_test_tonearest): Likewise.
7980         (tan_test_towardzero): Likewise.
7981         (tan_test_downward): Likewise.
7982         (tan_test_upward): Likewise.
7983         (main): Call the new functions.
7984         * sysdeps/i386/fpu/libm-test-ulps: Update.
7985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7986
7987         [BZ #10135]
7988         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7989         small n, then large n, before computing and testing k+n.
7990         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7991         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7992         Likewise.
7993         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7994         Likewise.
7995         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7996         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7997         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7998         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7999         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8000         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8001         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8002         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8003         * math/libm-test.inc (scalbn_test): Add more tests.
8004         (scalbln_test): Likewise.
8005
8006         * manual/filesys.texi (mode_t): Describe constraints on size and
8007         signedness, not exact equivalence to a particular type.
8008         (ino_t): Likewise.
8009         (ino64_t): Likewise.
8010         (dev_t): Likewise.
8011         (nlink_t): Likewise.
8012         (blkcnt_t): Likewise.
8013         (blkcnt64_t): Likewise.
8014         * manual/llio.texi (off_t): Likewise.
8015
8016         [BZ #3976]
8017         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8018         (__ieee754_exp): Save and restore rounding mode and use
8019         round-to-nearest for all computations.
8020         * math/libm-test.inc (exp_test_tonearest): New function.
8021         (exp_test_towardzero): Likewise.
8022         (exp_test_downward): Likewise.
8023         (exp_test_upward): Likewise.
8024         (main): Call the new functions.
8025         * sysdeps/i386/fpu/libm-test-ulps: Update.
8026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8027
8028 2012-03-01  Chris Demetriou  <cgd@google.com>
8029
8030         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8031         have predictable order.
8032
8033 2012-03-01  David S. Miller  <davem@davemloft.net>
8034
8035         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8036
8037         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8038         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8039         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8040         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8041
8042         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8043         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8044         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8046         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8047         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8048         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8049         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8050         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8051
8052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8053
8054         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8055         * sysdeps/sparc/fpu/libm-test-ulps: to here.
8056         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8057
8058         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8059         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8060         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8061         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8062         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8063         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8064         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8065         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8066         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8067         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8068         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8069         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8070         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8071         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8072         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8073         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8074         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8075         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8076         * sysdeps/sparc/elf/configure: Regenerated.
8077
8078 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
8079
8080         * configure.in (AS, LD): Require binutils 2.20 or later.
8081         * configure: Regenerated.
8082         * manual/install.texi (Tools for Compilation): Give binutils 2.20
8083         as required minimum version.
8084         * INSTALL: Regenerated.
8085
8086         [BZ #2541]
8087         [BZ #4108]
8088         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8089         before squaring exponent.
8090         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8091         bottom long double and 27 bits of top long double before squaring
8092         exponent.
8093         * math/libm-test.inc (erfc_test): Add more tests.
8094         * sysdeps/i386/fpu/libm-test-ulps: Update.
8095         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8097
8098 2012-03-01  Kai Tietz  <ktietz@redhat.com>
8099
8100         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8101         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8102         containing bit-fields.
8103         * soft-fp/extended.h (_FP_UNION_E): Likewise.
8104         * soft-fp/single.h (_FP_UNION_S): Likewise.
8105         * soft-fp/double.h (_FP_UNION_D): Likewise.
8106
8107 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
8108
8109         [BZ #13786]
8110         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8111         not include ../strcmp.S.
8112         [USE_AS_STRNCASECMP_L]: Likewise.
8113         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8114         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8115         * sysdeps/i386/i686/multiarch/strncase_l-c.c
8116         (__strncasecmp_l_ia32): Define as alias to
8117         __strncasecmp_l_nonascii.
8118
8119         [BZ #5794]
8120         * math/libm-test.inc (expm1_test): Add test for bug 5794.
8121         * sysdeps/i386/fpu/libm-test-ulps: Update.
8122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8123
8124         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8126
8127 2012-02-29  Jeff Law  <law@redhat.com>
8128
8129         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8130         out of bounds read.
8131
8132 2012-02-29  Marek Polacek  <polacek@redhat.com>
8133
8134         [BZ #13706]
8135         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8136         * elf/Makefile: Add rules to run tst-unused-dep.out.
8137
8138 2012-02-28  David S. Miller  <davem@davemloft.net>
8139
8140         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8141         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8142         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8143         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8144         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8145         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8146
8147 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
8148
8149         * math/libm-test.inc (llround_test): Move one test from
8150         lround_test.  Use TEST_f_L in moved test.
8151         (lround_test): Move misplaced test to llround_test.  Add testcase
8152         from bug 2561.
8153
8154 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
8155
8156         * sysdeps/x86_64/fpu/e_expf.S: New file.
8157         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8158
8159 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
8160
8161         [BZ #13637]
8162         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8163         of remain_len that may cause incomplete multi-byte character and
8164         false match.
8165         * posix/bug-regex33.c: New file.
8166         * posix/Makefile (tests): Add bug-regex33.
8167
8168 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
8169
8170         * manual/macros.texi: New file.
8171         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8172         * manual/libc.texinfo: Include macros.texi.
8173         * manual/creatute.texi: Likewise.
8174         * manual/install.texi: Likewise.
8175         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8176         @glibcadj{} in references to the GNU C Library.
8177         * manual/charset.texi: Likewise.
8178         * manual/conf.texi: Likewise.
8179         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
8180         when not using those macros.
8181         * manual/creature.texi: Likewise.
8182         * manual/crypt.texi: Likewise.
8183         * manual/errno.texi: Likewise.
8184         * manual/filesys.texi: Likewise.
8185         * manual/header.texi: Likewise.
8186         * manual/install.texi: Likewise.
8187         * manual/intro.texi: Likewise.
8188         * manual/io.texi: Likewise.
8189         * manual/job.texi: Likewise.
8190         * manual/lang.texi: Likewise.
8191         * manual/libc.texiinfo: Likewise.
8192         * manual/llio.texi: Likewise.
8193         * manual/locale.texi: Likewise.
8194         * manual/maint.texi: Likewise.
8195         * manual/math.texi: Likewise.
8196         * manual/memory.texi: Likewise.
8197         * manual/message.texi: Likewise.
8198         * manual/nss.texi: Likewise.
8199         * manual/pattern.texi: Likewise.
8200         * manual/process.texi: Likewise.
8201         * manual/resource.texi: Likewise.
8202         * manual/search.texi: Likewise.
8203         * manual/setjmp.texi: Likewise.
8204         * manual/signal.texi: Likewise.
8205         * manual/socket.texi: Likewise.
8206         * manual/startup.texi: Likewise.
8207         * manual/stdio.texi: Likewise.
8208         * manual/string.texi: Likewise.
8209         * manual/sysinfo.texi: Likewise.
8210         * manual/syslog.texi: Likewise.
8211         * manual/terminal.texi: Likewise.
8212         * manual/time.texi: Likewise.
8213         * manual/users.texi: Likewise.
8214         * INSTALL: Regenerated.
8215         * NOTES: Regenerated.
8216         * sysdeps/gnu/errlist.c: Regenerated.
8217
8218 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
8219
8220         * include/dirent.h: Include <dirstream.h> before
8221         <dirent/dirent.h>.
8222
8223 2012-02-28  David S. Miller  <davem@davemloft.net>
8224
8225         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8226         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8227         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8228         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8229
8230 2012-02-27  David S. Miller  <davem@davemloft.net>
8231
8232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8234         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8235         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8236
8237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8238         frame pointer instead of stack pointer relative arg slot.
8239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8240         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8241         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8242
8243 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
8244
8245         [BZ #3992]
8246         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8247
8248 2012-02-27  David S. Miller  <davem@davemloft.net>
8249
8250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8254         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8255         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8256         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8257         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8258
8259 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
8260
8261         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8262         later.  Allow versions 5-9.
8263         * configure: Regenerated.
8264         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8265         required minimum version and 4.6 as recommended version.  Do not
8266         mention bugs in GCC 2.7 and 2.8.
8267         * INSTALL: Regenerated.
8268
8269 2012-02-27  David S. Miller  <davem@davemloft.net>
8270
8271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8275         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8276         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8277         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8278         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8279
8280         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8281         manipulate bits before adding and subtracting TWO112[sx].
8282         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8283
8284 2012-02-27  Roland McGrath  <roland@hack.frob.com>
8285
8286         [BZ #13775]
8287         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8288         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8289         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8290         being in POSIX, because they are in 1003.1-2008.
8291
8292         * rt/tst-aio.c: Include <fcntl.h>.
8293         * rt/tst-aio7.c: Likewise.
8294         * rt/tst-aio64.c: Likewise.
8295
8296         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8297
8298 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
8299
8300         * manual/install.texi (--with-headers): Describe headers as
8301         interface headers, not private headers.
8302         (Specific advice for GNU/Linux systems): Describe use of headers
8303         from "make headers_install", not private headers from older
8304         kernels.
8305         * INSTALL: Regenerated.
8306         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8307         Change to 2.6.19.
8308         * sysdeps/unix/sysv/linux/configure: Regenerated.
8309
8310         * manual/llio.texi (fclean): Remove documentation.
8311
8312         * manual/Makefile (libc-texi-generated): New variable.  Include
8313         version.texi.
8314         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8315         $(libc-texi-generated), not duplicated list of files.
8316         (version.texi, stamp-version): New rules.
8317         (realclean): Remove $(libc-texi-generated), not individual files
8318         from that list.  Do not remove dir-add.texinfo.
8319         * manual/libc.texinfo: Comment out uses of edition numbers and
8320         references to printed manual.  Remove last-updated dates.
8321         (EDITION): Comment out.
8322         (ISBN): Likewise.
8323         (VERSION, UPDATED): Remove.
8324         (version.texi): Include.
8325
8326 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
8327
8328         * sysdeps/posix/spawni.c: Include <signal.h>.
8329         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8330         * sysdeps/pthread/aio_fsync.c: Likewise.
8331
8332 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
8333
8334         * conform/Makefile (tests): Run only when not cross-compiling and
8335         when fast-check is not defined.
8336
8337         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8338         * conform/data/limits.h-data: Fixes for POSIX2008.
8339         * conform/run-conformtest.sh: Run all tests.
8340         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8341         headers.
8342         * include/bits/dlfcn.h: Likewise.
8343         * include/langinfo.h: Likewise.
8344         * include/monetary.h: Likewise.
8345         * include/sys/poll.h: Likewise.
8346
8347         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8348         for __USE_GNU.
8349         * posix/spawn.h: Define __need_sigset_t.
8350         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8351         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8352         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
8353         to get sigevent_t only.
8354         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8355         only for __USE_GNU.
8356         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8357         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8358         process_vm_writev only for __USE_GNU.
8359         * termios/termios.h: Declare tcgetsid also for POSIX2008.
8360
8361         * conform/Makefile: For now ignore errors from run-conformtest.
8362         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
8363         POSIX to avoid namespace pollution.  Don't prepend headers.
8364         * conform/data/aio.h-data: Fixes for POSIX testing.
8365         * conform/data/fcntl.h-data: Likewise.
8366         * conform/data/glob.h-data: Likewise.
8367         * conform/data/grp.h-data: Likewise.
8368         * conform/data/pthread.h-data: Likewise.
8369         * conform/data/pwd.h-data: Likewise.
8370         * conform/data/signal.h-data: Likewise.
8371         * conform/data/spawn.h-data: Likewise.
8372         * conform/data/stdio.h-data: Likewise.
8373         * conform/data/stdlib.h-data: Likewise.
8374         * conform/data/stropts.h-data: Likewise.
8375         * conform/data/sys/mman.h-data: Likewise.
8376         * conform/data/sys/stat.h-data: Likewise.
8377         * conform/data/sys/types.h-data: Likewise.
8378         * conform/data/sys/wait.h-data: Likewise.
8379         * conform/data/time.h-data: Likewise.
8380         * conform/data/unistd.h-data: Likewise.
8381         * conform/data/utime.h-data: Likewise.
8382
8383         * io/sys/stat.h: fchmod was always in POSIX.
8384         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8385         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8386         * rt/aio.h: Define __need_timespec before including <time.h>.
8387         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8388         struct.  Add forward declaration of pthread_attr_t and use it in
8389         sigevent.
8390         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8391         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8392         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8393         always remove CLK_TCK definition.
8394
8395 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
8396
8397         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8398
8399 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
8400
8401         * conform/run-conformtest.sh: New file.
8402         * conform/Makefile: Run run-conformtest for tests.
8403         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
8404         support.
8405
8406         * conform/data/uchar.h-data: New file.
8407         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8408         * conform/data/arpa/inet.h-data: Likewise.
8409         * conform/data/assert.h-data: Likewise.
8410         * conform/data/complex.h-data: Likewise.
8411         * conform/data/cpio.h-data: Likewise.
8412         * conform/data/ctype.h-data: Likewise.
8413         * conform/data/dirent.h-data: Likewise.
8414         * conform/data/dlfcn.h-data: Likewise.
8415         * conform/data/errno.h-data: Likewise.
8416         * conform/data/fcntl.h-data: Likewise.
8417         * conform/data/float.h-data: Likewise.
8418         * conform/data/fmtmsg.h-data: Likewise.
8419         * conform/data/fnmatch.h-data: Likewise.
8420         * conform/data/ftw.h-data: Likewise.
8421         * conform/data/glob.h-data: Likewise.
8422         * conform/data/grp.h-data: Likewise.
8423         * conform/data/iconv.h-data: Likewise.
8424         * conform/data/inttypes.h-data: Likewise.
8425         * conform/data/langinfo.h-data: Likewise.
8426         * conform/data/libgen.h-data: Likewise.
8427         * conform/data/limits.h-data: Likewise.
8428         * conform/data/locale.h-data: Likewise.
8429         * conform/data/math.h-data: Likewise.
8430         * conform/data/monetary.h-data: Likewise.
8431         * conform/data/mqueue.h-data: Likewise.
8432         * conform/data/ndbm.h-data: Likewise.
8433         * conform/data/net/if.h-data: Likewise.
8434         * conform/data/netdb.h-data: Likewise.
8435         * conform/data/netinet/in.h-data: Likewise.
8436         * conform/data/nl_types.h-data: Likewise.
8437         * conform/data/poll.h-data: Likewise.
8438         * conform/data/pthread.h-data: Likewise.
8439         * conform/data/pwd.h-data: Likewise.
8440         * conform/data/regex.h-data: Likewise.
8441         * conform/data/sched.h-data: Likewise.
8442         * conform/data/search.h-data: Likewise.
8443         * conform/data/semaphore.h-data: Likewise.
8444         * conform/data/setjmp.h-data: Likewise.
8445         * conform/data/signal.h-data: Likewise.
8446         * conform/data/spawn.h-data: Likewise.
8447         * conform/data/stdarg.h-data: Likewise.
8448         * conform/data/stdio.h-data: Likewise.
8449         * conform/data/stdlib.h-data: Likewise.
8450         * conform/data/string.h-data: Likewise.
8451         * conform/data/strings.h-data: Likewise.
8452         * conform/data/stropts.h-data: Likewise.
8453         * conform/data/sys/ipc.h-data: Likewise.
8454         * conform/data/sys/mman.h-data: Likewise.
8455         * conform/data/sys/msg.h-data: Likewise.
8456         * conform/data/sys/resource.h-data: Likewise.
8457         * conform/data/sys/select.h-data: Likewise.
8458         * conform/data/sys/sem.h-data: Likewise.
8459         * conform/data/sys/shm.h-data: Likewise.
8460         * conform/data/sys/socket.h-data: Likewise.
8461         * conform/data/sys/stat.h-data: Likewise.
8462         * conform/data/sys/statvfs.h-data: Likewise.
8463         * conform/data/sys/time.h-data: Likewise.
8464         * conform/data/sys/timeb.h-data: Likewise.
8465         * conform/data/sys/times.h-data: Likewise.
8466         * conform/data/sys/types.h-data: Likewise.
8467         * conform/data/sys/uio.h-data: Likewise.
8468         * conform/data/sys/un.h-data: Likewise.
8469         * conform/data/sys/utsname.h-data: Likewise.
8470         * conform/data/sys/wait.h-data: Likewise.
8471         * conform/data/syslog.h-data: Likewise.
8472         * conform/data/tar.h-data: Likewise.
8473         * conform/data/termios.h-data: Likewise.
8474         * conform/data/utime.h-data: Likewise.
8475         * conform/data/utmpx.h-data: Likewise.
8476         * conform/data/varargs.h-data: Likewise.
8477         * conform/data/wchar.h-data: Likewise.
8478         * conform/data/wctype.h-data: Likewise.
8479         * conform/data/wordexp.h-data: Likewise.
8480
8481         * include/stropts.h: New file.
8482         * include/uchar.h: New file.
8483         * include/aio.h: Changes to allow conformtest.pl to use the headers.
8484         * include/assert.h: Likewise.
8485         * include/ctype.h: Likewise.
8486         * include/dirent.h: Likewise.
8487         * include/dlfcn.h: Likewise.
8488         * include/fcntl.h: Likewise.
8489         * include/fnmatch.h: Likewise.
8490         * include/glob.h: Likewise.
8491         * include/grp.h: Likewise.
8492         * include/libio.h: Likewise.
8493         * include/locale.h: Likewise.
8494         * include/math.h: Likewise.
8495         * include/net/if.h: Likewise.
8496         * include/netdb.h: Likewise.
8497         * include/netinet/in.h: Likewise.
8498         * include/pthread.h: Likewise.
8499         * include/pwd.h: Likewise.
8500         * include/regex.h: Likewise.
8501         * include/sched.h: Likewise.
8502         * include/search.h: Likewise.
8503         * include/setjmp.h: Likewise.
8504         * include/signal.h: Likewise.
8505         * include/stdio.h: Likewise.
8506         * include/stdlib.h: Likewise.
8507         * include/string.h: Likewise.
8508         * include/sys/cdefs.h: Likewise.
8509         * include/sys/mman.h: Likewise.
8510         * include/sys/msg.h: Likewise.
8511         * include/sys/resource.h: Likewise.
8512         * include/sys/select.h: Likewise.
8513         * include/sys/socket.h: Likewise.
8514         * include/sys/stat.h: Likewise.
8515         * include/sys/statvfs.h: Likewise.
8516         * include/sys/time.h: Likewise.
8517         * include/sys/times.h: Likewise.
8518         * include/sys/uio.h: Likewise.
8519         * include/sys/utsname.h: Likewise.
8520         * include/sys/wait.h: Likewise.
8521         * include/termios.h: Likewise.
8522         * include/time.h: Likewise.
8523         * include/ulimit.h: Likewise.
8524         * include/unistd.h: Likewise.
8525         * include/utime.h: Likewise.
8526         * include/wchar.h: Likewise.
8527         * include/wctype.h: Likewise.
8528         * include/wordexp.h: Likewise.
8529
8530         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8531
8532         * time/time.h: TIME_UTC must be a macro.
8533         Make timespec_get available for ISO C11 only as well.
8534
8535 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
8536
8537         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8538         Reported by Peng Haitao <penght@cn.fujitsu.com>.
8539
8540 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8541
8542         * configure.in: Use -o not -a in test for unsupported multi-arch.
8543
8544 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8545
8546         * manual/texinfo.tex: Update to version 2012-01-19.16.
8547
8548 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8549
8550         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8551
8552 2012-02-24  Roland McGrath  <roland@hack.frob.com>
8553
8554         [BZ #13738]
8555         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8556         * manual/fdl-1.3.texi: New file.
8557         * manual/fdl-1.1.texi: File removed.
8558
8559         [BZ #13738]
8560         * manual/libc.texinfo (FDL_VERSION): New @set.
8561         Use it for mention of FDL in cover text.
8562         (Documentation License): Use it in @include file name.
8563
8564 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8565             Roland McGrath  <roland@hack.frob.com>
8566
8567         [BZ #5461]
8568         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8569         not LONG_LONG_MAX and LONG_LONG_MIN.
8570         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8571         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
8572         name.
8573         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8574
8575 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8576
8577         [BZ #2547]
8578         [BZ #11365]
8579         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8580         manipulate bits before adding and subtracting TWO23[sx].
8581         * math/libm-test.inc (nearbyint_test): Add more tests.
8582
8583 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8584
8585         [BZ #2548]
8586         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8587         bits before adding and subtracting TWO23[sx].
8588         * math/libm-test.inc (rint_test): Add more tests.
8589         (rint_test_tonearest): Likewise.
8590         (rint_test_towardzero): Likewise.
8591         (rint_test_downward): Likewise.
8592         (rint_test_upward: Likewise.
8593
8594 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8595
8596         [BZ #10110]
8597         * include/stdc-predef.h: New file.  Extracted from features.h.
8598         * include/features.h: Include stdc-predef.h.
8599         * Makefile (headers): Add stdc-predef.h.
8600         * CONFORMANCE (Compiler limitations): Update.
8601
8602 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8603
8604         * manual/libc.texinfo (VERSION, UPDATED): Revert.
8605
8606 2012-02-21  David S. Miller  <davem@davemloft.net>
8607
8608         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8609         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8610
8611 2012-02-20  David S. Miller  <davem@davemloft.net>
8612
8613         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8614         using a normal save/restore sequence, rather than allocating a
8615         dummy stack frame just to store a frame pointer and restore.
8616         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8617
8618 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8619
8620         * manual/install.texi: Fix stray word in line-wrapped comment.
8621
8622 2012-02-20  David S. Miller  <davem@davemloft.net>
8623
8624         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8625         both binutils and gcc support GOTDATA.
8626
8627         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8628         "rd %pc" in the PIC register setup sequences.
8629
8630         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8631         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8632         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8633         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8634         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8635         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8636         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8637         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8638         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8639         (SYSCALL_ERROR_HANDLER): Likewise.
8640         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8641         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8643         (SYSCALL_ERROR_HANDLER): Likewise.
8644
8645         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8646         (HAVE_GCC_GOTDATA): New.
8647         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8648         relocation support in both binutils and gcc.
8649         * sysdeps/sparc/elf/configure: Regenerate.
8650
8651         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8652         * sysdeps/sparc/sparc32/elf/configure: Delete.
8653         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8654         * sysdeps/sparc/sparc64/elf/configure: Delete.
8655         * sysdeps/sparc/elf/configure.in: New file.
8656         * sysdeps/sparc/elf/configure: Generate.
8657
8658         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8659         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8660         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8661         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8662         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8663
8664 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8665
8666         * manual/install.texi: Do not mention specific glibc version
8667         numbers.
8668         * manual/libc.texinfo (VERSION, UPDATED): Update.
8669         (@copying): Use @copyright{} and range of years.
8670
8671 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8672
8673         [BZ #13695]
8674         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8675         [crti.S not in sysdirs] (generated): Do not append.
8676         [crti.S not in sysdirs] (omit-deps): Likewise.
8677         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8678         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8679         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8680         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8681         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8682         Likewise.
8683         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8684         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8685         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8686         * csu/defs.awk: Remove file.
8687         * sysdeps/generic/initfini.c: Likewise.
8688         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8689         variable.
8690         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8691         Likewise.
8692
8693 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8694
8695         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8696         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8697         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8698         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8699         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8700         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8701         <bits/epoll.h>.
8702         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8703         (__EPOLL_PACKED): Define to empty if not defined by
8704         <bits/epoll.h>.
8705         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8706         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8707         bits/epoll.h.
8708
8709 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8710
8711         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8712         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8713         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8714         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8715         <bits/timerfd.h>.
8716         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8717         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8718         bits/timerfd.h.
8719
8720 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8721
8722         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8723         in C locale.
8724         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8725         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8726         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8728
8729 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
8730
8731         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8732         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8733
8734 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
8735
8736         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8737         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8738         defined.
8739         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8740         Likewise.
8741         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8742         entry for 2.16.
8743
8744 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
8745
8746         * math/w_acos.c: Use non-signaling floating-point comparisons.
8747         * math/w_acosf.c: Likewise.
8748         * math/w_acosh.c: Likewise.
8749         * math/w_acoshf.c: Likewise.
8750         * math/w_acoshl.c: Likewise.
8751         * math/w_acosl.c: Likewise.
8752         * math/w_asin.c: Likewise.
8753         * math/w_asinf.c: Likewise.
8754         * math/w_asinl.c: Likewise.
8755         * math/w_atanh.c: Likewise.
8756         * math/w_atanhf.c: Likewise.
8757         * math/w_atanhl.c: Likewise.
8758         * math/w_exp2.c: Likewise.
8759         * math/w_exp2f.c: Likewise.
8760         * math/w_exp2l.c: Likewise.
8761         * math/w_j0.c: Likewise.
8762         * math/w_j0f.c: Likewise.
8763         * math/w_j0l.c: Likewise.
8764         * math/w_j1.c: Likewise.
8765         * math/w_j1f.c: Likewise.
8766         * math/w_j1l.c: Likewise.
8767         * math/w_jn.c: Likewise.
8768         * math/w_jnf.c: Likewise.
8769         * math/w_log.c: Likewise.
8770         * math/w_log10.c: Likewise.
8771         * math/w_log10f.c: Likewise.
8772         * math/w_log10l.c: Likewise.
8773         * math/w_log2.c: Likewise.
8774         * math/w_log2f.c: Likewise.
8775         * math/w_log2l.c: Likewise.
8776         * math/w_logf.c: Likewise.
8777         * math/w_logl.c: Likewise.
8778         * math/w_sqrt.c: Likewise.
8779         * math/w_sqrtf.c: Likewise.
8780         * math/w_sqrtl.c: Likewise.
8781         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8782         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8783         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8784         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8785         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8786
8787 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8788
8789         [BZ #9739]
8790         * manual/string.texi (strnlen): Use correct parameter name in
8791         equivalent expression.
8792
8793 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8794
8795         [BZ #11174]
8796         * manual/users.texi (seteuid): Consistently use neweuid for
8797         argument name.
8798
8799 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8800
8801         [BZ #13704]
8802         * manual/nss.texi (Services in the NSS configuration): Correct
8803         list of services in example configuration file.
8804
8805 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
8806
8807         [BZ #11322]
8808         * manual/arith.texi: Remove statements about negative zero
8809         behaving identically to zero.
8810
8811 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
8812
8813         [BZ #5993]
8814         * manual/install.texi: Do not document upgrading from libc5.
8815
8816 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
8817
8818         [BZ #4596]
8819         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8820
8821 2012-02-18  David S. Miller  <davem@davemloft.net>
8822
8823         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8824         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8825         %o7 across the call.
8826         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8827         instead.
8828         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8829         SETUP_PIC_REG_LEAF.
8830         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8831         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8832         * sysdeps/sparc/crtn.S: Likewise.
8833
8834 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
8835
8836         * aout/Makefile: Remove.
8837
8838 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
8839
8840         [BZ #13058]
8841         * manual/examples/argp-ex1.c (main): Format definition in GNU
8842         style.
8843         * manual/examples/argp-ex2.c (main): Likewise.
8844         * manual/examples/argp-ex3.c (main): Likewise.
8845         * manual/examples/argp-ex4.c (main): Likewise.
8846         * manual/examples/longopt.c (main): Use new-style prototype
8847         definition.
8848         * manual/examples/strncat.c (main): Specify return type and use
8849         (void) for arguments.
8850         * manual/examples/subopt.c (main): Use char **argv argument.
8851
8852 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8853
8854         [BZ #5077]
8855         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8856         rounding modes.
8857
8858 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
8859
8860         [BZ #6907]
8861         * manual/string.texi (strchr): Change when strchrnul is
8862         recommended.
8863
8864 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
8865
8866         [BZ #174]
8867         * manual/locale.texi (setlocale): Document LOCPATH.
8868
8869 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8870
8871         [BZ #10210]
8872         * manual/process.texi (execle): Move @dots{} before last argument.
8873
8874 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
8875
8876         [BZ #12047]
8877         * manual/charset.texi (Generic Charset Conversion): Fix typo
8878         (LC_TYPE -> LC_CTYPE).
8879
8880 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
8881
8882         [BZ #5805]
8883         * manual/arith.texi (scalbn): Use @var{} on parameter names.
8884         (scalbnf): Likewise.
8885         (scalbnl): Likewise.
8886         (scalbln): Likewise.
8887         (scalblnf): Likewise.
8888         (scalblnl): Likewise.
8889         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8890         (vwarnx): Likewise.
8891         (verr): Likewise.
8892         (verrx): Likewise.
8893         * manual/filesys.texi (telldir): Use braces around return type.
8894         * manual/llio.texi (mmap): Add space after comma.
8895         (mmap64): Likewise.
8896         * manual/math.texi (jn): Use @var{} on parameter names.
8897         (jnf): Likewise.
8898         (jnl): Likewise.
8899         (yn): Likewise.
8900         (ynf): Likewise.
8901         (ynl): Likewise.
8902         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8903         line.
8904         * manual/resource.texi (ulimit): Use @dots{} instead of literal
8905         "...".
8906         (sched_get_priority_min): Remove semicolon on @deftypefun line.
8907         (sched_get_priority_max): Likewise.
8908         * manual/signal.texi (sigvec): Add space after comma.
8909         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8910         names.
8911         (if_indextoname): Likewise.
8912         (if_freenameindex): Likewise.
8913         (sendto): Use ',' instead of '.' in prototype.
8914         * manual/startup.texi (syscall): Use @dots{} instead of literal
8915         "...".
8916         * manual/stdio.texi (__fpending): Separate initial words of
8917         paragraph from @deftypefun line.
8918         * manual/syslog.texi (syslog): Use @dots{} instead of literal
8919         "...".
8920         (vsyslog): Use @var{} on parameter names.
8921         * manual/terminal.texi (stty): Use @var{} on parameter names.
8922         * manual/users.texi (getutmp): Use @var{} on parameter names.
8923         (getutmpx): Likewise.
8924
8925 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8926
8927         [BZ #6884]
8928         * manual/stdio.texi (fopen): Fix typos in description of
8929         ",ccs=STRING".
8930
8931 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
8932
8933         [BZ #4026]
8934         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8935         get clock_id definition.
8936
8937 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
8938
8939         [BZ #4822]
8940         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8941         (madvise): Cast every argument to void on its own.
8942
8943 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8944
8945         [BZ #9902]
8946         * manual/startup.texi (Exit Status): Fix typo.
8947
8948 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8949
8950         [BZ #10140]
8951         * manual/examples/argp-ex1.c: Include <stdlib.h>.
8952         * manual/examples/argp-ex2.c: Likewise.
8953         * manual/examples/argp-ex3.c: Likewise.
8954
8955 2012-02-16  Richard Henderson  <rth@redhat.com>
8956
8957         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8958         * sysdeps/s390/s390-32/initfini.c: Remove.
8959         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8960         * sysdeps/s390/s390-64/initfini.c: Remove.
8961
8962 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8963
8964         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8965         compiler output for sysdeps/generic/initfini.c.
8966         * sysdeps/sh/elf/initfini.c: Remove file.
8967
8968 2012-02-16  David S. Miller  <davem@davemloft.net>
8969
8970         [BZ #11494]
8971         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8972
8973         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8974         * sysdeps/sparc/crti.S: New file.
8975         * sysdeps/sparc/crtn.S: New file.
8976         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8977         * sysdeps/sparc/sparc64/Makefile: Likewise.
8978
8979 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
8980
8981         [BZ #3335]
8982         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8983
8984 2012-02-15  Roland McGrath  <roland@hack.frob.com>
8985
8986         [BZ #4822]
8987         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8988
8989         * mach/devstream.c (cookie_io_functions_t): Macro removed.
8990         (write, read, close): Likewise.
8991         Patch by Aurelien Jarno <aurelien@aurel32.net>.
8992
8993 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
8994
8995         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8996         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8997         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8998         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8999         <bits/signalfd.h>.
9000         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9001         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9002         bits/signalfd.h.
9003
9004 2012-02-14  Marek Polacek  <polacek@redhat.com>
9005
9006         * sysdeps/x86_64/crti.S: New file.
9007         * sysdeps/x86_64/crtn.S: New file.
9008         * sysdeps/x86_64/elf/initfini.c: Remove file.
9009
9010 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
9011
9012         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9013         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9014         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9015         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9016         <bits/inotify.h>.
9017         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9019         bits/inotify.h.
9020
9021 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
9022
9023         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9024         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9025         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9026         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9027         <bits/eventfd.h>.
9028         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9029         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9030         bits/eventfd.h.
9031
9032 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
9033
9034         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9035         __feraiseexcept instead of feraiseexcept.
9036
9037         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9038         nanosleep invocations.
9039         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9040         strings, and add error checking for a nanosleep invocations.
9041
9042 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
9043
9044         Replace FSF snail mail address with URLs, as per GNU coding standards.
9045         Most of the snail mail addresses were wrong anyway, and omitting
9046         them makes the source code easier to maintain.  Almost all of the
9047         changes are to license notices and to locale LC_IDENTIFICATION
9048         addresses, except for this one:
9049         * manual/libc.texinfo: In "Published by", give the FSF's URL,
9050         not its snail mail address.
9051
9052 2012-02-09  Richard Henderson  <rth@twiddle.net>
9053
9054         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9055         of kernel-features.h.
9056
9057         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9058
9059 2012-02-08  Marek Polacek  <polacek@redhat.com>
9060
9061         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9062         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9063         * sysdeps/gnu/_G_config.h: Likewise.
9064         * sysdeps/generic/_G_config.h: Likewise.
9065
9066 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
9067
9068         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9069         tests.
9070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9071
9072         * sysdeps/powerpc/powerpc32/crti.S: New file.
9073         * sysdeps/powerpc/powerpc32/crtn.S: New file.
9074         * sysdeps/powerpc/powerpc64/crti.S: New file.
9075         * sysdeps/powerpc/powerpc64/crtn.S: New file.
9076
9077         * Makeconfig (have-initfini): Don't set.
9078         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9079         * configure.in (nopic_initfini): Don't substitute.
9080         * config.h.in (HAVE_INITFINI): Don't #undef.
9081         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9082         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9083
9084 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
9085
9086         Support crti.S and crtn.S provided directly by architectures.
9087         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9088         [crti.S in sysdirs] (omit-deps): Likewise.
9089         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9090         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9091         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9092         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9093         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9094         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9095         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9096         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9097         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9098         compiler output for sysdeps/generic/initfini.c.
9099         * sysdeps/i386/elf/Makefile: Remove file.
9100         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9101
9102 2012-02-07  Marek Polacek  <polacek@redhat.com>
9103
9104         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9105         * sysdeps/gnu/_G_config.h: Likewise.
9106         * sysdeps/mach/hurd/_G_config.h: Likewise.
9107
9108 2012-02-07  Marek Polacek  <polacek@redhat.com>
9109
9110         * math/Makefile (tests): Add tst-CMPLX2.
9111         * math/tst-CMPLX2.c: New file.
9112
9113 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
9114
9115         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9116
9117         * math/libm-test.inc (jn_test): Add missing L suffix.
9118
9119 2012-02-06  Marek Polacek  <polacek@redhat.com>
9120
9121         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9122         * sysdeps/i386/fpu/e_powf.S: Likewise.
9123         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9124         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9125         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9126         * sysdeps/i386/fpu/e_pow.S: Likewise.
9127         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9128         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9129         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9130         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9131         * sysdeps/i386/fpu/e_log2.S: Likewise.
9132         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9133         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9134         * sysdeps/i386/fpu/e_powl.S: Likewise.
9135         * sysdeps/i386/fpu/s_log1p.S: Likewise.
9136         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9137         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9138         * sysdeps/i386/fpu/e_logl.S: Likewise.
9139         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9140         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9141         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9142         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9143         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9144         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9145         * sysdeps/i386/fpu/e_log.S: Likewise.
9146         * sysdeps/i386/fpu/s_cexp.S: Likewise.
9147         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9148         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9149         * sysdeps/i386/fpu/e_logf.S: Likewise.
9150         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9151         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9152         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9153         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9154         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9155         * sysdeps/i386/fpu/e_log10.S: Likewise.
9156         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9157         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9158         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9159         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9160         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9161         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9162         * sysdeps/i386/asm-syntax.h: Likewise.
9163         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9164         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9165         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9166         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9167         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9168         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9169         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9170         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9171         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9172         * sysdeps/powerpc/sysdep.h: Likewise.
9173         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9174         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9175
9176 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
9177
9178         [BZ #411]
9179         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9180
9181 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
9182
9183         * sysdeps/i386/sysdep.h: Include <features.h>.
9184         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9185         version.
9186
9187 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
9188
9189         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9190         Define.
9191         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9192         LOAD_PIC_REG_STR.
9193
9194 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9195
9196         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9197         (SETUP_PIC_REG): Use GET_PC_THUNK.
9198         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9199         macro.
9200
9201 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9202
9203         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9204         for non-PIC compilation.
9205         (SETUP_PIC_REG): Add .p2align directive.
9206         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9207         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9208         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9209         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9210         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9211         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9212         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9213         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9214         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9215         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9216         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9217         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9218         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9219         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9220         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9221         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9222         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9223         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9224         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9225         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9226         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9227         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9228         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9229         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9230         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9231         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9232         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9233         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9234         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9235         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9236         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9237         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9238         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9239         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9240         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9241         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9242         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9243         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9244         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9245         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9246         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9247
9248 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9249
9250         * math/tst-CMPLX.c: Include <stdio.h>.
9251
9252 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
9253
9254         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9255         float.
9256         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9257         * sysdeps/sparc/bits/mathdef.h: Likewise.
9258
9259 2012-01-31  Marek Polacek  <polacek@redhat.com>
9260
9261         * libio/libio.h: Don't define _PARAMS.
9262         * locale/programs/config.h: Don't define PARAMS.
9263         * stdlib/strtol_l.c: Likewise.
9264         (__strtol_l): Remove PARAMS from the prototype.
9265
9266 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
9267
9268         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
9269         names.  Just use the correct names.  Remove unnecessary wrapper
9270         functions.
9271         * malloc/arena.c: Likewise.
9272         * malloc/hooks.c: Likewise.
9273
9274         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9275         ARENA_TEST says not to.  Simplify test for creation of a new arena.
9276         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9277
9278 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
9279
9280         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9281         into tail calls.
9282         (update_get_addr): New function.
9283         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9284         GET_ADDR_MODULE parameter.
9285
9286 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
9287
9288         * crypt/cert.c: Remove __STDC__ conditionals.
9289         * crypt/crypt-entry.c: Likewise.
9290         * crypt/crypt_util.c: Likewise.
9291         * libio/filedoalloc.c: Likewise.
9292         * libio/fileops.c: Likewise.
9293         * libio/genops.c: Likewise.
9294         * libio/iofclose.c: Likewise.
9295         * libio/iofdopen.c: Likewise.
9296         * libio/iofopen.c: Likewise.
9297         * libio/iofopen64.c: Likewise.
9298         * libio/iogetdelim.c: Likewise.
9299         * libio/iopopen.c: Likewise.
9300         * libio/obprintf.c: Likewise.
9301         * libio/oldfileops.c: Likewise.
9302         * libio/oldiofclose.c: Likewise.
9303         * libio/oldiofdopen.c: Likewise.
9304         * libio/oldiofopen.c: Likewise.
9305         * libio/oldiopopen.c: Likewise.
9306         * libio/wfiledoalloc.c: Likewise.
9307         * libio/wgenops.c: Likewise.
9308         * locale/programs/xmalloc.c: Likewise.
9309         * misc/syslog.c: Likewise.
9310         * stdio-common/xbug.c: Likewise.
9311         * string/memchr.c: Likewise.
9312         * string/memcmp.c: Likewise.
9313         * string/memrchr.c: Likewise.
9314         * string/rawmemchr.c: Likewise.
9315         * sysdeps/posix/getcwd.c: Likewise.
9316         * time/strftime_l.c: Likewise.
9317
9318 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
9319
9320         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9321         * config.make.in (config-cflags-sse2avx): Define.
9322         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9323         Fix typo.
9324
9325 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
9326
9327         * scripts/config.guess: Update from upstream config git repository.
9328         * scripts/config.sub: Likewise.
9329
9330 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
9331
9332         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9333         (EM_NUM): Update.
9334         (R_TILEPRO_*, R_TILEGX_*): New macros.
9335
9336         * scripts/firstversions.awk: Fix bug in version range handling.
9337
9338         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9339
9340         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9341
9342         * include/sys/epoll.h: New file.
9343         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9344         libc_hidden_def.
9345
9346 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
9347
9348         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9349         Avoid unnecessary __WORDSIZE == 64 test.
9350         (fmaxf): Use VEX format if possible.
9351         (fmax): Likewise.
9352         (fminf): Likewise.
9353         (fmin): Likewise.
9354
9355         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9356         * math/math_private.h: Remove libc_fegetround* and
9357         libc_fesetround*.
9358         * sysdeps/i386/configure.in: Check for -msse2avx.
9359         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9360         also if SSE2AVX is defined.
9361         Remove libc_fegetround* and libc_fesetround*.
9362         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9363         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
9364         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9365         of HAS_YMM_USABLE.
9366         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9367         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9368         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9369         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9370         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9371
9372         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9373
9374 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9375
9376         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9377         size is not set.
9378         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9379
9380 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
9381
9382         [BZ #13618]
9383         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9384         relocation.
9385         * Makeconfig (libm): Define.
9386         * elf/Makefile: Add rules to build and run tst-relsort1.
9387         * elf/tst-relsort1.c: New file.
9388         * elf/tst-relsort1mod1.c: New file.
9389         * elf/tst-relsort1mod2.c: New file.
9390
9391 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
9392
9393         * math/s_ldexp.c: Remove __STDC__ conditionals.
9394         * math/s_ldexpf.c: Likewise.
9395         * math/s_ldexpl.c: Likewise.
9396         * math/s_nextafter.c: Likewise.
9397         * math/s_nexttowardf.c: Likewise.
9398         * math/s_significand.c: Likewise.
9399         * math/s_significandf.c: Likewise.
9400         * math/s_significandl.c: Likewise.
9401         * math/w_jnl.c: Likewise.
9402         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9403         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9404         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9405         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9406         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9407         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9408         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9409         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9410         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9411         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9412         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9413         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9414         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9415         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9416         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9417         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9418         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9419         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9420         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9421         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9422         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9423         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9424         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9425         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9426         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9427         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9428         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9429         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9430         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9431         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9432         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9433         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9434         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9435         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9436         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9437         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9438         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9439         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9440         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9441         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9442         * sysdeps/ieee754/k_standard.c: Likewise.
9443         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9444         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9445         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9446         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9447         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9448         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9449         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9450         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9451         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9452         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9453         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9454         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9455         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9456         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9457         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9458         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9459         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9460         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9461         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9462         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9463         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9464         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9465         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9466         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9467         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9468         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9469         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9470         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9471         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9472         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9473         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9474         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9475         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9476         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9477         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9478         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9479         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9480         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9481         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9482         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9483         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9484         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9485         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9486         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9487         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9488         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9489         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9490         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9491         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9492         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9493         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9494         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9495         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9496         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9497         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9498         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9499         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9500         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9501         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9502         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9503         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9504         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9505         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9506         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9507         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9508         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9509         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9510         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9511         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9512         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9513         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9514         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9515         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9516         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9517         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9518         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9519         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9520         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9521         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9522         * sysdeps/ieee754/s_matherr.c: Likewise.
9523         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9524         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9525         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9526         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9527
9528 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
9529
9530         * crypt/md5.h: Remove __STDC__ conditionals.
9531         * libio/libioP.h: Likewise.
9532         * locale/programs/config.h: Likewise.
9533         * sysdeps/generic/sysdep.h: Likewise.
9534         * sysdeps/i386/asm-syntax.h: Likewise.
9535         * sysdeps/s390/asm-syntax.h: Likewise.
9536         * sysdeps/unix/sysdep.h: Likewise.
9537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9539
9540 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
9541
9542         * libio/libio.h: Remove __STDC__ conditionals.
9543         * malloc/obstack.h: Likewise.
9544         * math/complex.h: Likewise.
9545         * math/math.h: Likewise.
9546         * sysdeps/generic/_G_config.h: Likewise.
9547         * sysdeps/gnu/_G_config.h: Likewise.
9548         * sysdeps/mach/hurd/_G_config.h: Likewise.
9549         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9550         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9551         * sysdeps/sparc/bits/mathdef.h: Likewise.
9552
9553 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
9554
9555         [BZ #13583]
9556         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9557         Clean up HAS_* macros.
9558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9559         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9560         possible.
9561         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9562         HAS_AVX.
9563         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9564         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9565         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9566         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9567         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9568
9569 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
9570
9571         * elf/tst-unique3.cc (gets): Remove declaration.
9572         * elf/tst-unique3lib.cc (gets): Likewise.
9573         * elf/tst-unique3lib2.cc (gets): Likewise.
9574         * elf/tst-unique4.cc (gets): Likewise.
9575
9576 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
9577
9578         * include/stdio.h: Add C++ protection.  Add gets declarations and
9579         definitions.
9580         * debug/tst-chk1.c: Don't declare gets here.
9581         * stdio-common/tst-gets.c: Likewise.
9582
9583 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
9584
9585         * posix/glob: Remove directory.
9586
9587 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
9588
9589         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9590
9591 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
9592
9593         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9594         of the non-standard EPFNOSUPPORT.
9595
9596 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9597
9598         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9599         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9600         ANYWHERE set to 1 only on KERN_NO_SPACE error.
9601
9602 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
9603
9604         * wcsmbs/uchar.h: Test __STDC_VERSION__.
9605
9606 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
9607
9608         * nscd/aicache.c (addhstaiX): Do not cache negative results of
9609         transient errors.
9610         * nscd/grpcache.c (cache_addgr): Likewise.
9611         * nscd/hstcache.c (cache_addhst): Likewise.
9612         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9613         * nscd/pwdcache.c (cache_addpw): Likewise.
9614         * nscd/servicescache.c (cache_addserv): Likewise.
9615
9616 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
9617
9618         * malloc/malloc.c: Various cleanups.
9619         * malloc/hooks.c: Likewise.
9620
9621         * stdlib/Makefile (tests): Add bug-fmtmsg1.
9622         * stdlib/bug-fmtmsg1.c: New file.
9623
9624         * stdlib/fmtmsg.c (init): Add missing unlock.
9625         Patch by Peng Haitao <penght@cn.fujitsu.com>.
9626
9627 2012-01-12  Marek Polacek  <polacek@redhat.com>
9628
9629         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9630         and _GNU_SOURCE.
9631
9632 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
9633
9634         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9635         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9636         macro to ensure uniqueness of label name.
9637         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9638         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9639
9640 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
9641
9642         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9643
9644         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9645         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9646         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9647         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9648
9649 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
9650
9651         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9652
9653         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9654         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9655         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9656
9657         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9658
9659         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9660         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9661         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9662         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9663
9664         * math/bits/math-finite.h: Add ldexp support.
9665
9666 2012-01-10  Marek Polacek  <polacek@redhat.com>
9667
9668         * locale/programs/localedef.h (show_archive_content): Add noreturn
9669         attribute.
9670
9671 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
9672
9673         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9674
9675 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9676
9677         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9678
9679         * io/Makefile (headers): Add bits/poll2.h.
9680
9681 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
9682
9683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9684         typo #include statement.
9685
9686 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9687
9688         * include/sys/cdefs.h: Define __attribute_alloc_size.
9689         * catgets/gencat.c: Add alloc_size attribute and apply consistently
9690         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9691         * elf/pldd.c: Likewise.
9692         * iconv/iconv_charmap.c: Likewise.
9693         * iconv/iconvconfig.c: Likewise.
9694         * iconv/strtab.c: Likewise.
9695         * locale/programs/locale.c: Likewise.
9696         * locale/programs/localedef.h: Likewise.
9697         * locale/programs/simple-hash.c: Likewise.
9698         * nscd/nscd.h: Likewise.
9699         * nss/makedb.c: Likewise.
9700         * sysdeps/generic/ldconfig.h: Likewise.
9701         * locale/programs/localedef.c: Remove xmalloc prototype.
9702         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9703
9704 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9705
9706         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9707         appropriate.
9708
9709 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9710
9711         * math/Makefile (tests): Add tst-CMPLX.
9712         * math/tst-CMPLX.c: New file.
9713
9714         * math/complex.h (CMPLXL): Fix typo.
9715
9716         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9717         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9718         GLIBC_2.16.
9719         * debug/tst-chk1.c: Add poll and ppoll tests.
9720         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9721         * include/sys/poll.h: Add hidden proto for ppoll.
9722         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9723         * sysdeps/mach/hurd/ppoll.c: Likewise.
9724         * io/ppoll.c: Likewise.
9725         * debug/poll_chk.c: New file.
9726         * debug/ppoll_chk.c: New file.
9727         * include/bits/poll2.h: New file.
9728         * io/bits/poll2.h: New file.
9729
9730         [BZ #1350]
9731         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9732
9733         * configure.in: static is always set to yes.  Remove.
9734         * config.make.in: Don't set build-static.
9735         * Makeconfig: Remove use of build-static.
9736         * dlfcn/Makefile: Likewise.
9737         * elf/Makefile: Likewise.
9738         * math/Makefile: Likewise.
9739         * misc/Makefile: Likewise.
9740         * nptl/Makefile: Likewise.
9741         * sysdeps/mach/hurd/Makefile: Likewise.
9742
9743         * configure.in: PWD_P is not used anymore.
9744         * config.make.in: Remove PWD_P entry.
9745
9746         * configure.in: Remove last remnants of RANLIB.
9747         No need to check for signed size_t anymore.
9748         Don't set libc_commonpagesize and libc_relro_required here for Alpha
9749         and IA-64.
9750         Remove __builtin_expect test because we require at least gcc 3.4.
9751         * aclocal.m4: Likewise.
9752
9753         * wcsmbs/mbrtoc16.c: Implement using towc function.
9754         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9755         * wcsmbs/wcsmbsload.c: Likewise.
9756         * iconv/gconv_simple.c: Likewise.
9757         * iconv/gconv_int.h: Likewise.
9758         * iconv/gconv_builtin.h: Likewise.
9759         * iconv/iconv_prog.c: Remove CHAR16 handling.
9760
9761         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9762
9763         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9764
9765         * configure.in: Remove --with-elf and --enable-bounded options.
9766         Dont set base_machine for ia64.  More non-ELF conditions removed.
9767         Remove testing and setting of leading underscore information.
9768         * config.make.in (build-bounded): Set to no.
9769         * config.h.in: Remove NO_UNDERSCORES entry.
9770         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
9771         them.
9772         * csu/start.c: Remove !NO_UNDERSCORE code.
9773         * locale/localeinfo.h: Likewise.
9774         * sysdeps/generic/machine-gmon.h: Likewise.
9775         * sysdeps/generic/sysdep.h: Likewise.
9776         * sysdeps/i386/sysdep.h: Likewise.
9777         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9778         * sysdeps/mach/sysdep.h: Likewise.
9779         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9780         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9781         * sysdeps/sh/sysdep.h: Likewise.
9782         * sysdeps/sparc/sparc32/alloca.S: Likewise.
9783         * sysdeps/unix/i386/sysdep.S: Likewise.
9784         * sysdeps/unix/sparc/start.c: Likewise.
9785         * sysdeps/unix/sparc/sysdep.S: Likewise.
9786         * sysdeps/unix/sparc/sysdep.h: Likewise.
9787         * sysdeps/unix/start.c: Likewise.
9788         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9789         * sysdeps/x86_64/sysdep.h: Likewise.
9790
9791 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
9792
9793         [BZ #13553]
9794         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9795         for non-gcc.
9796         * argp/argp-fmtstream.h: Use const instead __const.
9797         * argp/argp.h: Likewise.
9798         * assert/assert.h: Likewise.
9799         * bits/fenv.h: Likewise.
9800         * bits/sched.h: Likewise.
9801         * bits/sigset.h: Likewise.
9802         * bits/sigthread.h: Likewise.
9803         * catgets/nl_types.h: Likewise.
9804         * conform/data/pthread.h-data: Likewise.
9805         * crypt/crypt-private.h: Likewise.
9806         * crypt/crypt.h: Likewise.
9807         * crypt/crypt_util.c: Likewise.
9808         * ctype/ctype.h: Likewise.
9809         * debug/execinfo.h: Likewise.
9810         * debug/mbsnrtowcs_chk.c: Likewise.
9811         * debug/mbsrtowcs_chk.c: Likewise.
9812         * debug/wcsnrtombs_chk.c: Likewise.
9813         * debug/wcsrtombs_chk.c: Likewise.
9814         * debug/wcstombs_chk.c: Likewise.
9815         * dirent/dirent.h: Likewise.
9816         * dlfcn/dlfcn.h: Likewise.
9817         * elf/neededtest4.c: Likewise.
9818         * grp/grp.h: Likewise.
9819         * gshadow/gshadow.h: Likewise.
9820         * iconv/gconv.h: Likewise.
9821         * iconv/gconv_int.h: Likewise.
9822         * iconv/gconv_simple.c: Likewise.
9823         * iconv/iconv.h: Likewise.
9824         * iconv/loop.c: Likewise.
9825         * iconv/skeleton.c: Likewise.
9826         * include/aio.h: Likewise.
9827         * include/aliases.h: Likewise.
9828         * include/argz.h: Likewise.
9829         * include/arpa/inet.h: Likewise.
9830         * include/assert.h: Likewise.
9831         * include/dirent.h: Likewise.
9832         * include/dlfcn.h: Likewise.
9833         * include/execinfo.h: Likewise.
9834         * include/fcntl.h: Likewise.
9835         * include/fenv.h: Likewise.
9836         * include/glob.h: Likewise.
9837         * include/grp.h: Likewise.
9838         * include/libintl.h: Likewise.
9839         * include/mntent.h: Likewise.
9840         * include/netdb.h: Likewise.
9841         * include/pwd.h: Likewise.
9842         * include/rpc/netdb.h: Likewise.
9843         * include/sched.h: Likewise.
9844         * include/search.h: Likewise.
9845         * include/shadow.h: Likewise.
9846         * include/signal.h: Likewise.
9847         * include/stdio.h: Likewise.
9848         * include/stdlib.h: Likewise.
9849         * include/string.h: Likewise.
9850         * include/sys/socket.h: Likewise.
9851         * include/sys/stat.h: Likewise.
9852         * include/sys/statfs.h: Likewise.
9853         * include/sys/statvfs.h: Likewise.
9854         * include/sys/syslog.h: Likewise.
9855         * include/sys/time.h: Likewise.
9856         * include/sys/uio.h: Likewise.
9857         * include/time.h: Likewise.
9858         * include/unistd.h: Likewise.
9859         * include/utmp.h: Likewise.
9860         * include/wchar.h: Likewise.
9861         * include/wctype.h: Likewise.
9862         * inet/aliases.h: Likewise.
9863         * inet/arpa/inet.h: Likewise.
9864         * inet/netinet/ether.h: Likewise.
9865         * inet/netinet/in.h: Likewise.
9866         * intl/libintl.h: Likewise.
9867         * io/bits/fcntl2.h: Likewise.
9868         * io/fcntl.h: Likewise.
9869         * io/ftw.h: Likewise.
9870         * io/sys/poll.h: Likewise.
9871         * io/sys/stat.h: Likewise.
9872         * io/sys/statfs.h: Likewise.
9873         * io/sys/statvfs.h: Likewise.
9874         * io/utime.h: Likewise.
9875         * libio/bits/stdio.h: Likewise.
9876         * libio/bits/stdio2.h: Likewise.
9877         * libio/libio.h: Likewise.
9878         * libio/libioP.h: Likewise.
9879         * libio/stdio.h: Likewise.
9880         * locale/lc-ctype.c: Likewise.
9881         * locale/locale.h: Likewise.
9882         * login/utmp.h: Likewise.
9883         * malloc/arena.c: Likewise.
9884         * malloc/malloc.c: Likewise.
9885         * malloc/malloc.h: Likewise.
9886         * malloc/mcheck.c: Likewise.
9887         * malloc/mtrace.c: Likewise.
9888         * math/bits/mathcalls.h: Likewise.
9889         * math/fenv.h: Likewise.
9890         * math/math_private.h: Likewise.
9891         * misc/bits/error.h: Likewise.
9892         * misc/bits/syslog.h: Likewise.
9893         * misc/err.h: Likewise.
9894         * misc/error.h: Likewise.
9895         * misc/fstab.h: Likewise.
9896         * misc/mntent.h: Likewise.
9897         * misc/regexp.h: Likewise.
9898         * misc/search.h: Likewise.
9899         * misc/sgtty.h: Likewise.
9900         * misc/sys/mman.h: Likewise.
9901         * misc/sys/syslog.h: Likewise.
9902         * misc/sys/uio.h: Likewise.
9903         * misc/sys/xattr.h: Likewise.
9904         * misc/ttyent.h: Likewise.
9905         * nis/rpcsvc/ypclnt.h: Likewise.
9906         * nss/nss.h: Likewise.
9907         * posix/bits/unistd.h: Likewise.
9908         * posix/fnmatch.h: Likewise.
9909         * posix/glob.h: Likewise.
9910         * posix/sched.h: Likewise.
9911         * posix/spawn.h: Likewise.
9912         * posix/sys/wait.h: Likewise.
9913         * posix/unistd.h: Likewise.
9914         * posix/wordexp.h: Likewise.
9915         * pwd/pwd.h: Likewise.
9916         * resolv/netdb.h: Likewise.
9917         * resource/sys/resource.h: Likewise.
9918         * rt/aio.h: Likewise.
9919         * rt/bits/mqueue2.h: Likewise.
9920         * rt/mqueue.h: Likewise.
9921         * shadow/shadow.h: Likewise.
9922         * signal/signal.h: Likewise.
9923         * socket/send.c: Likewise.
9924         * socket/sendto.c: Likewise.
9925         * socket/sys/socket.h: Likewise.
9926         * stdio-common/printf.h: Likewise.
9927         * stdlib/bits/stdlib.h: Likewise.
9928         * stdlib/fmtmsg.h: Likewise.
9929         * stdlib/monetary.h: Likewise.
9930         * stdlib/stdlib.h: Likewise.
9931         * stdlib/ucontext.h: Likewise.
9932         * streams/stropts.h: Likewise.
9933         * string/argz.h: Likewise.
9934         * string/bits/string2.h: Likewise.
9935         * string/string.h: Likewise.
9936         * string/strings.h: Likewise.
9937         * sunrpc/rpc/auth.h: Likewise.
9938         * sunrpc/rpc/auth_des.h: Likewise.
9939         * sunrpc/rpc/clnt.h: Likewise.
9940         * sunrpc/rpc/netdb.h: Likewise.
9941         * sunrpc/rpc/pmap_clnt.h: Likewise.
9942         * sunrpc/rpc/xdr.h: Likewise.
9943         * sysdeps/generic/inttypes.h: Likewise.
9944         * sysdeps/generic/net/if.h: Likewise.
9945         * sysdeps/generic/sys/swap.h: Likewise.
9946         * sysdeps/gnu/net/if.h: Likewise.
9947         * sysdeps/gnu/utmpx.h: Likewise.
9948         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9949         * sysdeps/i386/i486/bits/string.h: Likewise.
9950         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9951         * sysdeps/s390/bits/string.h: Likewise.
9952         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9953         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9954         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9955         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9956         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9957         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9958         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9959         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9960         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9961         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9962         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9963         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9964         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9965         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9966         * sysdeps/unix/sysv/linux/readv.c: Likewise.
9967         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9968         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9970         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9971         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9972         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9973         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9974         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9975         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9976         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9977         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9978         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9979         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9980         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9981         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9982         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9983         * sysvipc/sys/ipc.h: Likewise.
9984         * sysvipc/sys/msg.h: Likewise.
9985         * sysvipc/sys/sem.h: Likewise.
9986         * sysvipc/sys/shm.h: Likewise.
9987         * termios/termios.h: Likewise.
9988         * time/sys/time.h: Likewise.
9989         * time/time.h: Likewise.
9990         * wcsmbs/bits/wchar2.h: Likewise.
9991         * wcsmbs/uchar.h: Likewise.
9992         * wcsmbs/wchar.h: Likewise.
9993         * wctype/wctype.h: Likewise.
9994
9995         [BZ #13551]
9996         * Makeconfig: Remove all but ELF support including AIX support.
9997         * Makerules: Likewise.
9998         * config.h.in: Likewise.
9999         * config.make.in: Likewise.
10000         * configure: Likewise.
10001         * configure.in: Likewise.
10002         * csu/Makefile: Likewise.
10003         * csu/version.c: Likewise.
10004         * debug/Makefile: Likewise.
10005         * dlfcn/Makefile: Likewise.
10006         * elf/Makefile: Likewise.
10007         * extra-lib.mk: Likewise.
10008         * iconv/Makefile: Likewise.
10009         * include/libc-symbols.h: Likewise.
10010         * include/shlib-compat.h: Likewise.
10011         * resolv/Makefile: Likewise.
10012         * resolv/res_libc.c: Likewise.
10013         * rt/Makefile: Likewise.
10014         * sysdeps/i386/asm-syntax.h: Likewise.
10015         * sysdeps/i386/sysdep.h: Likewise.
10016         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10017         * sysdeps/mach/sysdep.h: Likewise.
10018         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10019         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10020         * sysdeps/s390/asm-syntax.h: Likewise.
10021         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10022         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10023         * sysdeps/sh/sysdep.h: Likewise.
10024         * sysdeps/unix/sparc/sysdep.h: Likewise.
10025         * sysdeps/wordsize-32/divdi3.c: Likewise.
10026         * sysdeps/x86_64/sysdep.h: Likewise.
10027
10028         * argp/Versions: Remove _argp_unlock_xxx.
10029
10030         [BZ #13559]
10031         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
10032         * abilist/libBrokenLocale.abilist: Likewise.
10033         * abilist/libanl.abilist: Likewise.
10034         * abilist/libc.abilist: Likewise.
10035         * abilist/libcrypt.abilist: Likewise.
10036         * abilist/libdl.abilist: Likewise.
10037         * abilist/libm.abilist: Likewise.
10038         * abilist/libnsl.abilist: Likewise.
10039         * abilist/libpthread.abilist: Likewise.
10040         * abilist/libresolv.abilist: Likewise.
10041         * abilist/librt.abilist: Likewise.
10042         * abilist/libthread_db.abilist: Likewise.
10043         * abilist/libutil.abilist: Likewise.
10044         * abilist/libnss_db.abilist: New file.
10045
10046         * scripts/abilist.awk: Add support for indirect functions.
10047
10048         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10049
10050         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10051
10052         * shlib-versions: Remove entries for ports architectures.
10053
10054         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
10055         files in ports.
10056         * elf/stackguard-macros.h: Remove support for IA-64.
10057         * elf/tst-auditmod1.c: Likewise.
10058         * sysdeps/generic/ldsodefs.h: Likewise.
10059
10060         * sysdeps/unix/sysv/linux/configure.in: Ports should define
10061         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10062         configure files.
10063
10064         [BZ #13552]
10065         * configure.in: Remove --enable-omitfp support.
10066         * FAQ.in: Adjust.
10067         * config.make.in: Likewise.
10068         * Makeconfig: Likewise.
10069         * manual/install.texi: Likewise.
10070
10071         In case anyone cares, the IA-64 architecture could move to ports.
10072         * sysdeps/ia64/*: Removed.
10073         * sysdeps/unix/sysv/linux/ia64/*: Removed.
10074         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10075
10076         [BZ #13555]
10077         * configure.in: Remove entries for unsupported architectures.
10078
10079         [BZ #13533]
10080         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10081         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
10082         routines.
10083         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10084         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10085         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
10086         fall back to using wcrtomb.
10087         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10088         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
10089         renaming.
10090         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10091         * wcsmbs/tst-c16c32-1.c: New file.
10092
10093         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10094         local variable.
10095
10096         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10097
10098         * elf/tst-unique3.cc: Add explicit declaration of gets.
10099         * elf/tst-unique3lib.cc: Likewise.
10100         * elf/tst-unique3lib2.cc: Likewise.
10101         * elf/tst-unique4.cc: Likewise.
10102
10103         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10104
10105 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
10106
10107         [BZ #13566]
10108         * assert/assert.h (static_assert): Don't define for C++.
10109         * libio/stdio.h (gets): Do declare for C++ <= C++11.
10110         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10111
10112 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
10113
10114         * iconv/loop.c (single loop): Fix assertion in storing of
10115         remaining bytes.
10116
10117         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10118
10119 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
10120
10121         * posix/getconf.c: Update copyright year.
10122         * nss/getent.c: Likewise.
10123         * nss/makedb.c: Likewise.
10124         * iconv/iconvconfig.c: Likewise.
10125         * iconv/iconv_prog.c: Likewise.
10126         * elf/ldconfig.c: Likewise.
10127         * elf/pldd.c: Likewise.
10128         * elf/sotruss.ksh: Likewise.
10129         * catgets/gencat.c: Likewise.
10130         * csu/version.c: Likewise.
10131         * elf/ldd.bash.in: Likewise.
10132         * elf/sprof.c (print_version): Likewise.
10133         * locale/programs/locale.c: Likewise.
10134         * locale/programs/localedef.c: Likewise.
10135         * login/programs/pt_chown.c: Likewise.
10136         * nscd/nscd.c (print_version): Likewise.
10137         * debug/xtrace.sh: Likewise.
10138         * malloc/memusage.sh: Likewise.
10139         * malloc/mtrace.pl: Likewise.
10140         * debug/catchsegv.sh: Likewise.
10141
10142 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
10143
10144         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10145         pure attribute.
10146
10147 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
10148
10149         [BZ #13533]
10150         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10151         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10152         transformations.
10153         * iconv/gconv_int.h: Likewise.
10154         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10155         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10156         from libc for GLIBC_2.16.
10157         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10158         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10159         * wcsmbs/uchar.h: Really define mbstate_t.
10160         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10161         * wcsmbs/c16rtomb.c: New file.
10162         * wcsmbs/mbrtoc16.c: New file.
10163         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10164         for C/POSIX locale.
10165         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10166         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10167
10168         * wcsmbs/wchar.h: Add missing __restrict.
10169
10170 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
10171
10172         [BZ #13532]
10173         * time/Makefile (routines): Add timespec_get.
10174         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10175         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
10176         timespec for ISO C11.
10177         * time/timespec_get.c: New file.
10178         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10179         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10180
10181         [BZ #13531]
10182         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10183         * stdlib/stdlib.h: Declare aligned_alloc.
10184         * Versions.def: Add GLIBC_2.16 for libc.
10185         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10186
10187         [BZ 13527]
10188         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10189         ISO C11.
10190
10191         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10192         code.
10193
10194         [BZ #13528]
10195         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10196
10197         [BZ #13529]
10198         * assert/assert.h (static_assert): Define.
10199
10200         * version.h: Update for 2.16 development version.
10201
10202         [BZ #13526]
10203         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10204         _ISOC11_SOURCE.
10205
10206         * version.h (RELEASE): Bump for 2.15 release.
10207         * include/features.h (__GLIBC_MINOR__): Bump to 15.
10208
10209         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10210         Patch by Marek Polacek <mpolacek@redhat.com>.
10211
10212         * bits/byteswap.h: Protect long long constants with __extension__.
10213         * sysdeps/i386/bits/byteswap.h: Likewise.
10214         * sysdeps/ia64/bits/byteswap.h: Likewise.
10215         * sysdeps/s390/bits/byteswap.h: Likewise.
10216         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10217
10218 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10219
10220         [BZ #13540]
10221         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10222         destination buffer.
10223         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10224
10225 2011-12-23  Marek Polacek  <polacek@redhat.com>
10226
10227         * elf/dl-addr.c (determine_info): Add inline keyword.
10228         * elf/tst-auditmod4b.c (check_avx): Likewise.
10229         * elf/tst-auditmod6b.c (check_avx): Likewise.
10230         * elf/tst-auditmod6c.c (check_avx): Likewise.
10231         * elf/tst-auditmod7b.c (check_avx): Likewise.
10232
10233 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
10234
10235         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10236         !__SSE_MATH__.
10237
10238 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10239
10240         [BZ #13540]
10241         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10242         processing for last bytes.
10243
10244 2011-08-06  Bruno Haible  <bruno@clisp.org>
10245
10246         [BZ #13061]
10247         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10248         U+0385, not to U+1FEE.
10249
10250         [BZ #13062]
10251         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10252         entry for U+00A5 U+0301.
10253
10254 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
10255
10256         [BZ #13166]
10257         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10258         buffer for the output is too small.
10259
10260         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10261         optimization.
10262
10263         [BZ #13185]
10264         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10265         SSE flags if possible.
10266
10267 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10268
10269         [BZ #13540]
10270         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10271         processing for last bytes.
10272
10273 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
10274
10275         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10276         (syscall-list-default-options, syscall-list-default-condition)
10277         (syscall-list-includes): Define.
10278         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10279         list of ABIs and options and #if conditions for each ABI.  Do not
10280         handle common syscalls between ABIs specially.
10281         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10282         Remove.
10283         (syscall-list-variants, syscall-list-32bit-options)
10284         (syscall-list-32bit-condition, syscall-list-64bit-options)
10285         (syscall-list-64bit-condition): Define.
10286         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10287         (syscall-list-variants, syscall-list-32bit-options)
10288         (syscall-list-32bit-condition, syscall-list-64bit-options)
10289         (syscall-list-64bit-condition): Define.
10290         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10291         Remove.
10292         (syscall-list-variants, syscall-list-32bit-options)
10293         (syscall-list-32bit-condition, syscall-list-64bit-options)
10294         (syscall-list-64bit-condition): Define.
10295         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10296         Remove.
10297         (syscall-list-variants, syscall-list-32bit-options)
10298         (syscall-list-32bit-condition, syscall-list-64bit-options)
10299         (syscall-list-64bit-condition): Define.
10300
10301 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
10302
10303         * locale/iso-639.def: Add brx entry.
10304
10305         [BZ #13328]
10306         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10307         Proposed by Mariusz_Cukr <marcukr@op.pl>.
10308
10309         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10310         __feraiseexcept_renamed.
10311
10312 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
10313
10314         [BZ #13538]
10315         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10316         EPOLLET with unsigned values.
10317         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10318         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10319
10320         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10321         to large cancellation.
10322         * math/s_cacoshf.c: Likewise.
10323         * math/s_cacoshl.c: Likewise.
10324
10325 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
10326
10327         [BZ #13305]
10328         [BZ #12786]
10329         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10330         * math/s_cacoshf.c: Likewise.
10331         * math/s_cacoshl.c: Likewise.
10332
10333 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
10334
10335         [BZ #13439]
10336         * iconv/gconv.h: Define __GCONV_SWAP.
10337         * iconvdata/unicode.c: The swap bit must be stored in __flags.
10338         * iconvdata/utf-16.c: Likewise.
10339         * iconvdata/utf-32.c: Likewise.
10340
10341 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
10342
10343         [BZ #13524]
10344         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10345         numerator after shifting it by one limb.
10346
10347 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
10348
10349         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10350         under [__USE_EXTERN_INLINES].
10351
10352 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
10353
10354         [BZ #13446]
10355         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10356
10357 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10358
10359         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10360         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10361         optimized code.
10362         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10363         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10364         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10365         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10366         for strncasecmp/strncasecmp_l compilation.
10367         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10368         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10369
10370 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
10371
10372         [BZ #13484]
10373         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10374         of __asm__.
10375
10376 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
10377
10378         [BZ #13506]
10379         * time/tzfile.c (__tzfile_read): Check values from file header.
10380
10381 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
10382
10383         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10384         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10385         * powerpc/powerpc32/dl-start.S: Likewise.
10386         * powerpc/powerpc32/elf/start.S: Likewise.
10387         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10388         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10389         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10390         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10391         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10392         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10393         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10394         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10395         * powerpc/powerpc32/fpu/s_round.S: Likewise.
10396         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10397         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10398         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10399         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10400         * powerpc/powerpc32/memset.S: Likewise.
10401         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10402         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10403         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10404         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10405         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10406         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10407         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10408         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10409         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10410         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10411         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10412         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10413         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10414
10415 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10416
10417         * math/libm-test.inc: Added more nearbyint tests.
10418         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10419         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10420         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10421         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10422
10423 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
10424
10425         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10426         FD_CLOEXEC.
10427
10428 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10429
10430         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10431         Add wcscpy-ssse3 wcscpy-c.
10432         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10433         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10434         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10435         * sysdeps/x86_64/wcschr.S: New file.
10436         * sysdeps/x86_64/wcsrchr.S: New file.
10437         * string/test-strcmp.c: Remove checking of wcscmp function for
10438         wrong alignments.
10439         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10440         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10441         wcsrchr-sse2 wcsrchr-c.
10442         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10443         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10444         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10445         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10446         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10447         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10448         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10449         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10450         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10451         * wcsmbc/wcschr.c (WCSCHR): New macro.
10452
10453 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10454
10455         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10456         * wcsmbs/test-wcsrchr.c: New file.
10457         * string/test-strrchr.c: Add wcsrchr support.
10458         (WIDE): New macro.
10459         * wcsmbs/test-wcscpy.c: New file.
10460         * string/test-strcpy.c: Add wcscpy support.
10461         (WIDE): New macro.
10462
10463 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
10464
10465         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10466         the inner loop.
10467
10468 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
10469
10470         [BZ #13472]
10471         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10472
10473 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
10474
10475         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10476         Minor optimizations.
10477
10478         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10479         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10480         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10481
10482 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
10483
10484         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10485         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10486         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10487         for gcc to avoid warnings.
10488         * inet/Makefile (tests): Add tst-checks.
10489         * inet/tst-checks.c: New file.
10490
10491         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10492         warning.
10493
10494         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10495         __wmemcmp_sse2.
10496
10497         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10498         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10499
10500         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10501
10502 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
10503
10504         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10505         problem.
10506
10507         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10508
10509 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
10510
10511         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10512         conditional on GCC version.
10513         (__arch_compare_and_exchange_val_8_acq)
10514         (__arch_compare_and_exchange_val_16_acq)
10515         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10516         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10517         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10518
10519 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
10520
10521         * sysdeps/sh/backtrace.c: New file.
10522
10523 2011-12-02  Andreas Schwab  <schwab@redhat.com>
10524
10525         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
10526         parenthesis.
10527
10528 2011-12-01  Andreas Schwab  <schwab@redhat.com>
10529
10530         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10531         falling back to utime.
10532
10533 2011-11-30  Andreas Schwab  <schwab@redhat.com>
10534
10535         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10536         expectations for float.
10537
10538 2011-11-29  Andreas Schwab  <schwab@redhat.com>
10539
10540         * locale/weight.h (findidx): Add parameter len.
10541         * locale/weightwc.h (findidx): Likewise.
10542         * posix/fnmatch_loop.c (FCT): Adjust caller.
10543         * posix/regcomp.c (build_equiv_class): Likewise.
10544         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10545         * posix/regexec.c (check_node_accept_bytes): Likewise.
10546         * string/strcoll_l.c (STRCOLL): Likewise.
10547         * string/strxfrm_l.c (STRXFRM): Likewise.
10548
10549 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
10550
10551         * Makefile.in: Remove CVSOPT handling.
10552         * configure.in: Remove use of AC_REVISION.
10553         * iconvdata/Makefile (distribute): No need to filter out CVS.
10554         * scripts/list-sources.sh: Remove CVS, subversion and monotone
10555         handling.
10556
10557 2011-11-16  Andreas Schwab  <schwab@redhat.com>
10558
10559         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10560         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10561         [USE_AS_STRNCASECMP_L]: Likewise.
10562         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10563         NO_TLS_DIRECT_SEG_REFS.
10564         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10565         Fix argument offsets for non-PIC.
10566         [USE_AS_STRNCASECMP_L]: Likewise.
10567         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10568         NO_TLS_DIRECT_SEG_REFS.
10569
10570 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
10571
10572         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10573         O_CLOEXEC.
10574         * locale/loadlocale.c (_nl_load_locale): Likewise.
10575
10576 2011-11-15  Andreas Schwab  <schwab@redhat.com>
10577
10578         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10579         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10580         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10581         (SYSCALL_GETTIME): Set errno on error.
10582
10583         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10584         count references to noai6ai_cached.
10585
10586 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
10587
10588         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10589
10590         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10591         FD_CLOEXEC for /proc/self/maps.
10592
10593         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10594         FD_CLOEXEC for /proc/meminfo.
10595
10596         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10597         gai.conf.
10598
10599         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
10600         FD_CLOEXEC for given file.
10601
10602         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10603
10604         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10605         FD_CLOEXEC for /etc/hosts.
10606         (_gethtent): Likewise.
10607
10608         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10609
10610         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10611         cancellation and set FD_CLOEXEC for /etc/netgroup.
10612
10613         * nss/nss_files/files-key.c (search): Don't allow cancellation when
10614         reading /etc/publickey.
10615
10616         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10617         allow cancellation when reading /etc/group.
10618
10619         * nss/nss_files/files-alias.c (internal_setent): Don't allow
10620         cancellation.
10621         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
10622
10623         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10624         when using data file.
10625
10626         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10627
10628         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10629         (write_nis_obj): Use "c" and "e" in fopen.
10630
10631         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10632
10633         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10634
10635         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10636
10637         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10638
10639         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10640         locale.alias.
10641
10642         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10643
10644         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10645
10646         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10647
10648         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10649         file parsing and set FD_CLOEXEC.
10650
10651 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
10652
10653         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10654
10655 2011-11-14  Andreas Schwab  <schwab@redhat.com>
10656
10657         * malloc/arena.c (arena_get2): Don't call reused_arena when
10658         _int_new_arena failed.
10659
10660 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
10661
10662         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10663         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10664         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10665         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10666         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10667         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10668         to compile strcasecmp and strncasecmp.
10669         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10670         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10671
10672         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10673
10674 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
10675
10676         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10677         locale-defines.sym to gen-as-const-headers.
10678         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10679         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10681         to compile strcasecmp and strncasecmp.
10682         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10683         strcasecmp_l and strncasecmp_l.
10684         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10685         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10686         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10687         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10688         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10689         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10690         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10691         * sysdeps/i386/i686/multiarch/strncase.S: New file.
10692         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10693         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10694         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10695
10696 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
10697
10698         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10699         result of SYSDEP_GETTIME_CPU to retval.
10700         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10701         parameter list to macro.  Remove trailing semicolon.  Adjust users.
10702
10703         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10704         variable.
10705
10706         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10707         mantissa words.
10708         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10709
10710         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10711         from unused variable.
10712
10713         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10714         DWARF definitions.
10715         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10716         for assembling.
10717
10718         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10719         over namespaces.
10720
10721         * sunrpc/rpc_prot.c (rejected): Fix case value.
10722
10723         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10724         unsigned long long int to avoid warnings in shift.
10725
10726         * posix/regex_internal.c (re_string_reconstruct): Actually use result
10727         of use of trans.
10728         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10729         variable tmp.
10730
10731         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10732         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10733         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10734
10735         * nis/nis_table.c (nis_list): Use variable of correct type for
10736         result of __follow_path call.
10737
10738 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10739
10740         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10741         of math functions ceil, trunc, floor, round, and sqrt, when
10742         avaliable on the platform.
10743         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10744         name clash.
10745         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10746         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10747         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10748
10749 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
10750
10751         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10752         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10753
10754 2011-11-11  Roland McGrath  <roland@hack.frob.com>
10755
10756         * include/unistd.h: Fix __readlink return type.
10757         Reported by Chris Metcalf <cmetcalf@tilera.com>.
10758
10759 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
10760
10761         * stdlib/ucontext.h: Undo last change for makecontext.
10762
10763 2011-11-11  Andreas Schwab  <schwab@redhat.com>
10764
10765         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10766
10767         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10768         * setjmp/setjmp.h: Mark functions as non-leaf.
10769         * setjmp/bits/setjmp2.h: Likewise.
10770         * stdlib/ucontext.h: Likewise.
10771
10772 2011-11-10  Andreas Schwab  <schwab@redhat.com>
10773
10774         * malloc/arena.c (_int_new_arena): Don't increment narenas.
10775         (reused_arena): Don't check arena limit.
10776         (arena_get2): Atomically check arena limit.
10777
10778 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
10779
10780         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10781         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10782
10783         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10784         instructions.
10785
10786 2011-11-07  Andreas Schwab  <schwab@redhat.com>
10787
10788         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10789         handler when locking.
10790
10791         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10792         Fix size of allocated buffer.
10793
10794 2011-11-04  Andreas Schwab  <schwab@redhat.com>
10795
10796         [BZ #10103]
10797         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10798         declarations for long double functions.
10799         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10800
10801         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10802
10803 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10804
10805         * nscd/nscd.c (main): Don't start AVC thread until credentials are
10806         installed.
10807
10808         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10809         is disabled.
10810
10811 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10812
10813         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10814
10815 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10816
10817         * include/alloca.h (stackinfo_alloca_round): Define.
10818         (extend_alloca): Use it.
10819         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10820         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10821         here.
10822
10823         * scripts/check-local-headers.sh: Ignore libaudit.h.
10824
10825         * nscd/Makefile (extra-objs): Make recursively expanded.
10826
10827 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
10828
10829         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10830         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10831
10832         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10833         * posix/tst-rfc3484-2.c: Likewise.
10834         * posix/tst-rfc3484-3.c: Likewise.
10835
10836         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10837         process_vm_writev.
10838         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10839         process_vm_writev.
10840         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10841         process_vm_writev from libc using GLIBC_2.15 version.
10842
10843         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10844
10845 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
10846
10847         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10848         stack usage.
10849
10850 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
10851
10852         [BZ #13367]
10853         * nss/getent.c (initgroups_keys): Show error message in case no group
10854         names are given.
10855
10856         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10857         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10858         __bump_nl_timestamp.
10859         * nscd/connections (nscd_init): When host database is served open
10860         netlink socket and request notification about configuration changes.
10861         (main_loop_poll): Track netlink file descriptor and bump timestamp
10862         in case data becomes available.
10863         (main_loop_epoll): Likewise.
10864         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10865         (database_pers_head): Add extra_data fileds.
10866         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10867         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10868         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10869         Adjust caller.
10870         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10871         in6ai data, call __free_in6ai.
10872         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10873         Add -DHAVE_NETLINK.
10874         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
10875         interface information.  Reuse previous data if netlink timestamp
10876         is not changed.
10877         (__bump_nl_timestamp): New function.
10878         (__free_in6ai): New function.
10879
10880 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
10881
10882         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10883         close_not_cancel_no_status here.
10884         (__check_pf): Reorganize code a bit to not call close twice if OOM.
10885
10886 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
10887
10888         [BZ #13276]
10889         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10890         return value.
10891
10892         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10893         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10894         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10895
10896 2011-07-03  Andreas Jaeger  <aj@suse.de>
10897
10898         [BZ #10709]
10899         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10900         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10901         * math/libm-test.inc (sin_test): Add test case.
10902
10903 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
10904
10905         [BZ #13337]
10906         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10907         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10908
10909         * elf/chroot_canon.c (chroot_canon): Cleanups.
10910
10911         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10912
10913         [BZ #13335]
10914         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10915         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10916
10917         * string/test-strchr.c: Make usable for strchrnul testing.
10918         * string/test-strchrnul.c: New file.
10919         * string/Makefile (strop-tests): Add strchrnul.
10920
10921         * po/it.po: Update from translation team.
10922         * po/es.po: Likewise.
10923
10924 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
10925
10926         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10927         the three constants needed as parameters.  Drop the others.
10928         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10929         __m128i_strloadu_tolower.
10930         Create and initialize variable zero and use it in all the places
10931         where _mm_setzero_si128 was used.
10932
10933         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10934         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10935         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10936         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10937         anymore.
10938         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10939         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10940         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10941         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10942         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10943         __mpranred, __mptan.
10944         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10945         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10946         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10947         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10948         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10949         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10950         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10951         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10952         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10953
10954 2011-10-28  Andreas Schwab  <schwab@redhat.com>
10955
10956         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10957         redefine if SHARED.
10958         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10959
10960         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10961         wide char related routines to wcsmbs subdir.
10962
10963 2011-10-27  Andreas Schwab  <schwab@redhat.com>
10964
10965         [BZ #13344]
10966         * misc/sys/cdefs.h (__THROWNL): Define.
10967         * posix/unistd.h: Use __THREADNL instead of __THREAD
10968         for memory synchronization functions.
10969
10970 2011-10-26  Roland McGrath  <roland@hack.frob.com>
10971
10972         [BZ #13349]
10973         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10974         doesn't exist.
10975         * manual/stdio.texi (Obstack Streams): Node removed.
10976
10977 2011-10-26  Andreas Schwab  <schwab@redhat.com>
10978
10979         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10980         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10981         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10982
10983         * math/math_private.h (math_force_eval): Allow non-addressable
10984         arguments.
10985         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10986
10987 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10988
10989         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10990         file is not needed.
10991
10992         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10993         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10994         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10995         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10996         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10997         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10998         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10999         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11000         Add AVX variants.
11001         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11002         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11003         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11004         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11005         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11006         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11007         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11008         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11009         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11010         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11011         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11012         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11013         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11014         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11015         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11016         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11017         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11018         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11019         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11020
11021         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11022         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
11023
11024         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11025         place.  Use VEX encoding when compiling for AVX.
11026
11027 2011-10-25  Andreas Schwab  <schwab@redhat.com>
11028
11029         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11030         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11031
11032         * string/test-strchr.c (do_test): Don't generate NUL bytes.
11033
11034 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
11035
11036         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11037         useless if() expression.
11038         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11039         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11040         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11041         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11042         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11043         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11044         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11045         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11046         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11047         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11048         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11049         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11050         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11051         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11052         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11053         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11054         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11055         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11056         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11057
11058         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11059
11060 2011-10-25  Andreas Schwab  <schwab@redhat.com>
11061
11062         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11063         condition.
11064         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11065
11066 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
11067
11068         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11069         .text section.  Avoid duplicate constants.
11070         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11071         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11072         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11073         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11074         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11075         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11076         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11077         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11078         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11079         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11080         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11081         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11082         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11083         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11084         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11085         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11086         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11087         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11088         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11089         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11090         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11091         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11092         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11093         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11094         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11095         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11096         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11097         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11098         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11099         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11100         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11101         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11102         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11103         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11104         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11105         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11106         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11107         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11108         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11109         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11110         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11111         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11112         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11113         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11114         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11115
11116 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
11117
11118         * sysdeps/x86_64/dla.h: Move to ...
11119         * sysdeps/x86_64/fpu/dla.h: ...here.
11120         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11121         situations.  Use __builtin_fma only for gcc 4.6 and up.
11122
11123         * config.make.in: Add have-mfma4 entry.
11124         * configure.in: Substitute libc_cv_cc_fma4.
11125         * math/Makefile (dbl-only-routines): Add sincostab.
11126         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11127         Use __sincostab not sincos.
11128         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11129         name is a macro.
11130         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11131         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11132         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
11134         using __copysign.
11135         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
11136         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
11137         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11138         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11139         and __inv.
11140         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11141         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11142         __copysign.
11143         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
11144         define aliases when function name is a macro.
11145         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11146         sysdeps/ieee754/dbl-64/sincos.tbl.
11147         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11148         fma4-enabled routines.
11149         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11150         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11151         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11152         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11153         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11154         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11155         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11156         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11157         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11158         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11159         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11160         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11161         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11162         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11163         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11164         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11165         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11166         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11167         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11168         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11169         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11170         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11171         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11172         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11173         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11174         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11175         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11176         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11177         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11178         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11179
11180         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11181         rename.
11182         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11183         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11184         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11185         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11186         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11187         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11188         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11189         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11190
11191 2011-10-24  Andreas Schwab  <schwab@redhat.com>
11192
11193         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11194
11195 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11196
11197         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11198
11199         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11200         prediction.
11201         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11202
11203         * string/strnlen.c: Don't define STRNLEN, reverse logic.
11204         Remove unused variable magic_bits.
11205         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11206
11207         * string/strnlen.c: Define and use STRNLEN macro.
11208         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11209         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11210         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11211         * wcsmbs/wcslen.c: Define and use WCSLEN.
11212         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11213         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11214         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11215         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11216         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11217         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11218         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11219
11220 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11221
11222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11223         strnlen-sse2-no-bsf.
11224         Rename strlen-no-bsf to strlen-sse2-no-bsf.
11225         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11226         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11227         Add strnlen support.
11228         (USE_AS_STRNLEN): New macro.
11229         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11230         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11231         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11232         * sysdeps/x86_64/wcslen.S: New file.
11233
11234 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
11235
11236         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11237         XMM-moves are used for copying on small sizes.
11238
11239 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11240
11241         * wcsmbs/Makefile (strop-tests): Add wcschr.
11242         * wcsmbs/test-wcschr.c: New file.
11243         * string/test-strchr.c: Update.
11244         Add wcschr support.
11245         (WIDE): New macro.
11246
11247 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11248
11249         * wcsmbs/Makefile (strop-tests): Add wcslen.
11250         * wcsmbs/test-wcslen.c: New file.
11251         * string/test-strlen.c: Update.
11252         Add wcslen support.
11253         (WIDE): New macro.
11254
11255 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11256
11257         * po/it.po: Update from translation team.
11258
11259 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11260
11261         * sysdeps/x86_64/wcscmp.S: Update.
11262         Fix wrong comparison semantics.
11263         wcscmp shall use signed comparison not unsigned.
11264         Don't use substraction to avoid overflow bug.
11265         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11266         * wcsmbc/wcscmp.c: Likewise.
11267         * string/test-strcmp.c: Likewise.
11268         Add new tests to check cases with negative values.
11269
11270 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11271
11272         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11273         * sysdeps/x86_64/dla.h: ...here.  New file.
11274         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11275         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11276         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11277         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11278         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11279         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11280         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11281         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11282         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11283
11284 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
11285
11286         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11287         __ynl_finite aliases.
11288
11289 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
11290
11291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11292
11293         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11294         define DLA_FMA.
11295         [DLA_FMA] (EMULV): Use DLA_FMA.
11296         [DLA_FMA] (MUL12): Use EMULV.
11297         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11298         that are not needed.
11299         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11300         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11301         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11302         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11303         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11304         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11305         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11306
11307 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
11308
11309         * math/s_nan.c: Undef __nan.
11310         * math/s_nanf.c: Undef __nanf.
11311         * math/s_nanl.c: Undef __nanl.
11312         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11313         "math_private.h".
11314
11315 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
11316
11317         * math/s_catan.c: Add branch predictions.
11318         * math/s_catanf.c: Likewise.
11319         * math/s_catanh.c: Likewise.
11320         * math/s_catanhf.c: Likewise.
11321         * math/s_catanhl.c: Likewise.
11322         * math/s_catanl.c: Likewise.
11323         * math/s_cexp.c: Likewise.
11324         * math/s_cexpf.c: Likewise.
11325         * math/s_cexpl.c: Likewise.
11326         * math/s_clog.c: Likewise.
11327         * math/s_clog10.c: Likewise.
11328         * math/s_clog10f.c: Likewise.
11329         * math/s_clog10l.c: Likewise.
11330         * math/s_clogf.c: Likewise.
11331         * math/s_clogl.c: Likewise.
11332         * math/s_csqrt.c: Likewise.
11333         * math/s_csqrtf.c: Likewise.
11334         * math/s_csqrtl.c: Likewise.
11335         * math/s_ctanf.c: Likewise.
11336         * math/s_ctanh.c: Likewise.
11337         * math/s_ctanhf.c: Likewise.
11338         * math/s_ctanhl.c: Likewise.
11339         * math/s_ctanl.c: Likewise.
11340
11341         * math/math_private.h: Define __nan, __nanf, __nanl.
11342         * math/s_cacosh.c: Include <math_private.h>.
11343         * math/s_cacoshl.c: Likewise.
11344         * math/s_casinh.c: Likewise.
11345         * math/s_casinhf.c: Likewise.
11346         * math/s_casinhl.c: Likewise.
11347         * math/s_ccos.c: Rely entire on ccosh.
11348         * math/s_ccosf.c: Rely entire on ccoshf.
11349         * math/s_ccosl.c: Rely entirely on ccoshl.
11350         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
11351         Remove tests for FE_INVALID.
11352         * math/s_ccoshf.c: Likewise.
11353         * math/s_ccoshl.c: Likewise.
11354         * math/s_csin.c: Likewise.
11355         * math/s_csinf.c: Likewise.
11356         * math/s_csinh.c Likewise.
11357         * math/s_csinhf.c: Likewise.
11358         * math/s_csinhl.c: Likewise.
11359         * math/s_csinl.c: Likewise.
11360         * math/s_ctan.c: Likewise.
11361         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11362         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11363         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11364
11365 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
11366
11367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11368         compilation problems.
11369
11370         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11371         __builtin_expect.
11372
11373 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
11374
11375         * sysdeps/i386/configure.in: Test for -mfma4 option.
11376         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11377         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11378         COMMON_CPUID_INDEX_80000001.
11379         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11380         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11381         use it if FMA3 is not supported.
11382         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11383
11384         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11385         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11386
11387 2011-10-20  Andreas Schwab  <schwab@redhat.com>
11388
11389         [BZ #12892]
11390         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11391         it would create a cycle with a link time dependency.
11392
11393 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
11394
11395         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11396         instruction.
11397         * string/Makefile (strop-tests): Add rawmemchr.
11398         * string/test-rawmemchr.c: New file.
11399
11400         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11401         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
11402         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
11403         when compiling str{,n}casecmp and when AVX is available.  Hook up
11404         new optimized code in initializers.
11405
11406 2011-10-19  Andreas Schwab  <schwab@redhat.com>
11407
11408         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11409         __feraiseexcept instead of feraiseexcept.
11410
11411 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
11412
11413         * math/math_private.h: Define defaults for libc_fetestexcept and
11414         libc_feupdateenv.
11415         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11416         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11417         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11418         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11419         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11420         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11421         libc_fetestexcept and libc_feupdateenv.
11422
11423         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11424         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11425         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11426         * sysdeps/x86_64/fpu/math_private.h: Define special version of
11427         libc_feholdexcept_setround.
11428
11429         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11430         Add s_nearbyint-c and s_nearbyintf-c.
11431         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11432         nearbyintf inlines.
11433         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11434         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11435         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11436         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11437
11438         * math/math_private.h: Define defaults for libc_fegetround,
11439         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11440         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11441         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11442         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11443         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11444         standard functions.
11445         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11446         Remove comments and hacks for old compiler versions.
11447         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11448         libc_fegetround, libc_fesetround, libc_feholdexcept, and
11449         libc_feholdexceptl.
11450
11451 2011-10-18  Andreas Schwab  <schwab@redhat.com>
11452
11453         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11454         (__feraiseexcept_renamed): Add __NTH.
11455         (feraiseexcept): Add __NTH.  Rename local variables to fix
11456         namespace violations.
11457
11458 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
11459
11460         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11461
11462         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11463
11464         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11465         recently added interfaces.
11466         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11467
11468         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11469         about macro parameter expansion.
11470
11471         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11472         __NO_MATH_INLINES is defined.  Cleanups.
11473
11474         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11475         and __floorf is target has SSE4.1.
11476         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11477         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11478         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11479         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11480
11481         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11482         name.
11483         (floorf): Likewise.
11484
11485         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11486
11487 2011-10-17  Andreas Schwab  <schwab@redhat.com>
11488
11489         * misc/sys/cdefs.h: Fix last change.
11490
11491         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11492         database lookup.
11493
11494 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
11495
11496         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11497
11498         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11499         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11500         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11501         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11502         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11503         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11504         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11505         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11506         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11507         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11508         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11509         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11510         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11511         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11512         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11513         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11514         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11515         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11516         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11517         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11518         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11519         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11520
11521         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11522         ceil, ceilf, floor, floorf.
11523
11524         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11525         Perform IRELATIVE relocations last.
11526
11527         * elf/do-rel.h: Add another parameter nrelative, replacing the
11528         local variable with the same name.  Change name of the function
11529         to end in Rel or Rela (uppercase).
11530         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11531         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
11532         elf_dynamic_do_##reloc function.
11533
11534 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
11535
11536         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11537         is sufficient, at least on modern CPUs.
11538
11539         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11540
11541         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11542         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11543
11544         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11545         __expl_finite.
11546         * math/bits/math-finite.h: Add entries for exp.
11547         * math/e_expl.c: Add __*_finite alias.
11548         * sysdeps/i386/fpu/e_exp.S: Likewise.
11549         * sysdeps/i386/fpu/e_expf.S: Likewise.
11550         * sysdeps/i386/fpu/e_expl.c: Likewise.
11551         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11552         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11553         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11554         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11555         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11556         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11557         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11558
11559         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11560         is sufficient, at least on modern CPUs.
11561
11562         * ctype/ctype-info.c (__ctype_init): Define.
11563         * include/ctype.h (__ctype_init): Declare.
11564         (__ctype_b_loc): The variable is always initialized.
11565         (__ctype_toupper_loc): Likewise.
11566         (__ctype_tolower_loc): Likewise.
11567         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11568         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11569
11570 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
11571
11572         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11573
11574         * configure.in: Also look in $cxxmachine/include for C++ system
11575         headers.
11576
11577 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11578
11579         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11580         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11581         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11582         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
11583         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11584         (USE_AS_WMEMCMP): New macro.
11585         Fixing indents.
11586         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11587         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11588         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11589         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11591         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11592         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11593         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11594         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11595         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11596         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11597         (USE_AS_WMEMCMP): New macro.
11598         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11599         * sysdeps/string/test-memcmp.c: Update.
11600         Fix simple_wmemcmp.
11601         Add new tests.
11602         * wcsmbs/wmemcmp.c: Update.
11603         (WMEMCMP): New macro.
11604         Fix overflow bug.
11605
11606 2011-10-12  Andreas Jaeger  <aj@suse.de>
11607
11608         [BZ #13268]
11609         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11610
11611 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
11612
11613         * libio/iofwide.c (do_length): Avoid warning.
11614
11615         * ctype/ctype.h (__isctype_f): Add missing __THROW.
11616
11617 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
11618
11619         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11620
11621         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11622         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11623         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11624         * sysdeps/i386/i686/fpu/e_log.S: New file.
11625         * sysdeps/i386/i686/fpu/e_logf.S: New file.
11626         * sysdeps/i386/i686/fpu/e_logl.S: New file.
11627
11628         * ctype/ctype.h: Add support for inlined isXXX functions when
11629         compiling C++ code.
11630
11631 2011-10-14  Andreas Schwab  <schwab@redhat.com>
11632
11633         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11634
11635         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11636
11637 2011-10-13  Roland McGrath  <roland@hack.frob.com>
11638
11639         [BZ #13291]
11640         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11641
11642 2011-10-13  Andreas Schwab  <schwab@redhat.com>
11643
11644         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11645         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11646         feraiseexcept.
11647
11648         * sysdeps/x86_64/memrchr.S: Check for zero size.
11649
11650         * string/stratcliff.c: Add memrchr tests.
11651
11652 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11653
11654         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11655         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11656         rawmemchr-sse2 rawmemchr-sse2-bsf.
11657         * sysdeps/i386/i686/multiarch/memchr.S: New file.
11658         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11659         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11660         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11661         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11662         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11663         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11664         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11665         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11666         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11667         * string/memrchr.c (MEMRCHR): New macro.
11668
11669 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
11670
11671         Add integration with gcc's -ffinite-math-only and optimize wrapper
11672         functions in libm.
11673         * Versions.def: Define GLIBC_2.15 version for libm.
11674         * math/Makefile (headers): Add bits/math-finite.h.
11675         * math/bits/math-finite.h: New file.
11676         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11677         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11678         * math/e_acoshl.c: Add __*_finite alias.
11679         * math/e_acosl.c: Likewise.
11680         * math/e_asinl.c: Likewise.
11681         * math/e_atan2l.c: Likewise.
11682         * math/e_atanhl.c: Likewise.
11683         * math/e_coshl.c: Likewise.
11684         * math/e_exp10.c: Likewise.
11685         * math/e_exp10f.c: Likewise.
11686         * math/e_exp10l.c: Likewise.
11687         * math/e_exp2l.c: Likewise.
11688         * math/e_fmodl.c: Likewise.
11689         * math/e_gammal_r.c: Likewise.
11690         * math/e_hypotl.c: Likewise.
11691         * math/e_j0l.c: Likewise.
11692         * math/e_j1l.c: Likewise.
11693         * math/e_jnl.c: Likewise.
11694         * math/e_lgammal_r.c: Likewise.
11695         * math/e_log10l.c: Likewise.
11696         * math/e_log2l.c: Likewise.
11697         * math/e_logl.c: Likewise.
11698         * math/e_powl.c: Likewise.
11699         * math/e_sinhl.c: Likewise.
11700         * math/e_sqrtl.c: Likewise.
11701         * math/e_scalb.c: Completely rewritten and optimized.
11702         * math/e_scalbf.c: Likewise.
11703         * math/e_scalbl.c: Likewise.
11704         * math/w_acos.c: Likewise.
11705         * math/w_acosf.c: Likewise.
11706         * math/w_acosl.c: Likewise.
11707         * math/w_acosh.c: Likewise.
11708         * math/w_acoshf.c: Likewise.
11709         * math/w_acoshl.c: Likewise.
11710         * math/w_asin.c: Likewise.
11711         * math/w_asinf.c: Likewise.
11712         * math/w_asinl.c: Likewise.
11713         * math/w_atan2.c: Likewise.
11714         * math/w_atan2f.c: Likewise.
11715         * math/w_atan2l.c: Likewise.
11716         * math/w_atanh.c: Likewise.
11717         * math/w_atanhf.c: Likewise.
11718         * math/w_atanhl.c: Likewise.
11719         * math/w_exp10.c: Likewise.
11720         * math/w_exp10f.c: Likewise.
11721         * math/w_exp10l.c: Likewise.
11722         * math/w_fmod.c: Likewise.
11723         * math/w_fmodf.c: Likewise.
11724         * math/w_fmodl.c: Likewise.
11725         * math/w_j0.c: Likewise.
11726         * math/w_j0f.c: Likewise.
11727         * math/w_j0l.c: Likewise.
11728         * math/w_j1.c: Likewise.
11729         * math/w_j1f.c: Likewise.
11730         * math/w_j1l.c: Likewise.
11731         * math/w_jn.c: Likewise.
11732         * math/w_jnf.c: Likewise.
11733         * math/w_log.c: Likewise.
11734         * math/w_logf.c: Likewise.
11735         * math/w_logl.c: Likewise.
11736         * math/w_log10.c: Likewise.
11737         * math/w_log10f.c: Likewise.
11738         * math/w_log10l.c: Likewise.
11739         * math/w_log2.c: Likewise.
11740         * math/w_log2f.c: Likewise.
11741         * math/w_log2l.c: Likewise.
11742         * math/w_pow.c: Likewise.
11743         * math/w_powf.c: Likewise.
11744         * math/w_powl.c: Likewise.
11745         * math/w_remainder.c: Likewise.
11746         * math/w_remainderf.c: Likewise.
11747         * math/w_remainderl.c: Likewise.
11748         * math/w_scalb.c: Likewise.
11749         * math/w_scalbf.c: Likewise.
11750         * math/w_scalbl.c: Likewise.
11751         * math/w_sqrt.c: Likewise.
11752         * math/w_sqrtf.c: Likewise.
11753         * math/w_sqrtl.c: Likewise.
11754         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11755         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
11756         used.
11757         * math/math_private.h: Declare __kernel_standard_f.
11758         * math/w_cosh.c: Remove cruft and optimize a bit.
11759         * math/w_coshf.c: Likewise.
11760         * math/w_coshl.c: Likewise.
11761         * math/w_exp2.c: Likewise.
11762         * math/w_exp2f.c: Likewise.
11763         * math/w_exp2l.c: Likewise.
11764         * math/w_hypot.c: Likewise.
11765         * math/w_hypotf.c: Likewise.
11766         * math/w_hypotl.c: Likewise.
11767         * math/w_lgamma.c: Likewise.
11768         * math/w_lgamma_r.c: Likewise.
11769         * math/w_lgammaf.c: Likewise.
11770         * math/w_lgammaf_r.c: Likewise.
11771         * math/w_lgammal.c: Likewise.
11772         * math/w_lgammal_r.c: Likewise.
11773         * math/w_sinh.c: Likewise.
11774         * math/w_sinhf.c: Likewise.
11775         * math/w_sinhl.c: Likewise.
11776         * math/w_tgamma.c: Likewise.
11777         * math/w_tgammaf.c: Likewise.
11778         * math/w_tgammal.c: Likewise.
11779         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11780         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11781         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11782         Minor optimizations.  Pretty printing.  Remove cruft.
11783         * sysdeps/i386/fpu/e_acosf.S: Likewise.
11784         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11785         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11786         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11787         * sysdeps/i386/fpu/e_acosl.c: Likewise.
11788         * sysdeps/i386/fpu/e_asin.S: Likewise.
11789         * sysdeps/i386/fpu/e_asinf.S: Likewise.
11790         * sysdeps/i386/fpu/e_atan2.S: Likewise.
11791         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11792         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11793         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11794         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11795         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11796         * sysdeps/i386/fpu/e_exp10.S: Likewise.
11797         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11798         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11799         * sysdeps/i386/fpu/e_exp2.S: Likewise.
11800         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11801         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11802         * sysdeps/i386/fpu/e_fmod.S: Likewise.
11803         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11804         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11805         * sysdeps/i386/fpu/e_hypot.S: Likewise.
11806         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11807         * sysdeps/i386/fpu/e_log.S: Likewise.
11808         * sysdeps/i386/fpu/e_log10.S: Likewise.
11809         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11810         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11811         * sysdeps/i386/fpu/e_log2.S: Likewise.
11812         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11813         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11814         * sysdeps/i386/fpu/e_logf.S: Likewise.
11815         * sysdeps/i386/fpu/e_logl.S: Likewise.
11816         * sysdeps/i386/fpu/e_pow.S: Likewise.
11817         * sysdeps/i386/fpu/e_powf.S: Likewise.
11818         * sysdeps/i386/fpu/e_powl.S: Likewise.
11819         * sysdeps/i386/fpu/e_remainder.S: Likewise.
11820         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11821         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11822         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11823         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11824         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11825         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11826         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11827         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11828         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11829         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11830         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11831         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11832         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11833         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11834         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11835         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11836         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11837         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11838         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11839         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11840         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11841         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11842         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11843         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11844         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11845         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11846         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11847         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11848         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11849         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11850         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11851         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11852         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11853         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11854         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11855         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11856         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11857         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11858         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11859         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11860         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11861         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11862         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11863         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11864         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11865         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11866         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11867         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11868         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11869         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11870         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11871         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11872         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11873         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11874         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11875         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11876         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11877         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11878         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11879         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11880         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11881         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11882         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11883         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11884         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11885         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11886         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11887         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11888         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11889         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11890         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11891         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11892         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11893         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11894         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11895         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11896         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11897         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11898         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11899         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11900         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11901         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11902         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11903         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11904         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11905         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11906         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11907         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11908         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11909         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11910         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11911         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11912         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11913         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11914         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11915         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11916         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11917         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11918         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11919         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11920         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11921         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11922         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11923         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11924         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11925         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11926         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11927         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11928         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11929         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11930         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11931         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11932         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11933         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11934         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11935         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11936         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11937         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11938         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
11939         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11940         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11941         (__isnanf): Likewise.
11942         (__isinf_ns): Likewise.
11943         (__isinf_nsf): Likewise.
11944         (__finite): Likewise.
11945         (__finitef): Likewise.
11946         (__ieee754_sqrt): Define as macro.
11947         (__ieee754_sqrtf): Define as macro.
11948         (__ieee754_sqrtl): Define as macro.
11949         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11950         inlined copy.
11951         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11952         __FINITE_MATH_ONLY__ consistent.
11953         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11954
11955 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
11956
11957         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11958         of rawmemchr.
11959
11960         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11961
11962 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
11963
11964         * po/ja.po: Update from translation team.
11965
11966 2011-10-08  Roland McGrath  <roland@hack.frob.com>
11967
11968         * locale/programs/locarchive.c (prepare_address_space): New function.
11969         (create_archive, enlarge_archive, open_archive): Use it.
11970
11971         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11972         inside [SHARED], where it is used.
11973
11974         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11975
11976         * nss/getent.c (netgroup_keys): Remove unused variable.
11977         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11978
11979 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
11980
11981         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11982         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11983         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11984         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11985         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11986         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11987         * math/Makefile (libm-calls): Add s_isinf_ns.
11988         * math/divtc3.c: Use __isinf_nsl instead of isinf.
11989         * math/multc3.c: Likewise.
11990         * math/s_casin.c: Likewise.
11991         * math/s_casinf.c: Likewise.
11992         * math/s_casinl.c: Likewise.
11993         * math/s_ccos.c: Likewise.
11994         * math/s_ccosf.c: Likewise.
11995         * math/s_ccosl.c: Likewise.
11996         * math/s_ctan.c: Likewise.
11997         * math/s_ctanf.c: Likewise.
11998         * math/s_ctanh.c: Likewise.
11999         * math/s_ctanhf.c: Likewise.
12000         * math/s_ctanhl.c: Likewise.
12001         * math/s_ctanl.c: Likewise.
12002         * math/w_fmod.c: Likewise.
12003         * math/w_fmodf.c: Likewise.
12004         * math/w_fmodl.c: Likewise.
12005         * math/w_remainder.c: Likewise.
12006         * math/w_remainderf.c: Likewise.
12007         * math/w_remainderl.c: Likewise.
12008         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12009         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12010         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12011         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12012         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12013         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12014         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12015         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12016
12017         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12018         of the number.
12019         * stdio-common/printf_fphex.c: Likewise.
12020         * stdio-common/printf_size.c: Likewise.
12021
12022         * math/e_exp10.c: Include math_private.h using <...> not "...".
12023         * math/e_exp10f.c: Likewise.
12024         * math/e_exp10l.c: Likewise.
12025         * math/e_exp2l.c: Likewise.
12026         * math/e_j0l.c: Likewise.
12027         * math/e_j1l.c: Likewise.
12028         * math/e_jnl.c: Likewise.
12029         * math/e_lgammal_r.c: Likewise.
12030         * math/e_rem_pio2l.c: Likewise.
12031         * math/e_scalb.c: Likewise.
12032         * math/e_scalbf.c: Likewise.
12033         * math/e_scalbl.c: Likewise.
12034         * math/k_cosl.c: Likewise.
12035         * math/k_sinl.c: Likewise.
12036         * math/k_tanl.c: Likewise.
12037         * math/s_cacoshf.c: Likewise.
12038         * math/s_catan.c: Likewise.
12039         * math/s_catanf.c: Likewise.
12040         * math/s_catanh.c: Likewise.
12041         * math/s_catanhf.c: Likewise.
12042         * math/s_catanhl.c: Likewise.
12043         * math/s_catanl.c: Likewise.
12044         * math/s_ccosh.c: Likewise.
12045         * math/s_ccoshf.c: Likewise.
12046         * math/s_ccoshl.c: Likewise.
12047         * math/s_cexp.c: Likewise.
12048         * math/s_cexpf.c: Likewise.
12049         * math/s_cexpl.c: Likewise.
12050         * math/s_clog.c: Likewise.
12051         * math/s_clog10.c: Likewise.
12052         * math/s_clog10f.c: Likewise.
12053         * math/s_clog10l.c: Likewise.
12054         * math/s_clogf.c: Likewise.
12055         * math/s_clogl.c: Likewise.
12056         * math/s_csin.c: Likewise.
12057         * math/s_csinf.c: Likewise.
12058         * math/s_csinh.c: Likewise.
12059         * math/s_csinhf.c: Likewise.
12060         * math/s_csinhl.c: Likewise.
12061         * math/s_csinl.c: Likewise.
12062         * math/s_csqrt.c: Likewise.
12063         * math/s_csqrtf.c: Likewise.
12064         * math/s_csqrtl.c: Likewise.
12065         * math/s_ctan.c: Likewise.
12066         * math/s_ctanf.c: Likewise.
12067         * math/s_ctanh.c: Likewise.
12068         * math/s_ctanhf.c: Likewise.
12069         * math/s_ctanhl.c: Likewise.
12070         * math/s_ctanl.c: Likewise.
12071         * math/s_ldexp.c: Likewise.
12072         * math/s_ldexpf.c: Likewise.
12073         * math/s_ldexpl.c: Likewise.
12074         * math/s_significand.c: Likewise.
12075         * math/s_significandf.c: Likewise.
12076         * math/s_significandl.c: Likewise.
12077         * math/w_acos.c: Likewise.
12078         * math/w_acosf.c: Likewise.
12079         * math/w_acosh.c: Likewise.
12080         * math/w_acoshf.c: Likewise.
12081         * math/w_acoshl.c: Likewise.
12082         * math/w_acosl.c: Likewise.
12083         * math/w_asin.c: Likewise.
12084         * math/w_asinf.c: Likewise.
12085         * math/w_asinl.c: Likewise.
12086         * math/w_atan2.c: Likewise.
12087         * math/w_atan2f.c: Likewise.
12088         * math/w_atan2l.c: Likewise.
12089         * math/w_atanh.c: Likewise.
12090         * math/w_atanhf.c: Likewise.
12091         * math/w_atanhl.c: Likewise.
12092         * math/w_cosh.c: Likewise.
12093         * math/w_coshf.c: Likewise.
12094         * math/w_coshl.c: Likewise.
12095         * math/w_dremf.c: Likewise.
12096         * math/w_exp10.c: Likewise.
12097         * math/w_exp10f.c: Likewise.
12098         * math/w_exp10l.c: Likewise.
12099         * math/w_exp2.c: Likewise.
12100         * math/w_exp2f.c: Likewise.
12101         * math/w_fmod.c: Likewise.
12102         * math/w_fmodf.c: Likewise.
12103         * math/w_fmodl.c: Likewise.
12104         * math/w_hypot.c: Likewise.
12105         * math/w_hypotf.c: Likewise.
12106         * math/w_hypotl.c: Likewise.
12107         * math/w_j0.c: Likewise.
12108         * math/w_j0f.c: Likewise.
12109         * math/w_j0l.c: Likewise.
12110         * math/w_j1.c: Likewise.
12111         * math/w_j1f.c: Likewise.
12112         * math/w_j1l.c: Likewise.
12113         * math/w_jn.c: Likewise.
12114         * math/w_jnf.c: Likewise.
12115         * math/w_jnl.c: Likewise.
12116         * math/w_lgamma.c: Likewise.
12117         * math/w_lgamma_r.c: Likewise.
12118         * math/w_lgammaf.c: Likewise.
12119         * math/w_lgammaf_r.c: Likewise.
12120         * math/w_lgammal.c: Likewise.
12121         * math/w_lgammal_r.c: Likewise.
12122         * math/w_log.c: Likewise.
12123         * math/w_log10.c: Likewise.
12124         * math/w_log10f.c: Likewise.
12125         * math/w_log10l.c: Likewise.
12126         * math/w_log2.c: Likewise.
12127         * math/w_log2f.c: Likewise.
12128         * math/w_log2l.c: Likewise.
12129         * math/w_logf.c: Likewise.
12130         * math/w_logl.c: Likewise.
12131         * math/w_pow.c: Likewise.
12132         * math/w_powf.c: Likewise.
12133         * math/w_powl.c: Likewise.
12134         * math/w_remainder.c: Likewise.
12135         * math/w_remainderf.c: Likewise.
12136         * math/w_remainderl.c: Likewise.
12137         * math/w_scalb.c: Likewise.
12138         * math/w_scalbf.c: Likewise.
12139         * math/w_scalbl.c: Likewise.
12140         * math/w_sinh.c: Likewise.
12141         * math/w_sinhf.c: Likewise.
12142         * math/w_sinhl.c: Likewise.
12143         * math/w_sqrt.c: Likewise.
12144         * math/w_sqrtf.c: Likewise.
12145         * math/w_sqrtl.c: Likewise.
12146         * math/w_tgamma.c: Likewise.
12147         * math/w_tgammaf.c: Likewise.
12148         * math/w_tgammal.c: Likewise.
12149
12150         * po/ja.po: Update from translation team.
12151
12152 2011-09-29  Andreas Jaeger  <aj@suse.de>
12153
12154         [BZ #13179]
12155         * sunrpc/netname.c (netname2host): Fix logic.
12156
12157         [BZ #6779]
12158         [BZ #6783]
12159         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12160         correctly.
12161         * math/w_remainder.c (__remainder): Likewise.
12162         * math/w_remainderf.c (__remainderf): Likewise.
12163         * math/libm-test.inc (remainder_test): Add test cases.
12164
12165 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12166
12167         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
12168         sdiv_qrnnd.
12169
12170 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
12171
12172         * string/test-memcmp.c: Avoid unncessary #defines.
12173         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12174
12175 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12176
12177         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12178         Use new sse2 version for core i3 - i7 as it's faster
12179         than sse42 version.
12180         (bit_Prefer_PMINUB_for_stringop): New.
12181         * sysdeps/x86_64/rawmemchr.S: Update.
12182         Replace with faster SSE2 version.
12183         * sysdeps/x86_64/memrchr.S: New file.
12184         * sysdeps/x86_64/memchr.S: Update.
12185         Replace with faster SSE2 version.
12186
12187 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
12188
12189         * elf/dl-load.c (lose): Add cast to avoid warning.
12190
12191 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
12192
12193         * po/ca.po: Update from translation team.
12194
12195         * inet/getnetgrent_r.c: Hook up nscd.
12196         * nscd/Makefile (routines): Add nscd_netgroup.
12197         (nscd-modules): Add netgroupcache.
12198         (CFLAGS-netgroupcache.c): Define.
12199         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12200         (cache_search): Add const to second parameter.
12201         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12202         INNETGR.
12203         (dbs): Add netgrdb entry.
12204         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12205         (verify_persistent_db): Handle netgrdb.
12206         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12207         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12208         GETFDNETGR.
12209         (netgroup_response_header): Define.
12210         (innetgroup_response_header): Define.
12211         (datahead): Add netgroup_response_header and innetgroup_response_header
12212         elements.
12213         * nscd/nscd.conf: Add entries for netgroup cache.
12214         * nscd/nscd.h (dbtype): Add netgrdb.
12215         (_PATH_NSCD_NETGROUP_DB): Define.
12216         (netgroup_iov_disabled): Declare.
12217         (xmalloc, xcalloc, xrealloc): Move declarations here.
12218         (cache_search): Adjust prototype.
12219         Add netgroup-related prototypes.
12220         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12221         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12222         (__nscd_innetgr): Declare.
12223         * nscd/selinux.c (perms): Use access_vector_t as element type and
12224         add netgroup-related initializers.
12225         * nscd/netgroupcache.c: New file.
12226         * nscd/nscd_netgroup.c: New file.
12227         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12228         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12229         For four parameters use innetgr.
12230         * nss/nss_files/files-init.c: Add definition and callback for netgr.
12231         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12232         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12233         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12234
12235         * nscd/connections.c (register_traced_file): Don't register file
12236         for disabled databases.
12237
12238 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
12239
12240         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12241
12242         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12243         from tree and freeing node.
12244
12245 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
12246
12247         * nss/nsswitch.c (__nss_database_lookup): Handle
12248         nss_parse_service_list out of memory case.
12249
12250 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
12251
12252         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12253         out of memory case.
12254
12255 2011-10-04  Andreas Schwab  <schwab@redhat.com>
12256
12257         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12258         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12259         pass it down.
12260         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12261         elf_machine_rela, elf_machine_lazy_rel.
12262         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12263         (ELF_DYNAMIC_DO_REL): Likewise.
12264         (ELF_DYNAMIC_DO_RELA): Likewise.
12265         (ELF_DYNAMIC_RELOCATE): Likewise.
12266         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12267         to ELF_DYNAMIC_DO_REL.
12268         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12269         (dl_main): In trace mode always set __RTLD_NOIFUNC.
12270         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12271         elf_machine_rela.
12272         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12273         skip_ifunc, don't call ifunc function if non-zero.
12274         (elf_machine_rela): Likewise.
12275         (elf_machine_lazy_rel): Likewise.
12276         (elf_machine_lazy_rela): Likewise.
12277         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12278         (elf_machine_lazy_rel): Likewise.
12279         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12280         Likewise.
12281         (elf_machine_lazy_rel): Likewise.
12282         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12283         Likewise.
12284         (elf_machine_lazy_rel): Likewise.
12285         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12286         (elf_machine_lazy_rel): Likewise.
12287         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12288         (elf_machine_lazy_rel): Likewise.
12289         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12290         (elf_machine_lazy_rel): Likewise.
12291         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12292         (elf_machine_lazy_rel): Likewise.
12293         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12294         (elf_machine_lazy_rel): Likewise.
12295         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12296         (elf_machine_lazy_rel): Likewise.
12297
12298 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
12299
12300         * nss/nss_files/files-init.c (_nss_files_init): Use static
12301         initialization for all the *_traced_file variables.
12302
12303 2011-09-28  Andreas Schwab  <schwab@redhat.com>
12304
12305         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12306
12307 2011-09-27  Roland McGrath  <roland@hack.frob.com>
12308
12309         [BZ #13226]
12310         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12311
12312 2011-09-27  Andreas Schwab  <schwab@redhat.com>
12313
12314         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12315         Reread the line before reparsing it.
12316
12317 2011-09-26  Andreas Schwab  <schwab@redhat.com>
12318
12319         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12320
12321 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
12322             Maxim Kuvyrkov  <maxim@codesourcery.com>
12323             Joseph Myers  <joseph@codesourcery.com>
12324
12325         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12326         if needed for __stack_chk_guard.
12327
12328 2011-09-19  Roland McGrath  <roland@hack.frob.com>
12329
12330         * sysdeps/posix/spawni.c (script_execute): Always define it.
12331         It will be optimized away if unused.
12332         (maybe_script_execute): New function.
12333         (__spawni): Call it.
12334
12335         * Makerules: Don't include tls.make.
12336         (config-tls): Always set to thread.
12337         * tls.make.c: File removed.
12338
12339 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
12340
12341         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12342         * config.make.in (CPPFLAGS-config): New substituted variable.
12343
12344 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
12345
12346         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12347
12348         [BZ #13192]
12349         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12350         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12351
12352 2011-09-15  Roland McGrath  <roland@hack.frob.com>
12353
12354         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12355         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12356         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12357         (CALL_FAIL): Likewise.
12358         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12359         (CALL_FAIL): Macro removed.
12360         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12361
12362 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
12363
12364         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12365         for __FINITE_MATH_ONLY__ == 1.
12366
12367 2011-09-15  Andreas Schwab  <schwab@redhat.com>
12368
12369         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12370         __ieee754_sqrt instead of sqrt.
12371         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12372         __ieee754_sqrtf instead of sqrtf.
12373         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12374         __floorf instead of floorf.
12375         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12376         __floorf, __truncf instead of floorf, truncf.
12377
12378 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
12379
12380         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12381
12382         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12383         __extern_always_inline.
12384         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12385         32-bit.
12386
12387 2011-09-14  Andreas Schwab  <schwab@redhat.com>
12388
12389         * elf/rtld.c (dl_main): Also relocate in dependency order when
12390         doing symbol dependency testing.
12391
12392 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
12393
12394         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12395         Always define `refsym'.
12396
12397 2011-09-13  Andreas Schwab  <schwab@redhat.com>
12398
12399         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12400         (__FD_ELT): Renamed from __FDELT.
12401         * misc/bits/select2.h (__FD_ELT): Likewise.
12402         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12403         __FD_MASK instead of __FDELT, __FDMASK.
12404         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12405         Likewise.
12406         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12407         Likewise.
12408
12409         * elf/Makefile (gen-ldd): Fix pattern.
12410
12411         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12412         (init_tls): Likewise.
12413
12414 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
12415
12416         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12417
12418 2011-09-12  Andreas Schwab  <schwab@redhat.com>
12419
12420         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12421         `struct cmsghdr *' instead of `void *'.
12422         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12423         Likewise.
12424
12425 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
12426
12427         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12428         if non-absolute.
12429         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12430         ldd_rewrite_script.
12431
12432 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
12433
12434         * configure.in: Remove --with-tls option.
12435         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12436         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12437         out in case it is missing.
12438         * sysdeps/ia64/elf/configure.in: Likewise.
12439         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12440         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12441         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12442         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12443         * sysdeps/sh/elf/configure.in: Likewise.
12444         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12445         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12446         * sysdeps/x86_64/elf/configure.in: Likewise.
12447         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12448         * sysdeps/mach/hurd/tls.h: Likewise.
12449
12450         [BZ #13067]
12451         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12452
12453         [BZ #13090]
12454         * configure.in: Fix use of AC_INIT.
12455
12456         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12457
12458 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
12459
12460         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12461         __set_errno.
12462         * malloc/hooks.c: Likewise.
12463
12464         [BZ #11929]
12465         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
12466         variables statically.
12467         (narenas): Initialize.
12468         (list_lock): Initialize.
12469         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
12470         initializtion of main_arena and list_lock.  Small cleanups.
12471         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12472         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
12473         Add initializers to main_arena and mp_.
12474         (malloc_state): Remove pagesize member.  Change all users to use
12475         GLRO(dl_pagesize).
12476
12477         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12478         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
12479         is always initialized.
12480
12481         * malloc/malloc.c: Removed unused configurations and dead code.
12482         * malloc/arena.c: Likewise.
12483         * malloc/hooks.c: Likewise.
12484         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12485
12486         * include/tls.h: Removed.  USE___THREAD must always be defined.
12487         * bits/libc-tsd.h: Don't handle !USE___THREAD.
12488         * elf/dl-libc.c: Likewise.
12489         * elf/dl-tsd.c: Likewise.
12490         * include/errno.h: Likewise.
12491         * include/netdb.h: Likewise.
12492         * include/resolv.h: Likewise.
12493         * inet/herrno-loc.c: Likewise.
12494         * inet/herrno.c: Likewise.
12495         * malloc/arena.c: Likewise.
12496         * malloc/hooks.c: Likewise.
12497         * malloc/malloc.c: Likewise.
12498         * resolv/res-state.c: Likewise.
12499         * resolv/res_libc.c: Likewise.
12500         * sysdeps/i386/dl-machine.h: Likewise.
12501         * sysdeps/ia64/dl-machine.h: Likewise.
12502         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12503         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12504         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12505         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12506         * sysdeps/sh/dl-machine.h: Likewise.
12507         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12508         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12509         * sysdeps/unix/i386/sysdep.S: Likewise.
12510         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12511         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12512         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12513         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12514         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12515         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12516         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12517         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12518         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12519         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12520         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12521         * sysdeps/x86_64/dl-machine.h: Likewise.
12522         * tls.make.c: Likewise.
12523
12524         * configure.in: Remove --with-__thread option.  Make tests for
12525         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12526         tls_model attribute fail if no support is available.  Remove
12527         USE_IN_LIBIO.
12528         * Makeconfig: Adjust for dropped configure option.  All features are
12529         now mandatory.
12530         * Makerules: Likewise.
12531         * Versions.def: Likewise.
12532         * argp/argp-fmtstream.c: Likewise.
12533         * argp/argp-fmtstream.h: Likewise.
12534         * argp/argp-help.c: Likewise.
12535         * assert/assert.c: Likewise.
12536         * config.h.in: Likewise.
12537         * config.make.in: Likewise.
12538         * configure: Likewise.
12539         * configure.in: Likewise.
12540         * csu/Versions: Likewise.
12541         * csu/init.c: Likewise.
12542         * elf/tst-audit2.c: Likewise.
12543         * elf/tst-tls10.c: Likewise.
12544         * elf/tst-tls10.h: Likewise.
12545         * elf/tst-tls11.c: Likewise.
12546         * elf/tst-tls12.c: Likewise.
12547         * elf/tst-tls14.c: Likewise.
12548         * elf/tst-tlsmod11.c: Likewise.
12549         * elf/tst-tlsmod12.c: Likewise.
12550         * elf/tst-tlsmod13.c: Likewise.
12551         * elf/tst-tlsmod13a.c: Likewise.
12552         * elf/tst-tlsmod14a.c: Likewise.
12553         * elf/tst-tlsmod15b.c: Likewise.
12554         * elf/tst-tlsmod16a.c: Likewise.
12555         * elf/tst-tlsmod16b.c: Likewise.
12556         * elf/tst-tlsmod7.c: Likewise.
12557         * elf/tst-tlsmod8.c: Likewise.
12558         * elf/tst-tlsmod9.c: Likewise.
12559         * gmon/gmon.c: Likewise.
12560         * grp/fgetgrent_r.c: Likewise.
12561         * grp/putgrent.c: Likewise.
12562         * hurd/fopenport.c: Likewise.
12563         * include/libc-symbols.h: Likewise.
12564         * include/tls.h: Likewise.
12565         * intl/gettextP.h: Likewise.
12566         * intl/loadinfo.h: Likewise.
12567         * locale/global-locale.c: Likewise.
12568         * locale/localeinfo.h: Likewise.
12569         * mach/devstream.c: Likewise.
12570         * malloc/arena.c: Likewise.
12571         * malloc/set-freeres.c: Likewise.
12572         * misc/err.c: Likewise.
12573         * misc/getttyent.c: Likewise.
12574         * misc/mntent_r.c: Likewise.
12575         * posix/getopt.c: Likewise.
12576         * posix/wordexp.c: Likewise.
12577         * pwd/fgetpwent_r.c: Likewise.
12578         * resolv/Versions: Likewise.
12579         * resolv/res_hconf.c: Likewise.
12580         * shadow/fgetspent_r.c: Likewise.
12581         * shadow/putspent.c: Likewise.
12582         * stdio-common/printf_fphex.c: Likewise.
12583         * stdio-common/tmpfile.c: Likewise.
12584         * stdlib/abort.c: Likewise.
12585         * stdlib/fmtmsg.c: Likewise.
12586         * sunrpc/auth_unix.c: Likewise.
12587         * sunrpc/clnt_perr.c: Likewise.
12588         * sunrpc/clnt_tcp.c: Likewise.
12589         * sunrpc/clnt_udp.c: Likewise.
12590         * sunrpc/clnt_unix.c: Likewise.
12591         * sunrpc/openchild.c: Likewise.
12592         * sunrpc/svc_simple.c: Likewise.
12593         * sunrpc/svc_tcp.c: Likewise.
12594         * sunrpc/svc_udp.c: Likewise.
12595         * sunrpc/svc_unix.c: Likewise.
12596         * sunrpc/xdr.c: Likewise.
12597         * sunrpc/xdr_array.c: Likewise.
12598         * sunrpc/xdr_rec.c: Likewise.
12599         * sunrpc/xdr_ref.c: Likewise.
12600         * sunrpc/xdr_stdio.c: Likewise.
12601
12602 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12603
12604         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12605
12606 2011-07-03  Andreas Jaeger  <aj@suse.de>
12607
12608         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12609         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12610         regenerate with gen-libm-tests.pl.
12611
12612 2010-05-12  Petr Baudis  <pasky@suse.cz>
12613
12614         [BZ #11589]
12615         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12616         around j0() zero points by switching to j1().
12617         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12618         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12619         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12620         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12621
12622 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12623
12624         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12625         instead of 0.
12626         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12627         instead of 0.                              .
12628         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12629         Patch in part by Pavel Roskin <proski@gnu.org>.
12630
12631         [BZ #13138]
12632         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12633         realloc.
12634         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
12635         Free memory block if necessary.
12636
12637         [BZ #12847]
12638         * libio/genops.c (INTDEF): For string streams the _lock pointer can
12639         be NULL.  Don't lock in this case.
12640
12641 2011-09-09  Roland McGrath  <roland@hack.frob.com>
12642
12643         * elf/elf.h (ELFOSABI_GNU): New macro.
12644         (ELFOSABI_LINUX): Define to that.
12645
12646 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
12647
12648         * string/strncat.c (strncat): Undef the symbol in case it has been
12649         defined in bits/string.h.
12650
12651 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12652
12653         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12654
12655         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12656         link map.
12657
12658 2011-08-17  Andreas Jaeger  <aj@suse.de>
12659
12660         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12661
12662 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12663             Ian Lance Taylor  <iant@google.com>
12664
12665         * math/libm-test.inc (lround_test): New testcase.
12666         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12667
12668 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
12669
12670         * Makefile: Remove support for automatic cvs check-ins.
12671         * Makerules: Likewise.
12672         * config.make.in: Likewise.
12673         * configure.in: Likewise.
12674         * intl/Makefile: Likewise.
12675         * locale/Makefile: Likewise.
12676         * po/Makefile: Likewise.
12677         * posix/Makefile: Likewise.
12678         * sysdeps/gnu/Makefile: Likewise.
12679         * sysdeps/mach/hurd/Makefile: Likewise.
12680         * sysdeps/sparc/sparc32/Makefile: Likewise.
12681
12682         [BZ #13118]
12683         * posix/Makefile (bug-regex32-ENV): Define.
12684         Patch by John Stanley <jpsinthemix@verizon.net>.
12685
12686         * misc/Makefile (headers): Add bits/select2.h.
12687         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12688         * misc/bits/select2.h: New file.
12689         * include/bits/select2.h: New file.
12690         * debug/Makefile (routines): Add fdelt_chk.
12691         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12692         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12693         FD_ISSET.
12694         * debug/fdelt_chk.c: New file.
12695
12696         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
12697         * wcsmbs/test-wmemcmp.c: Likewise.
12698         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12699         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12700
12701 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12702
12703         * string/Makefile (strop-tests): Add memcmp.
12704         * string/test-wmemcmp.c: New file.
12705         * string/test-memcmp.c: Add wmemcmp support.
12706
12707 2011-09-08  Roland McGrath  <roland@hack.frob.com>
12708
12709         [BZ #13153]
12710         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12711         2011-07-19 change.
12712
12713         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12714         garbage value in a __mach_port_mod_refs call in the cases of the
12715         task-self and thread-self ports.
12716
12717 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12718
12719         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12720
12721 2011-09-08  Andreas Schwab  <schwab@redhat.com>
12722
12723         * elf/dl-load.c (lose): Check for non-null L.
12724
12725 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
12726
12727         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12728
12729         * elf/dl-libc.c (dlerror_run): Pass back error code from
12730         dl_catch_error.
12731
12732         [BZ #13123]
12733         * elf/dl-load.c (lose): Free l_origin if it is valid.
12734
12735         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12736         names.
12737         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12738         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12739         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12740         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12741         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12742         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12743
12744 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12745
12746         * sysdeps/powerpc/fpu/e_hypot.c: New file.
12747         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12748         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12749         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12750         * sysdeps/powerpc/fpu/k_cosf.c: New file.
12751         * sysdeps/powerpc/fpu/k_sinf.c: New file.
12752         * sysdeps/powerpc/fpu/s_cosf.c: New file.
12753         * sysdeps/powerpc/fpu/s_sinf.c: New file.
12754         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12755         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12756
12757 2011-08-15  Alan Modra  <amodra@gmail.com>
12758
12759         [BZ #13092]
12760         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12761         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12762         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
12763         ppc_mcount to static-only-routines.
12764         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12765         __mcount_internal.
12766         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12767         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
12768
12769 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
12770
12771         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12772         for finite and infinity parameters.
12773
12774 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
12775
12776         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12777         and add nop instructions for throughput optimization.
12778         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12779
12780 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
12781
12782         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12783         aligned copy for power7 with vector-scalar instructions.
12784         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12785
12786 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
12787
12788         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12789         AVX check.
12790
12791 2011-09-07  Andreas Schwab  <schwab@redhat.com>
12792
12793         [BZ #13144]
12794         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12795         last change.
12796
12797 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
12798
12799         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12800         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12801         syscall wrapper around clock_gettime in __vdso_clock_gettime.
12802         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12803         clock_gettime.
12804
12805 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
12806
12807         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12808         Forgot to demangle the pointer.
12809
12810         * sysdeps/i386/sysdep.h: Define atom_text_section.
12811         * sysdeps/x86_64/sysdep.h: Likewise.
12812         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12813         section with atom_text_section.
12814         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12815         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12816         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12817         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12818         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12819
12820         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12821         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12822         already be defined.  Change to take two parameters and don't assign
12823         result to variable.  Adjust all users.
12824         Define INTERNAL_GETTIME if not already defined.
12825         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12826         call.
12827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12828         HAVE_CLOCK_GETTIME_VSYSCALL.
12829         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12830
12831         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12832         gettimeofday vsyscall, just use time.
12833
12834 2011-09-06  Andreas Schwab  <schwab@redhat.com>
12835
12836         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12837         <errno.h>.
12838
12839 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
12840
12841         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12842         syscall on x86-64.
12843         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12844         syscall.
12845         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12846         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12847         syscall if possible.
12848
12849 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12850
12851         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12852         e_ident.  Don't pass to find_mapsXX.
12853         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12854
12855 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12856
12857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12858         strchr-sse2-no-bsf strrchr-sse2-no-bsf
12859         * sysdeps/x86_64/multiarch/strchr.S: Update.
12860         Check bit_slow_BSF bit.
12861         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12862         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12863         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12864
12865 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12866
12867         [BZ #13134]
12868         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12869         before glibc 2.15.
12870         (tryshell): Define.
12871         (__spawni): Change last parameter to be flag.  Test
12872         SPAWN_XFLAGS_USE_PATH flag to use path or not.
12873         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12874         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12875         * posix/spawni.c: Likewise.
12876         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12877         * posix/spawnp.c: Likewise.  Change normal version to use
12878         SPAWN_XFLAGS_USE_PATH.
12879         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12880         SPAWN_XFLAGS_TRY_SHELL.
12881
12882         [BZ #13150]
12883         * posix/glob.h: Remove gcc 1.x support.
12884
12885         [BZ #13068]
12886         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12887
12888 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12889
12890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12891         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12892         strrchr-sse2-bsf
12893         * sysdeps/i386/i686/multiarch/strchr.S: New file.
12894         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12895         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12896         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12897         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12898         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12899
12900 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12901
12902         * sysdeps/x86_64/wcscmp.S: New file.
12903
12904         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12905         wcscmp-c wcscmp-sse2
12906         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12907         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12908         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12909         * wcsmbs/wcscmp.c: Allow renaming.
12910
12911 2011-09-05  David S. Miller  <davem@davemloft.net>
12912
12913         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12914         stack slot, rather than the struct return pointer slot.
12915         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12916         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12918         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12919
12920 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12921
12922         * po/ja.po: Update from translation team.
12923
12924         [BZ #13144]
12925         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12926         kernel in 64-bit binaries.
12927
12928 2011-09-01  David S. Miller  <davem@davemloft.net>
12929
12930         * elf/elf.h (HWCAP_SPARC_*): Move to..
12931         * sysdeps/sparc/sysdep.h: this new file and add new values.
12932         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12933         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12934         _DL_HWCAP_COUNT to 24.
12935         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12936         entries.
12937         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12938         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12939         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12940         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12941         instead of magic constants.
12942         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12943
12944 2011-08-31  David S. Miller  <davem@davemloft.net>
12945
12946         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12947         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12948         Reimplement to do errno handling inline.
12949         (SYSCALL_ERROR_HANDLER): New macro.
12950         (__SYSCALL_STRING): Do not do errno handling in asm.
12951         (__CLONE_SYSCALL_STRING): Delete.
12952         (__INTERNAL_SYSCALL_STRING): Delete.
12953         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12954         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12955         (PSEUDO): Reimplement to do errno handling inline.
12956         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12957         (SYSCALL_ERROR_HANDLER): New macro.
12958         (__SYSCALL_STRING): Do not do errno handling in asm.
12959         (__CLONE_SYSCALL_STRING): Delete.
12960         (__INTERNAL_SYSCALL_STRING): Delete.
12961         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12962         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12963         i386.
12964         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12965         (inline_syscall*): Add 'err' argument.
12966         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12967         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12968         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12969         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12970
12971         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12972         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12973
12974 2011-08-30  Andreas Schwab  <schwab@redhat.com>
12975
12976         * elf/rtld.c (dl_main): Relocate objects in dependency order.
12977
12978 2011-08-29  Jiri Olsa <jolsa@redhat.com>
12979
12980         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12981         directive.
12982
12983 2011-08-24  David S. Miller  <davem@davemloft.net>
12984
12985         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12986
12987 2011-08-24  Andreas Schwab  <schwab@redhat.com>
12988
12989         * elf/Makefile: Add rules to build and run unload8 test.
12990         * elf/unload8.c: New file.
12991         * elf/unload8mod1.c: New file.
12992         * elf/unload8mod1x.c: New file.
12993         * elf/unload8mod2.c: New file.
12994         * elf/unload8mod3.c: New file.
12995
12996         * elf/dl-close.c (_dl_close_worker): Reset private search list if
12997         it wasn't used.
12998
12999 2011-08-23  David S. Miller  <davem@davemloft.net>
13000
13001         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13002         subtract stack bias.
13003         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13004         %sp not %fp in calculations.
13005         (_JMPBUF_UNWINDS_ADJ): Likewise.
13006
13007         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13008         (aio_suspend): Call it to force an exception region around the
13009         AIO_MISC_WAIT() invocation.
13010
13011 2011-08-23  Andreas Schwab  <schwab@redhat.com>
13012
13013         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13014         backslash.
13015
13016 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
13017
13018         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13019         protection macro.
13020         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13021         and <dl-machine.h>.
13022         (Elf64_FuncDesc): Remove.
13023
13024 2011-08-22  David S. Miller  <davem@davemloft.net>
13025
13026         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13027         sigaltstack check, add missing cfi directives.
13028         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13029         missing cfi directives, and sigaltstack handling.
13030
13031 2011-08-16  Andreas Schwab  <schwab@redhat.com>
13032
13033         [BZ #11724]
13034         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13035         object is seen twice.
13036         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13037
13038         * elf/Makefile (distribute): Add tst-initorder2.c.
13039         (tests): Add tst-initorder2.
13040         (modules-names): Add tst-initorder2a tst-initorder2b
13041         tst-initorder2c tst-initorder2d.  Add rules to build them.
13042         ($(objpfx)tst-initorder2.out): New rule.
13043         * elf/tst-initorder2.c: New file.
13044         * elf/tst-initorder2.exp: New file.
13045
13046 2011-08-22  Andreas Schwab  <schwab@redhat.com>
13047
13048         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13049
13050         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13051         dependencies back to end of function.
13052
13053         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13054         $(elfobjdir)/ld.so.
13055
13056 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
13057
13058         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13059         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13060         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13061         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13062         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13063         of __vdso_gettimeofday.
13064         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13065         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
13066         attribute_hidden.
13067         (_libc_vdso_platform_setup): Remove initialization of
13068         __vdso_gettimeofday and __vdso_time.
13069
13070 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
13071
13072         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13073         and fgetc_unlocked.
13074         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13075         getc_unlocked.
13076
13077         * elf/dl-open.c (add_to_global): Report additions to the global scope
13078         for LD_DEBUG=scopes.
13079         (dl_open_worker): Also print scope of newly loaded dependencies.
13080         (_dl_show_scope): Indicate if there is no scope.
13081
13082         [BZ #13114]
13083         * stdio-common/Makefile (tests): Add bug24.
13084         * stdio-common/bug24.c: New file.
13085
13086 2011-08-19  Andreas Jaeger  <aj@suse.de>
13087
13088         [BZ #13114]
13089         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13090         non-existant file when using close-on-exec mode.
13091
13092 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
13093
13094         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13095         the very first instruction.
13096
13097         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13098         the CFI state in the end.
13099         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13100         inclusion of dl-trampoline.h.
13101         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13102
13103 2011-08-19  Andreas Schwab  <schwab@redhat.com>
13104
13105         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13106         expectations for long double.
13107
13108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13109         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13110
13111 2011-08-14  David S. Miller  <davem@davemloft.net>
13112
13113         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13114         artificual limit depends upon the system page size.
13115
13116 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
13117
13118         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13119         * resolv/Makefile: Define CFLAGS-libresolv.
13120
13121 2011-08-17  Andreas Schwab  <schwab@redhat.com>
13122
13123         * nss/makedb.c (compute_tables): Make variables used in nested
13124         function static.
13125
13126 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
13127
13128         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13129         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13130         if buffer was too small.
13131
13132         * elf/pldd.c (main): Attach to all threads in the process.
13133         Rewrite /proc handling to use *at functions.
13134
13135 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
13136
13137         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13138         specifies first scope to show.
13139         (dl_open_worker): Update callers.  Move printing scope of new
13140         object to before the relocation.
13141         * elf/rtld.c (dl_main): Update _dl_show_scope call.
13142         * sysdeps/generic/ldsodefs.h: Update declaration.
13143
13144         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13145         string for the scope number.
13146
13147 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
13148
13149         * nscd/servicescache.c (cache_addserv): Make sure written is always
13150         initialized.
13151
13152 2011-08-14  Roland McGrath  <roland@hack.frob.com>
13153
13154         * sysdeps/i386/i486/bits/atomic.h
13155         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13156         statement expression, so as to suppress "set but not used" warning.
13157         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13158
13159         * string/strncat.c (STRNCAT): Use prototype definition.
13160
13161         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13162         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13163         -Iprograms here.
13164         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13165         (localedef-modules): Add localedef.
13166         (locale-modules): Add locale.
13167
13168         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13169         * elf/rtld.c (dl_main): Invert order of assignment in last change,
13170         to avoid a warning.
13171
13172 2011-08-14  David S. Miller  <davem@davemloft.net>
13173
13174         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13175         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13176
13177 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
13178
13179         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13180         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13181         * elf/rtld.c (dl_main): Set l_name of vDSO.
13182         Call _dl_show_scope when DL_DEBUG_SCOPES.
13183         (process_dl_debug): Recognize scopes flag and also set it for all.
13184         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13185         Declare _dl_show_scope.
13186
13187         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13188         (do_dlopen): Pass caller_dlopen to dl_open.
13189         (__libc_dlopen_mode): Initialize caller_dlopen.
13190
13191         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13192         of libc.  Make tolower call locale-independent.  Optimize a bit by
13193         using isdigit instead of isalnum.
13194         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13195
13196 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
13197
13198         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13199         was a dependency or dynamically loaded.
13200
13201 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
13202
13203         * intl/l10nflist.c: Allow architecture-specific pop function.
13204         * sysdeps/x86_64/l10nflist.c: New file.
13205
13206         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13207         classification.
13208
13209 2011-08-10  Andreas Schwab  <schwab@redhat.com>
13210
13211         * include/dirent.h: Add libc_hidden_proto for scandirat and
13212         scandirat64.  Don't declare __scandirat64.
13213         * dirent/scandirat.c: Add libc_hidden_def.
13214         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13215         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13216
13217 2011-08-10  David S. Miller  <davem@davemloft.net>
13218
13219         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13220         enum.
13221         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13222         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13223         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13224
13225 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
13226
13227         * Versions.def [libc]: Add GLIBC_2.15.
13228         * dirent/Makefile (routines): Add scandirat and scandirat64.
13229         * dirent/Versions [libc]: Export scandirat and scandirat64 for
13230         GLIBC_2.15.
13231         * dirent/dirent.h: Declare scandirat and scandirat64.
13232         * dirent/scandirat.c: New file.
13233         * dirent/scandirat64.c: New file.
13234         * sysdeps/wordsize-64/scandirat.c: New file.
13235         * sysdeps/wordsize-64/scandirat64.c: New file.
13236         * dirent/opendir.c: Define opendirat.
13237         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
13238         using scandirat.
13239         * dirent/scandir64.c: Adjust for scandir.c change.
13240         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
13241         __scandirat64, and __scandir_cancel_handler.
13242         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
13243         additional parameter and use openat instead of open (outside of ld.so).
13244         Add new __opendir as wrapper around __opendirat.
13245         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13246         here without requiring old scandirat implementation.
13247
13248 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
13249
13250         * dirent/scandir.c (cancel_handler): Renamed to
13251         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
13252         defined.  Adjust users.
13253         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13254         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13255
13256 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
13257
13258         * string/test-string.h (IMPL): Use __STRING to expand name and then
13259         stringify it.
13260
13261         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
13262         of cleanups.
13263
13264 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13265
13266         * string/Makefile: Update.
13267         (strop-tests): Append strncat.
13268         * string/test-wcscmp.c: New file.
13269         New comprehensive test for wcscmp.
13270         * string/test-strcmp.c: Update.
13271         (WIDE): New define.
13272
13273 2011-07-22  Andreas Schwab  <schwab@redhat.com>
13274
13275         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13276         line.
13277
13278 2011-07-26  Andreas Schwab  <schwab@redhat.com>
13279
13280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13281         encoding to ACE if AI_IDN.
13282
13283 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
13284
13285         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13286         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13287
13288 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13289
13290         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13291         Fix overflow bug in strncat.
13292         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13293
13294         * string/test-strncat.c: Update.
13295         Add new tests for checking overflow bugs.
13296
13297 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13298
13299         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13300         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13301         * sysdeps/i386/i686/multiarch/strcat.S: New file.
13302         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13303         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13304         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13305         * sysdeps/i386/i686/multiarch/strncat.S: New file.
13306         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13307         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13308
13309         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13310         (USE_AS_STRCAT): Define.
13311         Add strcat and strncat support.
13312         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13313
13314 2011-07-25  Andreas Schwab  <schwab@redhat.com>
13315
13316         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13317         __n bigger than INT_MAX+1.
13318         (__strncmp_g): Likewise.
13319
13320 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
13321
13322         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13323         * libio/stido.h: Likewise.
13324
13325         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13326         (AF_NFC): Define.
13327         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13328         (AF_NFC): Define.
13329
13330         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13331         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13332         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13333         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13334         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13335
13336         [BZ #13021]
13337         * scripts/test-installation.pl: Don't expect libnss_test1 to be
13338         installed.
13339
13340         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13341         typo.
13342         (_dl_x86_64_save_sse): Likewise.
13343
13344 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
13345
13346         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13347         OSXSAVE.
13348         (_dl_x86_64_save_sse): Likewise.
13349
13350         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13351
13352         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13353
13354 2011-07-21  Andreas Schwab  <schwab@redhat.com>
13355
13356         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13357         change.
13358         (_dl_x86_64_save_sse): Use correct AVX check.
13359
13360 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13361
13362         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13363         bug in strncpy/strncat.
13364         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13365
13366 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
13367
13368         * string/tester.c (test_strcat): Add tests for different alignments
13369         of source and destination.
13370         (test_strncat): Likewise.
13371
13372 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
13373
13374         [BZ #12852]
13375         * posix/glob.c (glob): Check passed in values before using them in
13376         expressions to avoid some overflows.
13377         (glob_in_dir): Likewise.
13378
13379         [BZ #13007]
13380         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13381         check for AVX enablement so that we don't crash with old kernels and
13382         new hardware.
13383         * elf/tst-audit4.c: Add same checks here.
13384         * elf/tst-audit6.c: Likewise.
13385
13386         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13387
13388 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
13389
13390         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13391
13392 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
13393
13394         * po/cs.po: Update from translation team.
13395         * po/bg.po: Likewise.
13396
13397 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
13398
13399         * misc/sys/cdefs.h: Add support for const attribute.
13400         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13401         to gnu_dev_{major,minor,makedev} functions.
13402
13403 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
13404
13405         * intl/dcigettext.c (get_output_charset): Add missing bracket.
13406
13407 2011-07-20  Andreas Schwab  <schwab@redhat.com>
13408
13409         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13410         strlen results.
13411
13412 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13413
13414         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13415         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13416         register in order to avoid conflicts with the soft frame pointer
13417         being held in r11 when necessary.
13418         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13419         (INTERNAL_VSYSCALL_NCS): Likewise.
13420
13421 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
13422
13423         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13424         * elf/dl-fini.c (_dl_fini): Adjust caller.
13425         * elf/dl-close.c (_dl_close_worker): Likewise.
13426         * sysdeps/generic/ldsodefs.h: Adjust declaration.
13427
13428 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
13429
13430         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13431         "aux_cache->nlibs < 0".
13432
13433         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13434         in the reload-count case.
13435
13436 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13437
13438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13439         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13440         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13441         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13442         * sysdeps/x86_64/multiarch/strcat.S: New file.
13443         * sysdeps/x86_64/multiarch/strncat.S: New file.
13444         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13445         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13446         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13447         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13448         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13449         (USE_AS_STRCAT): Define.
13450         Add strcat and strncat support.
13451         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13452         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13453         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13454         * string/strncat.c: Update.
13455         (USE_AS_STRNCAT): Define.
13456         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13457         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13458         and i7.
13459         * sysdeps/x86_64/multiarch/init-arch.h
13460         (bit_Prefer_PMINUB_for_stringop): New.
13461         (index_Prefer_PMINUB_for_stringop): Likewise.
13462         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13463         bit_Prefer_PMINUB_for_stringop.
13464
13465 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
13466
13467         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13468         buffer64.
13469         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13470         of casting of buffer.
13471         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13472         buffer32 and buffer64.
13473         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13474         writes instead of casting of buffer.
13475         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13476         buffer32.
13477         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13478         casting of buffer.
13479
13480 2011-07-19  Andreas Schwab  <schwab@redhat.com>
13481
13482         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13483
13484 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
13485
13486         * nscd/nscd.c (termination_handler): Don't do anything for a database
13487         if it has not yet been initialized.
13488
13489 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
13490
13491         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13492
13493 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
13494
13495         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13496
13497 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
13498
13499         * po/nl.po: Update from translation team.
13500         * po/sv.po: Likewise.
13501
13502 2011-07-16  Roland McGrath  <roland@hack.frob.com>
13503
13504         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13505         now disallowed by GCC.
13506
13507         * configure.in (use-default-link): Default to yes if a test -shared
13508         link meets our qualifications.
13509         * configure: Regenerated.
13510
13511         * config.make.in (output-format): New variable.
13512         * configure.in: Check for ld --print-output-format support.
13513         * configure: Regenerated.
13514         * Makerules ($(common-objpfx)format.lds)
13515         [$(output-format) != unknown]: Just use $(output-format),
13516         instead of the linker-script munging.
13517
13518 2011-07-14  Roland McGrath  <roland@hack.frob.com>
13519
13520         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13521         of $(common-objpfx)shlib.lds.
13522         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13523
13524         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13525         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13526
13527         * configure.in (-z relro check): Adjust test code to add a large
13528         writable data section after it.
13529         * configure: Regenerated.
13530
13531 2011-07-11  Roland McGrath  <roland@hack.frob.com>
13532
13533         * configure.in (-z relro check): Fix test code to make the variable
13534         truly const.
13535         * configure: Regenerated.
13536
13537 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
13538
13539         * nscd/nscd.h (struct traced_file): Define.
13540         (struct database_dyn): Remove inotify_descr, reset_res, and filename
13541         elements.  Add traced_files.
13542         (inotify_fd): Declare.
13543         (register_traced_file): Declare.
13544         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13545         (inotify_fd): Export.
13546         (resolv_conf_descr): Remove.
13547         (nscd_init): Move inotify descriptor creation to main.
13548         Don't register files for notification here.
13549         (register_traced_file): New function.
13550         (invalidate_cache): Don't use reset_res to determine whether to call
13551         res_init, go through the list of registered files.
13552         (main_loop_poll): The inotify descriptors are now stored in the
13553         structures for the traced files.
13554         (main_loop_epoll): Likewise
13555         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
13556         to __nss_disable_nscd.
13557         * nscd/cache.c (prune_cache): There is no single inotify descriptor
13558         for a database anymore.  Check the records for all the registered
13559         files instead.
13560         * nss/Makefile (libnss_files-routines): Add files-init.
13561         (libnss_db-routines): Add db-init.
13562         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13563         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13564         * nss/nss_db/db-init.c: New file.
13565         * nss/nss_files/files-init.c: New file.
13566         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
13567         __nss_lookup_function.
13568         (__nss_lookup_function): Call nss_load_library.
13569         (nss_load_all_libraries): New function.
13570         (__nss_disable_nscd): Take parameter with callback function for files
13571         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
13572         used for the cached services.
13573         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13574         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13575         options for features to all the files in nscd.
13576
13577         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13578
13579 2011-07-10  Roland McGrath  <roland@hack.frob.com>
13580
13581         * csu/elf-init.c (__libc_csu_init): Comment typo.
13582
13583 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
13584
13585         * po/pl.po: Update from translation team.
13586         * po/ja.po: Likewise.
13587         * po/ru.po: Likewise.
13588         * po/ko.po: Likewise.
13589         * po/fr.po: Likewise.
13590
13591 2011-07-09  Roland McGrath  <roland@hack.frob.com>
13592
13593         * configure.in (.ctors/.dtors header and trailer check):
13594         Use an empirical test on a built program.
13595         * configure: Regenerated.
13596
13597         * configure.in (-z relro check): Use an empirical test on a built DSO.
13598         Detect, but do not require, on ia64.
13599         * configure: Regenerated.
13600
13601         * configure.in (READELF): Find it with AC_CHECK_TOOL.
13602         Update tests that use readelf to use $READELF instead.
13603         * configure: Regenerated.
13604
13605 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
13606
13607         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13608         if the result is not used.
13609
13610 2011-07-05  Andreas Jaeger  <aj@suse.de>
13611
13612         [BZ#9696]
13613         * stdlib/tst-strtod.c: Add testcase.
13614
13615 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
13616
13617         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13618         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13619         The latter has a higher limit.  Take additional parameter to pass to
13620         the new function.
13621         (__pathconf): Pass file to __statfs_link_max.
13622         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13623         __statfs_link_max.
13624         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13625         __statfs_link_max.
13626
13627         [BZ #12868]
13628         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13629         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13630         Handle Lustre.
13631         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13632         (__statfs_filesize_max): Likewise.
13633         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13634
13635 2011-07-05  Andreas Jaeger  <aj@suse.de>
13636
13637         * resolv/res_comp.c (dn_skipname): Remove unused variable.
13638
13639 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
13640
13641         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13642         `status' variable.
13643         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13644         Likewise.
13645
13646 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
13647
13648         * Makefile (strop-tests): Add strncat.
13649         * string/test-strncat.c: New file.
13650
13651 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
13652
13653         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13654
13655 2011-06-21  Andreas Jaeger  <aj@suse.de>
13656
13657         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13658         Copy rule from iconvdata/Makefile.
13659
13660 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
13661
13662         [BZ #12922]
13663         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13664         but no long options are defined, just return 'W'.
13665
13666 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
13667
13668         [BZ #9696]
13669         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13670
13671 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
13672
13673         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13674         netgroups to read.
13675         (innetgr): Likewise.
13676
13677 2011-07-05  Roland McGrath  <roland@hack.frob.com>
13678
13679         * config.make.in (install_root): Default to $(DESTDIR).
13680
13681 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
13682
13683         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13684
13685 2011-07-02  Roland McGrath  <roland@hack.frob.com>
13686
13687         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13688
13689         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13690         containing directory rather than embedding absolute directory names.
13691
13692         * scripts/check-local-headers.sh: Rewritten using awk.
13693         Match by word, not by line.  Print error messages for matches.
13694         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13695
13696         * Makerules [shlib-lds-flags empty]:
13697         ($(common-objpfx)libc_pic.opts): New target.
13698         ($(common-objpfx)libc_pic.os.clean): New target.
13699         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13700
13701         * config.make.in (OBJCOPY): New variable.
13702         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13703         * configure: Regenerated.
13704
13705         * config.make.in (use-default-link): New variable.
13706         * configure.in (use_default_link): Grok --with-default-link to set it.
13707         * configure: Regenerated.
13708         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13709         (shlib-lds, shlib-lds-flags): Define to empty.
13710
13711         * Makerules (shlib-lds): New variable.
13712         (shlib-lds-flags): New variable.
13713         (build-shlib, build-moduile, build-module-asneeded): Use it.
13714         ($(common-objpfx)libc.so): Use $(shlib-lds).
13715         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13716         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13717
13718         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13719         DT_FLAGS/DT_FLAGS_1 with zero flags.
13720
13721         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13722         linker script munging.
13723
13724 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
13725
13726         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13727         as 128-bit value.
13728         * crypt/sha512.c (sha512_process_block): Perform total addition using
13729         128-bit if possible.
13730         (__sha512_finish_ctx): Likewise.
13731         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13732         as 64-bit value.
13733         * crypt/sha256.c (SWAP64): Define.
13734         (sha256_process_block): Perform total addition using 64-bit if
13735         possible.
13736         (__sha256_finish_ctx): Likewise.
13737
13738 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
13739
13740         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
13741         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13742         * nscd/hstcache.c (cache_addhst): Likewise.
13743         * nscd/grpcache.c (cache_addgr): Likewise.
13744         * nscd/aicache.c (addhstaiX): Likewise
13745         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13746
13747 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
13748
13749         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13750         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13751         * nscd/hstcache.c (cache_addhst): Likewise.
13752         * nscd/grpcache.c (cache_addgr): Likewise.
13753         * nscd/aicache.c (addhstaiX): Likewise
13754
13755 2011-07-01  Andreas Schwab  <schwab@redhat.com>
13756
13757         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13758         domain only when needed.
13759
13760 2011-06-30  Andreas Schwab  <schwab@redhat.com>
13761
13762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13763         is always restored.
13764
13765 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
13766
13767         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13768         are re-adding the entry.
13769         * nscd/servicescache.c (cache_addserv): Likewise.
13770
13771 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13772
13773         * sysdeps/generic/dl-irel.h: fix protection against multiple
13774         inclusions.
13775         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13776
13777 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
13778
13779         [BZ #12935]
13780         * malloc/memusage.sh: Fix quoting in message.
13781         * debug/xtrace.sh: Likewise.
13782
13783         * configure.in: Remove support for --experimental-malloc option, make
13784         it the default.
13785         * config.make.in: Likewise.
13786         * malloc/Makefile: Likewise.
13787
13788 2011-06-27  Andreas Schwab  <schwab@redhat.com>
13789
13790         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13791         two-byte characters.
13792
13793 2011-06-27  Roland McGrath  <roland@hack.frob.com>
13794
13795         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13796         AC_CACHE_CHECK invocation.
13797         * configure: Regenerated.
13798
13799         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13800
13801 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
13802
13803         [BZ #12350]
13804         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
13805         bit from old_res_options.
13806
13807         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13808
13809         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13810         value type for setfct.
13811
13812 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
13813
13814         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13815         __gettimeofday instead of gettimeofday.
13816
13817 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
13818
13819         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13820
13821 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13822
13823         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13824
13825         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13826         info.
13827
13828 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
13829
13830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13831         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13832         strcpy-sse2-unaligned strncpy-sse2-unaligned
13833         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13834         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13835         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13836         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13837         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13838         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13839         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13840         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13841         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13842         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13843         (STRCPY): Support SSE2 and SSSE3 versions.
13844
13845 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
13846
13847         [BZ #12874]
13848         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13849         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13850         kernels which artificially limit size of requests.
13851
13852 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
13853
13854         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13855         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13856         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13857         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13858         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13859         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13860         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13861         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13862         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13863         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13864         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13865         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13866         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13867         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13868         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13870         Enable unaligned load optimization for Intel Core i3, i5 and i7
13871         processors.
13872         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13873         Define.
13874         (index_Fast_Unaligned_Load): Define.
13875         (HAS_FAST_UNALIGNED_LOAD): Define.
13876
13877 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
13878
13879         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13880
13881 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
13882
13883         [BZ #12907]
13884         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13885         until it is clear that the information is realy needed.
13886         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13887
13888 2011-06-22  Andreas Schwab  <schwab@redhat.com>
13889
13890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13891
13892 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
13893
13894         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13895         /sys/devices/system/cpu/online if it is usable.
13896
13897         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13898         reading the information from the /proc filesystem to once a second.
13899
13900 2011-06-21  Andreas Jaeger  <aj@suse.de>
13901
13902         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13903         NULL after inclusion of kernel headers.
13904
13905 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
13906
13907         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13908         calls to internal_setent.
13909
13910         [BZ #12885]
13911         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13912         addresses using gethostbyname4_r ignore IPv4 addresses.
13913
13914         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13915         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
13916
13917         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13918
13919 2011-06-20  David S. Miller  <davem@davemloft.net>
13920
13921         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13922         inclusions.
13923         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13924
13925         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13926         (elf_irel): Use it.
13927         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13928         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13929         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13930         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13931         * sysdeps/x86_64/dl-irel.h: Likewise.
13932
13933         * elf/dl-runtime.c: Use elf_ifunc_invoke.
13934         * elf/dl-sym.c: Likewise.
13935
13936 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
13937
13938         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
13939         need to dereference resplen2.
13940
13941 2011-06-14  Andreas Schwab  <schwab@redhat.com>
13942
13943         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13944
13945 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
13946
13947         * Makeconfig: Define vardbdir and inst_vardbdir.
13948         * nss/Makefile: Add rules to install db-Makefile.
13949
13950         * nss/nss_db/db-XXX.c: Cleanup.
13951
13952         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13953         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13954         GLIBC_PRIVATE.
13955         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13956         * nss/makedb.c: Implement -g option to specify that value strings
13957         are generated and should not be added to table iterated over for
13958         get*ent calls.
13959         * nss/nss_db/db-initgroups.c: New file.
13960
13961         * nss/getent.c: Add support for initgroups lookups through getgrouplist
13962         interface.
13963
13964         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13965         (internal_getgrouplist): Adjust to name change.
13966         Update use_initgroups_entry if this is not the first call.
13967         * nss/databases.def: Add initgroups entry.
13968
13969         * nss/makedb.c (compute_tables): Check result of multiple hash table
13970         sizes to minimize maximum chain length.
13971
13972 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
13973
13974         * Versions.def: Add entry for libnss_db.
13975         * shlib-versions: Likewise.
13976         * nss/Makefile: Add rules to build libnss_db.
13977         * nss/Versions: Add libnss_db information.  Organize libnss_files
13978         entries better.
13979         * nss/db-Makefile: Add gshadow support.  Change rules for the new
13980         makedb progra.  Some minor improvements to generate smaller files.
13981         * nss/nss_db/nss_db.h: Move NSS database header data structures to
13982         here from...
13983         * nss/makedb.c: ...here.
13984         Improve database format to be smaller and require less memory at
13985         runtime.
13986         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
13987         db anymore.
13988         * nss/nss_db/db-netgrp.c: Likewise.
13989         * nss/nss_db/db-open.c: Likewise.
13990         * nss/nss_files/flies-XXX.x: Adjust comments.
13991         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13992         * nss/nss_files/files-grp.c: Likewise.
13993         * nss/nss_files/files-hosts.c: Likewise.
13994         * nss/nss_files/files-network.c: Likewise.
13995         * nss/nss_files/files-proto.c: Likewise.
13996         * nss/nss_files/files-pwd.c: Likewise.
13997         * nss/nss_files/files-rpc.c: Likewise.
13998         * nss/nss_files/files-service.c: Likewise.
13999         * nss/nss_files/files-sgrp.c: Likewise.
14000         * nss/nss_files/files-spwd.c: Likewise.
14001         * nss/nss_db/db-alias.c: Removed.
14002         * nss/nss_db/dummy-db.h: Removed.
14003
14004 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
14005
14006         * nss/makedb.c: Rewritten to not use database library.
14007         * nss/Makefile: Update to build new makedb program.
14008
14009 2011-06-14  Andreas Jaeger  <aj@suse.de>
14010
14011         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14012         memset declaration.
14013
14014 2011-06-10  Andreas Schwab  <schwab@redhat.com>
14015
14016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14017         tmpbuf.
14018
14019 2011-06-10  Roland McGrath  <roland@hack.frob.com>
14020
14021         * Makerules (shlib.lds): Fail if the linker script comes out empty.
14022         * elf/Makefile ($(objpfx)ld.so): Likewise.
14023
14024         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14025         Don't list ld.so twice in dependencies.
14026
14027         * posix/bug-regex31.c: Include <stdlib.h>.
14028
14029         * nscd/hstcache.c (cache_addhst): Remove unused variable.
14030
14031         * nis/nss_compat/compat-spwd.c
14032         (getspent_next_nss_netgr): Remove unused variable.
14033         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14034
14035         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14036         nonmembers" output to use the right array.
14037
14038         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14039
14040         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14041
14042         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14043         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14044         * catgets/gencat.c (read_input_file): Likewise.
14045         * locale/programs/locarchive.c (enlarge_archive): Likewise.
14046
14047         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14048         variable definition inside #if's controlling its use.
14049
14050         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14051
14052         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14053
14054         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14055
14056         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14057         unreachable code.
14058
14059         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14060
14061         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14062         * configure: Regenerated.
14063
14064         * Makerules: Revert last change.
14065         * elf/Makefile: Likewise.
14066
14067 2011-06-09  Roland McGrath  <roland@hack.frob.com>
14068
14069         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14070         * elf/Makefile ($(objpfx)librtld.os): Likewise.
14071         (reloc-link): Likewise.
14072
14073 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
14074
14075         * elf/Makefile: Add rules to build pldd.
14076         * elf/pldd.c: New file.
14077         * elf/pldd-xx.c: New file.
14078
14079 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
14080
14081         * version.h: Update for 2.15 development version.
14082
14083 2011-06-07  David S. Miller  <davem@davemloft.net>
14084
14085         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14086         ifuncs.
14087         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14088         elf_machine_lazy_rel): Likewise.
14089         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14090         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14091         elf_machine_lazy_rel): Likewise.
14092         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14093         dl_hwcap via passed in argument.
14094         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14095         Likewise.
14096
14097 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14098
14099         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
14100
14101 2011-06-06  Roland McGrath  <roland@hack.frob.com>
14102
14103         [BZ #12849]
14104         * manual/fdl-1.1.texi: New file, verbatim from:
14105         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14106         * manual/lgpl-2.1.texi: New file, verbatim from:
14107         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14108         * manual/Makefile (licenses): New variable, list those new file names.
14109         (texis): Use it.
14110         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14111
14112         * manual/fdl.texi: File removed.
14113         * manual/lesser.texi: File removed.
14114         * manual/libc.texinfo (Copying, Documentation License):
14115         Use new @include file names, put @appendix directive before @include.
14116
14117 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
14118
14119         [BZ #12841]
14120         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14121         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14122         (mq_open): Add __NTH.
14123
14124 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
14125
14126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14127         Assume Intel Core i3/i5/i7 processor if AVX is available.
14128
14129 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
14130
14131         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14132         typo.
14133
14134 2011-05-31  Andreas Schwab  <schwab@redhat.com>
14135
14136         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14137         memory.  Use alloca_account.  Fix memory leak when retrying.
14138
14139 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
14140
14141         * version.h (RELEASE): Bump for 2.14 release.
14142         * include/features.h (__GLIBC_MINOR__): Bump to 14.
14143
14144         * config.make.in (RANLIB): Remove entry.
14145
14146 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
14147
14148         * po/Makefile (po-sed-cmd): Add ksh to extensions.
14149         (libc.pot): Work around missing support for .ksh extension in xgettext.
14150
14151         [BZ #12684]
14152         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14153         if both request failed.
14154         (send_dg): In case of server errors clear resplen or *resplen2.
14155
14156         [BZ #12454]
14157         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14158         when there are multiple maps.
14159         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14160         (_dl_fini): Remove test here.
14161
14162         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14163
14164 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
14165
14166         [BZ #12350]
14167         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14168         bit from old_res_options.
14169         (gaih_inet): Likewise.
14170
14171         [BZ #11099]
14172         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14173         as signed.
14174
14175         * resolv/res_init.c (res_setoptions): Make the code more compact.
14176
14177         [BZ #11558]
14178         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14179         set RES_USEVC.
14180
14181         [BZ #11634]
14182         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14183
14184         * malloc/malloc.h: Mark malloc hook variables as deprecated.
14185
14186         [BZ #11781]
14187         * malloc/malloc.h: Declare malloc hook variables as volatile.
14188
14189         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14190         in last patch.
14191
14192         [BZ #11799]
14193         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14194         raise in the comment.
14195         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14196         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14197         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14198
14199 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
14200
14201         [BZ #12811]
14202         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14203         grow the buffers more if it already has to be sufficient.
14204         (build_wcs_upper_buffer): Likewise.
14205         * posix/regexec.c (check_matching): Likewise.
14206         (clean_state_log_if_needed): Likewise.
14207         (extend_buffers): Don't enlarge buffers beyond size of the input
14208         buffer.
14209         Patches mostly by Emil Wojak <emil@wojak.eu>.
14210         * posix/bug-regex32.c: New file.
14211         * posix/Makefile (tests): Add bug-regex32.
14212
14213         * locale/findlocale.c (_nl_find_locale): Return right away if
14214         _nl_explode_name failed.
14215         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14216
14217         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14218
14219         * debug/xtrace.sh: Unify messages.
14220         * malloc/memusage.sh: Likewise.
14221
14222         [BZ #12813]
14223         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14224         time symbol from vDSO.  Substitute with vsyscall if not available.
14225         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14226         __vdso_time.
14227
14228         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14229         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14230         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14231         Add sendmmsg and internal_sendmmsg.
14232         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14233         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14234         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14235
14236         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14237         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14238         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14239
14240 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
14241
14242         [BZ #12813]
14243         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14244         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
14245         available.
14246         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14247         __vdso_getcpu.
14248
14249         [BZ #12814]
14250         * iconvdata/Makefile (tests): Add bug-iconv9.
14251         * iconvdata/bug-iconv9.c: New file.
14252
14253 2011-05-27  Andreas Schwab  <schwab@redhat.com>
14254
14255         [BZ #12814]
14256         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14257
14258 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
14259
14260         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14261         (struct user_regs_struct): Change intcs field back to cs.
14262
14263 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
14264
14265         * po/ja.po: Update from translation team.
14266
14267 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
14268
14269         [BZ #12795]
14270         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14271         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14272
14273 2011-05-20  Andreas Schwab  <schwab@redhat.com>
14274
14275         * stdlib/longlong.h: Update from GCC.
14276
14277 2011-05-23  Andreas Schwab  <schwab@redhat.com>
14278
14279         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14280         parameter name.
14281         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14282         Add parameter name.
14283         (__sysconf): Pass it down.
14284
14285 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
14286
14287         [BZ #12671]
14288         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14289         some situations.
14290         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14291         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14292         add in in __libc_use_alloca calls.  Adjust callers.
14293         (glob): Use malloc in some situations.
14294
14295         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14296         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14297         pltexit.
14298
14299 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
14300
14301         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14302         and CLOCK_BOOTTIME_ALARM.
14303
14304         [BZ #12782]
14305         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14306         is returned.
14307
14308         * string/_strerror.c (__strerror_r): Print negative errors as signed
14309         numbers.
14310
14311         [BZ #12777]
14312         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14313         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14314         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14315
14316         * configure.in: Fix typo in redirection and correct removal of test
14317         files in two cases.
14318
14319         [BZ #12788]
14320         * locale/setlocale.c (new_composite_name): Fix test to check for
14321         identical name of all categories.
14322
14323         [BZ #12792]
14324         * libio/filedoalloc.c (local_isatty): New function.
14325         (_IO_file_doallocate): Use local_isatty.
14326         * stdio-common/perror.c (perror): In case a new stream is used
14327         forward the stream error.
14328         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14329         error flag.
14330
14331 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
14332
14333         [BZ #11869]
14334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14335         alloca.
14336         * include/alloca.h (extend_alloca_account): Define.
14337
14338         [BZ #11857]
14339         * posix/regex.h: Fix comments with documentation of user-accessible
14340         fields after compilation and describe correct free'ing of pattern
14341         after re_compile_pattern.
14342         Patch by Reuben Thomas <rrt@sc3d.org>.
14343
14344 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
14345
14346         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14347         and -mno-altivec to prevent the compiler from using Altivec and/or
14348         VSX instructions when the corresponding registers are not available.
14349
14350 2011-05-19  Andreas Schwab  <schwab@redhat.com>
14351
14352         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14353
14354 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
14355
14356         * libio/freopen.c (freopen): Use __dup2, not dup2.
14357         * libio/freopen64.c (freopen64): Likewise.
14358
14359 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
14360
14361         [BZ #12775]
14362         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14363         * math/Makefile (tests): Add test-powl.
14364         (CFLAGS-test-powl.c): Define.
14365         * math/test-powl.c: New file.
14366
14367 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14368
14369         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14370
14371 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
14372
14373         [BZ #11837]
14374         * iconvdata/gb18030.c: Update to GB18020-2005.
14375
14376 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
14377
14378         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14379         RE_SYNTAX_POSIX_AWK): Update to match recent development.
14380         Patch by Aharon Robbins <arnold@skeeve.com>.
14381
14382         [BZ #11892]
14383         * stdlib/putenv.c (putenv): Don't always create copy of the variable
14384         on the stack.
14385
14386         [BZ #11895]
14387         * misc/pselect.c (__pselect): Handle timeout value errors hidden
14388         through underflows.
14389
14390         [BZ #12766]
14391         * misc/error.c (error_at_line): Ensure file_name and old_file_name
14392         point to strings before performing equality test for error_one_per_line
14393         mode.
14394
14395         [BZ #11697]
14396         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14397
14398         [BZ #11820]
14399         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14400         (struct user_fpregs_struct): Avoid __uint*_t types.
14401
14402         [BZ #6420]
14403         * malloc/mtrace.c (tr_where): Add additional parameter to point to
14404         symbol info.  Use it instead of calling _dl_addr locally.
14405         (lock_and_info): New function.
14406         (tr_freehook): Call lock_and_info and pass symbol info as additional
14407         parameter to tr_where.
14408         (tr_mallochook): Likewise.
14409         (tr_reallochook): Likewise.
14410         (tr_memalignhook): Likewise.
14411
14412         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
14413         used and couldn't be at all thread-safe.
14414
14415 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
14416
14417         * libio/freopen.c (freopen): Don't close old file descriptor
14418         before the new one is opened.  Instead dup the new file descriptor
14419         to the old one after the new stream is created.
14420         * libio/freopen64.c (freopen64): Likewise.
14421         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14422         * libio/fileops.c (_IO_new_file_close_it): Handle new
14423         _IO_FLAGS2_NOCLOSE flag.
14424         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14425         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14426         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14427         _IO_FLAGS2_NOCLOSE flag.
14428         * include/unistd.h: Add hidden_proto for dup3.
14429         Define __have_dup3.
14430         * io/dup3.c: Define hidden symbol.
14431         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14432
14433         [BZ #7101]
14434         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14435         when an incomplete long option is used.
14436         * posix/tst-getopt_long1.c: New file.
14437         * posix/Makefile (tests): Add tst-getopt_long1.
14438
14439         [BZ #10138]
14440         * scripts/config.guess: Update from autoconf-2.68.
14441         * scripts/config.sub: Likewise.
14442
14443         [BZ #10157]
14444         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14445         tests into ...
14446         (has_cpuclock): ...this.  New function.
14447         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14448         macro here based on has_cpuclock code.
14449
14450         [BZ #10149]
14451         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14452         First byte (not low byte) is now always NUL.
14453         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14454
14455         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14456         Use non-cancelable interfaces.
14457
14458         [BZ #9809]
14459         * locale/iso-639.def: Add entry for Sorani.
14460
14461         [BZ #11901]
14462         * include/stdlib.h: Move include protection to the right place.
14463         Define abort_msg_s.  Declare __abort_msg with it.
14464         * stdlib/abort.c (__abort_msg): Adjust type.
14465         * assert/assert.c (__assert_fail_base): New function.  Majority
14466         of code from __assert_fail.  Allocate memory for __abort_msg with
14467         mmap.
14468         (__assert_fail): Now call __assert_fail_base.
14469         * assert/assert-perr.c: Remove bulk of implementation.  Use
14470         __assert_fail_base.
14471         * include/assert.hL Declare __assert_fail_base.
14472         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14473         mmap.
14474         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14475
14476 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
14477
14478         [BZ #11952]
14479         [BZ #12453]
14480         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14481         until all modules are registered in the DTV.
14482         * elf/Makefile: Add rules to build and run tst-tls19.
14483         * elf/tst-tls19.c: New file.
14484         * elf/tst-tls19mod1.c: New file.
14485         * elf/tst-tls19mod2.c: New file.
14486         * elf/tst-tls19mod3.c: New file.
14487         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14488
14489         [BZ #12083]
14490         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14491         correctly.
14492
14493         [BZ #12601]
14494         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14495         two-byte sequence errors.
14496         * iconvdata/Makefile (tests): Add bug-iconv8.
14497         * iconvdata/bug-iconv8.c: New file.
14498
14499         [BZ #12626]
14500         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14501         buf2 definition.
14502
14503         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14504
14505         [BZ #12432]
14506         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14507         (dummy_getcfa): New function.
14508         (init): Get _Unwind_GetCFA address, use dummy if not found.
14509         (backtrace_helper): In recursion check, also check whether CFA changes.
14510         (__backtrace): Completely initialize arg.
14511
14512         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14513         storing incomplete byte sequence in state object.  Avoid testing for
14514         guaranteed too small input if we know there is enough data available.
14515
14516 2011-05-11  Andreas Schwab  <schwab@redhat.com>
14517
14518         * Makeconfig (+link-pie): Indent.
14519         * Rules (binaries-pie): Define if $(have-fpie) and
14520         $(build-shared).
14521         (binaries-shared): Also filter out $(binaries-pie).
14522         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14523         * nscd/Makefile (others-pie): Add nscd.
14524         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14525         ($(objpfx)nscd): Remove command override.
14526         * login/Makefile (others-pie): Add pt_chown.
14527         ($(objpfx)pt_chown): Remove command override.
14528         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14529         remove command overrides.
14530
14531 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
14532
14533         * libio/tst_putwc.c: Fix error messages.
14534
14535         [BZ #12724]
14536         * libio/fileops.c (_IO_new_file_close_it): Always flush when
14537         currently writing and seek to current position when not.
14538         * libio/Makefile (tests): Add bug-fclose1.
14539         * libio/bug-fclose1.c: New file.
14540
14541 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
14542
14543         [BZ #12511]
14544         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14545         don't set DF_1_NODELETE here.
14546         (do_lookup_x): When entering new entry test for copy relocation
14547         and if necessary set DF_1_NODELETE flag.
14548         * elf/tst-unique4.cc: New file.
14549         * elf/tst-unique4.h: New file.
14550         * elf/tst-unique4lib.cc: New file.
14551         * elf/Makefile: Add rules to build and run tst-unique4.
14552         Patch by Piotr Bury <pbury@goahead.com>.
14553
14554 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
14555
14556         [BZ #12052]
14557         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14558
14559         [BZ #12625]
14560         * misc/mntent_r.c (addmntent): Flush the stream after the output
14561
14562         [BZ #12393]
14563         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14564         (is_trusted_path_normalize): Skip initial colon.  Append slash
14565         to empty buffer.  Duplicate is_trusted_path code but allow
14566         constructed patch to be prefix.
14567         (is_dst): Allow $ORIGIN followed by /.
14568         (_dl_dst_substitute): Correct clearing of check_for_trusted.
14569         Correct testing of result of is_trusted_path_normalize
14570         (decompose_rpath): Fix warning.
14571
14572 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
14573
14574         [BZ #11257]
14575         * grp/initgroups.c (internal_getgrouplist): When we found the service
14576         list through the initgroups entry in nsswitch.conf do not always
14577         continue on a successful lookup.  Don't always use the
14578         __nss_group_database value if it is set.
14579         * nss/nsswitch.conf (initgroups): Change action for successful db
14580         lookup to continue for compatibility.
14581
14582 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
14583
14584         [BZ #11532]
14585         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14586         and CP774 modules.
14587         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14588         and CP774 modules.
14589         * iconvdata/tst-tables.sh: Likewise.
14590         * iconvdata/cp770.c: New file.
14591         * iconvdata/cp771.c: New file.
14592         * iconvdata/cp772.c: New file.
14593         * iconvdata/cp773.c: New file.
14594         * iconvdata/cp774.c: New file.
14595         * iconvdata/testdata/CP770: New file.
14596         * iconvdata/testdata/CP770..UTF8: New file.
14597         * iconvdata/testdata/CP771: New file.
14598         * iconvdata/testdata/CP771..UTF8: New file.
14599         * iconvdata/testdata/CP772: New file.
14600         * iconvdata/testdata/CP772..UTF8: New file.
14601         * iconvdata/testdata/CP773: New file.
14602         * iconvdata/testdata/CP773..UTF8: New file.
14603         * iconvdata/testdata/CP774: New file.
14604         * iconvdata/testdata/CP774..UTF8: New file.
14605
14606         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14607         END CHARMAP line.
14608         * iconvdata/gen-8bit-gap.sh: Likewise.
14609         * iconvdata/gen-8bit.sh: Likewise.
14610
14611         * locale/iso-639.def: Add ary entry.
14612
14613         [BZ #11258]
14614         * locale/C-translit.h.in: Add U20A1 transliteration.
14615
14616         [BZ #12178]
14617         * locale/iso-639.def: Add wae entry.
14618         Patch by Kevin Bortis <bortis@translate-wae.ch>.
14619
14620         [BZ #12545]
14621         * locale/programs/localedef.c (construct_output_path): Use ssize_t
14622         for n.
14623
14624         [BZ #12711]
14625         * locale/C-translit.h.in: Add entry for U20B9.
14626         Patch by pravin.d.s@gmail.com.
14627
14628 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
14629
14630         [BZ #12713]
14631         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14632         ENAMETOOLONG use generic getcwd.
14633         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
14634         in rtld.  Use *stat64.
14635         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14636         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14637         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14638         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14639         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14640         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14641         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14642         __fstatat64 macros.
14643         * include/dirent.h: Add libc_hidden_proto for rewinddir.
14644         * dirent/rewinddir.c: Add libc_hidden_def.
14645         * sysdeps/mach/hurd/rewinddir.c: Likewise.
14646         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
14647
14648         * include/dirent.h (__alloc_dir): Add flags parameter.
14649         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14650         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14651         __alloc_dir.
14652         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
14653         from fdopendir if O_CLOEXEC is already set.
14654
14655 2011-03-15  Alan Modra  <amodra@gmail.com>
14656
14657         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14658         l_tls_firstbyte_offset non-zero.  Save padding offset in
14659         l_tls_firstbyte_offset for later use.
14660         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14661         freeing static tls block.
14662
14663 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
14664
14665         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14666         where #ifdef was intended.  The intent is to prevent ARG_MAX from
14667         being defined by the kernel headers.
14668
14669 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
14670
14671         [BZ #12734]
14672         * resolv/resolv.h: Define RES_NOTLDQUERY.
14673         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14674         no-tld-query and set RES_NOTLDQUERY.
14675         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14676         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14677         modern BIND to search name as TLD unless forbidden.
14678
14679 2011-05-07  Petr Baudis  <pasky@suse.cz>
14680             Ulrich Drepper  <drepper@gmail.com>
14681
14682         [BZ #12393]
14683         * elf/dl-load.c (fillin_rpath): Move trusted path check...
14684         (is_trusted_path): ...to here.
14685         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14686         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14687         using is_trusted_path_normalize() in setuid scripts.
14688
14689 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14690
14691         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14692         __BEGIN/__END_DECLS.
14693
14694 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
14695
14696         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14697         NSS_STATUS_NOTFOUND if no record was found.
14698
14699 2011-05-05  Andreas Schwab  <schwab@redhat.com>
14700
14701         * sunrpc/Makefile (headers): Add rpc/netdb.h.
14702         (headers-not-in-tirpc): Remove rpc/netdb.h
14703         * resolv/netdb.h: Revert last change.
14704
14705 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14706
14707         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14708         circular dependency between libgcc.a and libc.a.
14709
14710 2011-05-05  Andreas Schwab  <schwab@redhat.com>
14711
14712         * resolv/netdb.h: Don't include <rpc/netdb.h>.
14713         * nis/Makefile: Don't install rpcsvc/*.
14714         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14715         instead of <rpc/types.h>.
14716         (MAXHOSTNAMELEN): Define.
14717
14718 2011-05-03  Andreas Schwab  <schwab@redhat.com>
14719
14720         * elf/ldconfig.c (add_dir): Don't crash on empty path.
14721
14722 2011-04-28  Maciej Babinski  <mbabinski@google.com>
14723
14724         [BZ #12714]
14725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14726         gethostbyname4_r when IPv6 results are possible.
14727
14728 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
14729
14730         [BZ #12723]
14731         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14732         _PC_PIPE_BUF handling.
14733
14734 2011-04-30  Bruno Haible  <bruno@clisp.org>
14735
14736         [BZ #12717]
14737         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14738         * resolv/netdb.h (getnameinfo): Change type of flags parameter
14739         to 'int'.
14740         * inet/getnameinfo.c (getnameinfo): Likewise.
14741
14742 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
14743
14744         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14745         to groups setting in database lookup.
14746         * nss/nsswitch.conf: Add initgroups entry.
14747
14748 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
14749
14750         [BZ #12685]
14751         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14752         mode string.
14753         Patch by Eric Blake <eblake@redhat.com>.
14754
14755 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
14756
14757         * sunrpc/Makefile (need-export-routines): Add svc_run.
14758         (routines): Remove svc_run.
14759         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14760         * sunrpc/clnt_perr.c (clnt_perrno): Export.
14761         * sunrpc/svc_run.c (svc_run): Likewise.
14762         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14763
14764 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
14765
14766         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14767         problem in reallocation in last patch.
14768
14769 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
14770
14771         * sunrpc/Makefile: Move inclusion of Rules.
14772
14773 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
14774
14775         * nss/nss_files/files-initgroups.c: New file.
14776         * nss/Makefile (libnss_files-routines): Add files-initgroups.
14777         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14778         _nss_files_initgroups_dyn.
14779
14780 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
14781
14782         * elf/elf.h (R_ARM_IRELATIVE): Define.
14783
14784 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
14785
14786         * po/ru.po: Update from translation team.
14787
14788 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
14789
14790         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14791         dependencies.
14792
14793 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
14794
14795         [BZ #12653]
14796         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14797         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14798         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14799         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14800         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14801
14802 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
14803
14804         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14805         differing bytes.
14806         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14807         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14808         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14809
14810 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
14811
14812         [BZ #12420]
14813         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14814         storing it.
14815         * stdlib/bug-getcontext.c: New file.
14816         * stdlib/Makefile: Add rules to build and run bug-getcontext.
14817
14818 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14819
14820         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14821         instructions into .machine "z9-109".
14822         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14823         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14824
14825 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14826
14827         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14828         between environment variables and auxiliary vector.
14829
14830 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
14831
14832         * Makefile: Add rules to build linkobj/libc.so.
14833         * include/libc-symbols.h: Define libc_hidden_nolink.
14834         * include/rpc/auth.h: Mark functions which are to be hidden.
14835         * include/rpc/auth_des.h: Likewise.
14836         * include/rpc/auth_unix.h: Likewise.
14837         * include/rpc/clnt.h: Likewise.
14838         * include/rpc/des_crypt.h: Likewise.
14839         * include/rpc/key_prot.h: Likewise.
14840         * include/rpc/pmap_clnt.h: Likewise.
14841         * include/rpc/pmap_prot.h: Likewise.
14842         * include/rpc/pmap_rmt.h: Likewise.
14843         * include/rpc/rpc_msg.h: Likewise.
14844         * include/rpc/svc.h: Likewise.
14845         * include/rpc/svc_auth.h: Likewise.
14846         * include/rpc/xdr.h: Likewise.
14847         * nis/Makefile: Link all DSOs against linkobj/libc.so.
14848         * nss/Makefile: Likewise.
14849         * sunrpc/Makefile: Don't install headers.  Build library with normal
14850         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
14851         * sunrpc/auth_des.c: Hide exported symbols by default, export some
14852         for the compat linking library.  Remove use of INTDEF/INTUSE.
14853         * sunrpc/auth_none.c: Likewise.
14854         * sunrpc/auth_unix.c: Likewise.
14855         * sunrpc/authdes_prot.c: Likewise.
14856         * sunrpc/authuxprot.c: Likewise.
14857         * sunrpc/clnt_gen.c: Likewise.
14858         * sunrpc/clnt_perr.c: Likewise.
14859         * sunrpc/clnt_raw.c: Likewise.
14860         * sunrpc/clnt_simp.c: Likewise.
14861         * sunrpc/clnt_tcp.c: Likewise.
14862         * sunrpc/clnt_udp.c: Likewise.
14863         * sunrpc/clnt_unix.c: Likewise.
14864         * sunrpc/des_crypt.c: Likewise.
14865         * sunrpc/des_soft.c: Likewise.
14866         * sunrpc/get_myaddr.c: Likewise.
14867         * sunrpc/key_call.c: Likewise.
14868         * sunrpc/key_prot.c: Likewise.
14869         * sunrpc/netname.c: Likewise.
14870         * sunrpc/pm_getmaps.c: Likewise.
14871         * sunrpc/pm_getport.c: Likewise.
14872         * sunrpc/pmap_clnt.c: Likewise.
14873         * sunrpc/pmap_prot.c: Likewise.
14874         * sunrpc/pmap_prot2.c: Likewise.
14875         * sunrpc/pmap_rmt.c: Likewise.
14876         * sunrpc/publickey.c: Likewise.
14877         * sunrpc/rpc_cmsg.c: Likewise.
14878         * sunrpc/rpc_common.c: Likewise.
14879         * sunrpc/rpc_dtable.c: Likewise.
14880         * sunrpc/rpc_prot.c: Likewise.
14881         * sunrpc/rpc_thread.c: Likewise.
14882         * sunrpc/rtime.c: Likewise.
14883         * sunrpc/svc.c: Likewise.
14884         * sunrpc/svc_auth.c: Likewise.
14885         * sunrpc/svc_authux.c: Likewise.
14886         * sunrpc/svc_raw.c: Likewise.
14887         * sunrpc/svc_run.c: Likewise.
14888         * sunrpc/svc_simple.c: Likewise.
14889         * sunrpc/svc_tcp.c: Likewise.
14890         * sunrpc/svc_udp.c: Likewise.
14891         * sunrpc/svc_unix.c: Likewise.
14892         * sunrpc/svcauth_des.c: Likewise.
14893         * sunrpc/xcrypt.c: Likewise.
14894         * sunrpc/xdr.c: Likewise.
14895         * sunrpc/xdr_array.c: Likewise.
14896         * sunrpc/xdr_float.c: Likewise.
14897         * sunrpc/xdr_intXX_t.c: Likewise.
14898         * sunrpc/xdr_mem.c: Likewise.
14899         * sunrpc/xdr_rec.c: Likewise.
14900         * sunrpc/xdr_ref.c: Likewise.
14901         * sunrpc/xdr_sizeof.c: Likewise.
14902         * sunrpc/xdr_stdio.c: Likewise.
14903
14904 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
14905
14906         [BZ #12650]
14907         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14908         * sysdeps/ia64/dl-tls.h: Likewise.
14909         * sysdeps/powerpc/dl-tls.h: Likewise.
14910         * sysdeps/s390/dl-tls.h: Likewise.
14911         * sysdeps/sh/dl-tls.h: Likewise.
14912         * sysdeps/sparc/dl-tls.h: Likewise.
14913         * sysdeps/x86_64/dl-tls.h: Likewise.
14914         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14915
14916 2011-03-14  Andreas Schwab  <schwab@redhat.com>
14917
14918         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14919         rpath element also skip the following colon.
14920         (expand_dynamic_string_token): Add is_path parameter and pass
14921         down to DL_DST_REQUIRED and _dl_dst_substitute.
14922         (decompose_rpath): Call expand_dynamic_string_token with
14923         non-zero is_path.  Ignore empty rpaths.
14924         (_dl_map_object_from_fd): Call expand_dynamic_string_token
14925         with zero is_path.
14926
14927 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
14928
14929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14930         Make cancelable.
14931
14932 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
14933
14934         [BZ #12655]
14935         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14936         Patch by Filipe David Manana <fdmanana@apache.org>.
14937
14938 2011-04-07  Andreas Schwab  <schwab@redhat.com>
14939
14940         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14941         Maintain aligned stack.
14942         (CHECK_RSP): Remove unused macro.
14943
14944 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
14945
14946         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14947         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14948
14949 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
14950
14951         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14952
14953         * include/features.h: Mention __USE_XOPEN2K8 in comment.
14954
14955 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
14956
14957         [BZ #12518]
14958         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14959         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14960         * sysdeps/x86_64/memmove.c: New file.
14961         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14962         (memcpy): Renamed to ...
14963         (__new_memcpy): This.
14964         (memcpy): Provide GLIBC_2_14 memcpy.
14965         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14966         (memcpy): Provide GLIBC_2_2_5 memcpy.
14967
14968 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14969
14970         [BZ #12631]
14971         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14972
14973 2011-03-30  Andreas Schwab  <schwab@redhat.com>
14974
14975         * misc/syncfs.c: New file.
14976         * misc/Makefile (routines): Add syncfs.
14977         * posix/unistd.h: Declare syncfs.
14978         * sysdeps/unix/syscalls.list: Add syncfs.
14979
14980 2011-04-01  Andreas Schwab  <schwab@redhat.com>
14981
14982         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14983         open_by_handle_at.
14984         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14985         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14986         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14987         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14989         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14990         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14991
14992 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14993
14994         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14995         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14996         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14997         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14998         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14999         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15000         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15001
15002         * io/Makefile: Compile fallocate.c, fallocate64.c, and
15003         sync_file_range.c with -fexceptions.
15004         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15005         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15006         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15007         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15008         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15009         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15010         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15011         sync_file_range as cancellation point
15012         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
15013         now a wrapper around __call_sync_file_range with cancellation handling.
15014         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15015         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
15016         function name to __call_sync_file_range.
15017         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15018         Add call_sync_file_range.
15019
15020 2011-04-01  Andreas Schwab  <schwab@redhat.com>
15021
15022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15023         bits/timex.h.
15024
15025 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
15026
15027         * iconv/iconv.h: Fix typo in comment.
15028         * io/fcntl.h: Likewise.
15029         * libio/stdio.h: Likewise.
15030         * posix/spawn.h: Likewise.
15031         * posix/unistd.h: Likewise.
15032         * stdlib/stdlib.h: Likewise.
15033         * time/time.h: Likewise.
15034         * wcsmbs/wchar.h: Likewise.
15035
15036         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15037         open_by_handle): Add.
15038         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15039         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
15040         Augment a few comments.
15041         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15042         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15043         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15044         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15045         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15046         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15047         open_by_handle.
15048
15049         * io/fcntl.h (AT_EMPTY_PATH): Define.
15050
15051 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
15052
15053         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15054         * sysdeps/unix/sysv/linux/bits/time.h: New file.
15055         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15056         to...
15057         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
15058         * Versions.def: Add GLIBC_2.14.
15059         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15060         Export.
15061
15062 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
15063
15064         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15065         round counter.
15066         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15067
15068 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15069
15070         [BZ #12597]
15071         * string/test-strncmp.c (do_page_test): New function.
15072         (check2): Likewise.
15073         (test_main): Call check2.
15074         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15075
15076 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
15077
15078         [BZ #12587]
15079         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15080         Handle cache information in CPU leaf 4.
15081         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15082
15083 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
15084
15085         [BZ #12583]
15086         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15087         character representation.
15088         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15089
15090 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
15091
15092         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15093         END(__isnan) to END(__isnanf) to match function entry point/label
15094         EALIGN(__isnanf,...).
15095
15096 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
15097
15098         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15099
15100 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
15101
15102         [BZ #12510]
15103         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15104         copy from the symbol referenced in the relocation to initialize the
15105         used variable.
15106         Patch by Piotr Bury <pbury@goahead.com>.
15107         * elf/Makefile: Add rules to build and tst-unique3.
15108         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15109         * elf/tst-unique3.cc: New file.
15110         * elf/tst-unique3.h: New file.
15111         * elf/tst-unique3lib.cc: New file.
15112         * elf/tst-unique3lib2.cc: New file.
15113
15114         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15115
15116 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
15117
15118         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15119         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
15120         to _start.
15121
15122 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
15123
15124         * elf/dl-load.c (_dl_map_object): If we are looking for the first
15125         to-be-loaded object along a path to loader is ld.so.
15126
15127 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
15128             Ulrich Drepper  <drepper@gmail.com>
15129
15130         * sysdeps/x86_64/memset.S: After aligning destination, code
15131         branches to different locations depending on the value of
15132         misalignment, when multiarch is enabled. Fix this.
15133
15134 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
15135
15136         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15137         Set _x86_64_preferred_memory_instruction for AMD processsors.
15138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15139         Set bit_Prefer_SSE_for_memop for AMD processors.
15140
15141 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
15142
15143         * libio/fmemopen.c (fmemopen): Optimize a bit.
15144
15145 2011-03-03  Andreas Schwab  <schwab@redhat.com>
15146
15147         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15148
15149 2011-03-03  Roland McGrath  <roland@redhat.com>
15150
15151         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15152
15153 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
15154
15155         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15156         __bzero_ultra1 instead of __memset_ultra1.
15157
15158 2011-02-23  Andreas Schwab  <schwab@redhat.com>
15159             Ulrich Drepper  <drepper@gmail.com>
15160
15161         [BZ #12509]
15162         * include/link.h (struct link_map): Add l_orig_initfini.
15163         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15164         returning unsuccessfully.
15165         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15166         close of a file loaded at startup, restore the original l_initfini
15167         list.
15168         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15169         list, store the pointer.
15170         * elf/Makefile ($(objpfx)noload-mem): New rule.
15171         (noload-ENV): Define.
15172         (tests): Add $(objpfx)noload-mem.
15173         * elf/noload.c: Include <memcheck.h>.
15174         (main): Call mtrace.  Close all opened handles.
15175
15176 2011-02-17  Andreas Schwab  <schwab@redhat.com>
15177
15178         [BZ #12454]
15179         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15180         dependencies are missing.
15181
15182 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15183
15184         Fix __if_freereq crash: Unlike the generic version which uses free,
15185         Hurd needs munmap.
15186         * sysdeps/mach/hurd/ifreq.h: New file.
15187
15188 2011-01-27  Petr Baudis  <pasky@suse.cz>
15189             Ulrich Drepper  <drepper@gmail.com>
15190
15191         [BZ 12445]#
15192         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15193         to extend_alloca().
15194         * stdio-common/bug23.c: New file.
15195         * stdio-common/Makefile (tests): Add bug23.
15196
15197 2010-09-28  Andreas Schwab  <schwab@redhat.com>
15198             Ulrich Drepper  <drepper@gmail.com>
15199
15200         [BZ #12489]
15201         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15202         before performing relro protection.  At old place add assertion
15203         to make sure nothing changed.
15204
15205 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
15206             Glauber de Oliveira Costa  <glommer@gmail.com>
15207
15208         * elf/elf.h: Add new ARM TLS relocs.
15209
15210 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
15211
15212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15213         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15214         cast from r3.
15215         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
15216         'tests' variable.
15217         * sysdeps/wordsize-64/tst-writev.c: New file.
15218
15219 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
15220
15221         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15222         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15223         insns in _dl_start to prevent a TOC reference before relocs are
15224         resolved.
15225
15226 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
15227
15228         [BZ #12469]
15229         * Makeconfig: Remove RANLIB definition.
15230         * Makerules: Don't use RANLIB.
15231         * aclocal.m4: Remove ranlib test.
15232         * configure.in: No need to check for ranlib.
15233         * elf/rtld-Rules: Don't use RANLIB.
15234
15235 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15236
15237         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15238         protection macro.
15239         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15240         inclusion protection macro.
15241
15242         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15243         SIGRTMIN and SIGRTMAX and print information in that case only when
15244         SIGRTMIN is defined.
15245
15246 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
15247
15248         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15249         arginfo fn returning -1.
15250
15251         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15252         and thousands string is zero terminated.
15253
15254 2011-02-03  Andreas Schwab  <schwab@redhat.com>
15255
15256         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15257         sysdeps/unix/sysv/linux/bits/socket.h.
15258
15259 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15260
15261         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15262         (__CPU_COUNT): Remove old macros.
15263         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15264         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15265         (__CPU_ALLOC, __CPU_FREE): Add macros.
15266         (__sched_cpualloc, __sched_cpufree): Add declarations.
15267
15268 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
15269
15270         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15271         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15272         * nscd/aicache.c (addhstaiX): Return timeout of added value.
15273         (readdhstai): Return value of addhstaiX call.
15274         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15275         (addgrbyX): Return value returned by cache_addgr.
15276         (readdgrbyname): Return value returned by addgrbyX.
15277         (readdgrbygid): Likewise.
15278         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15279         (addpwbyX): Return value returned by cache_addpw.
15280         (readdpwbyname): Return value returned by addhstbyX.
15281         (readdpwbyuid): Likewise.
15282         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15283         (addservbyX): Return value returned by cache_addserv.
15284         (readdservbyname): Return value returned by addservbyX:
15285         (readdservbyport): Likewise.
15286         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15287         (addhstbyX): Return value returned by cache_addhst.
15288         (readdhstbyname): Return value returned by addhstbyX.
15289         (readdhstbyaddr): Likewise.
15290         (readdhstbynamev6): Likewise.
15291         (readdhstbyaddrv6): Likewise.
15292         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15293         (readdinitgroups): Return value returned by addinitgroupsX.
15294         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15295         (prune_cache): Keep track of timeout value of re-added entries.
15296         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15297         * nscd/nscd.h: Adjust prototypes of readd* functions.
15298
15299 2011-02-04  Roland McGrath  <roland@redhat.com>
15300
15301         * nis/nis_server.c (nis_servstate): Use the right name for 0.
15302         (nis_stats): Likewise.
15303         * nis/nis_modify.c (nis_modify): Likewise.
15304         * nis/nis_remove.c (nis_remove): Likewise.
15305         * nis/nis_add.c (nis_add): Likewise.
15306
15307         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15308
15309         * posix/fnmatch_loop.c: Add some consts.
15310
15311         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15312
15313 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
15314
15315         [BZ #12460]
15316         * config.make.in (config-cflags-novzeroupper): Define.
15317         * configure.in: Substitute libc_cv_cc_novzeroupper.
15318         * elf/Makefile (AVX-CFLAGS): Define.
15319         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15320         (CFLAGS-tst-auditmod4a.c): Likewise.
15321         (CFLAGS-tst-auditmod4b.c): Likewise.
15322         (CFLAGS-tst-auditmod6b.c): Likewise.
15323         (CFLAGS-tst-auditmod6c.c): Likewise.
15324         (CFLAGS-tst-auditmod7b.c): Likewise.
15325         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15326
15327 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
15328
15329         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15330         function to the callback.
15331         Patch partly by Jiri Olsa <jolsa@redhat.com>.
15332
15333 2011-02-02  Andreas Schwab  <schwab@redhat.com>
15334
15335         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15336         of errno.
15337
15338 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
15339
15340         [BZ #11724]
15341         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15342         of constructors.
15343         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15344         of destructors.
15345         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15346
15347         [BZ #11724]
15348         * elf/Makefile: Add rules to build and run new test.
15349         * elf/tst-initorder.c: New file.
15350         * elf/tst-initorder.exp: New file.
15351         * elf/tst-initordera1.c: New file.
15352         * elf/tst-initordera2.c: New file.
15353         * elf/tst-initordera3.c: New file.
15354         * elf/tst-initordera4.c: New file.
15355         * elf/tst-initorderb1.c: New file.
15356         * elf/tst-initorderb2.c: New file.
15357         * elf/tst-order-a1.c: New file.
15358         * elf/tst-order-a2.c: New file.
15359         * elf/tst-order-a3.c: New file.
15360         * elf/tst-order-a4.c: New file.
15361         * elf/tst-order-b1.c: New file.
15362         * elf/tst-order-b2.c: New file.
15363         * elf/tst-order-main.c: New file.
15364         New test case by George Gensure <werkt0@gmail.com>.
15365
15366 2010-10-01  Andreas Schwab  <schwab@redhat.com>
15367
15368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15369         decoding ACE if AI_CANONIDN.
15370
15371 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
15372
15373         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15374
15375 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
15376
15377         * version.h (RELEASE): Bump for 2.13 release.
15378         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15379
15380         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15381
15382         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15383         MADV_NOHUGEPAGE.
15384         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15385         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15386         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15387         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15388         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15389         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15390
15391         * posix/getconf.c: Update copyright year.
15392         * catgets/gencat.c: Likewise.
15393         * csu/version.c: Likewise.
15394         * debug/catchsegv.sh: Likewise.
15395         * debug/xtrace.sh: Likewise.
15396         * elf/ldconfig.c: Likewise.
15397         * elf/ldd.bash.in: Likewise.
15398         * elf/sprof.c (print_version): Likewise.
15399         * iconv/iconv_prog.c: Likewise.
15400         * iconv/iconvconfig.c: Likewise.
15401         * locale/programs/locale.c: Likewise.
15402         * locale/programs/localedef.c: Likewise.
15403         * malloc/memusage.sh: Likewise.
15404         * malloc/mtrace.pl: Likewise.
15405         * nscd/nscd.c (print_version): Likewise.
15406         * nss/getent.c: Likewise.
15407
15408         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15409         PF_CAIF, and PF_ALG.
15410         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15411
15412 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
15413
15414         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15415         (modules-names): Use them.
15416         (ifunc-test-modules, ifunc-pie-tests): Define.
15417         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15418         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15419         (test-extras): Likewise.
15420         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15421         $(compile-command.c).
15422         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15423         (all-built-dso): Define.
15424         (check-textrel.out, check-execstack.out): Depend on it.
15425
15426         * configure.in: Don't override --enable-multi-arch.
15427
15428 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
15429
15430         [BZ #6812]
15431         * nscd/hstcache.c (tryagain): Define.
15432         (cache_addhst): Return tryagain not notfound for temporary errors.
15433         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15434         failed.
15435
15436 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
15437
15438         [BZ #10563]
15439         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15440         to make the syscall.
15441         * sysdeps/unix/sysv/linux/setgroups.c: New file.
15442
15443         [BZ #12378]
15444         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15445         and fall back to matching as normal character if the string ends before
15446         the matching ']' is found.  This is what POSIX requires.
15447         * posix/testfnm.c: Adjust test result.
15448         * posix/globtest.sh: Adjust test result.  Add new test.
15449         * posix/tst-fnmatch.input: Likewise.
15450         * posix/tst-fnmatch2.c: Add new test.
15451
15452 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
15453
15454         * elf/Makefile (check-execstack): Revert last change.  Depend on
15455         check-execstack.h.
15456         (check-execstack.h): New target.
15457         (generated): Add check-execstack.h.
15458         * elf/check-execstack.c: Include "check-execstack.h".
15459         (main): Revert last change.
15460         (handle_file): Return zero if GNU_STACK is absent and
15461         DEFAULT_STACK_PERMS doesn't include PF_X.
15462
15463 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
15464
15465         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15466         in child fails because the descriptor is already closed.
15467         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15468         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15469         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15470
15471         [BZ #12397]
15472         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15473         syscall.
15474
15475         [BZ #10484]
15476         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15477         temporary buffer used to handle multi lookups locally.
15478         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15479
15480 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
15481
15482         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15483         loader is ld.so.
15484
15485 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
15486
15487         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15488         alignment for SSE2.
15489
15490 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
15491
15492         [BZ #12394]
15493         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15494         characters.  When rounding increased number of integer digits recompute
15495         number of groups.
15496         * stdio-common/tst-grouping.c: New file.
15497         * stdio-common/Makefile: Add rules to build and run tst-grouping.
15498
15499 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
15500
15501         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15502         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
15503
15504         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15505         void.
15506         * bits/select.h: Likewise.
15507
15508 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
15509
15510         * po/ja.po: Update from translation team.
15511
15512 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
15513
15514         [BZ #11155]
15515         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15516         implementation just like for lxstat, fxstatat, et al.
15517
15518 2010-12-27  Jim Meyering  <meyering@redhat.com>
15519
15520         [BZ #12348]
15521         * posix/regexec.c (build_trtable): Return failure indication upon
15522         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
15523
15524 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
15525
15526         [BZ #12201]
15527         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15528         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15529         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15530         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15531
15532         [BZ #12207]
15533         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15534
15535         [BZ #12204]
15536         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15537         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15538
15539 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
15540
15541         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15542         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15543         script has SORT_BY_INIT_PRIORITY.
15544         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15545         NO_CTORS_DTORS_SECTIONS is defined.
15546         * elf/soinit.c: Likewise.
15547         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15548         NO_CTORS_DTORS_SECTIONS is defined.
15549         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15550         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15551         * sysdeps/sh/init-first.c: Likewise.
15552         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15553
15554 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
15555
15556         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15557         always use the slow path.
15558
15559 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
15560
15561         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15562         similar rule which adds the sysdep directories to the header search in
15563         order to pick up the correct platform stackinfo.h.
15564         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15565         perform test if it is, otherwise return successfully without testing.
15566         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15567         DEFAULT_STACK_PERMS define in stackinfo.h.
15568         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15569         defined in stackinfo.h.
15570         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15571         DEFAULT_STACK_PERMS defined in stackinfo.h.
15572         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15573         * sysdeps/ia64/stackinfo.h: Likewise.
15574         * sysdeps/s390/stackinfo.h: Likewise.
15575         * sysdeps/sh/stackinfo.h: Likewise.
15576         * sysdeps/sparc/stackinfo.h: Likewise.
15577         * sysdeps/x86_64/stackinfo.h: Likewise.
15578         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15579         PF_X for powerpc64.  Retain PF_X for powerpc32.
15580
15581 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
15582
15583         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15584         accurately.
15585         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15586         GETDENTS_64BIT_ALIGNED.
15587
15588 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
15589
15590         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15591
15592 2010-12-10  Andreas Schwab  <schwab@redhat.com>
15593
15594         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15595         _GNU_SOURCE.
15596
15597         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15598         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15599         Remove __restrict.
15600         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15601         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15602
15603 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
15604
15605         [BZ #11655]
15606         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15607         are initialized.
15608
15609 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
15610
15611         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15612
15613 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
15614
15615         * po/it.po: Update from translation team.
15616
15617 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
15618
15619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15620         unused codes.
15621
15622 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
15623
15624         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15625
15626 2010-11-24  Andreas Schwab  <schwab@redhat.com>
15627
15628         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15629         specially.
15630         (gaih_getanswer_slice): Likewise.
15631
15632 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
15633
15634         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15635
15636 2010-05-31  Petr Baudis  <pasky@suse.cz>
15637
15638         [BZ #11149]
15639         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15640         silently even in the chroot mode.
15641
15642 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
15643
15644         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15645         last patch a bit.  Pretty printing
15646
15647 2010-05-31  Petr Baudis <pasky@suse.cz>
15648
15649         [BZ #10085]
15650         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15651         initialization of skip_initgroups_dyn.
15652
15653 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
15654
15655         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15656         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15657
15658 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
15659
15660         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15661
15662 2010-11-11  Andreas Schwab  <schwab@redhat.com>
15663
15664         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15665         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15666         (tst-fnmatch-ENV): Set MALLOC_TRACE.
15667         ($(objpfx)tst-fnmatch-mem): New rule.
15668         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15669         * posix/tst-fnmatch.c (main): Call mtrace.
15670
15671 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
15672
15673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15674         Support Intel processor model 6 and model 0x2c.
15675
15676 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
15677
15678         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15679           signed comparison.
15680
15681 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
15682
15683         [BZ #12205]
15684         * string/test-strncasecmp.c (check_result): New function.
15685         (do_one_test): Use it.
15686         (check1): New function.
15687         (test_main): Use it.
15688         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15689         Support strcasecmp and strncasecmp.
15690
15691 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
15692
15693         [BZ #12194]
15694         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15695         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15696
15697 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15698
15699         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15700         IFUNC support.
15701         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15702         memset-x86-64.
15703         * sysdeps/x86_64/multiarch/bzero.S: New file.
15704         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15705         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15706         * sysdeps/x86_64/multiarch/memset.S: New file.
15707         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15708         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15709         Set bit_Prefer_SSE_for_memop for Intel processors.
15710         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15711         Define.
15712         (index_Prefer_SSE_for_memop): Define.
15713         (HAS_PREFER_SSE_FOR_MEMOP): Define.
15714
15715 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
15716
15717         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15718         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15719
15720 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
15721
15722         [BZ #12191]
15723         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15724         (__x86_64_raw_data_cache_size_half): Likewise.
15725         (__x86_64_raw_shared_cache_size): Likewise.
15726         (__x86_64_raw_shared_cache_size_half): Likewise.
15727
15728         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15729         (__x86_64_raw_data_cache_size_half): Likewise.
15730         (__x86_64_raw_shared_cache_size): Likewise.
15731         (__x86_64_raw_shared_cache_size_half): Likewise.
15732         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15733         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15734         and __x86_64_raw_shared_cache_size_half.  Round
15735         __x86_64_data_cache_size_half, __x86_64_data_cache_size
15736         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15737         to multiple of 256 bytes.
15738
15739 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
15740
15741         [BZ #12167]
15742         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15743         of inacessible symlinks.  Verify result of symlink before returning it.
15744         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15745         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15746
15747 2010-10-28  Erich Ritz  <erichritz@gmail.com>
15748
15749         * math/math.h (isinf): Fix typo in comment.
15750
15751 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
15752
15753         * po/da.po: Update from translation team.
15754
15755 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
15756
15757         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15758         is added to the list.
15759
15760 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15761             Ulrich Drepper  <drepper@gmail.com>
15762
15763         * elf/dl-object.c (_dl_new_object): Don't append the new object to
15764         the global list here.  Move code to...
15765         (_dl_add_to_namespace_list): ...here.  New function.
15766         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15767         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15768         * elf/dl-load.c (lose): Don't remove the element from the list.
15769         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15770         (_dl_map_object): Likewise.
15771
15772 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
15773
15774         [BZ #12159]
15775         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15776         into all bytes of SSE register.
15777         Patch by Richard Li <richardpku@gmail.com>.
15778
15779 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
15780
15781         [BZ #12140]
15782         * malloc/malloc.c (_int_free): Fill correct number of bytes when
15783         perturbing.
15784
15785 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
15786
15787         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15788         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15789         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15790         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15792         submachine.
15793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15794
15795 2010-10-22  Andreas Schwab  <schwab@redhat.com>
15796
15797         * include/dlfcn.h (__RTLD_SECURE): Define.
15798         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
15799         mode & __RTLD_SECURE instead.
15800         (open_path): Rename preloaded parameter to secure.
15801         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15802         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15803         * elf/dl-deps.c (openaux): Likewise.
15804         * elf/rtld.c (struct map_args): Remove is_preloaded.
15805         (map_doit): Don't use it.
15806         (dl_main): Likewise.
15807         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15808         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15809
15810 2010-09-09  Andreas Schwab  <schwab@redhat.com>
15811
15812         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15813         (sysd-rules-targets): Remove duplicates.
15814         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15815         rtld-%.$o dependency.
15816
15817 2010-10-18  Andreas Schwab  <schwab@redhat.com>
15818
15819         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15820         _dl_map_object do it.
15821
15822 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
15823
15824         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15825         fast fma builtins, define the macros in the C99 standard.
15826         (FP_FAST_FMAF): Likewise.
15827         (FP_FAST_FMAL): Likewise.
15828         * sysdeps/x86_64/bits/mathdef.h: Likewise.
15829
15830         * bits/mathdef.h: Update copyright year.
15831         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15832
15833 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
15834
15835         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15836         builtins, define the macros in the C99 standard.
15837         (FP_FAST_FMAF): Likewise.
15838         (FP_FAST_FMAL): Likewise.
15839         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15840         multiply/add.
15841         (FP_FAST_FMAF): Likewise.
15842
15843 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
15844
15845         [BZ #3268]
15846         * math/libm-test.inc (fma_test): Some new testcases.
15847         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15848         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15849         y and infinite z.  Do multiplication by C already in long double.
15850         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15852         y and infinite z.  Do bitwise or of inexact bit into u.d.
15853         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15854         * sysdeps/i386/fpu/s_fmaf.S: Removed.
15855         * sysdeps/i386/fpu/s_fma.S: Removed.
15856         * sysdeps/i386/fpu/s_fmal.S: Removed.
15857
15858 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
15859
15860         [BZ #3268]
15861         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15862         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15863         computation is not scheduled after fetestexcept.  Fix value
15864         of minimum denormal long double.
15865
15866 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
15867
15868         [BZ #3268]
15869         * math/libm-test.inc (fma_test): Add some more tests.
15870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15871         correctly.
15872
15873 2010-10-15  Andreas Schwab  <schwab@redhat.com>
15874
15875         * scripts/data/localplt-s390-linux-gnu.data: New file.
15876         * scripts/data/localplt-s390x-linux-gnu.data: New file.
15877
15878 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
15879
15880         [BZ #3268]
15881         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15882         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15883         instead of dbl-64.
15884         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15885         inlines.
15886         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15888         if one of x and y is very large and the other is subnormal.
15889         * sysdeps/s390/fpu/s_fmaf.c: New file.
15890         * sysdeps/s390/fpu/s_fma.c: New file.
15891         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15892         * sysdeps/powerpc/fpu/s_fma.S: New file.
15893         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15894         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15895         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15896
15897 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
15898
15899         [BZ #3268]
15900         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15901         fma tests.
15902         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15903         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15904         * sysdeps/i386/i686/multiarch/s_fma.c: Include
15905         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15906         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15907         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15908         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15909
15910 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
15911
15912         [BZ #12078]
15913         * posix/regcomp.c (parse_branch): One more memory leak plugged.
15914         * posix/bug-regex31.input: Add test case.
15915
15916 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
15917
15918         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15919         * posix/bug-regex31.input: New file.
15920
15921         [BZ #12078]
15922         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15923         (parse_sub_exp): Fix last change, use postorder.
15924
15925         * posix/bug-regex31.c: New file.
15926         * posix/Makefile: Add rules to build and run bug-regex31.
15927
15928         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15929
15930         [BZ #12078]
15931         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15932
15933         [BZ #12108]
15934         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15935         to have entries in sys_siglist.
15936
15937         [BZ #12093]
15938         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15939         be NULL.
15940
15941 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
15942
15943         [BZ #3268]
15944         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15945         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15946         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15947         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15948         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15949         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15950         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15951         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15952         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15953         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15954         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15955         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15956         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15957         * math/ftestexcept.c (fetestexcept): Likewise.
15958         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15959         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15960         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15961         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15962         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15963         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15964         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15965
15966 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
15967
15968         [BZ #12107]
15969         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15970         newline.
15971
15972 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
15973
15974         * string/bug-strstr1.c: New file.
15975         * string/Makefile: Add rules to build and run bug-strstr1.
15976
15977 2010-10-05  Eric Blake  <eblake@redhat.com>
15978
15979         [BZ #12092]
15980         * string/str-two-way.h (two_way_long_needle): Always clear memory
15981         when skipping input due to the shift table.
15982
15983 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
15984
15985         [BZ #12005]
15986         * malloc/mcheck.c: Handle large requests.
15987
15988         [BZ #12077]
15989         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15990         for strncmp and strncasecmp.
15991         * string/stratcliff.c: Add tests for strcmp and strncmp.
15992         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15993
15994 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15995
15996         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15997         __set_fpscr.
15998
15999 2010-09-30  Andreas Jaeger  <aj@suse.de>
16000
16001         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16002         (CGROUP_SUPER_MAGIC): Define.
16003         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16004         Handle btrfs and cgroup file systems.
16005         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16006         Likewise.
16007
16008 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
16009
16010         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16011         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16012
16013 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16014
16015         [BZ #12067]
16016         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16017         trying to locate the ELF header.
16018
16019 2010-09-27  Andreas Schwab  <schwab@redhat.com>
16020
16021         [BZ #11611]
16022         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16023         Mask out sign-bit copies when constructing f_fsid.
16024
16025 2010-09-24  Petr Baudis <pasky@suse.cz>
16026
16027         * debug/stack_chk_fail_local.c: Add missing licence exception.
16028         * debug/warning-nop.c: Likewise.
16029
16030 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
16031
16032         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16033         implementing getdents64 using getdents syscall, set d_type if
16034         __ASSUME_GETDENTS32_D_TYPE.
16035
16036 2010-09-16  Andreas Schwab  <schwab@redhat.com>
16037
16038         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16039         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16040
16041 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
16042
16043         [BZ #12037]
16044         * posix/unistd.h: Undo change of feature selection for ftruncate from
16045         2010-01-11.
16046
16047 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
16048
16049         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16050         detection.
16051
16052 2010-09-20  Andreas Schwab  <schwab@redhat.com>
16053
16054         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16055         fanotify_mark.
16056         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16057
16058 2010-09-14  Andreas Schwab  <schwab@redhat.com>
16059
16060         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16061         variables after CHECK_SP call.
16062         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16063
16064 2010-09-13  Andreas Schwab  <schwab@redhat.com>
16065             Ulrich Drepper  <drepper@redhat.com>
16066
16067         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16068         re-relocationg ld.so.
16069         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16070         _dl_init_paths call.
16071         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
16072         here anymore.
16073
16074 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
16075
16076         * resolv/res_init.c (__res_vinit): Count the default server we added.
16077
16078 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
16079             Ulrich Drepper  <drepper@redhat.com>
16080
16081         [BZ #11968]
16082         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16083         (____longjmp_chk): Use %ebx for saving value across system call.
16084         Add unwind info.
16085
16086 2010-09-06  Andreas Schwab  <schwab@redhat.com>
16087
16088         * manual/Makefile: Don't mix pattern rules with normal rules.
16089
16090 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16091
16092         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16093         operation.
16094         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16095         * libio/iofopncook.c (_IO_cookie_init): Likewise.
16096         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16097         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16098         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16099         Likewise.
16100
16101 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
16102
16103         [BZ #11979]
16104         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16105         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16106
16107 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
16108
16109         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16110         * sysdeps/x86_64/addmul_1.S: Likewise.
16111         * sysdeps/x86_64/lshift.S: Likewise.
16112         * sysdeps/x86_64/mul_1.S: Likewise.
16113         * sysdeps/x86_64/rshift.S: Likewise.
16114         * sysdeps/x86_64/sub_n.S: Likewise.
16115         * sysdeps/x86_64/submul_1.S: Likewise.
16116
16117 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16118
16119         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16120         Define __sched_param instead of SCHED_* and sched_param when
16121         <bits/sched.h> is included with __need_schedparam defined.
16122         * bits/sched.h [__need_schedparam]
16123         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16124         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16125         (__defined_schedparam): Define to 1.
16126         (__sched_param): New structure, identical to sched_param.
16127         (__need_schedparam): Undefine.
16128
16129 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
16130
16131         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16132         (epoll_create1): Declare.
16133
16134         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16135
16136 2010-08-31  Andreas Schwab  <schwab@redhat.com>
16137
16138         [BZ #7066]
16139         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16140         shifting retval into place.
16141
16142 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
16143
16144         * nis/rpcsvc/nis.h: Update copyright notice.
16145         * nis/rpcsvc/nis.x: Likewise.
16146         * nis/rpcsvc/nis_callback.h: Likewise.
16147         * nis/rpcsvc/nis_callback.x: Likewise.
16148         * nis/rpcsvc/nis_object.x: Likewise.
16149         * nis/rpcsvc/nis_tags.h: Likewise.
16150         * nis/rpcsvc/yp.h: Likewise.
16151         * nis/rpcsvc/yp.x: Likewise.
16152         * nis/rpcsvc/ypupd.h: Likewise.
16153         * nis/yp_xdr.c: Likewise.
16154         * nis/ypupdate_xdr.c: Likewise.
16155
16156         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
16157         mainly the body of pmap_getport.  Add parameters to specify timeouts.
16158         (pmap_getport): Use __libc_rpc_getport.
16159         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16160         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16161         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16162
16163 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
16164
16165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16166         fanotify_mark.
16167
16168 2010-08-27  Roland McGrath  <roland@redhat.com>
16169
16170         * sysdeps/i386/i686/multiarch/Makefile
16171         (CFLAGS-varshift.c): New variable.
16172
16173 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
16174
16175         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16176         * sysdeps/i386/i686/multiarch/varshift.c: New file.
16177
16178         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16179
16180         * sysdeps/x86_64/strlen.S: Minimal code improvement.
16181
16182 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16183
16184         * sysdeps/x86_64/strlen.S: Unroll the loop.
16185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16186         strlen-sse2 strlen-sse2-bsf.
16187         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16188         __strlen_no_bsf if bit_Slow_BSF is set.
16189         (__strlen_sse42): Removed.
16190         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16191         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16192
16193 2010-08-25  Roland McGrath  <roland@redhat.com>
16194
16195         * sysdeps/x86_64/multiarch/varshift.S: File removed.
16196         * sysdeps/x86_64/multiarch/varshift.c: New file.
16197         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16198         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16199         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16200         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16201
16202 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16203
16204         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16205         strlen-sse2 strlen-sse2-bsf.
16206         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16207         __strlen_sse2_bsf if bit_Slow_BSF is unset.
16208         (__strlen_sse2): Removed.
16209         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16210         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16212         bit_Slow_BSF for Atom.
16213         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16214         (index_Slow_BSF): Define.
16215         (HAS_SLOW_BSF): Define.
16216
16217 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
16218
16219         [BZ #10851]
16220         * resolv/res_init.c (__res_vinit): When no server address at all
16221         is given default to loopback.
16222
16223 2010-08-24  Roland McGrath  <roland@redhat.com>
16224
16225         * configure.in: Remove config-name.h generation.
16226         * configure: Regenerated.
16227         * config-name.in: File removed.
16228         * scripts/config-uname.sh: New file.
16229         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16230         ($(objdir)config-name.h): New target.
16231
16232         * sunrpc/rpc_parse.h: Avoid nested comment.
16233
16234 2010-08-24  Richard Henderson  <rth@redhat.com>
16235             Ulrich Drepper  <drepper@redhat.com>
16236             H.J. Lu  <hongjiu.lu@intel.com>
16237
16238         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16240         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16241         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
16242         _mm_alignr_epi8 with _mm_loadu_si128.
16243         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16244         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16245         (__m128i_shift_right): Removed.
16246         * sysdeps/i386/i686/multiarch/varshift.h: New file.
16247         * sysdeps/i386/i686/multiarch/varshift.S: New file.
16248         * sysdeps/x86_64/multiarch/varshift.h: New file.
16249         * sysdeps/x86_64/multiarch/varshift.S: New file.
16250
16251 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
16252
16253         * configure.in: Move assembler checks to before sysdep dir checking.
16254
16255 2010-08-20  Petr Baudis  <pasky@suse.cz>
16256
16257         * LICENSES: Sync the sunrpc license.
16258
16259 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
16260
16261         * sunrpc/auth_des.c: Update copyright notice once again.
16262         * sunrpc/auth_none.c: Likewise.
16263         * sunrpc/auth_unix.c: Likewise.
16264         * sunrpc/authdes_prot.c: Likewise.
16265         * sunrpc/authuxprot.c: Likewise.
16266         * sunrpc/bindrsvprt.c: Likewise.
16267         * sunrpc/clnt_gen.c: Likewise.
16268         * sunrpc/clnt_perr.c: Likewise.
16269         * sunrpc/clnt_raw.c: Likewise.
16270         * sunrpc/clnt_simp.c: Likewise.
16271         * sunrpc/clnt_tcp.c: Likewise.
16272         * sunrpc/clnt_udp.c: Likewise.
16273         * sunrpc/clnt_unix.c: Likewise.
16274         * sunrpc/des_crypt.c: Likewise.
16275         * sunrpc/des_soft.c: Likewise.
16276         * sunrpc/get_myaddr.c: Likewise.
16277         * sunrpc/getrpcport.c: Likewise.
16278         * sunrpc/key_call.c: Likewise.
16279         * sunrpc/key_prot.c: Likewise.
16280         * sunrpc/openchild.c: Likewise.
16281         * sunrpc/pm_getmaps.c: Likewise.
16282         * sunrpc/pm_getport.c: Likewise.
16283         * sunrpc/pmap_clnt.c: Likewise.
16284         * sunrpc/pmap_prot.c: Likewise.
16285         * sunrpc/pmap_prot2.c: Likewise.
16286         * sunrpc/pmap_rmt.c: Likewise.
16287         * sunrpc/rpc/auth.h: Likewise.
16288         * sunrpc/rpc/auth_unix.h: Likewise.
16289         * sunrpc/rpc/clnt.h: Likewise.
16290         * sunrpc/rpc/des_crypt.h: Likewise.
16291         * sunrpc/rpc/key_prot.h: Likewise.
16292         * sunrpc/rpc/netdb.h: Likewise.
16293         * sunrpc/rpc/pmap_clnt.h: Likewise.
16294         * sunrpc/rpc/pmap_prot.h: Likewise.
16295         * sunrpc/rpc/pmap_rmt.h: Likewise.
16296         * sunrpc/rpc/rpc.h: Likewise.
16297         * sunrpc/rpc/rpc_des.h: Likewise.
16298         * sunrpc/rpc/rpc_msg.h: Likewise.
16299         * sunrpc/rpc/svc.h: Likewise.
16300         * sunrpc/rpc/svc_auth.h: Likewise.
16301         * sunrpc/rpc/types.h: Likewise.
16302         * sunrpc/rpc/xdr.h: Likewise.
16303         * sunrpc/rpc_clntout.c: Likewise.
16304         * sunrpc/rpc_cmsg.c: Likewise.
16305         * sunrpc/rpc_common.c: Likewise.
16306         * sunrpc/rpc_cout.c: Likewise.
16307         * sunrpc/rpc_dtable.c: Likewise.
16308         * sunrpc/rpc_hout.c: Likewise.
16309         * sunrpc/rpc_main.c: Likewise.
16310         * sunrpc/rpc_parse.c: Likewise.
16311         * sunrpc/rpc_parse.h: Likewise.
16312         * sunrpc/rpc_prot.c: Likewise.
16313         * sunrpc/rpc_sample.c: Likewise.
16314         * sunrpc/rpc_scan.c: Likewise.
16315         * sunrpc/rpc_scan.h: Likewise.
16316         * sunrpc/rpc_svcout.c: Likewise.
16317         * sunrpc/rpc_tblout.c: Likewise.
16318         * sunrpc/rpc_util.c: Likewise.
16319         * sunrpc/rpc_util.h: Likewise.
16320         * sunrpc/rpcinfo.c: Likewise.
16321         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16322         * sunrpc/rpcsvc/key_prot.x: Likewise.
16323         * sunrpc/rpcsvc/klm_prot.x: Likewise.
16324         * sunrpc/rpcsvc/mount.x: Likewise.
16325         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16326         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16327         * sunrpc/rpcsvc/rex.x: Likewise.
16328         * sunrpc/rpcsvc/rstat.x: Likewise.
16329         * sunrpc/rpcsvc/rusers.x: Likewise.
16330         * sunrpc/rpcsvc/sm_inter.x: Likewise.
16331         * sunrpc/rpcsvc/spray.x: Likewise.
16332         * sunrpc/rpcsvc/yppasswd.x: Likewise.
16333         * sunrpc/rtime.c: Likewise.
16334         * sunrpc/svc.c: Likewise.
16335         * sunrpc/svc_auth.c: Likewise.
16336         * sunrpc/svc_authux.c: Likewise.
16337         * sunrpc/svc_raw.c: Likewise.
16338         * sunrpc/svc_run.c: Likewise.
16339         * sunrpc/svc_simple.c: Likewise.
16340         * sunrpc/svc_tcp.c: Likewise.
16341         * sunrpc/svc_udp.c: Likewise.
16342         * sunrpc/svc_unix.c: Likewise.
16343         * sunrpc/svcauth_des.c: Likewise.
16344         * sunrpc/xcrypt.c: Likewise.
16345         * sunrpc/xdr.c: Likewise.
16346         * sunrpc/xdr_array.c: Likewise.
16347         * sunrpc/xdr_float.c: Likewise.
16348         * sunrpc/xdr_mem.c: Likewise.
16349         * sunrpc/xdr_rec.c: Likewise.
16350         * sunrpc/xdr_ref.c: Likewise.
16351         * sunrpc/xdr_sizeof.c: Likewise.
16352         * sunrpc/xdr_stdio.c: Likewise.
16353
16354         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16355         handling.
16356
16357 2010-08-19  Andreas Schwab  <schwab@redhat.com>
16358
16359         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16360
16361 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
16362
16363         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16364         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16365         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16366         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16367         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16368         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16369         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16370         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16371         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16372         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16373         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16374         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16375         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16376         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16377
16378 2010-07-26  Anton Blanchard  <anton@samba.org>
16379
16380         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16381         * malloc/arena.c (heap_trim): Likewise.
16382
16383 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
16384
16385         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16386         here.  Not...
16387         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16388         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16389
16390 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
16391
16392         * sysdeps/i386/elf/Makefile: New file.
16393
16394 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
16395
16396         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16397         from fanotify_init.
16398         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16399         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16400
16401 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
16402
16403         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16404         of strncasecmp_l.
16405         * sysdeps/multiarch/strcmp.S: Likewise.
16406
16407 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
16408
16409         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16410         strncase_l-nonascii.
16411         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16412         Add strncase_l-ssse3.
16413         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16414         * sysdeps/x86_64/strcmp.S: Likewise.
16415         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16416         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16417         * sysdeps/x86_64/strncase.S: New file.
16418         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16419         * sysdeps/x86_64/strncase_l.S: New file.
16420         * string/Makefile (strop-tests): Add strncasecmp.
16421         * string/test-strncasecmp.c: New file.
16422
16423         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16424         warning.
16425
16426         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16427         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16428
16429 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
16430
16431         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16432
16433 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
16434
16435         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16436         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16437         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16438
16439 2010-05-01  Alan Modra  <amodra@gmail.com>
16440
16441         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16442         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16443         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16444         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16445         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16446         tidying.  Don't tail-call __sigjmp_save for static lib.
16447         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16448         save location.
16449         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16450         (CALL_MCOUNT): Add eh info, and nop after bl.
16451         (TAIL_CALL_SYSCALL_ERROR): New macro.
16452         (PSEUDO_RET): Use it.
16453         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16454         Correct save location of integer regs and cr.
16455         (_dl_profile_resolve): Correct cr save location.  Delete nops
16456         after bl when SHARED.  Reduce cfi size a little by better
16457         placement of cfi directives.
16458         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16459         make a stack frame.  Instead use parm save area as a temp.
16460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16461         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
16462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16463         Don't make a stack frame for parent, use parm save area.
16464         Increase child stack frame to 112 bytes.  Don't save unused reg,
16465         and adjust reg usage.  Set up cfi on error recovery and
16466         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16468         (__makecontext): Add dummy nop after jump to exit.
16469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16470         Use correct parm save area and cr save, reduce stack frame.
16471         Correct cfi for possible PSEUDO_RET frame setup.
16472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16473         Branch to local label emitted by PSEUDO_RET rather than
16474         __syscall_error.
16475
16476 2010-08-12  Andreas Schwab  <schwab@redhat.com>
16477
16478         [BZ #11904]
16479         * locale/programs/locale.c (print_assignment): New function.
16480         (show_locale_vars): Use it.
16481
16482 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
16483
16484         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16485         field.
16486         (struct statfs64): Likewise.
16487         (_STATFS_F_FLAGS): Define.
16488         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16489         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16490         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16491         (ST_VALID): Define locally.
16492         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16493         __statvfs_getflags, use the provided value.
16494         * sysdeps/unix/sysv/linux/kernel-features.h: Define
16495         __ASSUME_STATFS_F_FLAGS.
16496
16497         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16498
16499         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16500         Add sys/fanotify.h.
16501         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16502         fanotify_mask for GLIBC_2.13.
16503         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16504         fanotify_init and fanotify_mark.
16505         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16506         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16507
16508         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16509         Add prlimit.
16510         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16511         prlimit64 for GLIBC_2.13.
16512         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16513         prlimit64.
16514         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16515         syscall.
16516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16517         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16518         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16519         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16520         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
16521         add prlimit alias.
16522         * sysdeps/unix/sysv/linux/prlimit.c: New file.
16523
16524         [BZ #11903]
16525         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16526         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16527
16528         * nss/Makefile: Add rules to build and run tst-nss-test1.
16529         * shlib-versions: Add entry for libnss_test1.
16530         * nss/nss_test1.c: New file.
16531         * nss/tst-nss-test1.c: New file.
16532
16533         * nss/nsswitch.c (__nss_database_custom): Define new variable.
16534         (__nss_configure_lookup): Set appropriate entry in
16535         __nss_configure_lookup to true.
16536         * nss/nsswitch.h: Define enum with indeces of databases in
16537         databases and __nss_database_custom arrays.  Declare
16538         __nss_database_custom.
16539         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16540         to avoid using nscd when custom rules are installed.
16541         * nss/getXXbyYY_r.c: Likewise.
16542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16543
16544         * nss/nss_files/files-parse.c: Whitespace fixes.
16545
16546 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
16547
16548         [BZ #11883]
16549         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16550         * posix/fnmatch_loop.c: Likewise.
16551
16552 2010-07-17  Andi Kleen  <ak@linux.intel.com>
16553
16554         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16555         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16556         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16557         * Versions.def [GLIBC_2.13]: Add.
16558
16559 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
16560
16561         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16562         Also fail if tpwd after pwuid call is NULL.
16563
16564 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16565
16566         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16567         when converting to ms.
16568
16569 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16570
16571         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16572         EOPNOTSUPP errors with ENOTTY.
16573         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16574         EOPNOTSUPP errors with ENOTTY.
16575
16576 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
16577
16578         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16579         Add strcasecmp_l-ssse3.
16580         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16581         strcasecmp.
16582         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16583         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16584         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16585
16586 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
16587
16588         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16589
16590         * string/Makefile (strop-tests): Add strcasecmp.
16591         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16592         strcasecmp_l-nonascii.
16593         (gen-as-const-headers): Add locale-defines.sym.
16594         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16595         * sysdeps/x86_64/strcasecmp.S: New file.
16596         * sysdeps/x86_64/strcasecmp_l.S: New file.
16597         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16598         * sysdeps/x86_64/locale-defines.sym: New file.
16599         * string/test-strcasecmp.c: New file.
16600
16601         * string/test-strcasestr.c: Test both ends of the range of characters.
16602         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16603
16604 2010-07-29  Roland McGrath  <roland@redhat.com>
16605
16606         [BZ #11856]
16607         * manual/locale.texi (Yes-or-No Questions): Fix example code.
16608
16609 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
16610
16611         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16612         for ld.so.
16613
16614 2010-07-27  Andreas Schwab  <schwab@redhat.com>
16615
16616         * manual/memory.texi (Malloc Tunable Parameters): Document
16617         M_PERTURB.
16618
16619 2010-07-26  Roland McGrath  <roland@redhat.com>
16620
16621         [BZ #11840]
16622         * configure.in (-fgnu89-inline check): Set and substitute
16623         gnu89_inline, not libc_cv_gnu89_inline.
16624         * configure: Regenerated.
16625         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16626
16627 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
16628
16629         * string/test-strnlen.c: New file.
16630         * string/Makefile (strop-tests): Add strnlen.
16631         * string/tester.c (test_strnlen): Add a few more test cases.
16632         * string/tst-strlen.c: Better error reporting.
16633
16634         * sysdeps/x86_64/strnlen.S: New file.
16635
16636 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
16637
16638         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16639         lower-latency instructions.
16640
16641 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
16642
16643         * string/test-strcasestr.c: New file.
16644         * string/test-strstr.c: New file.
16645         * string/Makefile (strop-tests): Add strstr and strcasestr.
16646         * string/str-two-way.h: Don't undefine MAX.
16647         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16648
16649 2010-07-21  Andreas Schwab  <schwab@redhat.com>
16650
16651         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16652         strcasestr-nonascii.
16653         (CFLAGS-strcasestr-nonascii.c): Define.
16654         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16655         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16656         Remove unused attribute.
16657
16658 2010-07-20  Roland McGrath  <roland@redhat.com>
16659
16660         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16661         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
16662         ld.so.cache was broken.  With it, there is no way to disable dsocaps
16663         like LD_HWCAP_MASK can disable hwcaps.
16664
16665 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
16666
16667         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16668
16669 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
16670
16671         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16672         call in strcasestr.
16673         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16674         __strcasestr_sse42_nonascii.
16675         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16676         strcasestr-nonascii.c.
16677         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16678
16679 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
16680
16681         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16682         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16683         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16684         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16685
16686 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
16687
16688         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16689         fcntl.
16690
16691 2010-07-06  Andreas Schwab  <schwab@redhat.com>
16692
16693         [BZ #11577]
16694         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16695         dl_signal_cerror.
16696
16697 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
16698
16699         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16700         _PC_PIPE_BUF using F_GETPIPE_SZ.
16701
16702 2010-07-05  Roland McGrath  <roland@redhat.com>
16703
16704         * manual/arith.texi (Rounding Functions): Fix rint description
16705         implicit in round description.
16706
16707 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
16708
16709         * elf/Makefile: Fix linking for a few tests to make recent linker
16710         happy.
16711
16712 2010-06-30  Andreas Schwab  <schwab@redhat.com>
16713
16714         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16715         $(common-objpfx)libc_nonshared.a.
16716
16717 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
16718
16719         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16720         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16721         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16722         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16723         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16724         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16725         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16726         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16741         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16742         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16743         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16744         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16745         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16746         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16747         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16748         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16749         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16750         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16751         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16752         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16767
16768 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16769
16770         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16771         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
16772         * string/memmove.c (memmove): Renamed to ...
16773         (MEMMOVE): ...this.  Default to memmove.
16774         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16775         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16776         (END_CHK): Define.
16777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16778         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16779         mempcpy-ssse3-back memmove-ssse3-back.
16780         * sysdeps/x86_64/multiarch/bcopy.S: New file .
16781         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16782         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16783         * sysdeps/x86_64/multiarch/memcpy.S: New file.
16784         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16785         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16786         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16787         * sysdeps/x86_64/multiarch/memmove.c: New file.
16788         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16789         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16790         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16791         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16792         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16793         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16794         Define.
16795         (index_Fast_Copy_Backward): Define.
16796         (HAS_ARCH_FEATURE): Define.
16797         (HAS_FAST_REP_STRING): Define.
16798         (HAS_FAST_COPY_BACKWARD): Define.
16799
16800 2010-06-21  Andreas Schwab  <schwab@redhat.com>
16801
16802         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16803         Restore proper fallback handling.
16804
16805 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
16806
16807         [BZ #11701]
16808         * posix/group_member.c (__group_member): Correct checking loop.
16809
16810         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16811         OOM in getpwuid_r correctly.  Return error number when the caller
16812         should return, otherwise -1.
16813         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16814         call returning > 0 value.
16815         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16816
16817 2010-06-07  Andreas Schwab  <schwab@redhat.com>
16818
16819         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16820         libc_nonshared.a from targets in modules-names.
16821
16822 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
16823
16824         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16825         requires it.
16826
16827 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
16828
16829         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16830         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16831         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16832         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16833
16834 2010-06-02  Andreas Schwab  <schwab@redhat.com>
16835
16836         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16837
16838 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
16839
16840         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16841         and F_GETPIPE_SZ.
16842         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16843         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16844         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16845         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16846         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16847         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16848
16849 2010-06-14  Roland McGrath  <roland@redhat.com>
16850
16851         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16852
16853 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
16854
16855         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16856         __REDIRECT followed by __THROW.
16857         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16858         * posix/getopt.h (getopt): Likewise.
16859
16860 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
16861
16862         * hurd/lookup-at.c (__file_name_lookup_at): Accept
16863         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
16864         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16865         in AT_FLAGS.
16866         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16867         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16868
16869 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
16870
16871         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16872
16873 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
16874
16875         [BZ #11640]
16876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16877         Properly check family and model.
16878
16879 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
16880
16881         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16882
16883 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
16884
16885         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16886
16887 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
16888
16889         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16890         symbol reference.
16891
16892 2010-05-19  Andreas Schwab  <schwab@redhat.com>
16893
16894         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16895         symbol reference.
16896
16897 2010-05-21  Andreas Schwab  <schwab@redhat.com>
16898
16899         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16900         and internal_recvmmsg.
16901         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16902         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16903         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16904         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16905
16906         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16907         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16908         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16909
16910 2010-05-20  Andreas Schwab  <schwab@redhat.com>
16911
16912         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16913
16914 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
16915
16916         POWER7 optimizations.
16917         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16918         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16919
16920 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
16921
16922         * version.h: Update for 2.13 development version.
16923
16924 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
16925
16926         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16927         exceptions.  Return 0.
16928
16929 2010-05-07  Roland McGrath  <roland@redhat.com>
16930
16931         * elf/ldconfig.c (main): Add a const.
16932
16933 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
16934
16935         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16936         (args_options): Add no-idn option.
16937         (ahosts_keys_int): Add idn_flags to ai_flags.
16938         (parse_option): Handle 'i' option to clear idn_flags.
16939
16940         * malloc/malloc.c (_int_free): Possible race in the most recently
16941         added check.  Only act on the data if no current modification
16942         happened.
16943
16944 See ChangeLog.17 for earlier changes.