73da793cfa4330181a0a570cd7c8c8a031f07d72
[platform/upstream/glibc.git] / ChangeLog
1 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
2
3         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4         float format.
5         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7         format.
8         (test): Regenerate.
9
10 2012-09-04  David S. Miller  <davem@davemloft.net>
11
12         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15
16 2012-09-04  Florian Weimer  <fweimer@redhat.com>
17
18         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19         failures.
20
21         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22
23 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
24
25         [BZ #9914]
26         * libio/iogetdelim.c: Include <limits.h>.
27         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28         + len + 1 would overflow.
29
30 2012-09-03  Andreas Jaeger  <aj@suse.de>
31
32         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33         * sysdeps/i386/fpu/libm-test-ulps: Update.
34
35 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36
37         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38         Add s_sinf-sse2, s_conf-sse2.
39
40         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44
45         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46         for using routine as __sinf_ia32.
47         Use macro for function declaration and weak_alias.
48         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
49         for using routine as __cosf_ia32.
50         Use macro for function declaration and weak_alias.
51
52         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54
55         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56         * sysdeps/x86_64/fpu/s_cosf.S: New file.
57         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58
59         * math/libm-test.inc (cos_test): Add more test cases.
60         (sin_test): Likewise.
61         (sincos_test): Likewise.
62
63 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64
65         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66         (IFUNC_RESOLVE): Make pointers to the specialized implementations
67         hidden.
68         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69
70 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71
72         [BZ #14538]
73         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
74         first element of the GOT.
75         (elf_machine_load_address): Return the difference between
76         the runtime address of _DYNAMIC and elf_machine_dynamic ().
77
78 2012-09-01  Allan McRae  <allan@archlinux.org>
79
80         [BZ #13412]
81         * configure.in (AWK): Require gawk version 3.0 or later.
82         * configure: Regenerated.
83
84 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
85
86         * sysdeps/unix/sysv/linux/kernel-features.h
87         (__ASSUME_POSIX_CPU_TIMERS): Remove.
88         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
89         [__NR_clock_getres]: Make code unconditional.
90         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
91         (clock_getcpuclockid): Remove code left unreachable by removal of
92         conditionals.
93         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
94         code unconditional.
95         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
96         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
97         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
98         Make code unconditional.
99         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
100         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
101         * sysdeps/unix/sysv/linux/clock_settime.c
102         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
103         conditional code.
104         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
105         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
106
107 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
108
109         [BZ #14476]
110         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
111         scripts/test-installation.pl.
112
113         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
114         and $ld_so_version if it is set.
115
116 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
117
118         [BZ #14516]
119         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
120         failure if reading from procfs failed.
121         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
122
123 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
124
125         * sysdeps/unix/sysv/linux/kernel-features.h
126         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
127         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
128         Remove conditional code.
129         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
130         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
131         Remove conditional code.
132         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
133         * sysdeps/unix/sysv/linux/i386/fxstat.c
134         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
135         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
136         * sysdeps/unix/sysv/linux/i386/fxstatat.c
137         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
138         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
139         * sysdeps/unix/sysv/linux/i386/lxstat.c
140         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
141         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
142         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
143         Remove conditional code.
144         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
145         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
146         Remove conditional code.
147         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
148         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
149         <kernel-features.h>.
150         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
151         Remove.
152         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
153         Remove conditional code.
154         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
155         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
156         Remove conditional.
157
158 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
159
160         [BZ #5400]
161         * NEWS: Add fixed bug number.
162
163 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
164
165         [BZ #14519]
166         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
167         underflowing exponent in case of negative sign.
168         * stdlib/tst-strtod-round-data: Add more tests.
169         * stdlib/tst-strtod-round.c (tests): Regenerated.
170
171         [BZ #3479]
172         * stdlib/strtod_l.c (NDIG): Remove.
173         (HEXNDIG): Likewise.
174         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
175         smallest representable value.
176         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
177         lie within an exact representation of 1/2 ulp of the result.
178         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
179         unconditionally.
180         (TENS_P9_IDX): Define unconditionally.
181         (TENS_P9_SIZE): Likewise.
182         (TENS_P10_IDX): Likewise.
183         (TENS_P10_SIZE): Likewise.
184         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
185         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
186         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
187         entries for 10^2^13 and 10^2^14.
188         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
189         (TENS_P13_IDX): Define.
190         (TENS_P13_SIZE): Likewise.
191         (TENS_P14_IDX): Likewise.
192         (TENS_P14_SIZE): Likewise.
193         (_fpioconst_pow10): Change array size to
194         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
195         unconditional.
196         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
197         1024]: Add entries for 10^2^13 and 10^2^14.
198         [LAST_POW10 > _LAST_POW10]: Remove #error.
199         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
200         (_fpioconst_pow10): Change array size to
201         FPIOCONST_POW10_ARRAY_SIZE.
202         * stdlib/gen-fpioconst.c: New file.
203         * stdlib/gen-tst-strtod-round.c: Likewise.
204         * stdlib/tst-strtod-round-data: Likewise.
205         * stdlib/tst-strtod-round.c: Likewise.
206         * stdlib/Makefile (tests): Add tst-strtod-round.
207
208         [BZ #14459]
209         * stdlib/strtod_l.c: Include <stdint.h>.
210         (NDEBUG): Do not define.
211         (round_and_return): Change EXPONENT parameter to type intmax_t.
212         Rearrange calculations to avoid internal overflow possibilities.
213         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
214         Rearrange calculations to avoid internal overflow possibilities.
215         Assert that number fits inside MPNSIZE limbs.
216         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
217         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
218         calculations and add assertions to avoid internal overflow
219         possibilities.  Add casts to avoid signed/unsigned operations.
220         * stdlib/tst-strtod-overflow.c: New file.
221         * stdlib/Makefile (tests): Add tst-strtod-overflow.
222
223 2012-08-25  Marek Polacek  <polacek@redhat.com>
224
225         * time/time.h: Fix some typos in comments.
226
227 2012-08-23  Roland McGrath  <roland@hack.frob.com>
228
229         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
230         * posix/tst-rfc3484-2.c: Likewise.
231         * posix/tst-rfc3484-3.c: Likewise.
232
233 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
234
235         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
236         (EF_ARM_ABI_FLOAT_HARD): Likewise.
237
238 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
239
240         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
241         #include of fxstatat64.c.
242
243 2012-08-22  Roland McGrath  <roland@hack.frob.com>
244
245         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
246         * shadow/getspent_r.c: Likewise.
247         * shadow/getspnam.c: Likewise.
248         * shadow/getspnam_r.c: Likewise.
249         * gshadow/getsgent.c: Likewise.
250         * gshadow/getsgent_r.c: Likewise.
251         * gshadow/getsgnam.c: Likewise.
252         * gshadow/getsgnam_r.c: Likewise.
253         * inet/getnetbyad.c: Likewise.
254         * inet/getnetbyad_r.c: Likewise.
255         * inet/getnetbynm.c: Likewise.
256         * inet/getnetbynm_r.c: Likewise.
257         * inet/getnetent.c: Likewise.
258         * inet/getnetent_r.c: Likewise.
259         * inet/getproto.c: Likewise.
260         * inet/getproto_r.c: Likewise.
261         * inet/getprtent.c: Likewise.
262         * inet/getprtent_r.c: Likewise.
263         * inet/getprtname.c: Likewise.
264         * inet/getprtname_r.c: Likewise.
265         * inet/getrpcbyname.c: Likewise.
266         * inet/getrpcbyname_r.c: Likewise.
267         * inet/getrpcbynumber.c: Likewise.
268         * inet/getrpcbynumber_r.c: Likewise.
269         * inet/getrpcent.c: Likewise.
270         * inet/getrpcent_r.c: Likewise.
271         * inet/getaliasent.c: Likewise.
272         * inet/getaliasent_r.c: Likewise.
273         * inet/getaliasname.c: Likewise.
274         * inet/getaliasname_r.c: Likewise.
275         * nscd/getgrgid_r.c: Likewise.
276         * nscd/getgrnam_r.c: Likewise.
277         * nscd/gethstbyad_r.c: Likewise.
278         * nscd/gethstbynm3_r.c: Likewise.
279         * nscd/getpwnam_r.c: Likewise.
280         * nscd/getpwuid_r.c: Likewise.
281         * nscd/getsrvbynm_r.c: Likewise.
282         * nscd/getsrvbypt_r.c: Likewise.
283         * nscd/gai.c: Likewise.
284
285         * configure.in (build_nscd): New substituted variable, set
286         by --disable-build-nscd and defaults to $use_nscd.
287         * configure: Regenerated.
288         * config.make.in (build-nscd): New substituted variable.
289         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
290         Change conditional to require [$(build-nscd) = yes] as well.
291         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
292
293         [BZ# 13696]
294         * configure.in (use_nscd): New substituted variable, set by
295         --disable-nscd.  If enabled, define USE_NSCD.
296         * configure: Regenerated.
297         * config.h.in: Add USE_NSCD.
298         * config.make.in (use-nscd): New substituted variable.
299         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
300         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
301         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
302         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
303         (CFLAGS-getgrnam_r.c): Likewise.
304         (CFLAGS-initgroups.c): Likewise.
305         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
306         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
307         Variables removed.
308         * inet/getnetgrent_r.c
309         (nscd_setnetgrent): New function, broken out of ...
310         (setnetgrent): ... here.  Call it.
311         (innetgr): Conditionalize nscd bits on [USE_NSCD].
312         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
313         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
314         * nscd/Makefile (routines, aux): Move definitions after include of
315         Makeconfig.  Conditionalize on [$(use-nscd) != no].
316         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
317         Conditionalize on [USE_NSCD].
318         (is_nscd, nscd_init_cb): Likewise.
319         (nss_load_library): Conditionalize init callback on [USE_NSCD].
320         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
321         * nss/nss_db/db-init.c: Likewise.
322         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
323         [USE_NSCD].
324         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
325         (make_request): Use it.
326         (cache_valid_p): New function.
327         (__check_pf): Use it.
328         * NEWS: Add item for --disable-nscd.
329
330 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
331
332         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
333         to support sed >= 4.2.1-20-ga9bf076.
334         * configure: Regenerated.
335
336 2012-08-22  Roland McGrath  <roland@hack.frob.com>
337
338         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
339         Conditionalize whole body on [IREL].
340
341 2012-08-22  Jeff Law <law@redhat.com>
342
343         [BZ #14505]
344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
345         if the family is PF_UNSPEC.
346
347 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
348
349         * Makerules (lib-version): Rename from V.
350         (install-lib-nosubdir): Change V to lib-version.
351
352 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
353
354         [BZ #14252]
355         * powerpc32/power6/wcschr.c: New file.
356         * powerpc32/power6/wcscpy.c: New file.
357         * powerpc32/power6/wcsrchr.c: New file.
358         * powerpc64/power6/wcschr.c: New file.
359         * powerpc64/power6/wcscpy.c: New file.
360         * powerpc64/power6/wcsrchr.c: New file.
361
362 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
363
364         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
365         (two_way_short_needle): Use it.
366         * string/strstr.c (AVAILABLE1_USES_J): Define.
367         * string/strcasestr.c: Likewise.
368
369         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
370         array references.
371         * string/strcasestr.c (TOLOWER): Make side-effect safe.
372
373         [BZ #11607]
374         * NEWS: Add an entry.
375         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
376         define their defaults.
377         (two_way_short_needle): Detect end-of-string on-the-fly.
378         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
379         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
380         * string/bug-strcasestr1.c: New test.
381         * string/Makefile: Run it.
382
383 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
384
385         [BZ #11607]
386         * string/str-two-way.h (two_way_short_needle): Optimize matching of
387         the first character.
388
389 2012-08-21  Roland McGrath  <roland@hack.frob.com>
390
391         * csu/elf-init.c (__libc_csu_irel): Function removed.
392         * csu/libc-start.c (apply_irel): New function.
393         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
394
395 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
396
397         * sysdeps/unix/sysv/linux/kernel-features.h
398         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
399         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
400         <kernel-features.h>.
401         [__NR_fadvise64_64]: Make code unconditional.
402         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
403         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
404         !__NR_fadvise64_64)]: Likewise.
405         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
406         !__NR_fadvise64_64))]: Likewise.
407         [__NR_fadvise64]: Make code unconditional.
408         [!__NR_fadvise64]: Remove conditional code.
409         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
410         <kernel-features.h>.
411         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
412         unconditional.
413         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
414         conditional code.
415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
416         not include <kernel-features.h>.
417         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
418         unconditional.
419         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
420         conditional code.
421         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
422         include <kernel-features.h>.
423         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
424         unconditional.
425         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
426         conditional code.
427
428 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
429
430         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
431         slight instruction rearrangements per scrollpipe analysis.
432         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
433
434 2012-08-20  Roland McGrath  <roland@hack.frob.com>
435
436         * manual/syslog.texi (syslog; vsyslog, closelog):
437         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
438         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
439
440         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
441         DSOCAPS to match condition on defining it.
442
443 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
444
445         * sysdeps/unix/sysv/linux/kernel-features.h
446         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
448         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
449         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
451         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
452         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
454         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
455         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
456
457         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
458         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
459
460         * sysdeps/unix/sysv/linux/kernel-features.h
461         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
462         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
463         unconditional.
464         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
465         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
466         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
467         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
468         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
469         Make code unconditional.
470         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
471         (__mmap64) [!__NR_mmap2]: Likewise.
472         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
473         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
474         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
475         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
476         [__NR_mmap2]: Make code unconditional.
477         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
478         (__mmap64) [!__NR_mmap2]: Likewise.
479
480 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
481
482         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
483
484 2012-08-18  Andreas Jaeger  <aj@suse.de>
485
486         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
487
488 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
489
490         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
491         * include/unistd.h (__have_sock_cloexec): Likewise.
492         (__have_pipe2): Likewise.
493         (__have_dup3): Likewise.
494
495 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
496
497         [BZ #9685]
498         * include/unistd.h (__have_pipe2): Change define into an extern int.
499         (__have_dup3): Likewise.
500         * socket/have_sock_cloexec.c: Include fcntl.h.
501         (__have_pipe2): New variable.
502         (__have_dup3): Likewise.
503
504 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
505
506         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
507
508 2012-08-17  Marek Polacek  <polacek@redhat.com>
509
510         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
511         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
512
513 2012-08-17  Roland McGrath  <roland@hack.frob.com>
514
515         * configure.in: Add AC_SUBST for sysheaders.
516         * configure: Regenerated.
517         * config.make.in (sysheaders): New substituted variable.
518
519         * sysdeps/unix/mkfifo.c: Moved ...
520         * sysdeps/posix/mkfifo.c: ... here.
521         * sysdeps/unix/mkfifoat.c: Moved ...
522         * sysdeps/posix/mkfifoat.c: ... here.
523
524         * sysdeps/unix/utime.c: Moved ...
525         * sysdeps/posix/utime.c: ... here.
526
527         * sysdeps/unix/time.c: Moved ...
528         * sysdeps/posix/time.c: ... here.
529         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
530         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
531
532         * sysdeps/unix/nice.c: Moved ...
533         * sysdeps/posix/nice.c: ... here.
534
535         * sysdeps/unix/alarm.c: Moved ...
536         * sysdeps/posix/alarm.c: ... here.
537
538         * intl/Makefile ($(codeset_mo)): Depend on the input file.
539
540 2012-08-17  Jeff Law <law@redhat.com>
541
542         * intl/Makefile (codeset_mo): New variable.
543         ($(codeset_mo)): New target.
544         (tst-codeset.out): Depend on that.  Remove explicit rule.
545         (tst-gettext3.out, tst-gettext5.out): Likewise.
546         (LOCPATH-ENV, tst-codeset-ENV): New variables.
547         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
548         * intl/tst-codeset.sh: Remove.
549         * intl/tst-gettext3.sh: Likewise.
550         * intl/tst-gettext5.sh: Likewise.
551
552 2012-08-17  Roland McGrath  <roland@hack.frob.com>
553
554         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
555         * sysdeps/unix/syscalls.list: ... here.
556
557         * sysdeps/posix/getaddrinfo.c
558         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
559         (gaiconf_init, gaiconf_reload): Use them.
560         [!_STATBUF_ST_NSEC]
561         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
562         Define using time_t rather than struct timespec.
563
564         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
565         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
566         Macros removed.
567         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
568         [!NO_THREADS].
569         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
570         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
571         Likewise.
572
573         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
574         __libc_cleanup_push argument.
575
576         * bits/param.h: New file.
577         * misc/sys/param.h: New file.
578         * include/sys/param.h: New file.
579         * misc/Makefile (headers): Add bits/param.h.
580         * sysdeps/generic/sys/param.h: File removed.
581         * sysdeps/unix/sysv/linux/bits/param.h: New file.
582         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
583         * sysdeps/mach/hurd/bits/param.h: New file.
584         * sysdeps/mach/hurd/sys/param.h: New file.
585
586         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
587         last change.
588
589         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
590         [_IO_MTSAFE_IO].
591         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
592         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
593         New macros.
594
595         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
596         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
597         rather than -D_IO_MTSAFE_IO conditionally.
598         * stdio-common/Makefile (CPPFLAGS): Likewise.
599         * wcsmbs/Makefile (CPPFLAGS): Likewise.
600         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
601         Use $(libio-mtsafe).
602         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
603         of -D_IO_MTSAFE_IO.
604         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
605         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
606         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
607         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
608         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
609         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
610         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
611         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
612         (CFLAGS-fread_u_chk.c): Likewise.
613         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
614         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
615         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
616         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
617         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
618         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
619         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
620         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
621         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
622
623         * libio/Makefile: Test [$(libc-reentrant) = yes]
624         instead of [$(filter %REENTRANT, $(defines)) nonempty].
625
626         * Makeconfig
627         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
628         * sysdeps/pthread/configure: File removed.
629         * sysdeps/pthread/Makeconfig: New file.
630         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
631         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
632
633 2012-08-16  Gary Benson  <gbenson@redhat.com>
634
635         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
636         unmapping the first object in a namespace.
637
638 2012-08-16  Roland McGrath  <roland@hack.frob.com>
639
640         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
641         (__internal_setnetgrent): ... this.  Add internal_function to
642         definition.  Add libc_hidden_def.
643         (setnetgrent): Update caller.
644         (internal_endnetgrent): Renamed to ...
645         (__internal_endnetgrent): ... this.  Add internal_function to
646         definition.  Add libc_hidden_def.
647         (endnetgrent): Update caller.
648         (internal_getnetgrent_r): Renamed to ...
649         (__internal_getnetgrent_r): ... this.  Add internal_function to
650         definition.  Add libc_hidden_def.
651         (__getnetgrent_r): Update caller.
652         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
653
654 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
655
656         * stdlib/longlong.h: Update from GCC.
657
658 2012-08-16  Roland McGrath  <roland@hack.frob.com>
659
660         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
661         on _QL, which is set by umul_ppmm but never used.
662         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
663         variables, which are set by GMP macros but never used.
664         * stdio-common/_itowa.c (_itowa): Likewise.
665         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
666         * stdlib/mod_1.c (mpn_mod_1): Likewise.
667
668 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
669
670         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
671         struct La_sh_regs is not constant.
672         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
673         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
674         and struct La_sparc64_regs are not constant.
675
676 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
677
678         * sysdeps/unix/sysv/linux/kernel-features.h
679         (__ASSUME_POSIX_TIMERS): Remove.
680         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
681         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
682         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
683         Make code unconditional.
684         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
685         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
686         Make code unconditional.
687         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
688         * sysdeps/unix/sysv/linux/clock_nanosleep.c
689         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
690         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
691         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
692         Make code unconditional.
693         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
694         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
695         (__libc_missing_posix_timers): Remove.
696
697 2012-08-15  Roland McGrath  <roland@hack.frob.com>
698
699         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
700         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
701
702         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
703
704         * elf/dl-sym.c: Include <stdlib.h>.
705
706         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
707         constants, which avoids warnings in 32-bit builds.
708
709         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
710         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
711
712         * misc/lseek.c: File moved to ...
713         * io/lseek.c: ... here.
714
715         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
716
717         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
718         shifting LEN more than 31 bits at once.
719
720 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
721
722         [BZ #14195]
723         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
724         segmentation fault for a case of two empty input strings.
725         * string/test-strncasecmp.c (check1): Renamed to...
726         (bz12205): ...this.
727         (bz14195): Add new testcase for two empty input strings and N > 0.
728         (test_main): Call new testcase, adapt for renamed function.
729
730 2012-08-15  Andreas Jaeger  <aj@suse.de>
731
732         [BZ #14090]
733         * crypt/md5test2.c: New test, based on test supplied by Serge
734         Belyshev <belyshev@depni.sinp.msu.ru>.
735         * crypt/Makefile (xtests): Add md5test-giant..
736         * crypt/Makefile ($(objpfx)md5test-giant): Add.
737
738 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
739
740         [BZ #14090]
741         * crypt/md5.c (md5_process_block): Don't assume the buffer
742         length is less than 2**32.
743         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
744         length is less than 2**64.
745
746 2012-08-15  Roland McGrath  <roland@hack.frob.com>
747
748         * string/str-two-way.h: Include <sys/param.h>.
749         (MAX): Macro removed.
750
751         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
752         Move #define and #undef of memmove to just before and after
753         including <string.h>.
754
755         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
756         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
757         and after including <string.h>.  Move declarations of
758         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
759         to before #include "string/memmove.c".
760
761         * include/dirent.h: Declare __getdirentries.
762
763         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
764         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
765
766 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
767
768         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
769         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
770         * sysdeps/i386/configure: Regenerated.
771         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
772         STABS_CURRENT_FILE, and STABS_FUN.
773         (END): Remove call to STABS_FUN_END.
774         (STABS_CURRENT_FILE1): Delete.
775         (STABS_CURRENT_FILE): Likewise.
776         (STABS_FUN): Likewise.
777         (STABS_FUN_END): Likewise.
778         (STABS_FUN2): Likewise.
779         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
780         * sysdeps/x86_64/configure: Regenerated.
781
782 2012-08-14  Roland McGrath  <roland@hack.frob.com>
783
784         * elf/dl-open.c: Include <atomic.h>.
785         * elf/dl-lookup.c: Likewise.
786
787 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
788
789         * sysdeps/unix/sysv/linux/kernel-features.h
790         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
791         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
792         unconditionally.
793         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
794         unconditionally.
795         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
796         condition on __ASSUME_CLONE_THREAD_FLAGS.
797
798 2012-08-14  Andreas Jaeger  <aj@suse.de>
799
800         * sysdeps/i386/fpu/libm-test-ulps: Update.
801
802 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
803
804         * include/atomic.h (atomic_exchange_and_add): Split into ...
805         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
806         New atomic macros.
807
808 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
809
810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
811
812 2012-08-13  Jeff Law <law@redhat.com>
813
814         * manual/stdio.texi (snprintf): Clarify handling of the trailing
815         null byte in the output string.
816
817 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
818
819         * sysdeps/unix/sysv/linux/kernel-features.h
820         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
821         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
822         (__ASSUME_ARG_MAX_STACK_BASED): Define.
823         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
824         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
825         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
826         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
827
828 2012-08-09  Jeff Law <law@redhat.com>
829
830         [BZ #13939]
831         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
832         When avoid_arena is set, don't retry in the that arena.  Pick the
833         next one, whatever it might be.
834         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
835         (arena_lock): Pass in new parameter to arena_get2.
836         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
837         arena_get2.
838         (__libc_malloc): Unify retrying after main arena failure with
839         __libc_memalign version.
840         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
841
842 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
843
844         [BZ #14166]
845         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
846         to __redirect_strstr.
847         (__strstr_sse42): Use typeof __redirect_strstr.
848         (__strstr_ia32): Likewise.
849         (__libc_strstr): New prototype.
850         (strstr): Renamed to ...
851         (__libc_strstr): This.
852         (strstr): New strong alias of __libc_strstr.
853         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
854         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
855         __redirect_time.
856         Include <time.h>.
857         (__libc_time): New prototype.
858         (time_ifunc): Replace time with __libc_time.
859         (time): New strong alias and hidden definition of __libc_time.
860         (__GI_time): Remove strong alias.
861         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
862         Include <stddef.h>.
863         (memmove): Redefined to __redirect_memmove.
864         (__memmove_sse2): Use typeof __redirect_memmove.
865         (__memmove_ssse3): Likewise.
866         (__memmove_ssse3_back): Likewise.
867         (__libc_memmove): New prototype.
868         (memmove): Renamed to ...
869         (__libc_memmove): This.
870         (memmove): New strong alias of __libc_memmove.
871
872 2012-08-08  Mark Salter  <msalter@redhat.com>
873
874         * elf/elf.h
875         (R_MN10300_TLS_GD): Define.
876         (R_MN10300_TLS_LD): Likewise.
877         (R_MN10300_TLS_LDO): Likewise.
878         (R_MN10300_TLS_GOTIE): Likewise.
879         (R_MN10300_TLS_IE): Likewise.
880         (R_MN10300_TLS_LE): Likewise.
881         (R_MN10300_TLS_DTPMOD): Likewise.
882         (R_MN10300_TLS_DTPOFF): Likewise.
883         (R_MN10300_TLS_TPOFF): Likewise.
884         (R_MN10300_SYM_DIFF): Likewise.
885         (R_MN10300_ALIGN): Likewise.
886         (R_MN10300_NUM): Update.
887
888 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
889
890         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
891         Remove.
892
893 2012-08-08  Roland McGrath  <roland@hack.frob.com>
894
895         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
896
897         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
898         sysdeps/unix -> sysdeps/posix move.
899         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
900
901 2012-08-07      Allan McRae     <allan@archlinux.org>
902
903         [BZ #14303]
904         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
905         (SUNOS_CPP): Likewise.
906         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
907         not found.
908         (open_input): Call CPP using execvp.
909
910 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
911
912         * sysdeps/unix/sysv/linux/kernel-features.h
913         (__ASSUME_PROT_GROWSUPDOWN): Remove.
914         (__ASSUME_NO_CLONE_DETACHED): Likewise.
915         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
916         (__ASSUME_WAITID_SYSCALL): Likewise.
917         * sysdeps/unix/sysv/linux/dl-execstack.c
918         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
919         code unconditional.
920         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
921         conditional code.
922         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
923         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
924         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
925         code.
926         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
927         unconditional.
928         [__ASSUME_WAITID_SYSCALL]: Likewise.
929         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
930
931 2012-08-07  Roland McGrath  <roland@hack.frob.com>
932
933         * sysdeps/unix/closedir.c: Renamed to ...
934         * sysdeps/posix/closedir.c: ... here.
935         * sysdeps/unix/dirfd.c: Renamed to ...
936         * sysdeps/posix/dirfd.c: ... here.
937         * sysdeps/unix/dirstream.h: Renamed to ...
938         * sysdeps/posix/dirstream.h: ... here.
939         * sysdeps/unix/fdopendir.c: Renamed to ...
940         * sysdeps/posix/fdopendir.c: ... here.
941         * sysdeps/unix/opendir.c: Renamed to ...
942         * sysdeps/posix/opendir.c: ... here.
943         * sysdeps/unix/readdir.c: Renamed to ...
944         * sysdeps/posix/readdir.c: ... here.
945         * sysdeps/unix/readdir_r.c: Renamed to ...
946         * sysdeps/posix/readdir_r.c: ... here.
947         * sysdeps/unix/rewinddir.c: Renamed to ...
948         * sysdeps/posix/rewinddir.c: ... here.
949         * sysdeps/unix/seekdir.c: Renamed to ...
950         * sysdeps/posix/seekdir.c: ... here.
951         * sysdeps/unix/telldir.c: Renamed to ...
952         * sysdeps/posix/telldir.c: ... here.
953         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
954         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
955         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
956         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
957
958         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
959         * bits/fcntl.h: ... here.
960
961         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
962         not 0.
963         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
964         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
965         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
966         (struct flock): Move l_start, l_len to the beginning.
967         Use __pid_t for l_pid.
968         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
969         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
970         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
971         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
972         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
973         [__USE_LARGEFILE64] (struct flock64): New type.
974         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
975
976         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
977         * bits/dirent.h: ... here.
978
979         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
980         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
981
982 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
983
984         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
985         Change from 2.6.0 to 2.6.16.
986         * sysdeps/unix/sysv/linux/configure: Regenerated.
987         * sysdeps/unix/sysv/linux/kernel-features.h
988         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
989         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
990         version.
991         (__ASSUME_UTIMES): Likewise.
992         (__ASSUME_CLONE_STOPPED): Remove.
993         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
994         architectures, not kernel version.
995         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
996         (__ASSUME_NO_CLONE_DETACHED): Likewise.
997         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
998         (__ASSUME_WAITID_SYSCALL): Likewise.
999         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1000         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1001         * README: State 2.6.16 as minimum Linux kernel version.  Do not
1002         refer to older versions.
1003
1004 2012-08-06  Roland McGrath  <roland@hack.frob.com>
1005
1006         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1007         Define alphasort64 as an alias.
1008         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1009         Define versionsort64 as an alias.
1010         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1011         Define scandir64 as an alias.
1012         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1013         Define scandirat64 as an alias.
1014         * dirent/alphasort64.c (alphasort64):
1015         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1016         * dirent/versionsort64.c: Likewise.
1017         * dirent/scandir64.c: Likewise.
1018         * dirent/scandirat64.c: Likewise.
1019         * sysdeps/wordsize-64/alphasort.c: File removed.
1020         * sysdeps/wordsize-64/alphasort64.c: File removed.
1021         * sysdeps/wordsize-64/scandir.c: File removed.
1022         * sysdeps/wordsize-64/scandir64.c: File removed.
1023         * sysdeps/wordsize-64/scandirat.c: File removed.
1024         * sysdeps/wordsize-64/scandirat64.c: File removed.
1025         * sysdeps/wordsize-64/versionsort.c: File removed.
1026         * sysdeps/wordsize-64/versionsort64.c: File removed.
1027         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1028         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1029         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1030         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1031         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1032         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1033         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1034         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1035
1036         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1037         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1038         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1039         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1040         [defined __arch64__ || defined __sparcv9]
1041         (__INO_T_MATCHES_INO64_T): New macro.
1042         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1043         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1044         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1045         * sysdeps/unix/sysv/linux/bits/dirent.h
1046         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1047         (_DIRENT_MATCHES_DIRENT64): New macro.
1048
1049         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1050         Define lockf64 as an alias.
1051         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1052         Define fseeko64 as an alias.
1053         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1054         Define ftello64 as an alias.
1055         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1056         Define _IO_fgetpos64 and fgetpos64 as aliases.
1057         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1058         Define _IO_fsetpos64 and fsetpos64 as aliases.
1059         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1060         Conditionalize body on this.
1061         * libio/fseeko64.c: Likewise.
1062         * libio/ftello64.c: Likewise.
1063         * libio/iofgetpos64.c: Likewise.
1064         * libio/iofsetpos64.c: Likewise.
1065         * sysdeps/wordsize-64/lockf.c: File removed.
1066         * sysdeps/wordsize-64/lockf64.c: File removed.
1067         * sysdeps/wordsize-64/fseeko.c: File removed.
1068         * sysdeps/wordsize-64/fseeko64.c: File removed.
1069         * sysdeps/wordsize-64/ftello.c: File removed.
1070         * sysdeps/wordsize-64/ftello64.c: File removed.
1071         * sysdeps/wordsize-64/iofgetpos.c: File removed.
1072         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1073         * sysdeps/wordsize-64/iofsetpos.c: File removed.
1074         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1075         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1076         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1077         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1078         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1079         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1080         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1081         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1082         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1083         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1084         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1085
1086         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1087         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1088         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1089         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1090         [defined __arch64__ || defined __sparcv9]
1091         (__OFF_T_MATCHES_OFF64_T): New macro.
1092         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1093         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1094         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1095         (__OFF_T_MATCHES_OFF64_T): New macro.
1096
1097 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1098
1099         * stdlib/secure-getenv.c (__secure_getenv): Replace
1100         GLIBC_2_16 with GLIBC_2_17.
1101
1102 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
1103
1104         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1105         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1106
1107 2012-08-03  David S. Miller  <davem@davemloft.net>
1108
1109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1110
1111 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1112
1113         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1114         Remove.
1115         (__ASSUME_CORRECT_SI_PID): Likewise.
1116         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1117         (__ASSUME_TMPFS_NAME): Likewise.
1118         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1119         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1120         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1121         (HAVE_AUX_SECURE): Make definition unconditional.
1122         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1123         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1124
1125 2012-08-03  Roland McGrath  <roland@hack.frob.com>
1126
1127         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1128         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1129         * sysdeps/mach/hurd/eloop-threshold.h: New file.
1130         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1131         __eloop_threshold instead of SYMLOOP_MAX.
1132
1133         * sysdeps/generic/eloop-threshold.h: New file.
1134         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1135         of MAXSYMLINKS.
1136         * elf/chroot_canon.c (chroot_canon): Likewise.
1137
1138 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
1139
1140         [BZ #13717]
1141         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1142         Change to 2.6.0 everywhere.
1143         * sysdeps/unix/sysv/linux/configure: Regenerated.
1144         * sysdeps/unix/sysv/linux/kernel-features.h
1145         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1146         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1147         kernel versions.
1148         (__ASSUME_POSIX_TIMERS): Define unconditionally.
1149         (__ASSUME_FUTEX_REQUEUE): Remove.
1150         (__ASSUME_STATFS64): Define unconditionally.
1151         (__ASSUME_AT_SECURE): Likewise.
1152         (__ASSUME_CORRECT_SI_PID): Likewise.
1153         (__ASSUME_TGKILL): Define without depending on kernel version for
1154         i386.
1155         (__ASSUME_UTIMES): Likewise.
1156         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1157         kernel version.
1158         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1159         (__ASSUME_TMPFS_NAME): Likewise.
1160         * README: Update reference to Linux kernel versions.
1161
1162 2012-08-02  Marek Polacek  <polacek@redhat.com>
1163
1164         [BZ# 14150]
1165         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
1166         libc_cv_asm_type_prefix with %.
1167         * configure: Regenerated.
1168         * include/libc-symbols.h: Remove comment about
1169         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1170         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1171         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1172         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1173         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1174         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1175         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1176         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1177         * elf/tst-unique2mod1.c: Likewise.
1178         * elf/tst-unique1mod2.c: Likewise.
1179         * elf/tst-unique1mod1.c: Likewise.
1180         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1181         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1182         Replace ASM_TYPE_DIRECTIVE with .type.
1183         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1184         * sysdeps/i386/sysdep.h: Likewise.
1185         * sysdeps/x86_64/sysdep.h: Likewise.
1186         * sysdeps/sh/sysdep.h: Likewise.
1187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1188         Do not define ASM_TYPE_DIRECTIVE.
1189         * sysdeps/powerpc/sysdep.h: Likewise.
1190         * sysdeps/powerpc/powerpc32/sysdep.h:
1191         Replace ASM_TYPE_DIRECTIVE with .type.
1192         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1193         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1194         * sysdeps/i386/fpu/e_powf.S: Likewise.
1195         * sysdeps/i386/fpu/e_expl.S: Likewise.
1196         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1197         * sysdeps/i386/fpu/e_acosh.S: Likewise.
1198         * sysdeps/i386/fpu/e_pow.S: Likewise.
1199         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1200         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1201         * sysdeps/i386/fpu/s_expm1.S: Likewise.
1202         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1203         * sysdeps/i386/fpu/e_log2.S: Likewise.
1204         * sysdeps/i386/fpu/e_log2l.S: Likewise.
1205         * sysdeps/i386/fpu/e_scalb.S: Likewise.
1206         * sysdeps/i386/fpu/e_powl.S: Likewise.
1207         * sysdeps/i386/fpu/e_log10f.S: Likewise.
1208         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1209         * sysdeps/i386/fpu/e_logl.S: Likewise.
1210         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1211         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1212         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1213         * sysdeps/i386/fpu/e_log2f.S: Likewise.
1214         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1215         * sysdeps/i386/fpu/e_log.S: Likewise.
1216         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1217         * sysdeps/i386/fpu/e_logf.S: Likewise.
1218         * sysdeps/i386/fpu/e_log10l.S: Likewise.
1219         * sysdeps/i386/fpu/e_atanh.S: Likewise.
1220         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1221         * sysdeps/i386/fpu/e_log10.S: Likewise.
1222         * sysdeps/i386/fpu/s_frexp.S: Likewise.
1223         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1224         * sysdeps/i386/fpu/s_asinh.S: Likewise.
1225         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1226         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1227         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1228         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1229         * sysdeps/i386/i686/strtok.S: Likewise.
1230         * sysdeps/i386/i386-mcount.S: Likewise.
1231         * sysdeps/i386/strtok.S: Likewise.
1232         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1233         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1234         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1235         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1236         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1237         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1238         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1239         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1240         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1241         * sysdeps/x86_64/_mcount.S: Likewise.
1242         * sysdeps/x86_64/strtok.S: Likewise.
1243         * sysdeps/sh/_mcount.S: Likewise.
1244
1245 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1246
1247         * libio/iofopen.c: Include <fcntl.h>.
1248         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1249         (_IO_fopen64, fopen64): Define as aliases.
1250         * libio/iofopen64.c: Include <fcntl.h>.
1251         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1252         Conditionalize body on this.
1253         * sysdeps/wordsize-64/iofopen.c: File removed.
1254         * sysdeps/wordsize-64/iofopen64.c: File removed.
1255
1256 2012-08-01  Marek Polacek  <polacek@redhat.com>
1257
1258         * libc/Makeconfig: Use elf in place of binfmt-subdir.
1259         Use dlfcn directly instead of a variable.
1260         (binfmt-subdir): Do not define.
1261         (dlfcn): Likewise.
1262
1263 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
1264
1265         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1266         Remove all definitions.
1267         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1268         <kernel-features.h>.
1269         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1270         (miss_F_GETOWN_EX): Remove all definitions.
1271         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1272         macro definition.
1273         [!__ASSUME_FCNTL64]: Remove conditional code.
1274         [__ASSUME_FCNTL64]: Make code unconditional.
1275         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1276         <kernel-features.h>.
1277         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1278         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1279         (lockf64) [__NR_fcntl64]: Make code unconditional.
1280         (lockf64) [__ASSUME_FCNTL64]: Likewise.
1281
1282         * sysdeps/unix/sysv/linux/kernel-features.h
1283         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1284         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1285         Make code unconditional.
1286         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1287         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1289         [__NR_vfork]: Make code unconditional.
1290         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1291         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1293         [__NR_vfork]: Make code unconditional.
1294         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1295         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1296
1297 2012-08-01  Roland McGrath  <roland@hack.frob.com>
1298
1299         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1300         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1301
1302         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1303         Define mkstemp64 as an alias.
1304         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1305         Define mkstemps64 as an alias.
1306         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1307         Define mkostemp64 as an alias.
1308         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1309         Define mkostemps64 as an alias.
1310         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1311         Conditionalize body on this.
1312         * misc/mkostemp64.c: Likewise.
1313         * misc/mkostemps64.c: Likewise.
1314         * misc/mkstemps64.c: Likewise.
1315         * sysdeps/wordsize-64/mkstemp64.c: File removed.
1316         * sysdeps/wordsize-64/mkostemp64.c: File removed.
1317         * sysdeps/wordsize-64/mkostemp.c: File removed.
1318         * sysdeps/wordsize-64/mkstemp.c: File removed.
1319         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1320         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1321         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1322         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1323
1324         [BZ #14138]
1325         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1326         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1327         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1328         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1329
1330         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1331         compat_symbol macros from <shlib-compat.h> rather than the underlying
1332         default_symbol_version and symbol_version macros, so that DEFAULT
1333         lines in shlib-versions are respected.
1334         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1335
1336 2012-08-01  Florian Weimer  <fweimer@redhat.com>
1337
1338         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1339         Declare with warn_unused_result.
1340         (setgid, setregid, setegid, setresgid): Likewise.
1341         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1342         Likewise.
1343         * WUR-REPORT: Remove set*id functions.
1344
1345 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
1346
1347         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1348
1349 2012-07-31  Roland McGrath  <roland@hack.frob.com>
1350
1351         * include/sys/socket.h (__libc_accept, __libc_accept4):
1352         Add attribute_hidden.
1353         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1354
1355         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1356         use of PTR_MANGLE.
1357         * inet/getnetgrent_r.c (setup): Likewise.
1358
1359         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1360
1361 2012-07-31  David S. Miller  <davem@davemloft.net>
1362
1363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1364
1365 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
1366
1367         [BZ #13629]
1368         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1369         value between 1.0 and 2.0 and smaller part has absolute value less
1370         than 1.0.
1371         * math/s_clog10.c (__clog10): Likewise.
1372         * math/s_clog10f.c (__clog10f): Likewise.
1373         * math/s_clog10l.c (__clog10l): Likewise.
1374         * math/s_clogf.c (__clogf): Likewise.
1375         * math/s_clogl.c (__clogl): Likewise.
1376         * math/libm-test.inc (clog_test): Add more tests.
1377         (clog10_test): Likewise.
1378         * sysdeps/i386/fpu/libm-test-ulps: Update.
1379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1380
1381 2012-07-31  Florian Weimer  <fweimer@redhat.com>
1382
1383         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1384         Exit with zero in case no suitable GID is found, and write a
1385         message to standard error.
1386
1387 2012-07-30  Roland McGrath  <roland@hack.frob.com>
1388
1389         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1390         rather than to 1.
1391         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1392         (MAXPATHLEN): Removed.
1393         (NOGROUP, NODEV): New macros.
1394         (setbit, clrbit, isset, isclr): New macros.
1395         (howmany, roundup, powerof2): New macros.
1396         (DEV_BSIZE): New macro.
1397
1398         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1399         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1400
1401         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1402         definition on [!__NO_LONG_DOUBLE_MATH].
1403
1404         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1405         PTR_MANGLE and PTR_DEMANGLE.
1406
1407         * socket/accept4.c (accept4): Rename to __libc_accept4.
1408         Define accept4 as a weak alias.
1409
1410         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1411         on [_DIRENT_HAVE_D_TYPE].
1412         * io/ftw.c (ftw_dir): Likewise.
1413
1414         * io/xmknod.c (__xmknod): Don't check PATH for being null.
1415
1416         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1417
1418         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1419         Use the BSD numbers rather than the arbitrary ones we had.
1420         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1421         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1422         (SIGXCPU, SIGXFSZ): New macros.
1423         (_NSIG): Now 32.
1424
1425         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1426         initializer on [_LIBC_REENTRANT].
1427
1428         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1429         definitions inside [_POSIX_MAPPED_FILES].
1430
1431         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1432
1433         * dirent/opendir.c: Include <fcntl.h>.
1434
1435         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1436         (__libc_getspecific): Likewise.
1437         (__libc_key_create): Likewise.
1438
1439         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1440         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1441         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1442         (tmpfile64): Define as alias.
1443         * sysdeps/wordsize-64/tmpfile.c: File removed.
1444         * sysdeps/wordsize-64/tmpfile64.c: File removed.
1445         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1446         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1447
1448         * stdio-common/vfscanf.c: Include <stdbool.h>.
1449         * nss/makedb.c: Likewise.
1450         * stdio-common/_i18n_number.h: Likewise.
1451         * argp/argp-help.c: Likewise.
1452         * posix/wordexp.c: Likewise.
1453         * sysdeps/posix/spawni.c: Likewise.
1454         * nss/nss_files/files-initgroups.c: Likewise.
1455         * stdio-common/reg-modifier.c: Include <stdlib.h>.
1456         * nss/nss_files/files-initgroups.c: Likewise.
1457         * nss/nss_db/db-netgrp.c: Likewise.
1458         * nss/nss_db/db-initgroups.c: Likewise.
1459         * io/fchmodat.c: Include <sys/stat.h>.
1460
1461         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1462         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1463
1464         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1465         [HAVE_MMAP].
1466
1467         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1468         Add multiple inclusion protection.
1469
1470 2012-07-27  David S. Miller  <davem@davemloft.net>
1471
1472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1473
1474 2012-07-27  Gary Benson  <gbenson@redhat.com>
1475
1476         [BZ #14298]
1477         * elf/rtld.c: Include <stap-probe.h>.
1478         (dl_main): Added static probes "init_start" and "init_complete".
1479         * elf/dl-load.c: Include <stap-probe.h>.
1480         (lose): Take new parameter "nsid".
1481         Added static probe "map_failed".
1482         (_dl_map_object_from_fd): Pass namespace id to lose.
1483         Added static probe "map_start".
1484         (open_verify): Pass namespace id to lose.
1485         * elf/dl-open.c: Include <stap-probe.h>.
1486         (dl_open_worker) Added static probes "map_complete", "reloc_start"
1487         and "reloc_complete".
1488         * elf/dl-close.c: Include <stap-probe.h>.
1489         (_dl_close_worker): Added static probes "unmap_start" and
1490         "unmap_complete".
1491         * elf/rtld-debugger-interface.txt: New file documenting the above.
1492
1493 2012-07-26  Roland McGrath  <roland@hack.frob.com>
1494
1495         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1496         rather than a string variable.
1497         * sunrpc/rpc_main.c (h_output): Likewise.
1498         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1499
1500 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
1501
1502         * inet/check_native.c: New file.
1503
1504 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
1505
1506         [BZ #13629]
1507         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1508         if larger part has absolute value 1.0.
1509         * math/s_clog10.c (__clog10): Likewise.
1510         * math/s_clog10f.c (__clog10f): Likewise.
1511         * math/s_clog10l.c (__clog10l): Likewise.
1512         * math/s_clogf.c (__clogf): Likewise.
1513         * math/s_clogl.c (__clogl): Likewise.
1514         * math/libm-test.inc (clog_test): Add more tests.
1515         (clog10_test): Likewise.
1516         * sysdeps/i386/fpu/libm-test-ulps: Update.
1517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1518
1519         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1520         (pltexit): Likewise.
1521         (La_regs): Likewise.
1522         (La_retval): Likewise.
1523         (int_retval): Likewise.
1524         Update #error for removed macros to refer only to definitions in
1525         tst-audit.h.
1526         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1527         macro.
1528         (pltexit): Likewise.
1529         (La_regs): Likewise.
1530         (La_retval): Likewise.
1531         (int_retval): Likewise.
1532         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1533         macro.
1534         (pltexit): Likewise.
1535         (La_regs): Likewise.
1536         (La_retval): Likewise.
1537         (int_retval): Likewise.
1538         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1539         macro.
1540         (pltexit): Likewise.
1541         (La_regs): Likewise.
1542         (La_retval): Likewise.
1543         (int_retval): Likewise.
1544         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1545         macro.
1546         (pltexit): Likewise.
1547         (La_regs): Likewise.
1548         (La_retval): Likewise.
1549         (int_retval): Likewise.
1550         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1551         macro.
1552         (pltexit): Likewise.
1553         (La_regs): Likewise.
1554         (La_retval): Likewise.
1555         (int_retval): Likewise.
1556         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1557         macro.
1558         (pltexit): Likewise.
1559         (La_regs): Likewise.
1560         (La_retval): Likewise.
1561         (int_retval): Likewise.
1562         * sysdeps/generic/tst-audit.h: Update comment to refer only to
1563         macro definitions in tst-audit.h.
1564         * sysdeps/i386/tst-audit.h: New file.
1565         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1566         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1567         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1568         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1569         * sysdeps/sh/tst-audit.h: Likewise.
1570         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1571         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1572         * sysdeps/x86_64/tst-audit.h: Likewise.
1573
1574 2012-07-26  Andreas Jaeger  <aj@suse.de>
1575
1576         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1577         ptrace.
1578
1579         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1580         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1581         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1582         PTRACE_O_MASK.
1583         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1584         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1585         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1586
1587         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1588         value.
1589
1590         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1591         _sigsys.
1592         (si_call_addr, si_syscall, si_arch): Define new macro.
1593         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1594         _sigsys.
1595         (si_call_addr, si_syscall, si_arch): Define new marcro.
1596         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1597         _sigsys.
1598         (si_call_addr, si_syscall, si_arch): Define new macro.
1599         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1600         _sigsys.
1601         (si_call_addr, si_syscall, si_arch): Define new macro.
1602
1603 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
1604
1605         [BZ #13717]
1606         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1607         Change to 2.4.21 where previously 2.4.1.
1608         * sysdeps/unix/sysv/linux/configure: Regenerated.
1609         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1610         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1611         Linux kernel version.
1612         (__ASSUME_STD_AUXV): Remove.
1613         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1614         kernel version.
1615         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1616         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1617         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1618         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1619         (__ASSUME_NETLINK_SUPPORT): Likewise.
1620         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1621         (__no_netlink_support): Remove conditional definition.
1622         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1623         Remove.
1624         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1625         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1626         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1627         (if_nameindex_ioctl): Remove.
1628         (if_nameindex_netlink): Do not handle __no_netlink_support.
1629         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1630         code.
1631         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1632         Remove conditional code.
1633         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1634         code.
1635         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1636         unconditional.
1637         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1638         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1639         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1640         Remove.
1641         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1642         [!__ASSUME_STD_AUXV]: Remove conditional code.
1643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1644         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1645         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1647         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1648         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1649         code.
1650         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1652         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1653         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1654         conditional code.
1655         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1657         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1658         code.
1659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1660         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1661         conditional code.
1662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1663         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1664         code unconditional.
1665         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1666         conditional code.
1667         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1668         unconditional.
1669         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1670         conditional code.
1671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1672         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1673         unconditional.
1674         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1675         conditional code.
1676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1677         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1678         code unconditional.
1679         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1680         conditional code.
1681         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1682         unconditional.
1683         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1684         conditional code.
1685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1686         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1687         code unconditional.
1688         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1689         conditional code.
1690         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1691         unconditional.
1692         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1693         conditional code.
1694
1695 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
1696
1697         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1698         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1699         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1700         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1701         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1702         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1703         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1704         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1705         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1706         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1707         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1708         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1709         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1710         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1711         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1712         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1713         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1714         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1715         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1716         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1717         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1718         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1719         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1720
1721 2012-07-25  Florian Weimer  <fweimer@redhat.com>
1722
1723         * Versions.def: Add GLIBC_2.17.
1724         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1725         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1726         Introduce __libc_secure_getenv.
1727         * stdlib/Versions (2.17): Add secure_getenv
1728         (GLIBC_PRIVATE): Add __libc_secure_getenv.
1729         * stdlib/secure-getenv.c: Rename __secure_getenv to
1730         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
1731         symbol __secure_getenv for GLIBC_2.0.
1732         * stdlib/tst-secure-getenv.c: New.
1733         * stdlib/Makefile (tests): Add testcase.
1734         * manual/startup.texi (Environment Access): Document
1735         secure_getenv.
1736         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1737         __libc_secure_getenv.
1738         * inet/ruserpass.c (ruserpass): Likewise.
1739         * malloc/mtrace.c (mtrace): Likewise.
1740         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1741         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1742         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1743         * sysdeps/posix/tempname.c: Likewise.  Evaluate
1744         HAVE_SECURE_GETENV.
1745         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1746         __secure_getenv to __libc_secure_getenv.
1747         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1749         Likewise.
1750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1751         Likewise.
1752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1754         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1759
1760 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
1761
1762         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1763         (struct La_i86_retval): Likewise.
1764         (struct La_x86_64_regs): Likewise.
1765         (struct La_x86_64_retval): Likewise.
1766         (struct La_x32_regs): Likewise.
1767         (struct La_x32_retval): Likewise.
1768         (struct La_ppc32_regs): Likewise.
1769         (struct La_ppc32_retval): Likewise.
1770         (struct La_ppc64_regs): Likewise.
1771         (struct La_ppc64_retval): Likewise.
1772         (struct La_sh_regs): Likewise.
1773         (struct La_sh_retval): Likewise.
1774         (struct La_s390_32_regs): Likewise.
1775         (struct La_s390_32_retval): Likewise.
1776         (struct La_s390_64_regs): Likewise.
1777         (struct La_s390_64_retval): Likewise.
1778         (struct La_sparc32_regs): Likewise.
1779         (struct La_sparc32_retval): Likewise.
1780         (struct La_sparc64_regs): Likewise.
1781         (struct La_sparc64_retval): Likewise.
1782         (struct audit_ifaces): Remove architecture-specific pltenter and
1783         pltexit members.
1784         * sysdeps/i386/ldsodefs.h: New file.
1785         * sysdeps/powerpc/ldsodefs.h: Likewise.
1786         * sysdeps/s390/ldsodefs.h: Likewise.
1787         * sysdeps/sh/ldsodefs.h: Likewise.
1788         * sysdeps/sparc/ldsodefs.h: Likewise.
1789         * sysdeps/x86_64/ldsodefs.h: Likewise.
1790
1791 2012-07-25  Marek Polacek  <polacek@redhat.com>
1792
1793         [BZ #6808]
1794         * math/libm-test.inc (yn_test): Add another test.
1795         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1796         to ERANGE when the result is +-Inf.
1797         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1798         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1799         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1800         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1801
1802 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
1803
1804         * conform/data/time.h-data (NULL): Use macro-constant.  Require
1805         equal to 0.
1806         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
1807         clock_t.
1808         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
1809
1810 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
1811
1812         * configure.in <sysdeps resolving>: Correct printing
1813         Implies_before.
1814         * configure: Regenerate.
1815
1816 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
1817
1818         * math/w_ilogb.c: Include <limits.h>.
1819         * math/w_ilogbl.c: Likewise.
1820
1821 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
1822
1823         * manual/lang.texi (__va_copy): Document primarily as ISO C99
1824         va_copy.  Document allowing for unavailable va_copy only as
1825         pre-C99 compatibility.
1826         * manual/string.texi (Copying and Concatenation): Use va_copy
1827         instead of __va_copy in concat example.
1828
1829 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
1830
1831         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1832         (__sendto): Use create_address_port.  Initialize APORT and deallocate
1833         it if not null.
1834
1835         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1836         with O_NOLINK passed to __file_name_lookup.
1837
1838         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1839         with O_NOLINK passed to __file_name_lookup.
1840
1841         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1842         negative N or less than NGIDS.
1843
1844         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1845         type to string_t.  Set ERANGE as errno and return it if NAME is not big
1846         enough.  Use memcpy instead of strncpy.
1847
1848 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
1849
1850         * elf/Makefile (check-data): Remove.
1851         (localplt.data): New vpath directive.
1852         ($(objpfx)check-localplt.out): Use localplt.data from vpath
1853         instead of $(check-data).
1854         * scripts/data/localplt-generic.data: Move to ...
1855         * sysdeps/generic/localplt.data: ... here.
1856         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1857         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1858         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1860         ... here.
1861         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1863         ... here.
1864         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1866         ... here.
1867         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1869         ... here.
1870         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1872         ... here.
1873         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1875         ... here.
1876
1877 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1878
1879         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1880         PPC32 and PPC64 files.
1881         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1882         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1883
1884 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1885
1886         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1887         __makecontext_ret to ...
1888         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1889         ... here and call exit if uc_link is NULL.  New file.
1890         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1891         __makecontext_ret.S.
1892         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1893         __makecontext_ret to ...
1894         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1895         ... here and call exit if uc_link is NULL.  New file.
1896         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1897         __makecontext_ret.S.
1898
1899 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1900
1901         * elf/elf.h (R_390_IRELATIVE): New definition.
1902         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1903         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
1904         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1905         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1906         (elf_machine_lazy_rel): Likewise.
1907         * sysdeps/s390/dl-irel.h: New file.
1908         * sysdeps/s390/s390-64/memcpy.S: New asm code.
1909         * sysdeps/s390/s390-64/memset.S: New asm code.
1910         * sysdeps/s390/s390-64/memcmp.S: New asm code.
1911         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1912         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1913         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1914         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1915         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1916         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1917         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1918         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1919         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1920         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1921         * sysdeps/s390/s390-32/memcpy.S: New asm code.
1922         * sysdeps/s390/s390-32/memset.S: New asm code.
1923         * sysdeps/s390/s390-32/memcmp.S: New asm code.
1924
1925 2012-07-17  Marek Polacek  <polacek@redhat.com>
1926
1927         [BZ #14349]
1928         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1929         * sysdeps/s390/s390-64/configure.in: Likewise.
1930         * sysdeps/sparc/configure.in: Likewise.
1931         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1932         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1933         * sysdeps/i386/configure.in: Likewise.
1934         * sysdeps/x86_64/configure.in: Likewise.
1935         * sysdeps/sh/configure.in: Likewise.
1936         * sysdeps/s390/s390-32/configure: Regenerated.
1937         * sysdeps/s390/s390-64/configure: Likewise.
1938         * sysdeps/x86_64/configure: Likewise.
1939         * sysdeps/sh/configure: Likewise.
1940         * sysdeps/powerpc/powerpc64/configure: Likewise.
1941         * sysdeps/powerpc/powerpc32/configure: Likewise.
1942         * sysdeps/sparc/configure: Likwise.
1943         * sysdeps/i386/configure: Likewise.
1944
1945         * elf/dl-open.c: Comment fixes.
1946
1947 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
1948
1949         * Makefile [CXX] (check-data): Remove.
1950         [CXX] (c++-types.data): New vpath directive.
1951         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1952         vpath.  Do not allow for C++ type data being missing.
1953         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1954         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1955         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1956         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1957         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1958         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1959         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1961         ... here.
1962         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1964         ... here.
1965         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1967         ... here.
1968         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1970         ... here.
1971         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1973         ... here.
1974         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1976         ... here.
1977         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1979         ... here.
1980         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1982
1983         * elf/tls-macros.h (TLS_LE): Move architecture-specific
1984         definitions to architecture-specific files.
1985         (TLS_IE): Likewise.
1986         (TLS_LD): Likewise.
1987         (TLS_GD): Likewise.
1988         * sysdeps/i386/tls-macros.h: New file.
1989         * sysdeps/powerpc/tls-macros.h: Likewise.
1990         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1991         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1992         * sysdeps/sh/tls-macros.h: Likewise.
1993         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1994         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1995         * sysdeps/x86_64/tls-macros.h: Likewise.
1996
1997 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
1998
1999         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2000         zero value for regular exit case.
2001
2002         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2003         (__start_context): Preserve zero value for regular exit case.
2004
2005 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
2006             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2007
2008         * manual/setjmp.texi (setcontext): Clarify normal process
2009         termination when uc_link is the null pointer.
2010         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2011         exit call.
2012
2013 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
2014
2015         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2016         preprocessor.  Test for each exception mask separately.
2017
2018 2012-07-16  Andreas Jaeger  <aj@suse.de>
2019
2020         * po/ru.po: Update from translation team.
2021
2022 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
2023
2024         * conform/data/string.h-data (NULL): Use macro-constant.  Require
2025         equal to 0.
2026         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2027         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2028         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2029         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2030         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2031
2032 2012-07-13  Andreas Jaeger  <aj@suse.de>
2033
2034         * po/fr.po: Update from translation team.
2035
2036 2012-07-12  Marek Polacek  <polacek@redhat.com>
2037
2038         [BZ #14173]
2039         * math/libm-test.inc (yn_test): Add test for BZ #14173.
2040         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2041         loop condition.
2042
2043 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
2044
2045         [BZ #13717]
2046         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2047         Change to 2.4.1 where previously 2.4.0.
2048         * sysdeps/unix/sysv/linux/configure: Regenerated.
2049         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2050         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2051         version.
2052         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2053         (__ASSUME_AT_CLKTCK): Remove.
2054         (__ASSUME_AT_PAGESIZE): Likewise.
2055         (__ASSUME_AT_XID): Likewise.
2056         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2057         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2058         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2059         unconditionally.
2060         (HAVE_AUX_PAGESIZE): Likewise.
2061         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2062         [__ASSUME_AT_CLKTCK]: Make code unconditional.
2063         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2064
2065 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
2066
2067         [BZ #14307]
2068         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2069         the temporary buffer used to invoke __gethostbyname2_r,
2070         __gethostbyaddr_r and gethostbyname4_r to make room for struct
2071         host_data / struct gaih_addrtuple.
2072         * resolv/nss_dns/dns-host.c (global scope): Move definition of
2073         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2074         header file nss/nsswitch.h.
2075         * nss/nsswitch.h (global scope): Add definition of implementation
2076         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2077         resolv/nss_dns/dns-host.c).
2078
2079 2012-07-11  Andreas Jaeger  <aj@suse.de>
2080
2081         * po/fr.po: Update from translation team.
2082
2083         * po/sv.po: Update from translation team
2084         * po/fr.po: Another update from translation team.
2085
2086 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2087
2088         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2089         for subnormals or multiply small sinh result by itself.
2090         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2092
2093 2012-07-11  David S. Miller  <davem@davemloft.net>
2094
2095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2096
2097 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
2098
2099         [BZ #14347]
2100         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2101         (INTERNAL_MARK): Shift it here.
2102
2103 2012-07-10  Marek Polacek  <polacek@redhat.com>
2104
2105         [BZ #14151]
2106         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
2107         libc_cv_asm_global_directive with .globl.
2108         * configure: Regenerated.
2109         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2110         with .globl.
2111         * sysdeps/i386/configure: Regenerated.
2112         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2113         with .globl.
2114         * sysdeps/x86_64/configure: Regenerated.
2115         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2116         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2117         * elf/tst-unique2mod2.c: Likewise.
2118         * elf/tst-unique2mod1.c: Likewise.
2119         * elf/tst-unique1mod2.c: Likewise.
2120         * elf/tst-unique1mod1.c: Likewise.
2121         * sysdeps/s390/s390-32/sysdep.h: Likewise.
2122         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2123         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2124         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2125         * sysdeps/mach/sysdep.h: Likewise.
2126         * sysdeps/i386/sysdep.h: Likewise.
2127         * sysdeps/i386/i386-mcount.S: Likewise.
2128         * sysdeps/x86_64/_mcount.S: Likewise.
2129         * sysdeps/x86_64/sysdep.h: Likewise.
2130         * sysdeps/sh/_mcount.S: Likewise.
2131         * sysdeps/sh/sysdep.h: Likewise.
2132         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2133         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2134         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2135         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2136         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2137         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2138         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2139         * locale/localeinfo.h: Likewise.
2140         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2141         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2142
2143 2012-07-09  Roland McGrath  <roland@hack.frob.com>
2144
2145         [BZ #14336]
2146         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2147         system".
2148         * manual/message.texi (The Uniforum approach): Likewise.
2149         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2150         (glibc iconv Implementation): Likewise.
2151
2152 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
2153
2154         [BZ #14337]
2155         * math/s_clog.c (__clog): Avoid scaling a value down where that
2156         could result in underflow.
2157         * math/s_clog10.c (__clog10): Likewise.
2158         * math/s_clog10f.c (__clog10f): Likewise.
2159         * math/s_clog10l.c (__clog10l): Likewise.
2160         * math/s_clogf.c (__clogf): Likewise.
2161         * math/s_clogl.c (__clogl): Likewise.
2162         * math/libm-test.inc (clog_test): Add more tests.
2163         (clog10_test): Likewise.
2164         * sysdeps/i386/fpu/libm-test-ulps: Update.
2165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2166
2167 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
2168
2169         [BZ #14283]
2170         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2171         by 7 not 8 to examine high bit of fractional part.
2172
2173         [BZ #14042]
2174         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2175         for call to __mcount_internal.
2176         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2177         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2178         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2179
2180 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
2181
2182         [BZ #14154]
2183         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2184         approximation for values within 0x1p-13f of an odd multiple of
2185         pi/4.
2186         * math/libm-test.inc (tan_test): Do not allow spurious underflow
2187         exception.  Add more tests.
2188         * sysdeps/i386/fpu/libm-test-ulps: Update.
2189
2190         [BZ #6778]
2191         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2192         inputs and return -1 for them.  Do not check for +Inf in case not
2193         reachable for +Inf.
2194         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2195         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2196         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2197         and return -1 for them.  Do not check for +Inf in case not
2198         reachable for +Inf.
2199         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2200         define.
2201         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2202         and return -1 for them.  Do not check for +Inf in case not
2203         reachable for +Inf.
2204         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
2205         spurious underflow.
2206         * sysdeps/i386/fpu/libm-test-ulps: Update.
2207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2208
2209 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
2210
2211         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2212
2213 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
2214
2215         [BZ #14157]
2216         [BZ #14331]
2217         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2218         could result in spurious underflow.  Scale down values above
2219         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2220         * math/s_csqrtf.c (__csqrtf): Likewise.
2221         * math/s_csqrtl.c (__csqrtl): Likewise.
2222         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
2223         spurious underflow.
2224         * sysdeps/i386/fpu/libm-test-ulps: Update.
2225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2226
2227 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2228
2229         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2230         xopen-msg.sed.
2231         * catgets/xopen-msg.awk: New file.
2232         * catgets/xopen-msg.sed: Removed.
2233
2234         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2235         po2text.sed.
2236         * intl/po2test.awk: New file.
2237         * intl/po2test.sed: Removed.
2238
2239 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
2240
2241         [BZ #14328]
2242         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2243         or multiply small sinh result by itself.
2244         * math/s_ctanf.c (__ctanf): Likewise.
2245         * math/s_ctanh.c (__ctanh): Likewise.
2246         * math/s_ctanhf.c (__ctanhf): Likewise.
2247         * math/s_ctanhl.c (__ctanhl): Likewise.
2248         * math/s_ctanl.c (__ctanl): Likewise.
2249         * math/libm-test.inc (ctan_test_tonearest): New function.
2250         (ctan_test_towardzero): Likewise.
2251         (ctan_test_downward): Likewise.
2252         (ctan_test_upward): Likewise.
2253         (ctanh_test_tonearest): Likewise.
2254         (ctanh_test_towardzero): Likewise.
2255         (ctanh_test_downward): Likewise.
2256         (ctanh_test_upward): Likewise.
2257         (main): Call these new functions.
2258         * sysdeps/i386/fpu/libm-test-ulps: Update.
2259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2260
2261 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
2262
2263         * .gitignore: Delete /ports entry.
2264
2265 2012-07-03  Andreas Jaeger  <aj@suse.de>
2266
2267         * po/bg.po: Update from translation team.
2268         * po/cs.po: Likewise.
2269         * po/de.po: Likewise.
2270         * po/hr.po: Likewise.
2271         * po/nl.pl: Likewise.
2272         * po/pl.po: Likewise.
2273         * po/vi.po: Likewise.
2274
2275 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
2276
2277         * Makeconfig [!+link] (+link-before-libc): New variable.
2278         [!+link] (+link-after-libc): Likewise.
2279         [!+link] (+link-tests): Likewise.
2280         [!+link] (+link): Define in terms of $(+link-before-libc) and
2281         $(+link-after-libc).
2282         [!+link-static] (+link-static-before-libc): New variable.
2283         [!+link-static] (+link-static-after-libc): Likewise.
2284         [!+link-static] (+link-static-tests): Likewise.
2285         [!+link-static] (+link-static): Define in terms of
2286         $(+link-static-before-libc) and $(+link-static-after-libc).
2287         [build-shared] (link-libc-before-gnulib): New variable.
2288         [build-shared] (link-libc-tests): Likewise.
2289         [build-shared] (link-libc): Define in terms of
2290         $(link-libc-before-gnulib).
2291         [!build-shared] (link-libc-tests): New variable.
2292         (link-libc-static-tests): New variable.
2293         [!gnulib] (gnulib-arch): New variable.
2294         [!gnulib] (gnulib-tests): Likewise.
2295         [!gnulib] (static-gnulib-arch): Likewise.
2296         [!gnulib] (static-gnulib-tests): Likewise.
2297         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
2298         Define with "=" instead of ":=".
2299         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
2300         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
2301         * Rules (binaries-all-notests): New variable.
2302         (binaries-all-tests): Likewise.
2303         (binaries-static-notests): Likewise.
2304         (binaries-static-tests): Likewise.
2305         (binaries-all): Define using $(binaries-all-notests) and
2306         $(binaries-all-tests).
2307         (binaries-static): Define using $(binaries-static-notests) and
2308         $(binaries-static-tests).
2309         (binaries-shared-tests): New variable.
2310         (binaries-shared-notests): Likewise.
2311         (binaries-shared): Remove variable.
2312         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2313         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2314         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2315         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2316         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2317         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2318         * elf/Makefile (sln-modules): New variable.
2319         (extra-objs): Add $(sln-modules:=.o).
2320         (ldconfig-modules): Add static-stubs.
2321         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2322         * elf/static-stubs.c: New file.
2323
2324         [BZ #14283]
2325         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2326         by 7 not 8 to examine high bit of fractional part.  Use volatile
2327         variables when splitting into final array of floats if
2328         __FLT_EVAL_METHOD__ != 0.
2329         * math/libm-test.inc (cos_test): Add another test.
2330         (sin_test): Likewise.
2331         * sysdeps/i386/fpu/libm-test-ulps: Update.
2332
2333         [BZ #14273]
2334         * math/libm-test.inc (cosh_test): Add more tests.
2335
2336         * version.h (RELEASE): Set to "development".
2337         (VERSION): Set to "2.16.90".
2338
2339 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
2340
2341         * NEWS: Update copyright. Remove last-updated date.
2342         Mention math library bug fixes and timezone data changes.
2343         * README: Mention GNU/Hurd, x32, and HPPA support status.
2344
2345 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
2346
2347         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2348
2349 2012-06-27  Andreas Jaeger  <aj@suse.de>
2350
2351         * manual/contrib.texi (Contributors): Add Samuel Thibault.
2352
2353 2012-06-25  Andreas Jaeger  <aj@suse.de>
2354
2355         * sysdeps/s390/fpu/libm-test-ulps: Update.
2356
2357 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
2358             Thomas Schwinge  <thomas@codesourcery.com>
2359
2360         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2361         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2362         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2363         fanotify_mark.
2364
2365 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
2366
2367         * sysdeps/mach/start.c: Remove file.
2368         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2369         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2370         * sysdeps/sh/init-first.c: Likewise.
2371
2372         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2373         registers for frame unwinding purposes, add CFI directives.
2374         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2375         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2376         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2377         Likewise.
2378
2379         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2380         __fortify_fail returning.
2381         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2382
2383         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2384         sysdeps/sh/____longjmp_chk.S.
2385         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2386         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2387         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2388         (gen-as-const-headers): Append sigaltstack-offsets.sym.
2389
2390         * sysdeps/sh/abort-instr.h: New file.
2391         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2392         process in case exit returns.
2393
2394         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2395         initialize the GOT register before use.
2396
2397         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2398         calculation of ARGC > 4.
2399
2400         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2401         meaningful names to some local labels.
2402
2403 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2404             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2405
2406         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2407         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2408         (__arch_compare_and_exchange_val_16_acq): Likewise.
2409         (__arch_compare_and_exchange_val_32_acq): Likewise.
2410         (atomic_exchange_and_add): Fix gUSA sequence.
2411         (atomic_add): Likewise.
2412         (atomic_add_negative): Likewise.
2413         (atomic_add_zero): Likewise.
2414         (atomic_bit_test_set): Likewise.
2415
2416 2012-06-22  Andreas Schwab  <schwab@redhat.com>
2417
2418         [BZ #13579]
2419         * include/link.h (struct link_map): Add l_free_initfini.
2420         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2421         l_initfini.
2422         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2423         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2424         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2425         set.
2426
2427 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
2428
2429         * configure.in: Use AC_LANG_SOURCE.
2430         * configure: Regenerate.
2431
2432 2012-06-22  Roland McGrath  <roland@hack.frob.com>
2433
2434         * configure.in (libc_cv_localstatedir): New substituted variable.
2435         * configure: Regenerated.
2436         * config.make.in (localstatedir): New variable, substituted from
2437         libc_cv_localstatedir.
2438         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2439         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2440         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2441         * sysdeps/gnu/configure: Regenerated.
2442
2443 2012-06-21  Jeff Law  <law@redhat.com>
2444
2445         [BZ #14277]
2446         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2447         free.  Simplify list management for _LIBC case.
2448
2449 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
2450
2451         [BZ #14273]
2452         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2453         Clear sign bit of 64-bit integer value before comparing against
2454         overflow value.
2455
2456         * sysdeps/mach/configure: Regenerated.
2457
2458 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
2459
2460         [BZ #14278]
2461         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2462
2463 2012-06-21  Jeff Law  <law@redhat.com>
2464
2465         [BZ #13882]
2466         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
2467         uint16_t for elements in the "seen" array to avoid char overflows.
2468         * elf/dl-fini.c (_dl_sort_fini): Likewise.
2469         * elf/dl-open.c (dl_open_worker): Likewise.
2470
2471 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
2472
2473         * scripts/list-sources.sh: Scan PORTS for translations.
2474         * po/libc.pot: Regenerated.
2475
2476 2012-06-21  Andreas Jaeger  <aj@suse.de>
2477
2478         [BZ #12194]
2479         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2480         warning.
2481         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2482         * bits/byteswap-16.h (__bswap_16): Likewise.
2483         * bits/byteswap.h (__bswap_constant_16): Likewise.
2484
2485 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
2486
2487         [BZ #14117]
2488         * sysdeps/i386/fpu_control.h: Removed.
2489         * sysdeps/x86_64/fpu_control.h: Moved to ...
2490         * sysdeps/x86/fpu_control.h: Here.
2491
2492         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2493         (_FPU_SETCW): Likewise.
2494
2495 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2496
2497         [BZ #14117]
2498         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2499         * sysdeps/x86/fpu/bits/mathinline.h: This.
2500         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2501
2502         [BZ #14050]
2503         [BZ #14117]
2504         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2505         functions if __x86_64__ is defined.
2506
2507 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
2508
2509         * string/endian.h: Add !__ASSEMBLER__ condition for including
2510         conversion interfaces.
2511
2512 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
2513
2514         [BZ #14241]
2515         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2516         of ABS(x) in calculating zero to negative powers other than odd
2517         integers.
2518         * math/libm-test.inc (pow_test): Add more tests.
2519
2520 2012-06-15  Andreas Jaeger  <aj@suse.de>
2521
2522         * manual/contrib.texi (Contributors): Update entry of Liubov
2523         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2524         Machado Filho.
2525
2526 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
2527
2528         * string/string.h: Add __wur to GNU version of strerror_r.
2529
2530 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2531
2532         [BZ #14229]
2533         * string/Makefile (tests): Add tst-strtok_r.
2534         * string/tst-strtok_r.c: New file.
2535         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2536         RAX_LP/RDX_LP on SAVE_PTR.
2537
2538 2012-06-14  Roland McGrath  <roland@hack.frob.com>
2539
2540         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2541
2542 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
2543
2544         * libm_test.inc (csqrt_test): Allow more spurious underflow
2545         exceptions.
2546         (j0_test): Likewise.
2547         (j1_test): Likewise.
2548         (y0_test): Likewise.
2549         (y1_test): Likewise.
2550
2551 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
2552
2553         * po/Makefile (libc.pot): Use UTF-8 charset.
2554
2555 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
2556
2557         [BZ #14210]
2558         Suppress sign-conversion warning from FD_SET.
2559         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2560         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2561         not unsigned long int.
2562         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2563
2564 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
2565
2566         [BZ #14050]
2567         [BZ #14117]
2568         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2569         __extern_always_inline instead of __extern_inline.
2570         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2571         (__signbit): Likewise.
2572         (__signbitl): Support C++ namespace.
2573         (lrintf): New inline function.
2574         (lrint): Likewise.
2575         (llrintf): Likewise.
2576         (llrint): Likewise.
2577         (fmaxf): Likewise.
2578         (fmax): Likewise.
2579         (fminf): Likewise.
2580         (fmin): Likewise.
2581         (rint): Likewise.
2582         (rintf): Likewise.
2583         (ceil): Likewise.
2584         (ceilf): Likewise.
2585         (floor): Likewise.
2586         (floorf): Likewise.
2587         (nearbyint): Likewise.
2588         (nearbyintf): Likewise.
2589
2590 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
2591
2592         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2593         non-default versions.
2594
2595 2012-06-11  Roland McGrath  <roland@hack.frob.com>
2596
2597         [BZ #14218]
2598         * manual/argp.texi (Argp): Reword argp_parse description slightly.
2599
2600 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
2601
2602         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2603         (FE_UPWARD, FE_DOWNWARD): Don't define.
2604         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2605         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2606
2607         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2608         reading it.
2609         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2610         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2611
2612 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2613
2614         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2615         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2616         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2617         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2618
2619 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2620
2621         [BZ #14117]
2622         * sysdeps/i386/fpu/bits/fenv.h: Removed.
2623         * sysdeps/i386/fpu/Implies: New file.
2624         * sysdeps/x86_64/fpu/Implies: Likewise.
2625         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2626         * sysdeps/x86/fpu/bits/fenv.h: This.
2627
2628         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2629         __SSE_MATH__.
2630
2631 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2632
2633         [BZ #14134]
2634         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2635         character 0xffff that matches the last element of the
2636         conversion table.
2637
2638 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2639
2640         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2641         fmodl commit.
2642
2643 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2644
2645         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2646         values higher than 25.6283.
2647
2648 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2649
2650         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2651         subnormal exponent extraction and add some __builtin_expect.
2652         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2653         Fix for subnormal mantissa calculation.
2654
2655 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
2656
2657         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2658         cpu2 is -1 and errno is not ENOSYS.
2659
2660 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
2661
2662         [BZ #14117]
2663         * sysdeps/i386/i486/bits/string.h: Renamed to ...
2664         * sysdeps/x86/bits/string.h: This.
2665         * sysdeps/x86_64/bits/string.h: Removed.
2666
2667         * sysdeps/i386/i486/bits/string.h: Define inline functions only
2668         if not compiling for x86-64, but compiling for >= i486.
2669
2670         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2671         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2672
2673         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2674         New macro from Linux kernel 3.4.0.
2675         (FP_XSTATE_MAGIC2): Likewise.
2676         (FP_XSTATE_MAGIC2_SIZE): Likewise.
2677         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2678         (struct _fpx_sw_bytes): New struct.
2679         (struct _xsave_hdr): Likewise.
2680         (struct _ymmh_state): Likewise.
2681         (struct _xstate): Likewise.
2682
2683         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2684         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2685         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2686         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2687         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2688         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2689
2690         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2691         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2692         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2693         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2694         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2695         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2696
2697 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2698
2699         [BZ #13743]
2700         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2701         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2702         (sysdep_headers): Include sys/platform/ppc.h.
2703         * sysdeps/powerpc/test-gettimebase.c: Test for
2704         __ppc_get_timebase() to catch future ISA opcode/insn changes.
2705         * manual/Makefile (appendices): Include platform.texi.
2706         * manual/contrib.texi (Contributors): Update @node pointers.
2707         * manual/maint.texi (Maintenance): Likewise.
2708         (Platform): New node.
2709         * manual/platform.texi: New file.  Document the new features.
2710
2711 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2712             Jakub Jelinek  <jakub@redhat.com>
2713
2714         [BZ #14188]
2715         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2716         where __builtin_expect is unavailable.
2717
2718 2012-06-03  David S. Miller  <davem@davemloft.net>
2719
2720         * stdlib/longlong.h: Updated from GCC.
2721
2722 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
2723
2724         [BZ #14042]
2725         * sysdeps/powerpc/powerpc32/mcount.c: New file.
2726         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2727         __mcount_internal.
2728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2729         (GLIBC_2.16): Likewise.
2730
2731 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2732
2733         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2734
2735 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
2736
2737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2738         (default-abi): New variable.
2739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2740         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2741         variable.
2742         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2743         Likewise.
2744         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2745         Likewise.
2746         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2747         Likewise.
2748
2749         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2750         definition.  Document in comment.
2751
2752 2012-06-01  David S. Miller  <davem@davemloft.net>
2753
2754         * stdlib/longlong.h: Updated from GCC.
2755
2756 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2757
2758         [BZ #14117]
2759         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2760         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2761         sys/debugreg.h sys/io.h here.
2762         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2763         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2764         sys/io.h.
2765         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2766         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2767         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2768         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2769         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2770         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2771
2772         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2773         Define only if __x86_64__ is defined.
2774
2775 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
2776
2777         [BZ #14048]
2778         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2779         Use int64_t for variable i.
2780         * math/libm-test.inc (fmod_test): Add more tests.
2781
2782         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2783         z computation is not scheduled after fetestexcept.
2784         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2785         Use math_force_eval instead of asm to ensure calculation scheduled
2786         before exception test.
2787         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2788         Ensure a1 + u.d computation is not scheduled after fetestexcept.
2789
2790 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
2791
2792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2793         computation is not scheduled after fetestexcept.
2794
2795 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2796
2797         [BZ #14117]
2798         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2799         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2800
2801 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2802
2803         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2804         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2805
2806 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
2807
2808         [BZ #14117]
2809         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2810         <bits/wordsize.h>.
2811         (__WCHAR_MIN): Support __WORDSIZE == 64.
2812         (__WCHAR_MAX): Likewise.
2813
2814         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2815         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2816
2817         [BZ #14183]
2818         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2819         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2820
2821         [BZ #14117]
2822         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2823         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2824
2825         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2826         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2827
2828         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2829         Defined to 1 if __x86_64__ isn't defined.
2830         (_STAT_VER_LINUX_OLD): New.
2831         (st_atime): Remove duplicate.
2832         (st_mtime): Likewise.
2833         (st_ctime): Likewise.
2834
2835 2012-05-31  David S. Miller  <davem@davemloft.net>
2836
2837         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2838         entries.
2839
2840 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
2841
2842         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2843         gen-libm-test.pl.
2844
2845         [BZ #14132]
2846         * elf/dl-reloc.c: Include <_itoa.h>.
2847         (_dl_reloc_bad_type): Remove use of INTUSE.
2848         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2849         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2850         * stdio-common/psiginfo.c (psiginfo): Likewise.
2851         * stdio-common/psignal.c (psignal): Likewise.
2852         * string/strsignal.c (strsignal): Likewise.
2853         * include/signal.h (_sys_siglist): Declare hidden proto.
2854         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
2855         INTVARDEF with libc_hidden_data_def.
2856         * stdio-common/itoa-udigits.c: Likewise.
2857         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2858         (_itoa_lower_digits_internal): Remove declaration.
2859         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2860         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2861         (_sys_sigabbrev_internal): Remove aliases.
2862         (_sys_siglist): Define hidden alias.
2863
2864 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
2865
2866         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2867         bits/sysctl.h.
2868
2869 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
2870
2871         [BZ #14117]
2872         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2873         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2874
2875         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2876         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2877         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2878         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2879         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2880         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2881
2882         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2883         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2884         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2885
2886         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2887         with __addr.
2888         (insw): Likewise.
2889         (insl): Likewise.
2890         (outsb): Likewise.
2891         (outsw): Likewise.
2892         (outsl): Likewise.
2893
2894         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2895         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2896         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2897
2898         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2899         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2900         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2901         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2902         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2903         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2904
2905         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2906         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2907
2908         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2909         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2910
2911         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2912         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2913         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2914
2915         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2916         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2917         to ...
2918         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2919
2920         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2921         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2922         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2923
2924         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2925         for x86-64.
2926         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2927
2928 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
2929
2930         * math/math.h (M_El): Use two more decimal places.
2931         (M_LOG2El): Likewise.
2932         (M_LOG10El): Likewise.
2933         (M_LN2l): Likewise.
2934         (M_LN10l): Likewise.
2935         (M_PIl): Likewise.
2936         (M_PI_2l): Likewise.
2937         (M_PI_4l): Likewise.
2938         (M_1_PIl): Likewise.
2939         (M_2_PIl): Likewise.
2940         (M_2_SQRTPIl): Likewise.
2941         (M_SQRT2l): Likewise.
2942         (M_SQRT1_2l): Likewise.
2943
2944 2012-05-31  David S. Miller  <davem@davemloft.net>
2945
2946         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2947         values between float registers.
2948         * sysdeps/sparc/sparc64/memset.S: Likewise.
2949         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2950
2951 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
2952
2953         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2954         -D_FORTIFY_SOURCE=1.
2955         (CPPFLAGS-tst-longjmp_chk.c): Define.
2956         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2957         (CPPFLAGS-tst-longjmp_chk2.c): Define.
2958         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2959         CFLAGS-tst-wchar-h.c.
2960
2961 2012-05-31  Marek Polacek  <polacek@redhat.com>
2962
2963         [BZ #14132]
2964         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2965         __endmntent_internal): Remove declaration.
2966         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2967         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2968         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2969
2970 2012-05-30  David S. Miller  <davem@davemloft.net>
2971
2972         * sysdeps/sparc/sparc32/soft-fp/q_util.c
2973         (___Q_simulate_exceptions): Use real FP ops rather than writing
2974         into the %fsr.
2975         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2976         Likewise.
2977
2978 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2979
2980         [BZ #14117]
2981         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2982         * sysdeps/x86/bits/xtitypes.h: This.
2983
2984         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2985         * sysdeps/x86/bits/wordsize.h: This.
2986
2987         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2988         * sysdeps/x86/bits/huge_vall.h: This.
2989
2990         * sysdeps/i386/bits/select.h: Removed.
2991         * sysdeps/x86_64/bits/select.h: Renamed to ...
2992         * sysdeps/x86/bits/select.h: This.
2993
2994         * sysdeps/i386/bits/setjmp.h: Removed.
2995         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2996         * sysdeps/x86/bits/setjmp.h: This.
2997
2998         * sysdeps/i386/bits/mathdef.h: Removed.
2999         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3000         * sysdeps/x86/bits/mathdef.h: This.
3001
3002 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
3003
3004         [BZ #14132]
3005         * include/sys/socket.h (__connect_internal)
3006         (__libc_sa_len_internal): Remove declaration.
3007         (__connect, __libc_sa_len): Declare hidden_proto.
3008         (SA_LEN): Remove use of INTUSE.
3009         * socket/connect.c: Add libc_hidden_def.
3010         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3011         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3012         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3013         alias.
3014         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3015         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3016         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3017         of adding _internal alias.
3018
3019 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3020
3021         [BZ #14117]
3022         * sysdeps/i386/bits/link.h: Removed.
3023         * sysdeps/i386/bits/linkmap.h: Likewise.
3024         * sysdeps/x86_64/bits/link.h: Renamed to ...
3025         * sysdeps/x86/bits/link.h: This.
3026         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3027         * sysdeps/x86/bits/linkmap.h: This.
3028
3029         * sysdeps/i386/bits/endian.h: Removed.
3030         * sysdeps/x86_64/bits/endian.h: Renamed to ...
3031         * sysdeps/x86/bits/endian.h: This.
3032
3033         * sysdeps/i386/bits/byteswap.h: Removed.
3034         * sysdeps/i386/bits/byteswap-16.h: Likewise.
3035         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3036         * sysdeps/x86/bits/byteswap.h: This.
3037         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3038         * sysdeps/x86/bits/byteswap-16.h: This.
3039         * sysdeps/i386/Implies: Add x86.
3040         * sysdeps/x86_64/Implies: Likewise.
3041
3042 2012-05-30  David S. Miller  <davem@davemloft.net>
3043
3044         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3045         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3046         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3047         (FP_TRAPPING_EXCEPTIONS): Define.
3048         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3049         (FP_TRAPPING_EXCEPTIONS): Define.
3050         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3051         subnormals only when inexact has been signalled or underflow
3052         exceptions are enabled.
3053         (_FP_PACK_CANONICAL): Likewise.
3054
3055 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3056
3057         [BZ #14183]
3058         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3059         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3060
3061 2012-05-30  Richard Henderson  <rth@twiddle.net>
3062
3063         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3064         with #ifndef NOT_IN_libc.
3065
3066         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
3067         marked to avoid plt entry.
3068
3069 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3070
3071         [BZ #14112]
3072         * Makeconfig (default-abi): New macro.
3073         (abi-includes): Likewise.
3074         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
3075         $(abi-$(default-abi)-lib-soname) for soname if defined.
3076         ($(common-objpfx)gnu/lib-names.stmp): Generate from
3077         abi-variants.
3078         * Makefile (installed-stubs): Likewise.
3079         * include/stubs-biarch.h: Removed.
3080         * scripts/lib-names.awk: Only handle one library at a time.
3081         * scripts/soversions.awk: Remove WORDSIZE support.
3082         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3083         entries.
3084         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3085         Removed.
3086         (syscall-list-default-condition): Likewise.
3087         (syscall-list-default-condition): Likewise.
3088         (syscall-list-includes): Likewise.
3089         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3090         syscall-list-* with abi-*.  Handle undefined abi-variants.
3091         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3092         * sysdeps/unix/sysv/linux/i386/Implies: New file.
3093         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3094         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3095         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3096         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3097         Removed.
3098         (syscall-list-32-options): Likewise.
3099         (syscall-list-32-condition): Likewise.
3100         (syscall-list-64-options): Likewise.
3101         (syscall-list-64-condition): Likewise.
3102         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3103         macro.
3104         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3105         Renamed to ...
3106         (abi-*): This.
3107         (abi-64-ld-soname): New macro.
3108         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3109         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3110         Renamed to ...
3111         (abi-*): This.
3112         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3113         * sysdeps/x86_64/x32/shlib-versions: Likewise.
3114
3115 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
3116
3117         * sysdeps/unix/sysv/linux/kernel-features.h
3118         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3119         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3120         include <kernel-features.h>.
3121         [!__NR_ftruncate64]: Remove conditional code.
3122         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3123         [__NR_ftruncate64]: Make code unconditional.
3124         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3125         * sysdeps/unix/sysv/linux/truncate64.c: Do not
3126         include <kernel-features.h>.
3127         [!__NR_ftruncate64]: Remove conditional code.
3128         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3129         [__NR_ftruncate64]: Make code unconditional.
3130         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3132         include <kernel-features.h>.
3133         [!__NR_ftruncate64]: Remove conditional code.
3134         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3135         [__NR_ftruncate64]: Make code unconditional.
3136         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3138         include <kernel-features.h>.
3139         [!__NR_ftruncate64]: Remove conditional code.
3140         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3141         [__NR_ftruncate64]: Make code unconditional.
3142         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3143
3144         * configure.in (libc_cv_fpie): Weaken to a compile test using
3145         LIBC_TRY_CC_OPTION.
3146         * configure: Regenerated.
3147
3148 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3149
3150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3154         Refreshed.
3155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3161         Refreshed.
3162
3163 2012-05-27  David S. Miller  <davem@davemloft.net>
3164
3165         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3166         (___Q_zero): New.
3167         (__Q_simulate_exceptions): Return void.  Change to simulate
3168         exceptions by writing into the %fsr.
3169         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3170         (__Qp_handle_exceptions): Likewise.
3171         (numbers): Delete.
3172         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3173         __Qp_handle_exceptions.
3174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3175         __Qp_handle_exceptions.
3176         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3177         as unused and give dummy FP_RND_NEAREST initializer.
3178         (FP_INHIBIT_RESULTS): Define.
3179         (___Q_simulate_exceptions): Update declaration.
3180         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3181         formatting.
3182         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3183         as unused and give dummy FP_RND_NEAREST initializer.
3184         (__Qp_handle_exceptions): Update declaration.
3185         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3186         formatting.
3187
3188 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
3189
3190         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3191         the temporary FPU control word.
3192         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3193         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3194         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3195         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3196         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3197         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3198         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3199         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3200         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3201         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3202         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3203
3204 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3205
3206         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3207         fields.
3208
3209 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
3210
3211         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3212         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3213         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3214         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3215         Likewise.
3216         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3217         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3218         Likewise.
3219
3220 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
3221
3222         * po/h.po: Update from translation team.
3223
3224 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
3225
3226         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3227
3228         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3229         handling of denormals.
3230         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3231         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3232         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3233         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3234         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3235         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3236         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3237         Likewise.
3238
3239 2012-05-26  Marek Polacek  <polacek@redhat.com>
3240
3241         [BZ #14152]
3242         * math/libm-test.inc (fma_test): Don't always expect underflow
3243         exception.
3244
3245 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3246
3247         [BZ #12416]
3248         * elf/tst-execstack.c: Include stackinfo.h.
3249         (do_test): Adjust test case to ensure that pthread_getattr_np
3250         behaviour remains the same after marking stack executable.
3251
3252 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3253
3254         * sysdeps/unix/sysv/linux/kernel-features.h
3255         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3256         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3257         kernel-features.h.
3258         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3259         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3260         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3261         kernel-features.h.
3262         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3263         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3264
3265 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3266
3267         * configure.in: Define the default includes to being none.
3268         * configure: Regenerated.
3269
3270 2012-05-25  Roland McGrath  <roland@hack.frob.com>
3271
3272         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3273         * sysdeps/x86_64/setjmp.S: Likewise.
3274         * sysdeps/i386/bsd-setjmp.S: Likewise.
3275         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3276         * sysdeps/i386/setjmp.S: Likewise.
3277         * sysdeps/i386/__longjmp.S: Likewise.
3278         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3279         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3280
3281         * include/stap-probe.h: New file.
3282         * configure.in: Handle --enable-systemtap.
3283         * configure: Regenerated.
3284         * config.h.in (USE_STAP_PROBE): New #undef.
3285         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3286         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3287         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3288
3289 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
3290
3291         [BZ #13717]
3292         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3293         to 2.4.0 where earlier.
3294         * sysdeps/unix/sysv/linux/configure: Regenerated.
3295         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3296         <kernel-features.h>.
3297         [__ASSUME_32BITUIDS]: Make code unconditional.
3298         [!__ASSUME_32BITUIDS]: Remove conditional code.
3299         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3300         <kernel-features.h>.
3301         [__ASSUME_32BITUIDS]: Make code unconditional.
3302         [!__ASSUME_32BITUIDS]: Remove conditional code.
3303         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3304         [__ASSUME_32BITUIDS]: Make code unconditional.
3305         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3306         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3307         <kernel-features.h>.
3308         [__ASSUME_32BITUIDS]: Make code unconditional.
3309         [!__ASSUME_32BITUIDS]: Remove conditional code.
3310         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3311         <kernel-features.h>.
3312         [__ASSUME_32BITUIDS]: Make code unconditional.
3313         [!__ASSUME_32BITUIDS]: Remove conditional code.
3314         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3315         <kernel-features.h>.
3316         [__ASSUME_32BITUIDS]: Make code unconditional.
3317         [!__ASSUME_32BITUIDS]: Remove conditional code.
3318         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3319         <kernel-features.h>.
3320         [__ASSUME_32BITUIDS]: Make code unconditional.
3321         [!__ASSUME_32BITUIDS]: Remove conditional code.
3322         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3323         <kernel-features.h>.
3324         [__ASSUME_32BITUIDS]: Make code unconditional.
3325         [!__ASSUME_32BITUIDS]: Remove conditional code.
3326         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3327         <kernel-features.h>.
3328         [__ASSUME_32BITUIDS]: Make code unconditional.
3329         [!__ASSUME_32BITUIDS]: Remove conditional code.
3330         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3331         <kernel-features.h>.
3332         [__ASSUME_32BITUIDS]: Make code unconditional.
3333         [!__ASSUME_32BITUIDS]: Remove conditional code.
3334         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3335         <kernel-features.h>.
3336         [__ASSUME_32BITUIDS]: Make code unconditional.
3337         [!__ASSUME_32BITUIDS]: Remove conditional code.
3338         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3339         <kernel-features.h>.
3340         [__ASSUME_32BITUIDS]: Make code unconditional.
3341         [!__ASSUME_32BITUIDS]: Remove conditional code.
3342         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3343         <kernel-features.h>.
3344         [__ASSUME_32BITUIDS]: Make code unconditional.
3345         [!__ASSUME_32BITUIDS]: Remove conditional code.
3346         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3347         <kernel-features.h>.
3348         [__NR_setresgid] (__setresgid): Do not declare.
3349         [__ASSUME_32BITUIDS]: Make code unconditional.
3350         [!__ASSUME_32BITUIDS]: Remove conditional code.
3351         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3352         <kernel-features.h>.
3353         [__NR_setresuid] (__setresuid): Do not declare.
3354         [__ASSUME_32BITUIDS]: Make code unconditional.
3355         [!__ASSUME_32BITUIDS]: Remove conditional code.
3356         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3357         <kernel-features.h>.
3358         [__ASSUME_32BITUIDS]: Make code unconditional.
3359         [!__ASSUME_32BITUIDS]: Remove conditional code.
3360         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3361         <kernel-features.h>.
3362         [__ASSUME_32BITUIDS]: Make code unconditional.
3363         [!__ASSUME_32BITUIDS]: Remove conditional code.
3364         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3365         <kernel-features.h>.
3366         [__ASSUME_32BITUIDS]: Make code unconditional.
3367         [!__ASSUME_32BITUIDS]: Remove conditional code.
3368         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3369         <kernel-features.h>.
3370         [__ASSUME_32BITUIDS]: Make code unconditional.
3371         [!__ASSUME_32BITUIDS]: Remove conditional code.
3372         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3373         <kernel-features.h>.
3374         [__ASSUME_32BITUIDS]: Make code unconditional.
3375         [!__ASSUME_32BITUIDS]: Remove conditional code.
3376         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3377         <kernel-features.h>.
3378         [__ASSUME_32BITUIDS]: Make code unconditional.
3379         [!__ASSUME_32BITUIDS]: Remove conditional code.
3380         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3381         <kernel-features.h>.
3382         [__ASSUME_32BITUIDS]: Make code unconditional.
3383         [!__ASSUME_32BITUIDS]: Remove conditional code.
3384         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3385         <kernel-features.h>.
3386         [__ASSUME_32BITUIDS]: Make code unconditional.
3387         [!__ASSUME_32BITUIDS]: Remove conditional code.
3388         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3389         <kernel-features.h>.
3390         [__ASSUME_32BITUIDS]: Make code unconditional.
3391         [!__ASSUME_32BITUIDS]: Remove conditional code.
3392         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3393         <kernel-features.h>.
3394         [__ASSUME_32BITUIDS]: Make code unconditional.
3395         [!__ASSUME_32BITUIDS]: Remove conditional code.
3396         * sysdeps/unix/sysv/linux/kernel-features.h
3397         (__ASSUME_SETRESUID_SYSCALL): Remove.
3398         (__ASSUME_SETRESGID_SYSCALL): Likewise.
3399         (__ASSUME_32BITUIDS): Likewise.
3400         (__ASSUME_LDT_WORKS): Likewise.
3401         (__ASSUME_O_DIRECTORY): Likewise.
3402         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3403         architecture but not kernel version.
3404         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3405         (__ASSUME_MMAP2_SYSCALL): Likewise.
3406         (__ASSUME_STAT64_SYSCALL): Likewise.
3407         (__ASSUME_IPC64): Likewise.
3408         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3409         <kernel-features.h>.
3410         [__ASSUME_32BITUIDS]: Make code unconditional.
3411         [!__ASSUME_32BITUIDS]: Remove conditional code.
3412         * sysdeps/unix/sysv/linux/opendir.c: Do not include
3413         <kernel-features.h>.
3414         [__ASSUME_O_DIRECTORY]: Make code unconditional.
3415         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3416         132096]: Remove conditional code.
3417         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3418         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3419         <kernel-features.h>.
3420         [__ASSUME_32BITUIDS]: Make code unconditional.
3421         [!__ASSUME_32BITUIDS]: Remove conditional code.
3422         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3423         <kernel-features.h>.
3424         [__ASSUME_32BITUIDS]: Make code unconditional.
3425         [!__ASSUME_32BITUIDS]: Remove conditional code.
3426         * sysdeps/unix/sysv/linux/setegid.c: Do not include
3427         <kernel-features.h>.
3428         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3429         unconditional.
3430         (__setresgid): Do not declare.
3431         [__ASSUME_32BITUIDS]: Make code unconditional.
3432         [!__ASSUME_32BITUIDS]: Remove conditional code.
3433         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3434         <kernel-features.h>.
3435         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3436         unconditional.
3437         (__setresuid): Do not declare.
3438         [__ASSUME_32BITUIDS]: Make code unconditional.
3439         [!__ASSUME_32BITUIDS]: Remove conditional code.
3440         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3441         <kernel-features.h>.
3442         [__ASSUME_32BITUIDS]: Make code unconditional.
3443         [!__ASSUME_32BITUIDS]: Remove conditional code.
3444         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3445         <kernel-features.h>.
3446         [__ASSUME_32BITUIDS]: Make code unconditional.
3447         [!__ASSUME_32BITUIDS]: Remove conditional code.
3448
3449 2012-05-25  Richard Henderson  <rth@twiddle.net>
3450
3451         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3452         dl_hwcap to ifunc resolver.
3453         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3454         elf_ifunc_invoke.
3455         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3456         dl_hwcap to ifunc resolver.
3457         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3458
3459 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3460
3461         [BZ #14153]
3462         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3463         for |x| <= 2**-26, not 2**-57.
3464         * math/libm-test.inc (acos_test): Do not allow spurious underflow
3465         exception.
3466
3467 2012-05-24  Jeff Law  <law@redhat.com>
3468
3469         * stdio-common/Makefile (tests): Add bug25.
3470         * stdio-common/bug25.c: New test.
3471
3472 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3473
3474         [BZ #13576]
3475         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3476         multiple of MALLOC_ALIGNMENT in size.
3477         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3478
3479 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3480
3481         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3482         Require >= 256.
3483         (FILENAME_MAX): Use macro-int-constant.
3484         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
3485         (_IOFBF): Use macro-int-constant.
3486         (_IOLBF): Likewise.
3487         (_IONBF): Likewise.
3488         (SEEK_CUR): Likewise.
3489         (SEEK_END): Likewise.
3490         (SEEK_SET): Likewise.
3491         (TMP_MAX): Likewise.
3492         (EOF): Use macro-int-constant.  Require < 0.
3493         (NULL): Use macro-constant.  Require == 0.
3494         (stdin): Require type to be FILE *.
3495         (stdout): Likewise.
3496         (stderr): Likewise.
3497         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3498         macro-int-constant.
3499         (EXIT_SUCCESS): Likewise.
3500         (NULL): Use macro-constant.  Require == 0.
3501         (RAND_MAX): Use macro-int-constant.
3502         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3503         [C99-based standards] (strtof): Require function.
3504         [C99-based standards] (strtold): Likewise.
3505         [C99-based standards] (strtoll): Likewise.
3506         [C99-based standards] (strtoull): Likewise.
3507         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3508         [ISO || ISO99 || ISO11] (limits.h): Likewise.
3509         [ISO || ISO99 || ISO11] (math.h): Likewise.
3510         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3511         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3512         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3513
3514 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
3515
3516         [BZ #14132]
3517         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3518         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3519         * intl/dgettext.c (DCGETTEXT): Likewise.
3520         * intl/gettext.c (DCGETTEXT): Likewise.
3521         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3522         * posix/regex_internal.h (gettext): Likewise.
3523         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3524         Remove declaration.
3525         * include/argz.h (__argz_count_internal)
3526         (__argz_stringify_internal): Remove declaration.
3527         (__argz_count, __argz_stringify): Declare hidden proto.
3528         * intl/dcgettext.c: Remove use of INTDEF.
3529         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3530         * string/argz-stringify.c: Likewise.
3531         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3532         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3533         Declare hidden proto.
3534         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3535         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3536         Declare hidden proto.
3537         * include/stdio.h (__asprintf_internal): Don't declare.
3538         (__asprintf): Don't define as macro.  Declare hidden proto.
3539         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3540         (__fsetlocking): Declare hidden proto.
3541         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3542         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3543         hidden proto.
3544         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3545         (_IO_setlinebuf): Remove use of INTUSE.
3546         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3547         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3548         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3549         Remove declaration.
3550         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3551         (_IO_do_flush): Remove use of INTUSE.
3552         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3553         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3554         (_IO_adjust_column, _IO_least_wmarker)
3555         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3556         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3557         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3558         (_IO_default_doallocate, _IO_wdefault_doallocate)
3559         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3560         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3561         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3562         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3563         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3564         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3565         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3566         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3567         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3568         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3569         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3570         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3571         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3572         proto.
3573         (_IO_flush_all_internal, _IO_adjust_column_internal)
3574         (_IO_default_uflow_internal, _IO_default_finish_internal)
3575         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3576         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3577         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3578         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3579         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3580         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3581         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3582         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3583         (_IO_file_close_internal, _IO_file_close_it_internal)
3584         (_IO_file_underflow_internal, _IO_file_overflow_internal)
3585         (_IO_file_init_internal, _IO_file_attach_internal)
3586         (_IO_file_fopen_internal, _IO_file_read_internal)
3587         (_IO_file_sync_internal, _IO_file_seek_internal)
3588         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3589         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3590         (_IO_str_underflow_internal, _IO_str_overflow_internal)
3591         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3592         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3593         (_IO_list_all_internal, _IO_link_in_internal)
3594         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3595         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3596         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3597         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3598         (_IO_do_write_internal, _IO_padn_internal)
3599         (_IO_getline_info_internal, _IO_getline_internal)
3600         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3601         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3602         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3603         (_IO_vfscanf_internal, _IO_vfprintf_internal)
3604         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3605         (_IO_init_internal, _IO_un_link_internal): Don't declare.
3606         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3607         with libc_hidden_ver, remove use of INTUSE.
3608         * libio/genops.c: Likewise.
3609         * libio/freopen.c: Likewise.
3610         * libio/freopen64.c: Likewise.
3611         * libio/iofclose.c: Likewise.
3612         * libio/iofdopen.c: Likewise.
3613         * libio/iofflush.c: Likewise.
3614         * libio/iofflush_u.c: Likewise.
3615         * libio/iofgets.c: Likewise.
3616         * libio/iofgets_u.c: Likewise.
3617         * libio/iofopen.c: Likewise.
3618         * libio/iofopncook.c: Likewise.
3619         * libio/iofread.c: Likewise.
3620         * libio/iofread_u.c: Likewise.
3621         * libio/ioftell.c: Likewise.
3622         * libio/iofwrite.c: Likewise.
3623         * libio/iogetline.c: Likewise.
3624         * libio/iogets.c: Likewise.
3625         * libio/iogetwline.c: Likewise.
3626         * libio/iopadn.c: Likewise.
3627         * libio/iopopen.c: Likewise.
3628         * libio/ioseekoff.c: Likewise.
3629         * libio/ioseekpos.c: Likewise.
3630         * libio/iosetbuffer.c: Likewise.
3631         * libio/iosetvbuf.c: Likewise.
3632         * libio/ioungetc.c: Likewise.
3633         * libio/ioungetwc.c: Likewise.
3634         * libio/iovdprintf.c: Likewise.
3635         * libio/iovsprintf.c: Likewise.
3636         * libio/iovsscanf.c: Likewise.
3637         * libio/memstream.c: Likewise.
3638         * libio/obprintf.c: Likewise.
3639         * libio/oldfileops.c: Likewise.
3640         * libio/oldiofclose.c: Likewise.
3641         * libio/oldiofdopen.c: Likewise.
3642         * libio/oldiofopen.c: Likewise.
3643         * libio/oldiopopen.c: Likewise.
3644         * libio/oldstdfiles.c: Likewise.
3645         * libio/putc.c: Likewise.
3646         * libio/setbuf.c: Likewise.
3647         * libio/setlinebuf.c: Likewise.
3648         * libio/stdfiles.c: Likewise.
3649         * libio/strops.c: Likewise.
3650         * libio/vasprintf.c: Likewise.
3651         * libio/vscanf.c: Likewise.
3652         * libio/vsnprintf.c: Likewise.
3653         * libio/vswprintf.c: Likewise.
3654         * libio/wfiledoalloc.c: Likewise.
3655         * libio/wfileops.c: Likewise.
3656         * libio/wgenops.c: Likewise.
3657         * libio/wmemstream.c: Likewise.
3658         * libio/wstrops.c: Likewise.
3659         * libio/__fpurge.c: Likewise.
3660         * libio/__fsetlocking.c: Likewise.
3661         * assert/assert.c: Likewise.
3662         * debug/fgets_chk.c: Likewise.
3663         * debug/fgets_u_chk.c: Likewise.
3664         * debug/fread_chk.c: Likewise.
3665         * debug/fread_u_chk.c: Likewise.
3666         * debug/gets_chk.c: Likewise.
3667         * debug/obprintf_chk.c: Likewise.
3668         * debug/vasprintf_chk.c: Likewise.
3669         * debug/vdprintf_chk.c: Likewise.
3670         * debug/vsnprintf_chk.c: Likewise.
3671         * debug/vsprintf_chk.c: Likewise.
3672         * malloc/mtrace.c: Likewise.
3673         * misc/error.c: Likewise.
3674         * misc/syslog.c: Likewise.
3675         * stdio-common/asprintf.c: Likewise.
3676         * stdio-common/fxprintf.c: Likewise.
3677         * stdio-common/getw.c: Likewise.
3678         * stdio-common/isoc99_fscanf.c: Likewise.
3679         * stdio-common/isoc99_scanf.c: Likewise.
3680         * stdio-common/isoc99_vfscanf.c: Likewise.
3681         * stdio-common/isoc99_vscanf.c: Likewise.
3682         * stdio-common/isoc99_vsscanf.c: Likewise.
3683         * stdio-common/printf-prs.c: Likewise.
3684         * stdio-common/printf_fp.c: Likewise.
3685         * stdio-common/printf_fphex.c: Likewise.
3686         * stdio-common/printf_size.c: Likewise.
3687         * stdio-common/putw.c: Likewise.
3688         * stdio-common/scanf.c: Likewise.
3689         * stdio-common/sprintf.c: Likewise.
3690         * stdio-common/tmpfile.c: Likewise.
3691         * stdio-common/vfprintf.c: Likewise.
3692         * stdio-common/vfscanf.c: Likewise.
3693         * stdlib/strfmon_l.c: Likewise.
3694         * sunrpc/openchild.c: Likewise.
3695         * sunrpc/xdr_stdio.c: Likewise.
3696         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3697         * sysdeps/mach/hurd/tmpfile.c: Likewise.
3698
3699 2012-05-24  Roland McGrath  <roland@hack.frob.com>
3700
3701         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3702
3703         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3704         in the third column, to generate for the shared library an IFUNC
3705         that uses _dl_vdso_vsym.
3706         * Makerules (COMPILE.c, compile-stdin.c): New variables.
3707         * Makeconfig (object-suffixes-noshared): New variable.
3708
3709         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3710         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3711         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3712         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3713
3714         [BZ #14132]
3715         * include/sys/time.h (__gettimeofday): Remove macro.
3716         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3717         * time/gettimeofday.c (__gettimeofday): Remove #undef.
3718         Remove INTDEF.
3719         (__gettimeofday): Add libc_hidden_def.
3720         (gettimeofday): Add libc_hidden_weak.
3721         * sysdeps/mach/gettimeofday.c: Likewise.
3722         * sysdeps/posix/gettimeofday.c: Likewise.
3723         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3724         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3725         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3726         (__gettimeofday_internal): Remove strong_alias.
3727         (__gettimeofday): Add libc_hidden_def.
3728         (gettimeofday): Add libc_hidden_weak.
3729         * sysdeps/unix/syscalls.list (gettimeofday):
3730         Remove __gettimeofday_internal alias.
3731
3732 2012-05-24  Daniel Jacobowitz  <drow@false.org>
3733             H.J. Lu  <hongjiu.lu@intel.com>
3734
3735         [BZ #12495]
3736         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3737         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3738         (largebin_index_32_big): New.
3739         (largebin_index): Use it for 16-byte alignment.
3740         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
3741         correction with front_misalign.
3742
3743 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3744
3745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3747         Likewise.
3748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3749         Likewise.
3750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3751         Likewise.
3752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3753         Likewise.
3754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3755         Likewise.
3756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3757         Likewise.
3758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3759         Likewise.
3760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3761         Likewise.
3762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3763         Likewise.
3764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3765         Likewise.
3766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3767         Likewise.
3768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3769         Likewise.
3770
3771         * scripts/data/c++-types-x32-linux-gnu.data: New file.
3772         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3773
3774 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3775
3776         [BZ #10846]
3777         [BZ #14036]
3778         * math/libm-test.inc (exp_test): Add test from bug 14036.
3779         (pow_test): Add test from bug 10846.
3780
3781         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3782         and other flags.
3783         (special_function): Do not include flags in test name.
3784         (parse_args): Likewise.
3785         * sysdeps/i386/fpu/libm-test-ulps: Update.
3786         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3787         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3788         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3790
3791         * math/gen-libm-test.pl (%beautify): Add entries for underflow
3792         exceptions.
3793         * math/libm-test.inc ("Philosophy"): Update comment about
3794         exception testing.
3795         (UNDERFLOW_EXCEPTION): New macro.
3796         (UNDERFLOW_EXCEPTION_OK): Likewise.
3797         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3798         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3799         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3800         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3801         (INVALID_EXCEPTION_OK): Update value.
3802         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3803         (OVERFLOW_EXCEPTION_OK): Likewise.
3804         (IGNORE_ZERO_INF_SIGN): Likewise.
3805         (test_exceptions): Handle underflow exceptions.
3806         (acos_test): Update for underflow exception expectations.
3807         (cexp_test): Likewise.
3808         (clog_test): Likewise.
3809         (clog10_test): Likewise.
3810         (csqrt_test): Likewise.
3811         (ctan_test): Likewise.
3812         (ctanh_test): Likewise.
3813         (exp_test): Likewise.
3814         (exp10_test): Likewise.
3815         (exp2_test): Likewise.
3816         (expm1_test): Likewise.
3817         (fma_test): Likewise.
3818         (j0_test): Likewise.
3819         (jn_test): Likewise.
3820         (nexttoward_test): Likewise.
3821         (pow_test): Likewise.
3822         (scalbn_test): Likewise.
3823         (scalbln_test): Likewise.
3824         (tan_test): Likewise.
3825         (y1_test): Likewise.
3826         * sysdeps/i386/fpu/libm-test-ulps: Update.
3827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3828
3829 2012-05-23  David S. Miller  <davem@davemloft.net>
3830
3831         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3832         (__libc_sigaction): Remove unused local variables.
3833
3834 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
3835
3836         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3837
3838 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
3839
3840         mktime: avoid signed integer overflow
3841         * time/mktime.c (__mktime_internal): Do not mishandle the case
3842         where diff == INT_MIN.
3843
3844         mktime: simplify computation of average
3845         * time/mktime.c (ranged_convert): Use new time_t_avg function
3846         instead of rolling our own (probably-slower) code.
3847
3848         mktime: do not assume signed right shift propagates sign bit
3849         * time/mktime.c (isdst_differ): New static function.
3850         (__mktime_internal): No need to normalize tm_isdst now.
3851         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3852         tm_isdst values.
3853
3854         mktime: merge another wrapv change from gnulib
3855         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3856         from some compilers.
3857
3858         mktime: remove incorrect attempt at unusual arithmetics
3859         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3860         The code didn't really work on such machines anyway.
3861         (TYPE_MINIMUM): Assume two's complement.
3862         (twos_complement_arithmetic): Verify that long_int and time_t
3863         are two's complement (or unsigned, in the latter case).
3864
3865         mktime: check signed shifts on long_int and time_t, too
3866         * time/mktime.c (SHR): Check that shifts work as desired
3867         on the types long_int and time_t too, as SHR is used on
3868         such types.
3869
3870         mktime: do not assume 'long' is wide enough
3871         * time/mktime.c (verify): Move decl up.
3872         (long_int): New type.
3873         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3874         to remove assumption in the code that 'long' is wide enough to
3875         store year values.  This assumption is not true on x32 and on
3876         some non-glibc platforms.
3877
3878         mktime: merge wrapv change from gnulib
3879         * time/mktime.c (WRAPV): New macro.
3880         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3881         (guess_time_tm, __mktime_internal): Do not assume that signed
3882         integer overflow wraps around; modern compilers generate code
3883         where this assumption is no longer valid.
3884
3885 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
3886
3887         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3888         Replace "jmp L(pseudo_end)" with "ret".
3889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3890         Likewise.
3891
3892 2012-05-23  Andreas Jaeger  <aj@suse.de>
3893
3894         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3895         * sysdeps/unix/sysv/linux/poll.c: Remove file.
3896
3897 2012-05-23  Andreas Jaeger  <aj@suse.de>
3898             Maximilian Attems  <max@stro.at>
3899
3900         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3901         New macros.
3902
3903 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
3904
3905         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3906         code so that pseudo_end is just ret and the stack pointer is
3907         correct also for static library in error case.
3908
3909 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
3910
3911         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3912         move to syscalls.list.
3913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3917
3918         * manual/install.texi (Running make install): Do not mention Linux
3919         kernel version for which pt_chown is not needed.
3920         (Linux): Do not mention problems with nscd with 2.0 kernels.
3921         * INSTALL: Regenerated.
3922
3923 2012-05-23  Andreas Jaeger  <aj@suse.de>
3924
3925         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3926         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3927         macro.
3928         * sysdeps/unix/sysv/linux/s390/bits/mman.h
3929         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3930         * sysdeps/unix/sysv/linux/sh/bits/mman.h
3931         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3932         * sysdeps/unix/sysv/linux/i386/bits/mman.h
3933         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3934         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3935         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3936         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3937         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3938         * sysdeps/unix/sysv/linux/bits/in.h
3939         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3940
3941 2012-05-22  Roland McGrath  <roland@hack.frob.com>
3942
3943         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3944         (PREPARE_VERSION): Just use assert instead, it will be elided
3945         under [NDEBUG] anyway.
3946
3947 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3948
3949         * sysdeps/unix/sysv/linux/Makefile: Include
3950         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3951         (sysdep_routines): Remove sysctl.
3952         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3953         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3954         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3955         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3956         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3957
3958 2012-05-22  Andreas Jaeger  <aj@suse.de>
3959
3960         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3961         that pseudo_end is just ret and the stack pointer is correct also
3962         for static library in error case.
3963
3964 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
3965
3966         [BZ #14122]
3967         * nss/nsswitch.c (defconfig_entries): New variable.
3968         (__nss_database_lookup): Don't leak defconfig entries.
3969         (nss_parse_service_list): Don't leak on error paths.
3970         (free_database_entries): New function.
3971         (free_defconfig): New function.
3972         (free_mem): Move common code to free_database_entries.
3973
3974 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3975
3976         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3977         Add arch_prctl.
3978         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3979
3980         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3981         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3982         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3983         New macro.
3984         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3985         (INTERNAL_SYSCALL_TYPES): Likewise.
3986         (LOAD_ARGS_TYPES_[1-6]): Likewise.
3987         (LOAD_REGS_TYPES_[1-6]): Likewise.
3988         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3989         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3990
3991 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3992
3993         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3994         copysignl for GLIBC_2_0.
3995         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3996         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3997         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3998         logbl for GLIBC_2_0.
3999         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4000         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4001
4002 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4003
4004         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4005         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4006
4007         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4008         Use "neg %eax".
4009
4010         * time/mktime.c: Update copyright years.
4011
4012 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4013
4014         mktime: merge comment-quoting-style change from gnulib
4015         * time/mktime.c: Quote 'like this' in comments.
4016         The GNU coding standards suggest that we no longer quote `like this',
4017         as "`" and "'" are typically rendered asymmetrically nowadays.
4018         The typical gnulib style is to quote 'like this' when quoting
4019         code, and "like this" when quoting English.
4020
4021         * time/mktime.c (compile-command): Add "-I.".
4022
4023         mktime: merge mktime-internal.h change from gnulib
4024         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4025
4026         mktime: merge time_r change from gnulib
4027         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4028
4029         mktime: merge DEBUG change from gnulib
4030         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4031         case system <time.h> has a #define.
4032
4033         mktime: merge <sys/types.h> change from gnulib
4034         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4035         since <time.t> is now guaranteed to define time_t.
4036
4037         mktime: merge HAVE_CONFIG_H change from gnulib
4038         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4039
4040 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4041
4042         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4043         Use "neg %eax".
4044
4045         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4046         __rlim_t cast.
4047         (struct rusage): Use anonymous union to pad each field to
4048         __syscall_slong_t.
4049
4050 2012-05-21  David S. Miller  <davem@davemloft.net>
4051
4052         * Makefules (o-iterator): Remove .s cases.
4053         (compile-command.s): Delete.
4054         (COMPILE.s): Delete.
4055         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4056
4057 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
4058
4059         * configure.in (libc_cv_predef_stack_protector): Only consider
4060         "foobar" and "__stack_chk_fail" lines in libc_undefs.
4061         * configure: Regenerated.
4062
4063 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4064
4065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4066         New macro.  Use R*LP on int and pointer.
4067         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4068         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4069         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4070         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4071
4072         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4073         [__WORDSIZE_TIME64_COMPAT32] instead of
4074         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4075         (struct utmp): Likewise.
4076         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4077         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4078         Renamed to ...
4079         (__WORDSIZE_TIME64_COMPAT32): This.
4080         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4081         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4082         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4083         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4084         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4085         (__WORDSIZE_TIME64_COMPAT32): New macro.
4086
4087 2012-05-21  Andreas Jaeger  <aj@suse.de>
4088
4089         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4090         only if [SHARED]. Add prototype for __wcschr_ia32.
4091
4092 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4093
4094         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4095         of %rbp unmolested in the jmp_buf while mangling the low bits.
4096         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4097         unmolested high bits of %rbp while demangling the low bits.
4098         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4099
4100 2012-05-21  Andreas Jaeger  <aj@suse.de>
4101
4102         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4103         * sunrpc/svc_simple.c: Use it for registerrpc.
4104         * sunrpc/xcrypt.c: Use it for passwd2des.
4105
4106         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4107
4108 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4109
4110         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4111         Don't define if [__SYSCALL_WORDSIZE != 32].
4112         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4113         New macro.
4114
4115 2012-05-21  Bruno Haible  <bruno@clisp.org>
4116             Andreas Jaeger  <aj@suse.de>
4117
4118         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4119         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4120         inptr and inend for must_buffer_ch.
4121         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4122         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4123         * stdio-common/Makefile (tests): Remove bug15.
4124         (bug15-ENV): Remove macro.
4125         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4126         anymore.
4127
4128 2012-05-19  Andreas Jaeger  <aj@suse.de>
4129             Roland McGrath  <roland@hack.frob.com>
4130
4131         * manual/contrib.texi: Completely rewritten. It contains now an
4132         alphabetical list of contributors and their contributions.
4133
4134 2012-05-21  Richard Henderson  <rth@twiddle.net>
4135
4136         * misc/getauxval.c (__getauxval): Use unsigned long int.
4137         * misc/sys/auxv.h: Include <sys/cdefs.h>.
4138         (getauxval): Use unsigned long int.
4139
4140 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
4141
4142         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4143
4144 2012-05-21  Roland McGrath  <roland@hack.frob.com>
4145
4146         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4147         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4148         __alignof__ (long double).
4149
4150 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4151
4152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4153
4154 2012-05-20  Richard Henderson  <rth@twiddle.net>
4155
4156         * misc/getauxval.c: New file.
4157         * misc/sys/auxv.h: New file.
4158         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4159         (routines): Add getauxval.
4160         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4161         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4162         * elf/dl-sysdep.c (_dl_auxv): Remove.
4163         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4164         * elf/dl-support.c (_dl_auxv): New variable.
4165         (_dl_aux_init): Initialize it.
4166         * manual/startup.texi (Auxiliary Vector): New node.
4167         * sysdeps/generic/bits/hwcap.h: New file.
4168         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4169         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
4170         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4171         * sysdeps/sparc/sysdep.h: ... here.  Include it.
4172         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4173         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4175         Update.
4176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4179         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4184
4185 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4186
4187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4188
4189 2012-05-19  David S. Miller  <davem@davemloft.net>
4190
4191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4192
4193 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4194
4195         [BZ #14123]
4196         * math/s_ccosh.c: Include <float.h>
4197         (__ccosh): Avoid internal overflow calculating sinh and cosh
4198         values before multiplying by sin and cos values.
4199         * math/s_ccoshf.c: Likewise.
4200         * math/s_ccoshl.c: Likewise.
4201         * math/s_csin.c: Likewise.
4202         * math/s_csinf.c: Likewise.
4203         * math/s_csinl.c: Likewise.
4204         * math/s_csinh.c: Likewise.
4205         * math/s_csinhf.c: Likewise.
4206         * math/s_csinhl.c: Likewise.
4207         * math/libm-test.inc (ccos_test): Add more tests.
4208         (ccosh_test): Likewise.
4209         (csin_test): Likewise.
4210         (csinh_test): Likewise.
4211         * sysdeps/i386/fpu/libm-test-ulps: Update.
4212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4213
4214 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4215
4216         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4217         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4218
4219         * sysdeps/x86_64/x32/_itoa.h: Add comment.
4220
4221 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
4222
4223         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4224         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4225         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4226         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4227         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4228         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4229         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4230         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4231         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4232         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4233         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4234         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4235         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4236         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4237         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4238         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4239         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4240         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4241         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4242         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4243         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4244         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4245         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4246         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4247         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4248         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4249         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4250         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4251         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4252         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4253         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4254
4255 2012-05-18  Andreas Jaeger  <aj@suse.de>
4256
4257         * csu/.gitignore: Delete.
4258
4259 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4260
4261         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4262         (timex): Use __syscall_slong_t.
4263
4264 2012-05-18  Andreas Jaeger  <aj@suse.de>
4265             Carlos O'Donell  <carlos_odonell@mentor.com>
4266
4267         * manual/install.texi (Configuring and compiling): Update
4268         description about files modified in the source directory.
4269         * INSTALL: Regenerated.
4270
4271 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4272
4273         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4274         value.  Use "or" to set return value to -1.
4275         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4276         negate return value.
4277
4278 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4279
4280         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4281         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4282         failure if the compiler has Graphite support disabled.
4283         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4284         Likewise.
4285         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4286         CFLAGS-memmove.c): Likewise.
4287         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4288         Likewise.
4289
4290 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4291
4292         * sysdeps/x86_64/x32/_itoa.h: New file.
4293
4294         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4295         getdents system call only if kernel and user dirents have the
4296         same d_ino and d_off.
4297
4298         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4299         LLONG_MAX != LONG_MAX.
4300         (_itoa_word): Use _ITOA_WORD_TYPE on value.
4301         (_fitoa_word): Likewise.
4302
4303         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4304         years.
4305         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4306         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4307         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4308
4309         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4310         include <bits/wordsize.h>.  Check __x86_64__ instead of
4311         __WORDSIZE.
4312         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4313         if __x86_64__ is defined.  Use anonymous union on fpstate.
4314
4315         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4316         anonymous union.
4317
4318 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
4319
4320         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4321         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4322         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4323         Refer to _rtld_local_ro instead of _rtld_global_ro.
4324         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4325         Likewise.
4326         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4327         Likewise.
4328         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4329         Likewise.
4330         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4331         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4332         of _rtld_global, and rtld_progname instead of _dl_argv[0].
4333
4334         * sysdeps/powerpc/powerpc32/dl-machine.c
4335         (__elf_machine_runtime_setup) [PROF]: Don't reference
4336         _dl_prof_resolve.
4337
4338 2012-05-18  Andreas Jaeger  <aj@suse.de>
4339
4340         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4341         function only available for GCCs before 3.4 since GCC 3.4
4342         introduced a builtin.
4343         (lrint): Likewise.
4344         (llrintf): Likewise.
4345         (llrint): Likewise.
4346         (fmaxf): Likewise.
4347         (fmax): Likewise.
4348         (fminf): Likewise.
4349         (fmin): Likewise.
4350         (rint): Likewise.
4351         (rintf): Likewise.
4352         (nearbyint): Likewise.
4353         (nearbyintf): Likewise.
4354         (ceil): Likewise.
4355         (ceilf): Likewise.
4356         (floor): Likewise.
4357         (floorf): Likewise.
4358
4359 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4360
4361         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4362         on both fields and cast pointer to __syscall_ulong_t.
4363
4364         * bits/types.h (__fsword_t): New type.
4365         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4366         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4367         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4368         (__FSWORD_T_TYPE): Likewise.
4369         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4370         (__FSWORD_T_TYPE): Likewise.
4371         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4372         (__FSWORD_T_TYPE): Likewise.
4373         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4374         (__FSWORD_T_TYPE): Likewise.
4375         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4376         __SWORD_TYPE with __fsword_t.
4377         (statfs64): Likewise.
4378
4379 2012-05-17  David S. Miller  <davem@davemloft.net>
4380
4381         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4382
4383 2012-05-17  Andreas Jaeger  <aj@suse.de>
4384
4385         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4386         warning.
4387
4388 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4389
4390         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4391
4392 2012-05-17  Andreas Jaeger  <aj@suse.de>
4393
4394         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4395         when it is used.
4396
4397 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
4398
4399         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4400
4401 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4402
4403         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4404         * sysdeps/x86_64/tst-mallocalign1.c: New file.
4405
4406 2012-05-17  Andreas Jaeger  <aj@suse.de>
4407             Carlos O'Donell  <carlos_odonell@mentor.com>
4408
4409         [BZ #14059]
4410         * sysdeps/x86_64/multiarch/init-arch.h
4411         (bit_YMM_Usable): Rename to...
4412         (bit_AVX_Usable): ... this.
4413         (bit_FMA4_Usable): New macro.
4414         (bit_XMM_state): New macro.
4415         (bit_YMM_state): New macro.
4416         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4417         [__ASSEMBLER__] (index_AVX_Usable): ... this.
4418         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4419         (CPUID_OSXSAVE): New macro.
4420         (CPUID_AVX): New macro.
4421         (CPUID_FMA4): New macro.
4422         (index_YMM_Usable): Rename to...
4423         (index_AVX_Usable): ... this.
4424         (HAS_AVX): Use HAS_ARCH_FEATURE.
4425         (HAS_FMA4): Likewise.
4426         (HAS_YMM_USABLE): Remove.
4427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4428         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4429         are present.
4430         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4431         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4432         * sysdeps/x86_64/multiarch/Makefile: Likewise.
4433         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4434         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4435
4436 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
4437
4438         * math/libm-test.c: Support platforms without multiple rounding modes.
4439         * math/bug-nextafter.c: Support platforms without FP exceptions.
4440         * math/bug-nexttoward.c: Likewise.
4441         * math/test-fenv.c: Likewise.
4442         * math/test-misc.c: Likewise.
4443         * stdlib/bug-getcontext.c: Likewise.
4444
4445 2012-05-17  Andreas Jaeger  <aj@suse.de>
4446
4447         * manual/examples/search.c (critter_cmp): Change signature to
4448         avoid warnings.
4449         * manual/string.texi (Collation Functions): Likewise.
4450
4451 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4452
4453         * bits/types.h: Fold copyright years.
4454         * bits/typesizes.h: Likewise.
4455         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4456         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4457         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4458         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4459         * time/time.h: Likewise.
4460
4461 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
4462
4463         [BZ #208]
4464         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4465         in instead of returning them.  Return void.
4466         (__libc_mallinfo): Accumulate over all arenas.
4467         (__malloc_stats): Adjust for change in int_mallinfo interface.
4468
4469 2012-05-16  Roland McGrath  <roland@hack.frob.com>
4470
4471         [BZ #10375]
4472         * configure.in (NM): Add AC_CHECK_TOOL for it.
4473         (libc_extra_cflags): New substituted variable.
4474         Check for -fstack-protector being used implicitly.
4475         * configure: Regenerated.
4476         * config.make.in (config-extra-cflags): New variable,
4477         gets @libc_extra_cflags@.
4478         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4479
4480         [BZ #10375]
4481         * configure.in: Check for _FORTIFY_SOURCE being predefined.
4482         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4483         * configure: Regenerated.
4484         * config.make.in (CPPUNDEFS): New substituted variable.
4485         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4486         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4487         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4488
4489 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4490
4491         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4492         (mq_attr): Use __syscall_slong_t.
4493
4494 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4495
4496         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4497         Check __x86_64__ instead of __WORDSIZE.
4498         (_STAT_VER_LINUX): Likewise.
4499         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
4500         __syscall_ulong_t and __syscall_slong_t.
4501         (stat64): Likewise.
4502
4503 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4504
4505         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4506
4507 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4508
4509         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4510
4511 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4512
4513         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4514         __syscall_ulong_t.
4515
4516         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4517         include <bits/wordsize.h>.  Check __x86_64__ instead of
4518         __WORDSIZE.
4519         (greg_t): Use "__extension__ long long int" if __x86_64__ is
4520         defined.
4521         (mcontext_t): Replace "unsigned long" with "unsigned long long".
4522
4523         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4524         include <bits/wordsize.h>.  Check __x86_64__ instead of
4525         __WORDSIZE.
4526         (user_regs_struct): Use "__extension__ unsigned long long"
4527         instead of "unsigned long" if __x86_64__ is defined.
4528         (user): Likewise.  Pad after pointer field if __ILP32__ is
4529         defined.
4530
4531 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
4532
4533         * configure.in (makeinfo): Require version 4.5 or later.  Allow
4534         versions 5 to 9.
4535         * configure: Regenerated.
4536         * manual/install.texi (texinfo): Increase version requirement to
4537         4.5 or later.
4538         * INSTALL: Regenerated.
4539
4540         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4541
4542 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
4543
4544         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4545
4546         * sysdeps/x86_64/x32/ffs.c: New file.
4547
4548         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4549         __syscall_ulong_t.
4550         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4551         defined.  Use __syscall_ulong_t.
4552         (shminfo): Use __syscall_ulong_t.
4553         (shm_info): Likewise.
4554
4555         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4556         __syscall_ulong_t.
4557
4558         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4559         <bits/wordsize.h>.
4560         (msgqnum_t): Use __syscall_ulong_t.
4561         (msglen_t): Likewise.
4562         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
4563         __syscall_ulong_t.
4564
4565         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4566         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4567
4568         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4569
4570         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4571         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4572
4573         * sysvipc/sys/msg.h (msgbuf): Replace long int with
4574         __syscall_slong_t.
4575
4576         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4577         include <bits/wordsize.h>.  Check __x86_64__ instead of
4578         __WORDSIZE.
4579
4580         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4581         "unsigned long long int" if __x86_64__ is defined.
4582         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4583
4584         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4585         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
4586         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4587
4588         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4589         <stdint.h>.
4590         (GET_PC): Cast to uintptr_t first.
4591         (GET_FRAME): Likewise.
4592         (GET_STACK): Likewise.
4593
4594         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4595         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4596         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4597         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4598         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4599         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4600         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4601         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4602         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4603         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4604         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4605         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4606         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4607         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4608         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4609         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4610         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4611         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4612         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4613         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4614         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4615         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4616         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4617         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4618         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4619         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4620         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4621         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4622         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4623
4624 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
4625
4626         * Makerules (+depfiles): Also collect depfiles from .oS in
4627         $(extra-objs).
4628         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4629         .oS, $(libnldbl-routines)).
4630
4631         * Makerules (native-compile-mkdep-flags): Define.
4632         * sunrpc/Makefile (extra-objs): Add $(addprefix
4633         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4634         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4635         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
4636         calling $(make-target-directory).
4637
4638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4639
4640         * bits/types.h (__snseconds_t): Removed.
4641         * time/time.h (struct timespec): Replace __snseconds_t with
4642         __syscall_slong_t.
4643         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4644         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4645         Likewise.
4646         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4647         (__SNSECONDS_T_TYPE): Likewise.
4648         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4649         (__SNSECONDS_T_TYPE): Likewise.
4650         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4651         (__SNSECONDS_T_TYPE): Likewise.
4652
4653 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4654
4655         * sysdeps/mach/hurd/bits/typesizes.h
4656         (__SYSCALL_SLONG_TYPE): New macro.
4657         (__SYSCALL_ULONG_TYPE): Likewise.
4658
4659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4660
4661         * bits/types.h (__syscall_slong_t): New type.
4662         (__syscall_ulong_t): Likewise.
4663
4664         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4665         (__SYSCALL_ULONG_TYPE): Likewise.
4666         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4667         (__SYSCALL_SLONG_TYPE): Likewise.
4668         (__SYSCALL_ULONG_TYPE): Likewise.
4669         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4670         (__SYSCALL_SLONG_TYPE): Likewise.
4671         (__SYSCALL_ULONG_TYPE): Likewise.
4672         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4673         (__SYSCALL_SLONG_TYPE): Likewise.
4674         (__SYSCALL_ULONG_TYPE): Likewise.
4675
4676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4677
4678         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4679         Add sigaltstack-offsets.sym.
4680         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4681         <sigaltstack-offsets.h>.
4682         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
4683         longjmp_msg pointer.
4684         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
4685         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4686         signal stack.
4687         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4688
4689 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
4690
4691         * elf/stackguard-macros.h: Remove file.
4692         * sysdeps/generic/stackguard-macros.h: New file.
4693         * sysdeps/i386/stackguard-macros.h: Likewise.
4694         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4695         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4696         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4697         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4698         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4699         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4700         * sysdeps/x86_64/stackguard-macros.h: Likewise.
4701         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4702         <elf/stackguard-macros.h>.
4703
4704         [BZ #14109]
4705         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4706         __aligned__ in attribute.
4707         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4708         (gregset_t): Likewise.
4709
4710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4711
4712         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4713         * sysdeps/x86_64/64/Implies-after: Here.  New file.
4714         * sysdeps/x86_64/x32/Implies-after: New file.
4715
4716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4717
4718         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4719         and access return value for _dl_profile_fixup.  Use R10_LP to
4720         load frame size.
4721
4722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4723
4724         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4725
4726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4727
4728         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4729         * sysdeps/x86_64/x32/sysdep.h: New file.
4730
4731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4732
4733         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4734         * sysdeps/x86_64/setjmp.S: Likewise.
4735
4736 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4737
4738         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4739         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4740         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4741         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4742         remove unused global constant.
4743
4744 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
4745
4746         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4747         include of <not-cancel.h>.
4748
4749 2012-05-15  Roland McGrath  <roland@hack.frob.com>
4750
4751         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4752
4753 2012-05-15  Jeff Law  <law@redhat.com>
4754             Andreas Jaeger  <aj@suse.de>
4755
4756         [BZ #13594]
4757         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4758         out from...
4759         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4760         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4761         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4762         code changing __hst_map_handle.map.
4763
4764 2012-05-15  Roland McGrath  <roland@hack.frob.com>
4765
4766         * configure.in (sysnames): Look for Implies-before and Implies-after
4767         files.
4768         * configure: Regenerated.
4769
4770 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4771
4772         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4773         8-byte data alignment with LP_SIZE alignment.
4774
4775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4776
4777         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4778         into R10_LP.
4779
4780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4781
4782         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4783
4784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4785
4786         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4787         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4788         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4789         Likewise.
4790         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4791
4792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4793
4794         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4795         (stackinfo_sub_sp): Likewise.
4796
4797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4798
4799         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4800         RAX_LP.
4801
4802 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4803
4804         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4805         into R*_LP.
4806
4807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4808
4809         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4810         sizes into R*_LP.
4811
4812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4813
4814         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4815
4816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4817
4818         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4819         into R11_LP and load __x86_64_shared_cache_size_half into
4820         R8_LP.
4821
4822 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4823
4824         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4825         R8_LP.
4826
4827 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4828
4829         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4830         logb for POWER7.
4831         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4832         logbf for POWER7.
4833         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4834         logbl for POWER7.
4835         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4836         powerpc32/power7/fpu/s_logb.c via #include.
4837         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4838         powerpc32/power7/fpu/s_logbf.c via #include.
4839         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4840         powerpc32/power7/fpu/s_logbl.c via #include.
4841
4842 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
4843
4844         * README.libm: Remove file.
4845
4846 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4847
4848         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4849         count for x32.  Use R*_LP and omit operand-size suffix.
4850
4851 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4852
4853         * shlib-versions: Move x86_64-.*-linux.* entries to ...
4854         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
4855         * sysdeps/x86_64/x32/shlib-versions: New file.
4856
4857 2012-05-14  Roland McGrath  <roland@hack.frob.com>
4858
4859         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4860         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4861         Use _dl_fatal_printf instead.
4862
4863 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
4864
4865         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4866         set if not set by the user.  Do not allow for being unset.
4867         * sysdeps/unix/sysv/linux/configure: Regenerated.
4868
4869 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4870
4871         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4872         the `q' suffix from lea and replace .quad with ASM_ADDR.
4873
4874 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4875
4876         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4877         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
4878         instead of $17.
4879         (PTR_DEMANGLE): Likewise.
4880
4881 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4882
4883         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4884         (LP_OP): Likewise.
4885         (ASM_ADDR): Likewise.
4886         (RAX_LP): Likewise.
4887         (RBP_LP): Likewise.
4888         (RBX_LP): Likewise.
4889         (RCX_LP): Likewise.
4890         (RDI_LP): Likewise.
4891         (RSI_LP): Likewise.
4892         (RSP_LP): Likewise.
4893         (R8_LP): Likewise.
4894         (R9_LP): Likewise.
4895         (R10_LP): Likewise.
4896         (R10_LP): Likewise.
4897         (R11_LP): Likewise.
4898         (R12_LP): Likewise.
4899         (R13_LP): Likewise.
4900         (R14_LP): Likewise.
4901         (R15_LP): Likewise.
4902
4903 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4904
4905         * sysdeps/x86_64/x32/dl-machine.h: New file.
4906
4907 2012-05-14  Andreas Jaeger  <aj@suse.de>
4908
4909         * manual/Makefile (subdir): Remove export of subdir.
4910         (all): Remove target.
4911         (.PHONY): Remove all from list.
4912         (mkinstalldirs): Remove.
4913         (.PHONY): Remove installdirs from list.
4914         ($(inst_infodir)/libc.info): Use make-target-directory.
4915         (installdirs): Remove.
4916         (subdir_%): Remove.
4917         (glibc-targets): Remove.
4918         (lib): Remove.
4919         (stubs): Remove.
4920         ($(objpfx)stubs ../po/manual.pot): Remove.
4921         ($(objpfx)stamp%): Remove.
4922         (make-target-directory): Remove.
4923         (subdir_install): Remove.
4924         (routines): Remove.
4925         (aux): Remove.
4926         (sources): Remove.
4927         (objects): Remove.
4928         (headers): Remove.
4929
4930         [BZ #13750]
4931         * manual/.gitignore: Remove, it's not needed anymore.
4932         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4933         all files in it.
4934         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4935         directory.
4936         (texis): Renamed to $(objpfx)texis.
4937         (texis-path): New, contains path to generated files.
4938         (chapters.%): Use texis-path for complete path, add extra argument
4939         libc-texinfo.sh.
4940         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4941         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4942         (summary,texi, stamp-summary): Use complete path of
4943         files. Generate files in build dir.
4944         (dir-add.texi): Build in build dir.
4945         (libm-err.texi,stamp-libm-err): Likewise.
4946         (version.texi, stamp-version): Likewise.
4947         (.%c.texi): Likewise.
4948         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4949         (mostlyclean): Remove target.
4950         (realclean): Remove target.
4951         (generated): Add new variable with contents from mostlyclean and
4952         realclean, remove entries duplicated in common-mostlyclean, add
4953         stamp-libm-err and stamp-version.
4954         (generated-dirs): Add libc directory.
4955         ($(inst_infodir)/libc.info): Install files from build dir.
4956
4957         * manual/install.texi (Configuring and compiling): Adjust since
4958         the info files are not part of the tar ball anymore.
4959
4960 2012-05-14  Andreas Jaeger  <aj@suse.de>
4961
4962         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4963         variable.
4964
4965 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
4966
4967         [BZ #13717]
4968         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4969         to 2.2.0 where earlier.
4970         * sysdeps/unix/sysv/linux/configure: Regenerated.
4971         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4972         Remove conditional code.
4973         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4974         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4975         Remove conditional code.
4976         [!__NR_lchown]: Likewise.
4977         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4978         [__NR_lchown]: Likewise.
4979         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4980         comment referencing __ASSUME_LCHOWN_SYSCALL.
4981         * sysdeps/unix/sysv/linux/i386/sigaction.c
4982         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4983         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4984         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4985         Remove conditional code.
4986         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4987         (__protocol_available): Remove #if 0 code.
4988         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4989         conditional code.
4990         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4991         * sysdeps/unix/sysv/linux/kernel-features.h
4992         (__ASSUME_GETCWD_SYSCALL): Don't define.
4993         (__ASSUME_REALTIME_SIGNALS): Likewise.
4994         (__ASSUME_PREAD_SYSCALL): Likewise.
4995         (__ASSUME_PWRITE_SYSCALL): Likewise.
4996         (__ASSUME_POLL_SYSCALL): Likewise.
4997         (__ASSUME_LCHOWN_SYSCALL): Likewise.
4998         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4999         non-SPARC.
5000         (__ASSUME_SIOCGIFNAME): Don't define.
5001         (__ASSUME_MSG_NOSIGNAL): Likewise.
5002         (__ASSUME_SENDFILE): Define unconditionally.
5003         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5004         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5005         conditional code.
5006         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5007         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5008         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5009         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5010         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5011         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5012         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5014         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5015         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5017         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5018         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5020         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5021         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5023         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5024         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5026         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5027         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5029         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5030         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5032         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5033         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5035         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5036         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5037         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5038         Remove conditional code.
5039         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5040         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5041         Remove conditional code.
5042         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5043         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5044         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5045         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5046         Remove conditional code.
5047         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5048         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5049         Remove conditional code.
5050         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5051         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5052         Remove conditional code.
5053         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5054         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5055         Remove conditional code.
5056         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5057         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5058         Remove conditional code.
5059         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5060         * sysdeps/unix/sysv/linux/sh/pwrite64.c
5061         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5062         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5063         * sysdeps/unix/sysv/linux/sigaction.c
5064         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5065         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5066         * sysdeps/unix/sysv/linux/sigpending.c
5067         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5068         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5069         * sysdeps/unix/sysv/linux/sigprocmask.c
5070         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5071         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5072         * sysdeps/unix/sysv/linux/sigsuspend.c
5073         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5074         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5075         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5076         (__libc_missing_rt_sigs): Remove.
5077         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5078         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5079         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5080         Remove conditional code.
5081         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5082         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5083         return 1.
5084         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5085         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5086         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5087         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5088
5089 2012-05-14  Andreas Jaeger  <aj@suse.de>
5090
5091         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5092         it's not used in glibc.
5093         (__coshm1): Likewise.
5094         (__acosh1p): Likewise.
5095         (__sgn): Likewise.
5096
5097         * manual/string.texi (Copying and Concatenation): Add missing
5098         variable in concat example.
5099         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5100
5101 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5102
5103         [BZ #14103]
5104         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5105         __builtin_clzl with __builtin_clzll.
5106
5107 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
5108
5109         [BZ #14104]
5110         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5111         libc_freeres_ptr.
5112
5113 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5114
5115         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5116         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5117         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5118         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5119
5120 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
5121
5122         * NEWS: Update ia64 info.
5123
5124 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
5125
5126         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5127         used as bcopy.
5128
5129 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
5130
5131         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5132         * sysdeps/unix/syscalls.list (dup3): Likewise.
5133         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5134         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5135
5136 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5137
5138         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5139         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5140
5141 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5142
5143         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5144         thread pointer.
5145         (TLS_IE): Use mov/add instead of movq/addq to load thread
5146         pointer.
5147         (TLS_GD_PREFIX): New.
5148         (TLS_GD): Use it.
5149
5150 2012-05-11  David S. Miller  <davem@davemloft.net>
5151
5152         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5153         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5154         (_FPU_SETCW): Likewise.
5155
5156 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5157
5158         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5159         is 32-byte aligned.
5160
5161 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
5162
5163         [BZ #11837]
5164         * iconvdata/gb18030.c: Update tables.
5165         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
5166         characters specially.
5167         (BODY for TO_LOOP): Add encoding of missing ranges.
5168
5169 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
5170
5171         [BZ #13673]
5172         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5173         * sysdeps/mach/hurd/dup3.c: Likewise.
5174         * sysdeps/mach/hurd/readlinkat.c: Likewise.
5175         * sysdeps/powerpc/memmove.c:: Likewise.
5176
5177 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5178
5179         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5180         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5181
5182 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5183
5184         * elf/elf.h (R_X86_64_RELATIVE64): New.
5185         (R_X86_64_NUM): Updated.
5186         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5187         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
5188         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5189         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5190         tst-quad1pie tst-quad2pie
5191         (modules-names): Add tst-quadmod1 tst-quadmod2.
5192         ($(objpfx)tst-quad1): New dependency.
5193         ($(objpfx)tst-quad2): Likewise.
5194         ($(objpfx)tst-quad1pie): Likewise.
5195         ($(objpfx)tst-quad2pie): Likewise.
5196         * sysdeps/x86_64/tst-quad1.c: New file.
5197         * sysdeps/x86_64/tst-quad1pie.c: New file.
5198         * sysdeps/x86_64/tst-quad2.c: Likewise.
5199         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5200         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5201         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5202         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5203         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5204
5205 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5206
5207         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5208         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5209         * streams/stropts.h (t_scalar_t): Define type.
5210
5211         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5212         (_PATH_PRESERVE): Set to "/var/lib".
5213         (_PATH_RWHODIR): Set to "/var/spool/rwho".
5214
5215         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5216         instead of int.
5217
5218         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5219         if __dir_mkfile succeeded.
5220
5221         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5222         checking for _hurd_dtablesize.  Unlock it right after having
5223         finished _hurd_dtable allocation.
5224
5225 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5226
5227         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5228         * sysdeps/mach/hurd/configure: Regenerated.
5229         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5230         special-casing to...
5231         * sysdeps/gnu/configure.in: ... this new file.
5232         * sysdeps/unix/sysv/linux/configure: Regenerated.
5233         * sysdeps/gnu/configure: New generated file.
5234
5235         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5236         for Linux: use nsec instead of usec, as well as:
5237         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5238         members of type struct timespec.
5239         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5240         New macros.
5241         (struct stat64): Likewise.
5242         (_STATBUF_ST_NSEC): New macro.
5243         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5244
5245         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5246         __strtoul_internal rather than strtoul.
5247
5248 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5249
5250         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5251         and reject them.
5252
5253 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5254
5255         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5256         which preserves existing values.
5257         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5258
5259 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5260
5261         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5262         TIMEOUT values.  Return EINVAL for NFDS values either negative or
5263         greater than FD_SETSIZE.
5264
5265 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5266
5267         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5268         allocated, call __vm_protect to finish enabling the existing space, and
5269         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5270         allocate the remainder.
5271
5272 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5273
5274         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5275         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
5276
5277 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5278
5279         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5280         sysdeps/mach/hurd/readlink.c.
5281
5282         * posix/tst-sysconf.c (posix_options): Only use
5283         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5284         _POSIX_SYNCHRONIZED_IO when they are defined
5285         * sysdeps/mach/hurd/bits/posix_opt.h:
5286         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5287         (_XOPEN_REALTIME): Undefine macro.
5288         (_XOPEN_REALTIME_THREADS): Undefine macro.
5289         (_XOPEN_SHM): Undefine macro.
5290         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5291         macro to -1.
5292         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5293         macro to -1.
5294         (_POSIX_ASYNC_IO): Undefine macro.
5295         (_POSIX_PRIORITIZED_IO): Undefine macro.
5296         (_POSIX_SPIN_LOCKS): Define macro to -1.
5297
5298         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5299         SA_NODEFER, SA_RESETHAND.
5300         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5301         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5302         F_DUPFD_CLOEXEC.
5303
5304 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5305
5306         * elf/Makefile (pldd-modules): Define unconditionally.
5307
5308 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5309
5310         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5311
5312 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5313
5314         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5315         Return ENOENT when name is empty.
5316         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5317
5318 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5319
5320         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5321
5322         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5323
5324 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5325
5326         Fix mlock in all cases except non-readable pages.
5327         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5328         instead of VM_PROT_ALL as parameter to __vm_wire function.
5329
5330         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5331         (__mkdir): When path is `/', just fail with EEXIST.
5332         * sysdeps/mach/hurd/mkdirat.c: Likewise.
5333
5334 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5335
5336         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5337         <sys/uio.h> (for writev).
5338         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5339         and <sys/param.h> (for MIN).
5340
5341 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5342
5343         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5344         REQUESTED_TIME.  Properly set the remaining time and return EINTR
5345         if interrupted.
5346
5347 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5348
5349         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5350         Depend on against $(link-rpcuserlibs).
5351
5352 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5353
5354         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5355         (__libc_stack_end): Do not use attribute_relro.
5356         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5357         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5358         to libthread-provided value.
5359         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5360         attribute_relro.
5361
5362 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5363
5364         [BZ #3748]
5365         * bits/libc-lock.h (__libc_once_get): New macro.
5366         * sysdeps/mach/bits/libc-lock.h: Likewise.
5367         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5368         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5369         instead of using implementation details.
5370
5371         * libio/fileops.c: Unconditionally include <kernel-features.h>.
5372         * libio/freopen.c: Likewise.
5373         * libio/freopen64.c: Likewise.
5374         * misc/syslog.c: Likewise.
5375         * nscd/connections.c: Likewise.
5376         * nscd/netgroupcache.c: Likewise.
5377         * sysdeps/posix/getcwd.c: Likewise.
5378
5379 2012-05-10  Roland McGrath  <roland@hack.frob.com>
5380
5381         * math/w_ilogbf.c: Add #include <limits.h>.
5382
5383 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5384
5385         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5386         path instead of returning without unlocking.
5387
5388         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5389         immediate-write ioctls.
5390         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5391
5392 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5393
5394         * sysdeps/mach/hurd/i386/init-first.c (init): Use
5395         __builtin_frame_address instead of making assumptions about the
5396         location of the return address relative to DATA.  Force early load of
5397         the return address.
5398         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5399         __builtin_frame_address.
5400
5401         dup3 for GNU Hurd.
5402         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5403         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
5404         implement dup3 and do some further code clean-ups.
5405         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5406         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5407
5408 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5409
5410         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5411
5412         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5413         HURD_CRITICAL_END around holding _hurd_dtable_lock.
5414         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5415         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5416         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5417         d->port.lock.
5418
5419         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5420         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
5421         when handler == SIG_ERR, not when handler != SIG_ERR.
5422
5423 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5424
5425         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5426         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5427         definitions.
5428
5429         accept4 for GNU Hurd.
5430         * include/sys/socket.h (__libc_accept4): New prototype.
5431         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
5432         to implement __libc_accept4.
5433         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5434         __libc_accept4.
5435         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5436
5437         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5438         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5439         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5440         signal-defines.sym.
5441
5442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5443
5444         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5445
5446 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
5447
5448         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5449         assertion on O_CLOEXEC flag.
5450         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5451         * hurd/intern-fd.c: Likewise.
5452         * hurd/port2fd.c: Likewise.
5453
5454 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5455
5456         [BZ #3906]
5457         * bits/in.h (IPV6_PKTINFO): Define new macro.
5458         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5459
5460 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5461
5462         [BZ #13954]
5463         [BZ #13955]
5464         [BZ #13956]
5465         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5466         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5467         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5468         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5469         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5470         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5471         * math/libm-test.inc (logb_test) : Additional logb tests.
5472
5473 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
5474             Andreas Jaeger  <aj@suse.de>
5475
5476         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5477         * configure: Regenerated.
5478         * config.h.in (LINK_OBSOLETE_RPC): New macro.
5479         * config.make.in (link-obsolete-rpc): New substituted variable.
5480         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5481         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5482         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5483         (shared-only-routines): Don't set it under [link-obsolete-rpc],
5484         so that libc.a contains the symbols.
5485         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5486         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5487         * sunrpc/auth_none.c: Likewise.
5488         * sunrpc/auth_unix.c: Likewise.
5489         * sunrpc/authdes_prot.c: Likewise.
5490         * sunrpc/authuxprot.c: Likewise.
5491         * sunrpc/clnt_gen.c: Likewise.
5492         * sunrpc/clnt_perr.c: Likewise.
5493         * sunrpc/clnt_raw.c: Likewise.
5494         * sunrpc/clnt_simp.c: Likewise.
5495         * sunrpc/clnt_tcp.c: Likewise.
5496         * sunrpc/clnt_udp.c: Likewise.
5497         * sunrpc/clnt_unix.c: Likewise.
5498         * sunrpc/des_crypt.c: Likewise.
5499         * sunrpc/des_soft.c: Likewise.
5500         * sunrpc/get_myaddr.c: Likewise.
5501         * sunrpc/key_call.c: Likewise.
5502         * sunrpc/key_prot.c: Likewise.
5503         * sunrpc/netname.c: Likewise.
5504         * sunrpc/pm_getmaps.c: Likewise.
5505         * sunrpc/pm_getport.c: Likewise.
5506         * sunrpc/pmap_clnt.c: Likewise.
5507         * sunrpc/pmap_prot.c: Likewise.
5508         * sunrpc/pmap_prot2.c: Likewise.
5509         * sunrpc/pmap_rmt.c: Likewise.
5510         * sunrpc/publickey.c: Likewise.
5511         * sunrpc/rpc_cmsg.c: Likewise.
5512         * sunrpc/rpc_common.c: Likewise.
5513         * sunrpc/rpc_dtable.c: Likewise.
5514         * sunrpc/rpc_prot.c: Likewise.
5515         * sunrpc/rpc_thread.c: Likewise.
5516         * sunrpc/rtime.c: Likewise.
5517         * sunrpc/svc.c: Likewise.
5518         * sunrpc/svc_auth.c: Likewise.
5519         * sunrpc/svc_raw.c: Likewise.
5520         * sunrpc/svc_run.c: Likewise.
5521         * sunrpc/svc_tcp.c: Likewise.
5522         * sunrpc/svc_udp.c: Likewise.
5523         * sunrpc/svc_unix.c: Likewise.
5524         * sunrpc/svcauth_des.c: Likewise.
5525         * sunrpc/xcrypt.c: Likewise.
5526         * sunrpc/xdr.c: Likewise.
5527         * sunrpc/xdr_array.c: Likewise.
5528         * sunrpc/xdr_float.c: Likewise.
5529         * sunrpc/xdr_intXX_t.c: Likewise.
5530         * sunrpc/xdr_mem.c: Likewise.
5531         * sunrpc/xdr_rec.c: Likewise.
5532         * sunrpc/xdr_ref.c: Likewise.
5533         * sunrpc/xdr_sizeof.c: Likewise.
5534         * sunrpc/xdr_stdio.c: Likewise.
5535
5536 2012-05-10  Roland McGrath  <roland@hack.frob.com>
5537
5538         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5539         change.  Update copyright years.
5540
5541 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
5542
5543         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5544
5545 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
5546             Joseph Myers  <joseph@codesourcery.com>
5547             Paul Pluzhnikov  <ppluzhnikov@google.com>
5548
5549         [BZ #14012]
5550         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5551         requiring rpcgen.
5552         [cross-compiling] (extra-libs): Likewise.
5553         [cross-compiling] (extra-libs-others): Likewise.
5554         [cross-compiling] (librpcsvc-routines): Likewise.
5555         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5556         [cross-compiling] (omit-deps): Likewise.
5557         (sunrpc-CPPFLAGS): New variable.
5558         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5559         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5560         (cross-rpcgen-objs): New variable.
5561         (extra-objs): Append $(cross-rpcgen-objs).
5562         ($(cross-rpcgen-objs)): New rule.
5563         ($(objpfx)cross-rpcgen): Likewise.
5564         (rpcgen-cmd): Define to use $(built-program-file).  Expand
5565         comment.
5566         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5567         ($(objpfx)x%.stmp): Likewise.
5568         * sunrpc/proto.h [IS_IN_build] (_): Define.
5569         [IS_IN_build] (_libc_intl_domainname): Likewise.
5570
5571 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
5572
5573         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5574         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5575         and R_X86_64_TPOFF64.
5576
5577 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
5578
5579         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5580         sysdeps/unix/sysv/syscalls.list.
5581         (stime): Likewise.
5582         (utime): Likewise.
5583         * sysdeps/unix/sysv/syscalls.list: Remove file.
5584
5585 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
5586
5587         [BZ #3440]
5588         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5589         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5590         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5591         (__LC_IDENTIFICATION): Make these macros useful in #if
5592         expressions, as required by C99.
5593
5594 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
5595
5596         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5597         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
5598         after this.
5599
5600 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
5601
5602         * stdlib/longlong.h: Updated from GCC.
5603
5604 2012-05-09  Andreas Jaeger  <aj@suse.de>
5605
5606         * nscd/nscd.c (run_modes): Make named enum, reorder so that
5607         default is first entry.
5608         (run_mode): Set type.
5609         (main): Remove informal message about syslog.
5610         (options): Fix typo.
5611
5612         [BZ #14053]
5613         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5614         to asm.
5615         (lrint): Likewise.
5616         (llrintf): Likewise.
5617         (llrint): Likewise.
5618         (rint): Likewise.
5619         (rintf): Likewise.
5620         (nearbyint): Likewise.
5621         (nearbyintf): Likewise.
5622
5623 2012-05-09  Andreas Jaeger  <aj@suse.de>
5624             Pedro Alves  <palves@redhat.com>
5625
5626         * nscd/nscd.c (run_mode): Use enum.
5627         (main): Cleanup coding style issue.
5628
5629 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
5630             Andreas Jaeger  <aj@suse.de>
5631
5632         * nscd/nscd.c (go_background): Replaced with...
5633         (run_mode): ... this.
5634         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5635         (options): Add -F --foreground.
5636         (main): Implement it.
5637         (parse_opt): Parse it.
5638
5639 2012-05-09  Andreas Jaeger  <aj@suse.de>
5640
5641         [BZ #14083]
5642         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5643         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5644         -Wconversion warning.
5645         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5646         Likewise.
5647
5648 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
5649
5650         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
5651         == 0.
5652         (LC_ALL): Use macro-int-constant.
5653         (LC_COLLATE): Likewise.
5654         (LC_CTYPE): Likewise.
5655         (LC_MESSAGES): Likewise.
5656         (LC_MONETARY): Likewise.
5657         (LC_NUMERIC): Likewise.
5658         (LC_TIME): Likewise.
5659         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5660         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5661         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5662         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5663         Specify type.
5664         [C99-based standards] (float_t): Expect type.
5665         [C99-based standards] (double_t): Expect type.
5666         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
5667         type.
5668         [C99-based standards] (HUGE_VALL): Likewise.
5669         [C99-based standards] (INFINITY): Likewise.
5670         [C99-based standards] (NAN): Likewise.
5671         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5672         [C99-based standards] (FP_NAN): Likewise.
5673         [C99-based standards] (FP_NORMAL): Likewise.
5674         [C99-based standards] (FP_SUBNORMAL): Likewise.
5675         [C99-based standards] (FP_ZERO): Likewise.
5676         [C99-based standards] (FP_FAST_FMA): Use
5677         optional-macro-int-constant.  Specify type.  Require == 1.
5678         [C99-based standards] (FP_FAST_FMAF): Likewise.
5679         [C99-based standards] (FP_FAST_FMAL): Likewise.
5680         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5681         [C99-based standards] (FP_ILOGBNAN): Likewise.
5682         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5683         Specify type.
5684         [C99-based standards] (MATH_ERREXCEPT): Likewise.
5685         [C99-based standards] (math_errhandling): Specify type.
5686         [ISO99 || ISO11] (signgam): Do not allow.
5687         [non-C99-based standards] (copysignf): Do not allow.
5688         [non-C99-based standards] (exp2f): Likewise.
5689         [non-C99-based standards] (log2f): Likewise.
5690         [non-C99-based standards] (modff): Allow.
5691         [non-C99-based standards] (erff): Do not allow.
5692         [non-C99-based standards] (erfcf): Likewise.
5693         [non-C99-based standards] (gammaf): Likewise.
5694         [non-C99-based standards] (hypotf): Likewise.
5695         [non-C99-based standards] (j0f): Likewise.
5696         [non-C99-based standards] (j1f): Likewise.
5697         [non-C99-based standards] (jnf): Likewise.
5698         [non-C99-based standards] (lgammaf): Likewise.
5699         [non-C99-based standards] (tgammaf): Likewise.
5700         [non-C99-based standards] (y0f): Likewise.
5701         [non-C99-based standards] (y1f): Likewise.
5702         [non-C99-based standards] (ynf): Likewise.
5703         [non-C99-based standards] (isnanf): Likewise.
5704         [non-C99-based standards] (acoshf): Likewise.
5705         [non-C99-based standards] (asinhf): Likewise.
5706         [non-C99-based standards] (atanhf): Likewise.
5707         [non-C99-based standards] (cbrtf): Likewise.
5708         [non-C99-based standards] (expm1f): Likewise.
5709         [non-C99-based standards] (ilogbf): Likewise.
5710         [non-C99-based standards] (log1pf): Likewise.
5711         [non-C99-based standards] (logbf): Likewise.
5712         [non-C99-based standards] (nextafterf): Likewise.
5713         [non-C99-based standards] (remainderf): Likewise.
5714         [non-C99-based standards] (rintf): Likewise.
5715         [non-C99-based standards] (scalbf): Likewise.
5716         [non-C99-based standards] (copysignl): Likewise.
5717         [non-C99-based standards] (exp2l): Likewise.
5718         [non-C99-based standards] (log2l): Likewise.
5719         [non-C99-based standards] (modfl): Allow.
5720         [non-C99-based standards] (erfl): Do not allow.
5721         [non-C99-based standards] (erfcl): Likewise.
5722         [non-C99-based standards] (gammal): Likewise.
5723         [non-C99-based standards] (hypotl): Likewise.
5724         [non-C99-based standards] (j0l): Likewise.
5725         [non-C99-based standards] (j1l): Likewise.
5726         [non-C99-based standards] (jnl): Likewise.
5727         [non-C99-based standards] (lgammal): Likewise.
5728         [non-C99-based standards] (tgammal): Likewise.
5729         [non-C99-based standards] (y0l): Likewise.
5730         [non-C99-based standards] (y1l): Likewise.
5731         [non-C99-based standards] (ynl): Likewise.
5732         [non-C99-based standards] (isnanl): Likewise.
5733         [non-C99-based standards] (acoshl): Likewise.
5734         [non-C99-based standards] (asinhl): Likewise.
5735         [non-C99-based standards] (atanhl): Likewise.
5736         [non-C99-based standards] (cbrtl): Likewise.
5737         [non-C99-based standards] (expm1l): Likewise.
5738         [non-C99-based standards] (ilogbl): Likewise.
5739         [non-C99-based standards] (log1pl): Likewise.
5740         [non-C99-based standards] (logbl): Likewise.
5741         [non-C99-based standards] (nextafterl): Likewise.
5742         [non-C99-based standards] (remainderl): Likewise.
5743         [non-C99-based standards] (rintl): Likewise.
5744         [non-C99-based standards] (scalbl): Likewise.
5745         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5746         [non-C99-based standards] (FP_*): Do not allow.
5747         [C99-based standards] (FP_*): Change to
5748         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5749         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5750         allow.
5751         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5752         (SIG_ERR): Likewise.
5753         [X/Open-based standards] (SIG_HOLD): Likewise.
5754         (SIG_IGN): Likewise.
5755         (SIGABRT): Use macro-int-constant.  Specify type.  Require
5756         positive value.
5757         (SIGFPE): Likewise.
5758         (SIGILL): Likewise.
5759         (SIGINT): Likewise.
5760         (SIGSEGV): Likewise.
5761         (SIGTER): Likewise.
5762         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5763         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5764         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5765         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5766         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5767         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5768         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5769         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5770         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5771         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5772         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5773         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5774         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5775         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5776         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5777         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5778         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5779         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5780         [X/Open-based standards] (SIGTRAP): Likewise.
5781         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5782         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5783         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5784         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5785         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5786         allow.
5787
5788 2012-05-08  Ian Wienand  <ianw@vmware.com>
5789
5790         [BZ #14080]
5791         * time/tzset.c (__tzset_parse_tz): Update default rules for
5792         daylight time changes in the Energy Policy Act of 2005.
5793
5794 2012-05-09  Andreas Jaeger  <aj@suse.de>
5795
5796         [BZ #13983]
5797         * elf/ldconfig.c (parse_conf): Change string to make clear that
5798         ldconfig only issued a warning if ld.so.conf does not exist.
5799
5800 2012-05-08  David S. Miller  <davem@davemloft.net>
5801
5802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5803         movxtod instead of popping the value on the stack.
5804
5805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5806
5807 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
5808
5809         * config.h.in: Add HAVE_ARM_PCS_VFP.
5810
5811 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
5812
5813         [BZ #13979]
5814         * include/features.h: Warn if user requests __FORTIFY_SOURCE
5815         checking but the checks are disabled for any reason.
5816
5817 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5818
5819         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5820         and ELF64_R_TYPE with ELFW(R_TYPE).
5821
5822 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
5823
5824         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5825         (ulimit): Likewise.
5826
5827         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5828         (settimeofday): Likewise.
5829
5830 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
5831
5832         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
5833         a struct th_u2 inside the union, and move tu_block/tu_code into
5834         a new th_u3 union of tu_block/tu_code inside of that.  Move
5835         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
5836         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
5837         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5838         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5839         (th_stuff): Change to th_u1.tu_stuff.
5840         (th_data): Define.
5841         (th_msg): Change to th_u1.th_u2.tu_data.
5842
5843 2012-05-07  David S. Miller  <davem@davemloft.net>
5844
5845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5846
5847         [BZ #14074]
5848         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5849         (SETUP_PIC_REG): Use it.
5850         (SETUP_PIC_REG_LEAF): Use it.
5851
5852 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
5853
5854         [BZ #13885]
5855         [BZ #13923]
5856         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5857         USE_AS_EXPM1L.
5858         (EXPL_FINITE): Likewise.
5859         (FLDLOG): Likewise.
5860         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5861         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5862         e_expl.S.
5863         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5864         USE_AS_EXPM1L.
5865         (EXPL_FINITE): Likewise.
5866         (FLDLOG): Likewise.
5867         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5868         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5869         e_expl.S.
5870         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
5871         test of -max_value argument for long double.
5872         * sysdeps/i386/fpu/libm-test-ulps: Update.
5873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5874
5875 2012-05-06  David S. Miller  <davem@davemloft.net>
5876
5877         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5878         quad soft-float symbols whose references which are compiler
5879         generated.
5880         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5881
5882 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
5883
5884         [BZ #13884]
5885         [BZ #13914]
5886         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5887         USE_AS_EXP10L.
5888         (EXPL_FINITE): Likewise.
5889         (FLDLOG): Likewise.
5890         (c0): Likewise.
5891         (c1): Likewise.
5892         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
5893         Adjust comments for base varying.
5894         (__expl_finite): Change alias to EXPL_FINITE.
5895         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5896         e_expl.S.
5897         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5898         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5899         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5900         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5901         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5902         USE_AS_EXP10L.
5903         (EXPL_FINITE): Likewise.
5904         (FLDLOG): Likewise.
5905         (c0): Likewise.
5906         (c1): Likewise.
5907         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
5908         Adjust comments for base varying.
5909         (__expl_finite): Change alias to EXPL_FINITE.
5910         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
5911         tests for bugs.
5912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5913
5914         [BZ #14064]
5915         * math/libm-test.inc (check_float_internal): Correct ulp
5916         calculation for subnormal expected results.
5917
5918 2012-05-06  Andreas Jaeger  <aj@suse.de>
5919
5920         * Makeconfig (+math-flags): New, set to -frounding-math.
5921         (+cflags): Add +math-flags so that all of glibc gets compiled with
5922         it.
5923
5924         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5925
5926 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
5927
5928         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5929         Disable one test.
5930
5931         [BZ #13787]
5932         [BZ #13922]
5933         [BZ #14036]
5934         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5935         (__ieee754_expl): Allow for and saturate large arguments.
5936         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5937         (u_threshold): Likewise.
5938         (__exp): Call __ieee754_exp before checking for overflow and
5939         underflow.
5940         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5941         (u_threshold): Likewise.
5942         (__expf): Call __ieee754_expf before checking for overflow and
5943         underflow.
5944         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5945         (u_threshold): Likewise.
5946         (__expl): Call __ieee754_expl before checking for overflow and
5947         underflow.
5948         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5949         (__ieee754_expl): Allow for and saturate large arguments.
5950         * math/libm-test.inc (exp_test): Add another test.  Do not allow
5951         missing overflow exception on overflow.
5952         (expm1_test): Do not allow missing overflow exception on overflow.
5953
5954         * sysdeps/i386/fpu/e_expl.c: Move to ...
5955         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
5956         rather than using inline asm.
5957         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5958         * sysdeps/x86_64/fpu/e_expl.S: Copy from
5959         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5960
5961         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5962         (nice): Likewise.
5963         (poll): Likewise.
5964         (signal): Likewise.
5965         (time): Likewise.
5966         (times): Likewise.
5967
5968 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
5969
5970         * sysdeps/unix/syscalls.list (adjtime): Add entry from
5971         sysdeps/unix/common/syscalls.list.
5972         (fchmod): Likewise.
5973         (fchown): Likewise.
5974         (ftruncate): Likewise.
5975         (getrusage): Likewise.
5976         (gettimeofday): Likewise.
5977         (setpgid): Likewise.
5978         (setregid): Likewise.
5979         (setreuid): Likewise.
5980         (sigaction): Likewise.
5981         (truncate): Likewise.
5982         (vhangup): Likewise.
5983         * sysdeps/unix/common/syscalls.list: Remove file.
5984         * sysdeps/unix/bsd/Implies: Don't include unix/common.
5985         * sysdeps/unix/sysv/linux/Implies: Likewise.
5986
5987 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
5988
5989         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5991         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5992         Moved to ...
5993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5994         Here.
5995         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5996         to ...
5997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5998         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5999         to ...
6000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6001         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6002         to ...
6003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6004         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6005         to ...
6006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6007         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6008         to ...
6009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6010         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6011         to ...
6012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6013         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6014         to ...
6015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6016         Here.
6017         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6018         to ...
6019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6020         Here.
6021         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6022         to ...
6023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6024         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6025         Moved to ...
6026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6027         Here.
6028         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6029         to ...
6030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6031
6032 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6033
6034         * sysdeps/unix/common/bits/dirent.h: Remove file.
6035         * sysdeps/unix/common/bits/fcntl.h: Likewise.
6036
6037         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6038         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6039         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6040         * sysdeps/unix/bsd/isatty.c: Likewise.
6041         * sysdeps/unix/bsd/tcdrain.c: Likewise.
6042         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6043         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6044
6045 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6046
6047         [BZ #13563]
6048         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6049         long double comparison inaccuracies.
6050         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6052
6053 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
6054
6055         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6056         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6057
6058 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
6059
6060         [BZ #14049]
6061         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6062         nonzero digits before rounding a hex value.
6063         * stdlib/tst-strtod.c (tests): Add another test.
6064
6065 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6066
6067         * sysdeps/s390/fpu/libm-test-ulps: Update.
6068
6069 2012-05-03  Andreas Jaeger  <aj@suse.de>
6070
6071         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6072         does not get optimized out.
6073         (malloc_opt_barrier): New.
6074
6075 2012-05-03  Andreas Jaeger  <aj@suse.de>
6076             Roland McGrath  <roland@hack.frob.com>
6077
6078         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6079         intermediate file deletion.
6080         (generated): Add .symlist files.
6081
6082 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
6083
6084         [BZ #13775]
6085         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6086         Redirect under this condition.
6087         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6088         [__USE_GNU] (__dprintf_chk): Not under this condition.
6089         [__USE_GNU] (__vdprintf_chk): Likewise.
6090         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6091         under this condition.
6092         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6093         [__USE_XOPEN2K8] (dprintf): Define under this condition.
6094         [__USE_XOPEN2K8] (vdprintf): Likewise.
6095         [__USE_GNU] (__dprintf_chk): Not under this condition.
6096         [__USE_GNU] (__vdprintf_chk): Likewise.
6097         [__USE_GNU] (dprintf): Likewise.
6098         [__USE_GNU] (vdprintf): Likewise.
6099
6100 2012-05-03  Roland McGrath  <roland@hack.frob.com>
6101
6102         * elf/Makefile (common-generated): Set this instead of generated for
6103         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
6104         $(all-built-dso)-derived lists.
6105
6106 2012-05-03  Andreas Jaeger  <aj@suse.de>
6107
6108         * sysdeps/i386/fpu/libm-test-ulps: Update.
6109
6110         * FAQ: Removed.
6111         * FAQ.in: Likewise.
6112         * scripts/gen-FAQ.pl: Likewise.
6113         * manual/install.texi (Installation): Point to online location of
6114         FAQ.
6115         * Makefile (files-for-dist): Remove FAQ.
6116         (FAQ): Remove.
6117
6118 2012-05-02  Allan McRae  <allan@archlinux.org>
6119
6120         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6121         (LDFLAGS-reldepmod5.so): Likewise.
6122         (LDFLAGS-reldep6mod1.so): Likewise.
6123         (LDFLAGS-reldep6mod4.so): Likewise.
6124         (LDFLAGS-reldep8mod3.so): Likewise.
6125         (LDFLAGS-unload4mod1.so): Likewise.
6126         (LDFLAGS-unload4mod2.so): Likewise.
6127         (LDFLAGS-tst-initorder): Likewise.
6128         (LDFLAGS-tst-initordera2.so): Likewise.
6129         (LDFLAGS-tst-initordera3.so): Likewise.
6130         (LDFLAGS-tst-initordera4.so): Likewise.
6131         (LDFLAGS-tst-initorderb2.so): Likewise.
6132         (LDFLAGS-noload): Likewise.
6133         (LDFLAGS-next): Likewise.
6134         (LDFLAGS-order2mod1.so): Likewise.
6135         (LDFLAGS-order2mod2.so): Likewise.
6136         (LDFLAGS-tst-initorder2): Likewise.
6137         (LDFLAGS-tst-initorder2a.so): Likewise.
6138         (LDFLAGS-tst-initorder2b.so): Likewise.
6139         (LDFLAGS-tst-initorder2c.so): Likewise.
6140         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6141
6142 2012-05-02  David S. Miller  <davem@davemloft.net>
6143
6144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6145
6146 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6147
6148         [BZ #14055]
6149         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6150
6151 2012-05-02  Andreas Jaeger  <aj@suse.de>
6152
6153         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6154         since we manipulate rounding mode.
6155         (CPPFLAGS-test-idouble.c): Likewise.
6156         (CPPFLAGS-test-ifloat.c): Likewise.
6157         (CFLAGS-test-ldouble.c): Likewise.
6158         (CFLAGS-test-double.c): Likewise.
6159         (CFLAGS-test-float.c): Likewise.
6160         (CFLAGS-test-misc.c): Likewise.
6161         (CFLAGS-test-test-fenv.c): Likewise.
6162
6163 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6164
6165         [BZ #2550]
6166         [BZ #2570]
6167         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6168         comparisons to determine direction to adjust input.
6169
6170 2012-05-01  Roland McGrath  <roland@hack.frob.com>
6171
6172         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6173         output to the target.
6174
6175         * scripts/localplt.awk: New file.
6176         * elf/Makefile ($(objpfx)check-localplt): Target removed.
6177         (check-localplt-CFLAGS): Variable removed.
6178         ($(all-built-dso:=.jmprel)): New static pattern rule.
6179         (generated): Add those targets.
6180         (localplt-built-dso): New variable.
6181         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6182
6183         * elf/check-localplt.c: File removed.
6184
6185         * scripts/check-execstack.awk: New file.
6186         * elf/Makefile ($(objpfx)check-execstack): Target removed.
6187         (check-execstack-CFLAGS): Variable removed.
6188         ($(objpfx)check-execstack.h): Target removed.
6189         ($(objpfx)execstack-default): New target.
6190         (generated): Add that instead of check-execstack.h.
6191         ($(all-built-dso:=.phdr)): New static pattern rule.
6192         (generated): Add those targets.
6193         * elf/check-execstack.c: File removed.
6194
6195         * scripts/check-textrel.awk: New file.
6196         * elf/Makefile ($(objpfx)check-textrel): Target removed.
6197         (check-textrel-CFLAGS): Variable removed.
6198         (all-built-dso): Use := to define.o
6199         ($(all-built-dso:=.dyn)): New static pattern rule.
6200         (generated): Add those targets.
6201         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6202         * config.make.in (READELF): New substituted variable.
6203         * elf/check-textrel.c: File removed.
6204
6205 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
6206
6207         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6208         allow.
6209         * conform/data/ctype.h-data [C99-based standards] (isblank):
6210         Expect function.
6211         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6212         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6213         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6214         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6215         Specify type.  Require positive value.
6216         (EILSEQ): Likewise.
6217         (ERANGE): Likewise.
6218         [ISO || POSIX] (EILSEQ): Do not expect.
6219         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6220         Specify type.  Require positive value.
6221         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6222         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6223         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6224         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6225         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6226         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6227         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6228         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6229         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6230         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6231         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6232         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6233         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6234         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6235         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6236         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6237         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6238         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6239         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6240         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6241         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6242         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6243         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6244         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6245         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6246         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6247         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6248         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6249         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6250         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6251         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6252         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6253         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6254         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6255         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6256         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6257         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6258         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6259         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6260         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6261         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6262         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6263         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6264         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6265         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6266         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6267         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6268         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6269         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6270         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6271         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6272         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6273         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6274         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6275         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6276         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6277         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6278         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6279         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6280         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6281         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6282         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6283         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6284         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6285         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6286         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6287         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6288         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6289         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6290         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6291         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6292         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6293         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6294         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6295         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6296         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6297         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6298         Require >= 2.
6299         (FLT_ROUNDS): Expect as macro, not constant.
6300         (FLT_MANT_DIG): Use macro-int-constant.
6301         (DBL_MANT_DIG): Likewise.
6302         (LDBL_MANT_DIG): Likewise.
6303         (FLT_DIG): Likewise.
6304         (DBL_DIG): Likewise.
6305         (LDBL_DIG): Likewise.
6306         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
6307         (DBL_MIN_EXP): Likewise.
6308         (LDBL_MIN_EXP): Likewise.
6309         (FLT_MAX_EXP): Use macro-int-constant.
6310         (DBL_MAX_EXP): Likewise.
6311         (LDBL_MAX_EXP): Likewise.
6312         (FLT_MAX_10_EXP): Likewise.
6313         (DBL_MAX_10_EXP): Likewise.
6314         (LDBL_MAX_10_EXP): Likewise.
6315         (FLT_MAX): Use macro-constant.
6316         (DBL_MAX): Likewise.
6317         (LDBL_MAX): Likewise.
6318         (FLT_EPSILON): Use macro-constant.  Give upper bound.
6319         (DBL_EPSILON): Likewise.
6320         (LDBL_EPSILON): Likewise.
6321         (FLT_MIN): Likewise.
6322         (DBL_MIN): Likewise.
6323         (LDBL_MIN): Likewise.
6324         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6325         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6326         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6327         [ISO11] (FLT_HAS_SUBNORM): Likewise.
6328         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6329         [ISO11] (DBL_DECIMAL_DIG): Likewise.
6330         [ISO11] (FLT_DECIMAL_DIG): Likewise.
6331         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6332         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6333         [ISO11] (FLT_TRUE_MIN): Likewise.
6334         [ISO11] (LDBL_TRUE_MIN): Likewise.
6335         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6336         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6337         (SCHAR_MIN): Use macro-int-constant.  Specify type.
6338         (SCHAR_MAX): Likewise.
6339         (UCHAR_MAX): Likewise.
6340         (CHAR_MIN): Likewise.
6341         (CHAR_MAX): Likewise.
6342         (MB_LEN_MAX): Use macro-int-constant.
6343         (SHRT_MIN): Use macro-int-constant.  Specify type.
6344         (SHRT_MAX): Likewise.
6345         (USHRT_MAX): Likewise.
6346         (INT_MAX): Likewise.
6347         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
6348         bound negative.
6349         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6350         bound with "U".
6351         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6352         bound with "L".
6353         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
6354         bound negative.  Suffix upper bound with "L".
6355         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
6356         bound with "UL".
6357         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6358         Specify type.
6359         [C99-based standards] (LLONG_MAX): Likewise.
6360         [C99-based standards] (ULLONG_MAX): Likewise.
6361         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
6362         == 0.
6363         [ISO11] (max_align_t): Require type.
6364         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6365
6366         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6367         from $CFLAGS, without defining away __attribute__ calls.
6368         (checknamespace): Use $CFLAGS_namespace.
6369
6370         * conform/conformtest.pl (@keywords): Only include C99 keywords
6371         for standards based on C99 or C11.
6372
6373         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6374         Disable tests.
6375         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6376         UNIX98]: Likewise.
6377
6378         * conform/conformtest.pl: Handle "macro-int-constant" and test for
6379         usability of symbols in #if.
6380
6381         * conform/conformtest.pl: If macro or constant types start
6382         "promoted:", expect the symbol to be of the following type
6383         promoted by the integer promotions.
6384
6385         * conform/conformtest.pl: Parse all "constant" and "macro" lines
6386         in one place.  Also handle "macro-constant".
6387
6388         * conform/conformtest.pl: Only accept expected macro values with
6389         "==".  Parse all "macro" lines in one place.
6390         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6391
6392         * conform/conformtest.pl: Handle braced types on "constant" lines
6393         instead of handling "typed-constant".
6394         * conform/data/signal.h-data: Use "constant" instead of
6395         "typed-constant".
6396
6397         * conform/conformtest.pl: Handle "optional-" at start of lines in
6398         one place rather than duplicating several cases.  Handle each
6399         format of "macro" line with initial "optional-".
6400
6401         * conform/conformtest.pl: Only accept expected constant or
6402         optional-constant values with "==".  Parse all "constant" lines in
6403         one place.  Parse all "optional-constant" lines in one place.
6404         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6405         * conform/data/fmtmsg.h-data: Likewise.
6406         * conform/data/netinet/in.h-data: Likewise.
6407         * conform/data/tar.h-data: Likewise.
6408         * conform/data/limits.h-data: Use "==" form on "constant" and
6409         "optional-constant" lines.
6410
6411         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6412         Use -std=c99 for XOPEN2K.
6413         (@knownproblems): Remove.
6414         (newtoken): Don't check %isknown.
6415
6416         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6417         Do not expect macro.
6418         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6419         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6420         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6421         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6422         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6423         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6424         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6425         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6426         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6427         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6428         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6429         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6430         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6431         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6432         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6433         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6434         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6435         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6436         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6437         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6438         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6439         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6440         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6441         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6442         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6443         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6444         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6445         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6446         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6447         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6448         [XPG3] (acosh): Likewise.
6449         [XPG3] (asinh): Likewise.
6450         [XPG3] (atanh): Likewise.
6451         [XPG3] (cbrt): Likewise.
6452         [XPG3] (expm1): Likewise.
6453         [XPG3] (ilogb): Likewise.
6454         [XPG3] (log1p): Likewise.
6455         [XPG3] (logb): Likewise.
6456         [XPG3] (nextafter): Likewise.
6457         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6458         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6459         [XPG3] (remainder): Likewise.
6460         [XPG3] (rint): Likewise.
6461         [XPG3 || XPG4 || UNIX98] (round): Likewise.
6462         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6463         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6464         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6465         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6466         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6467         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6468         [UNIX98 || XOPEN2K] (scalb): Expect.
6469         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6470         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6471         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6472         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6473         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6474         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6475         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6476         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6477         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6478         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6479         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6480         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6481         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6482         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6483         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6484         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6485         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6486         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6487         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6488         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6489         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6490         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6491         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6492         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6493         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6494         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6495         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6496         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6497         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6498         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6499         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6500         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6501         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6502         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6503         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6504         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6505         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6506         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6507         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6508         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6509         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6510         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6511         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6512         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6513         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6514         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6515         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6516         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6517         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6518         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6519         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6520         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6521         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6522         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6523         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6524         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6525         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6526         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6527         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6528         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6529         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6530         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6531         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6532         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6533         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6534         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6535         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6536         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6537         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6538         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6539         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6540         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6541         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6542         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6543         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6544         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6545         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6546         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6547         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6548         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6549         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6550         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6551         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6552         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6553         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6554         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6555         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6556         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6557         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6558         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6559         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6560         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6561         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6562         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6563         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6564         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6565         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6566         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6567         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6568         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6569         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6570         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6571         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6572         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6573         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6574         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6575         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6576         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6577         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6578         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6579         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6580         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6581         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6582         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6583         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6584         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6585         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6586         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6587         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6588         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6589         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6590         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6591         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6592         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6593         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6594         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6595         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6596         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6597         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6598         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6599         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6600         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6601         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6602         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6603         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6604         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6605         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6606
6607         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6608         _XOPEN_SOURCE_EXTENDED for XPG4.
6609
6610         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6611
6612         * Makeconfig (localtime): Remove variable.
6613         (inst_localtime-file): Likewise.
6614
6615 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6616
6617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6618         Update.
6619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6620         Update.
6621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6622         Update.
6623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6624         Update.
6625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6626         Update.
6627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6628         Update.
6629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6630         Update.
6631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6632         Update.
6633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6634         Update.
6635
6636 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
6637
6638         [BZ #2550]
6639         [BZ #2570]
6640         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6641         comparisons to determine direction to adjust input.
6642         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6643         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6644         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6645         Likewise.
6646         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6647         Likewise.
6648         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6649         Likewise.
6650         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6651         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6652         Likewise.
6653         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6654         Likewise.
6655         * math/libm-test.inc (nexttoward_test): Add more tests.
6656
6657 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6658
6659         [BZ #14040]
6660         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6661         in version GLIBC_2.1, not GLIBC_2.0.
6662         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6663         Likewise.
6664
6665 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
6666
6667         [BZ #13942]
6668         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6669         (1 - x) * (1 + x).
6670         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6671         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6672         * math/libm-test.inc (acos_test): Add more tests.
6673         (asin_test): Likewise.
6674         * sysdeps/i386/fpu/libm-test-ulps: Update.
6675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6676
6677         [BZ #14034]
6678         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6679         of square root.
6680         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6681         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6682         * math/libm-test.inc (acos_test_tonearest): New function.
6683         (acos_test_towardzero): Likewise.
6684         (acos_test_downward): Likewise.
6685         (acos_test_upward): Likewise.
6686         (asin_test_tonearest): Likewise.
6687         (asin_test_towardzero): Likewise.
6688         (asin_test_downward): Likewise.
6689         (asin_test_upward): Likewise.
6690         (main): Call the new functions.
6691         * sysdeps/i386/fpu/libm-test-ulps: Update.
6692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6693
6694         [BZ #13884]
6695         [BZ #13924]
6696         * math/e_exp10.c: Include <float.h>.
6697         (__ieee754_exp10): Handle underflow here rather than multiplying
6698         large negative argument by M_LN10.
6699         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6700         of __ieee754_expf.
6701         * math/e_exp10l.c: Include <float.h>.
6702         (__ieee754_exp10l): Handle underflow here rather than multiplying
6703         large negative argument by M_LN10l.
6704         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
6705         spurious overflow exception on underflow.
6706
6707 2012-04-29  Marek Polacek  <polacek@redhat.com>
6708
6709         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6710         (__fortify_function): New macro.
6711         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6712         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6713         __extern_always_inline.
6714         * libio/bits/stdio2.h: Likewise.
6715         * libio/bits/stdio.h: Likewise.
6716         * string/string.h: Likewise.
6717         * string/bits/string3.h: Likewise.
6718         * include/stdio.h: Likewise.
6719         * stdlib/bits/stdlib.h: Likewise.
6720         * stdlib/stdlib.h: Likewise.
6721         * rt/bits/mqueue2.h: Likewise.
6722         * rt/mqueue.h: Likewise.
6723         * posix/bits/unistd.h: Likewise.
6724         * posix/unistd.h: Likewise.
6725         * io/bits/poll2.h: Likewise.
6726         * io/bits/fcntl2.h: Likewise.
6727         * io/fcntl.h: Likewise.
6728         * io/sys/poll.h: Likewise.
6729         * misc/bits/syslog.h: Likewise.
6730         * misc/bits/syslog-ldbl.h: Likewise.
6731         * misc/sys/syslog.h: Likewise.
6732         * socket/bits/socket2.h: Likewise.
6733         * socket/sys/socket.h: Likewise.
6734         * debug/tst-chk1.c: Likewise.
6735         * wcsmbs/bits/wchar2.h: Likewise.
6736         * wcsmbs/bits/wchar-ldbl.h: Likewise.
6737         * wcsmbs/wchar.h: Likewise.
6738
6739 2012-04-29  Andreas Jaeger  <aj@suse.de>
6740
6741         * Makerules (tests): Remove enable-check-abi protection.
6742         (check-abi-warn): Remove.
6743         (check-abi-%): Remove check-abi-warn usage.
6744
6745         * configure.in: Remove check-abi configure option.
6746         * configure: Regenerated.
6747         * config.make.in (enable-check-abi): Remove.
6748
6749 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
6750
6751         [BZ #14033]
6752         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6753         double functions to double *_finite functions.
6754
6755         [BZ #13941]
6756         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6757         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6758         LDBL_MIN_EXP.
6759         * stdio-common/Makefile (tests): Add tst-sprintf3.
6760         * stdio-common/tst-sprintf3.c: New file.
6761
6762         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6763         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6764
6765 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
6766
6767         * conform/conformtest.pl: Remove duplicate typed-constant
6768         handling.
6769
6770 2012-04-28  David S. Miller  <davem@davemloft.net>
6771
6772         * Makerules (%.abilist): Add vpath on sysdep_dirs.
6773         (check-abi-%): Remove AWK script prerequisite and explicit
6774         abilist directory.
6775         (check-abi): Rewrite to just diff the symlist with the abilist.
6776         (config-tls, config-abi-config): Delete, no longer used.
6777         (update-abi-%): Remove AWK script and explicit abilist directory.
6778         (update-abi): Rewrite to simply compare and conditionally copy the
6779         symlist and the sysdep abilist file.  Remove update-abi-config
6780         checks.
6781         * abilist/ld.abilist: Remove.
6782         * abilist/libBrokenLocale.abilist: Remove.
6783         * abilist/libanl.abilist: Remove.
6784         * abilist/libcrypt.abilist: Remove.
6785         * abilist/libdl.abilist: Remove.
6786         * abilist/librt.abilist: Remove.
6787         * abilist/libthread_db.abilist: Remove.
6788         * abilist/libutil.abilist: Remove.
6789         * scripts/extract-abilist.awk: Remove.
6790         * scripts/merge-abilist.awk: Remove.
6791         * sysdeps/generic/libcidn.abilist: New file.
6792         * sysdeps/generic/libnss_compat.abilist: New file.
6793         * sysdeps/generic/libnss_db.abilist: New file.
6794         * sysdeps/generic/libnss_dns.abilist: New file.
6795         * sysdeps/generic/libnss_files.abilist: New file.
6796         * sysdeps/generic/libnss_hesiod.abilist: New file.
6797         * sysdeps/generic/libnss_nis.abilist: New file.
6798         * sysdeps/generic/libnss_nisplus.abilist: New file.
6799         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6800         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6801         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6802         file.
6803         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6804         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6805         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6806         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6807         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6808         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6809         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6810         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6811         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6812         file.
6813         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6814         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6815         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6816         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6817         file.
6818         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6819         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6820         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6821         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6822         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6823         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6824         file.
6825         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6826         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6827         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6828         file.
6829         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6830         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6831         New file.
6832         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6833         New file.
6834         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6835         New file.
6836         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6837         New file.
6838         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6839         New file.
6840         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6841         New file.
6842         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6843         New file.
6844         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6845         New file.
6846         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6847         New file.
6848         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6849         New file.
6850         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6851         New file.
6852         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6853         New file.
6854         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6855         New file.
6856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6857         file.
6858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6859         New file.
6860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6861         New file.
6862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6863         file.
6864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6865         New file.
6866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6867         New file.
6868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6869         file.
6870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6871         New file.
6872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6873         New file.
6874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6875         New file.
6876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6877         New file.
6878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6879         New file.
6880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6881         New file.
6882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6884         file.
6885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6886         New file.
6887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6888         file.
6889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6890         file.
6891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6892         file.
6893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6894         file.
6895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6896         file.
6897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6898         New file.
6899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6900         file.
6901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6902         file.
6903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6904         New file.
6905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6906         file.
6907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6909         file.
6910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6911         New file.
6912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6913         file.
6914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6915         file.
6916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6917         file.
6918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6919         file.
6920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6921         file.
6922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6923         New file.
6924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6925         file.
6926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6927         file.
6928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6929         New file.
6930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6931         file.
6932         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6933         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6934         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6935         file.
6936         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6937         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6938         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6939         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6940         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6941         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6942         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6943         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6944         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6945         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6948         file.
6949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6950         New file.
6951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6952         file.
6953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6954         file.
6955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6956         file.
6957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6958         file.
6959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6960         file.
6961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6962         New file.
6963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6964         New file.
6965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6966         file.
6967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6968         New file.
6969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6970         file.
6971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6973         file.
6974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6975         New file.
6976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6977         file.
6978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6979         file.
6980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6981         file.
6982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6983         file.
6984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6985         file.
6986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6987         New file.
6988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6989         New file.
6990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6991         file.
6992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6993         New file.
6994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6995         file.
6996
6997 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
6998
6999         * conform/conformtest.pl: Fix typo in handling typed-constant from
7000         allow-header.
7001
7002 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7003
7004         * README: Cut down references to pre-2.6 Linux kernels and
7005         Linuxthreads.  Update lists of configurations in libc and ports
7006         and sort alphabetically.  Say "or newer" with Linux kernel version
7007         requirements.
7008
7009         * config.h.in [IS_IN_build]: Allow compiling without optimization.
7010
7011 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7012
7013         [BZ #887]
7014         * math/libm-test.inc (logb_test_downward): New test to expose
7015         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7016         rounding mode.
7017
7018 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
7019
7020         [BZ #14027]
7021         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7022         to be done.
7023         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7024         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7025
7026 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
7027
7028         * sysdeps/unix/i386/brk.S: Remove file.
7029         * sysdeps/unix/i386/dl-brk.S: Likewise.
7030         * sysdeps/unix/i386/pipe.S: Likewise.
7031         * sysdeps/unix/i386/sigreturn.S: Likewise.
7032         * sysdeps/unix/i386/syscall.S: Likewise.
7033         * sysdeps/unix/i386/vfork.S: Likewise.
7034         * sysdeps/unix/i386/wait.S: Likewise.
7035
7036         * sysdeps/unix/common/tcsendbrk.c: Move to ...
7037         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7038
7039         * configure.in (arm*-none*): Do not allow without
7040         --enable-hacker-mode.
7041         (netbsd*): Remove case setting base_os.
7042         (386bsd*): Likewise.
7043         (freebsd*): Likewise.
7044         (bsdi*): Likewise.
7045         (osf*): Likewise.
7046         (sunos*): Likewise.
7047         (ultrix*): Likewise.
7048         (newsos*): Likewise.
7049         (dynix*): Likewise.
7050         (*bsd*): Likewise.
7051         (sysv*): Likewise.
7052         (isc*): Likewise.
7053         (esix*): Likewise.
7054         (sco*): Likewise.
7055         (minix*): Likewise.
7056         (irix4*): Likewise.
7057         (irix6*): Likewise.
7058         (solaris[2-9]*): Likewise.
7059         (none): Likewise.
7060         * configure: Regenerated.
7061
7062 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7063
7064         [BZ #11521]
7065         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7066         overflow or cancellation in calculating denominator.
7067         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7068         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7069         down expression to avoid unexpected rounding in newer GCCs.
7070         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7071
7072 2012-04-26  David S. Miller  <davem@davemloft.net>
7073
7074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7075         long-double compat symbols.
7076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7089
7090 2012-04-25  David S. Miller  <davem@davemloft.net>
7091
7092         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7093         HWCAP_* values only after the memory barriers have been defined.
7094         (atomic_full_barrier): Define.
7095         (atomic_read_barrier): Define.
7096         (atomic_write_barrier): Define.
7097
7098 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7099
7100         * shlib-versions: Add libgcc_s version information.
7101         * sysdeps/generic/libgcc_s.h: Remove.
7102         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7103         libgcc_s.h.
7104         * sysdeps/gnu/unwind-resume.c: Likewise.
7105         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7106
7107 2012-04-25  David S. Miller  <davem@davemloft.net>
7108
7109         * sysdeps/unix/sparc/brk.S: Delete.
7110         * sysdeps/unix/sparc/dl-brk.S: Delete.
7111         * sysdeps/unix/sparc/pipe.S: Delete.
7112         * sysdeps/unix/sparc/sysdep.S: Delete.
7113         * sysdeps/unix/sparc/sysdep.h: Delete.
7114         * sysdeps/unix/sparc/vfork.S: Delete.
7115         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7116         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7117         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7118         ret_ERRVAL, r0, r1, MOVE): Define.
7119         (JUMPTARGET): Remove.
7120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7121         sysdeps/unix/sparc/sysdep.h
7122         (ENTRY, END): Remove.
7123         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7124
7125 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
7126
7127         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7128         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7129         -DIS_IN_build.
7130
7131         * timezone/README: Update upstream location and email address for
7132         tzcode and tzdata.
7133         * timezone/zdump.c: Update from tzcode 2012b.
7134         * timezone/zic.c: Likewise.
7135
7136         * configure.in (libc_cv_as_needed): Remove test.
7137         * configure: Regenerated.
7138         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7139         conditional definition.
7140         [$(have-as-needed) != yes] (no-as-needed): Likewise.
7141         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7142         * config.make.in (have-as-needed): Remove variable.
7143
7144 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7145             Paul Pluzhnikov  <ppluzhnikov@google.com>
7146
7147         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7148         strings correctly.
7149
7150 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7151
7152         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7153         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7154         * sysdeps/sh/strlen.S: Likewise.
7155
7156 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7157
7158         * sysdeps/unix/fork.S: Remove file.
7159         * sysdeps/unix/i386/fork.S: Likewise.
7160         * sysdeps/unix/sparc/fork.S: Likewise.
7161
7162         * sysdeps/unix/system.c: Remove file.
7163         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7164
7165         * sysdeps/unix/getegid.S: Remove file.
7166         * sysdeps/unix/geteuid.S: Likewise.
7167
7168 2012-04-24  Roland McGrath  <roland@hack.frob.com>
7169
7170         * scripts/check-localplt.awk: New file.
7171         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7172         of diff.
7173         * scripts/data/localplt-generic.data: Add a comment.
7174
7175         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7176         NODE when __dir_mkfile failed.
7177         * sysdeps/mach/hurd/symlinkat.c: Likewise.
7178         Reported by Ludovic Courtès <ludo@gnu.org>.
7179
7180 2012-04-24  Andreas Jaeger  <aj@suse.de>
7181
7182         * Makerules (common-clean): Also remove gen-as-const-headers
7183         files.
7184
7185 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7186
7187         * Makerules (native-compile): Do not change working directory for
7188         build.  Use $(OUTPUT_OPTION) in command.
7189         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7190
7191 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7192
7193         [BZ #13886]
7194         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7195         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7196         * math/libm-test.inc (floor_test): Add more tests.
7197         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7198
7199 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
7200
7201         * sysdeps/unix/getdents.c: Remove file.
7202         * sysdeps/unix/sysv/getdents.c: Likewise.
7203         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7204
7205         * sysdeps/unix/syscalls.list (madvise): Add syscall from
7206         sysdeps/unix/mman/syscalls.list.
7207         (mmap): Likewise.
7208         (mprotect): Likewise.
7209         (msync): Likewise.
7210         (munmap): Likewise.
7211         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7212         * sysdeps/unix/mman/syscalls.list: Remove.
7213         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7214
7215         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7216         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7217         * configure: Regenerated.
7218         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7219         $(libgcc_s_suffix).
7220         * config.make.in (libgcc_s_suffix): Remove variable.
7221
7222 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
7223
7224         * sysdeps/unix/sysv/gethostname.c: Move to ...
7225         * sysdeps/posix/gethostname.c: ... here.
7226
7227         * sysdeps/unix/execve.S: Remove file.
7228
7229         * sysdeps/unix/_exit.S: Remove file.
7230
7231 2012-04-23  Andreas Jaeger  <aj@suse.de>
7232
7233         [BZ #13739]
7234         * manual/Makefile: Remove make dist support, there's no
7235         need for a stand-alone documentation tar ball.
7236         (TEXI2DVI): Define always, it's not in Makeconfig.
7237         (dist): Removed.
7238         (tar-it): Removed.
7239         (edition): Removed.
7240         (glibc-doc-$(edition).tar): Removed
7241         (%.Z): Removed.
7242         (%.gz): Removed.
7243         (%.uu): Removed.
7244         (ETAGS): Remove, it's in Makeconfig.
7245         (move-if-change): Remove, it's in Makeconfig.
7246
7247 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
7248
7249         [BZ #13970]
7250         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7251         (strtod, strtof, strtold, strtol, strtoul, strtoq)
7252         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7253         (strtod_l, strtof_l, strtold_l): Remove __wur.
7254         It is not necessarily an error to ignore strtol's return value.
7255         One can reliably look at the stored endptr to decide whether
7256         the number had valid syntax.
7257
7258 2012-04-21  Andreas Jaeger  <aj@suse.de>
7259
7260         [BZ #13739]
7261         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7262
7263 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
7264
7265         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7266         * sysdeps/unix/sysv/Versions: Remove file.
7267
7268 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
7269
7270         [BZ #13927]
7271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7272
7273 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
7274
7275         [BZ #7064]
7276         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7277         version from __vm86.
7278
7279 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
7280
7281         * sysdeps/unix/common/lxstat.c: Remove file.
7282         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7283
7284         * sysdeps/unix/sysv/Makefile: Remove file.
7285
7286         * sysdeps/unix/sysv/direct.h: Remove file.
7287
7288         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7289         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7290         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7291         * sysdeps/unix/sysv/bits/signum.h: Likewise.
7292         * sysdeps/unix/sysv/bits/stat.h: Likewise.
7293         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7294         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7295
7296         * sysdeps/unix/sysv/setrlimit.c: Remove file.
7297
7298         * sysdeps/unix/xmknod.c: Remove file.
7299         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7300
7301         * sysdeps/unix/sysv/settimeofday.c: Remove file.
7302
7303         * sysdeps/unix/sysv/i386/time.S: Remove file.
7304
7305         * sysdeps/unix/fxstat.c: Remove file.
7306         * sysdeps/unix/xstat.c: Likewise.
7307         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7308
7309         * sysdeps/unix/sysv/sigaction.c: Remove file.
7310
7311         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7312         (sysdep_headers): Remove variable.
7313         [termio.h not in sysdep_headers] (generated): Likewise.
7314         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7315         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7316         * sysdeps/unix/sysv/tcdrain.c: Likewise.
7317         * sysdeps/unix/sysv/tcflow.c: Likewise.
7318         * sysdeps/unix/sysv/tcflush.c: Likewise.
7319         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7320         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7321         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7322         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7323         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7324
7325         * sysdeps/unix/siglist.c: Remove file.
7326
7327         * sysdeps/unix/getppid.S: Remove file.
7328
7329         * sysdeps/unix/mkdir.c: Remove file.
7330         * sysdeps/unix/rmdir.c: Likewise.
7331
7332 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
7333
7334         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7335         ERR_MAX value.
7336         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7337         errlist-compat value.
7338
7339 2012-04-18  David S. Miller  <davem@davemloft.net>
7340
7341         * sysdeps/generic/memcopy.h (reg_char): Delete.
7342         * debug/strcat_chk.c: Use char, not reg_char.
7343         * debug/strcpy_chk.c: Likewise.
7344         * debug/strncat_chk.c: Likewise.
7345         * debug/strncpy_chk.c: Likewise.
7346         * string/memchr.c: Likewise.
7347         * string/memrchr.c: Likewise.
7348         * string/rawmemchr.c: Likewise.
7349         * string/strcat.c: Likewise.
7350         * string/strchr.c: Likewise.
7351         * string/strchrnul.c: Likewise.
7352         * string/strcmp.c: Likewise.
7353         * string/strcpy.c: Likewise.
7354         * string/strncat.c: Likewise.
7355         * string/strncmp.c: Likewise.
7356         * string/strncpy.c: Likewise.
7357
7358 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7359
7360         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7361         __builtin_memcopy is called when src and dest ranges are known to not
7362         overlap.
7363
7364 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7365
7366         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7367         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7368         fwd_align_merge macro call.
7369         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7370         bwd_align_merge macro call.
7371         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7372
7373 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
7374
7375         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7376         bwd_align_merge macros.
7377         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7378         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7379         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7380
7381 2012-04-18  David S. Miller  <davem@davemloft.net>
7382
7383         * sysdeps/sparc/sparc64/memcopy.h: Delete.
7384
7385 2012-04-18  Andreas Jaeger  <aj@suse.de>
7386
7387         [BZ# 6794]
7388         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7389         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7390         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7391
7392         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7393         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7394         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7395
7396         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7397         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7398         Adjust for changed ldbl-128 files.
7399
7400         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7401         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7402         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7403
7404 2012-04-17  David S. Miller  <davem@davemloft.net>
7405
7406         * sysdeps/sparc/sparc32/memcopy.h: Delete.
7407
7408 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
7409
7410         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7411         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7412         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7413         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7414         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7415         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7416
7417 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7418
7419         [BZ #6794]
7420         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7421         * math/libm-test.inc: Add ilogb errno and exception tests.
7422         * math/w_ilogb.c: New file: ilogb wrapper.
7423         * math/w_ilogbf.c: New file: ilogbf wrapper.
7424         * math/w_ilogbl.c: New file: ilogbl wrapper.
7425         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7426         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7427         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7428         exception being thrown with 0.0 as argument.
7429         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7430         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7431         exception being thrown with 0.0 as argument.
7432         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7433         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7434         exception being thrown with 0.0 as argument.
7435         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7436         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7437         exception being thrown with 0.0 as argument.
7438         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7439         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7440         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7441         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7442         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7443         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7444         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7445         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7446         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7447
7448 2012-04-17  Petr Baudis  <pasky@ucw.cz>
7449
7450         * include/sys/uio.h: Change __vector to __iovec to avoid clash
7451         with altivec.
7452
7453 2012-04-16  Marek Polacek  <polacek@redhat.com>
7454
7455         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7456
7457 2012-04-16  Marek Polacek  <polacek@redhat.com>
7458
7459         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7460         operands of fdivp instruction.
7461
7462 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
7463
7464         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7465         * elf/tst-auditmod3b.c: Likewise.
7466         * elf/tst-auditmod4b.c: Likewise.
7467         * elf/tst-auditmod5b.c: Likewise.
7468         * elf/tst-auditmod6b.c: Likewise.
7469         * elf/tst-auditmod6c.c: Likewise.
7470         * elf/tst-auditmod7b.c: Likewise.
7471         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7472         * sysdeps/x86_64/preconfigure.in: Likewise.
7473         * sysdeps/x86_64/preconfigure: Regenerated.
7474
7475 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
7476
7477         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7478         __ILP32__.
7479
7480 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
7481
7482         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7483         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7484
7485 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
7486
7487         [BZ #13973]
7488         * locale/iso-639.def: Fix gl language name. Spotted by
7489         Yaron Shahrabani.
7490
7491 2012-04-12  Roland McGrath  <roland@hack.frob.com>
7492
7493         [BZ #2074]
7494         * libio/libio.h (__io_write_fn): Update comment.
7495
7496 2012-04-12  Petr Baudis  <pasky@ucw.cz>
7497
7498         [BZ #2074]
7499         * stdio.texi (Hook Functions): The user provided writer function
7500         is not allowed to return -1.
7501
7502 2012-04-11  David S. Miller  <davem@davemloft.net>
7503
7504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7505
7506 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
7507
7508         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7509         Add a leading slash to rtkaio.
7510
7511 2012-04-11  Jim Meyering  <meyering@redhat.com>
7512
7513         [BZ #11959]
7514         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7515         It is not necessarily an error to ignore fwrite's return
7516         value.  One can reliably use ferror to test for errors after
7517         the fact.
7518
7519 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
7520
7521         * bits/types.h (__snseconds_t): New type.
7522         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7523
7524         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7525         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7526         (__SNSECONDS_T_TYPE): Likewise.
7527         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7528         (__SNSECONDS_T_TYPE): Likewise.
7529         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7530         (__SNSECONDS_T_TYPE): Likewise.
7531
7532 2012-04-10  Andreas Jaeger  <aj@suse.de>
7533
7534         [BZ #2636]
7535         * manual/time.texi (Processor Time): Return type of times is
7536         elapsed real time since an arbitrary point in the past.
7537         (CPU Time): Move CLK_TCK from here...
7538         (Processor Time): ...to here.  Correct description.
7539         * manual/conf.texi (Constants for Sysconf): Correct description of
7540         _SC_CLK_TCK.
7541
7542 2012-04-10  David S. Miller  <davem@davemloft.net>
7543
7544         [BZ #13967]
7545         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7546         where the is a gap between DT_REL(A) and DT_JMPREL.
7547
7548 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
7549
7550         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7551         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7552         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7553
7554 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7555
7556         * elf/dl-support.c (_dl_inhibit_cache): New variable.
7557         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7558         (dl_main): Handle --inhibit-cache.
7559         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7560         _dl_inhibit_cache.
7561         * elf/dl-load.c (_dl_map_object): Use it.
7562         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7563
7564 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
7565
7566         [BZ #13872]
7567         * sysdeps/i386/fpu/e_powl.S (p78): New object.
7568         (__ieee754_powl): Saturate large exponents rather than testing for
7569         overflow of y*log2(x).
7570         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7571         * math/libm-test.inc (pow_test): Do not permit spurious overflow
7572         exceptions.
7573
7574         [BZ #11521]
7575         * math/s_ctan.c: Include <float.h>.
7576         (__ctan): Avoid internal overflow or cancellation in calculating
7577         denominator.
7578         * math/s_ctanf.c: Likewise.
7579         * math/s_ctanl.c: Likewise.
7580         * math/s_ctanh.c: Likewise.
7581         * math/s_ctanhf.c: Likewise.
7582         * math/s_ctanhl.c: Likewise.
7583         * math/libm-test.inc (ctan_test): Add more tests.
7584         (ctanh_test): Likewise.
7585         * sysdeps/i386/fpu/libm-test-ulps: Update.
7586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7587
7588 2012-04-09  Andreas Jaeger  <aj@suse.de>
7589
7590         [BZ #6894]
7591         * manual/filesys.texi (Directory Entries): Mention that d_namlen
7592         is an optional BSD extension.
7593
7594         [BZ #10254]
7595         * manual/stdio.texi (Opening Streams): Document additional fopen
7596         parameters.
7597
7598 2012-04-09  Roland McGrath  <roland@hack.frob.com>
7599
7600         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7601         %eax without telling the compiler.
7602
7603 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
7604
7605         [BZ # 13963]
7606         * manual/install.texi: Use sourceware.org.
7607
7608 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
7609
7610         [BZ #13873]
7611         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7612         (__ieee754_pow): Generate overflow and underflow using huge*huge
7613         and tiny*tiny rather than just returning constant infinity or zero
7614         for large exponents.
7615         * math/libm-test.inc (pow_test): Require overflow exceptions for
7616         applicable cases of large exponents.
7617
7618         [BZ #706]
7619         * sysdeps/i386/fpu/e_pow.S (p10): New object.
7620         (__ieee754_pow): Use iterative multiplication algorithm only for
7621         integer exponents with absolute value below 1024.  Check for odd
7622         integer exponents when using algorithm for real exponents.
7623         * math/libm-test.inc (pow_test): Add more tests.
7624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7625
7626 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
7627
7628         [BZ #13705]
7629         * math/libm-test.inc (exp_test): Do not allow overflow exception
7630         on underflow test.
7631
7632 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
7633
7634         [BZ #13705]
7635         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7636         instead of __kernel_standard_f.
7637
7638 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
7639
7640         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7641         * sysdeps/x86_64/memset_chk.S: Likewise.
7642
7643 2012-04-08  Andreas Jaeger  <aj@suse.de>
7644
7645         [BZ #10153]
7646         * manual/startup.texi (Environment Access): Describe return value
7647         for putenv and setenv.
7648
7649         [BZ #6895]
7650         * manual/filesys.texi (Directory Entries): Add description for
7651         DT_LNK.
7652
7653         [BZ #6890]
7654         * manual/filesys.texi (Directory Entries): Clarify that it's file
7655         system not operating system in the description of DT_UNKNOWN.
7656
7657         [BZ #6578]
7658         * manual/syslog.texi (closelog): Fix reference, it's openlog.
7659
7660 2012-04-08  Stephen Compall  <s11@member.fsf.org>
7661
7662         [BZ #6649]
7663         * manual/llio.texi (Opening and Closing Files): Add cross
7664         reference to explain mode argument.
7665
7666 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
7667
7668         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7669         * sysdeps/x86_64/memset_chk.S: Likewise.
7670
7671 2012-04-07  David S. Miller  <davem@davemloft.net>
7672
7673         * elf/elf.h (R_SPARC_WDISP10): Define.
7674         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7675         R_SPARC_SIZE32.
7676         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7677         R_SPARC_SIZE64 and R_SPARC_H34.
7678
7679 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
7680
7681         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7682         conditions and remove no longer applicable assertion.
7683
7684 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
7685
7686         * bits/byteswap.h: Include <features.h>.
7687         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7688         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7689
7690 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
7691
7692         * bits/byteswap.h (__bswap_16): Removed.
7693         Include <bits/byteswap-16.h> to get __bswap_16.
7694         * sysdeps/i386/bits/byteswap.h: Likewise.
7695         * sysdeps/s390/bits/byteswap.h: Likewise.
7696         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7697         * bits/byteswap-16.h: New file.
7698         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7699         * sysdeps/s390/bits/byteswap-16.h: Likewise.
7700         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7701         * string/Makefile (headers): Add bits/byteswap-16.h.
7702
7703 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7704
7705         [BZ #13895]
7706         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7707         extra indirection.
7708         * nss/Makefile (tests-static, tests): Add tst-nss-static.
7709         * nss/tst-nss-static.c: New.
7710
7711 2012-04-06  Robert Millan  <rmh@gnu.org>
7712
7713         [BZ #6486]
7714         * manual/llio.texi (File Position Primitive): lseek
7715         refers to WHENCE when it really means OFFSET.
7716
7717 2012-04-06  Andreas Jaeger  <aj@suse.de>
7718
7719         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7720         strncmp declarations.
7721
7722         * abilist/libc.abilist: Add __poll and __ppoll.
7723
7724 2012-04-05  David S. Miller  <davem@davemloft.net>
7725
7726         * scripts/check-local-headers.sh: Accept a host triplet in the
7727         path matched by the exclude regexp.
7728
7729         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7730         definition.
7731         * sysdeps/powerpc/powerpc32/dl-machine.h
7732         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7733         * sysdeps/s390/s390-32/dl-machine.h
7734         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7735         * sysdeps/sparc/sparc32/dl-machine.h
7736         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7737         * sysdeps/sparc/sparc64/dl-machine.h
7738         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7739
7740         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7741         lazy binding.
7742         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7743         undefined symbol errors.
7744
7745         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7746         DT_NEEDED entries.
7747
7748 2012-04-05  Michael Matz  <matz@suse.de>
7749
7750         [BZ #13592]
7751         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7752
7753 2012-04-05  Andreas Jaeger  <aj@suse.de>
7754
7755         [BZ #13908]
7756         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7757         comment.
7758
7759 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7760
7761         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7762         which ROUND is no valid rounding mode.
7763
7764 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7765
7766         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7767         read again.
7768         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7769
7770 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7771
7772         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7773         an exception using FPU order intentionally.
7774
7775 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7776
7777         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7778         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7779         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7780         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7781
7782 2012-04-05  Simon Josefsson  <simon@josefsson.org>
7783
7784         [BZ #12340]
7785         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7786         EINVAL when BUFLEN is too smal.
7787
7788 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7789
7790         [BZ #13553]
7791         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7792         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7793
7794 2012-04-03  Andreas Jaeger  <aj@suse.de>
7795
7796         [BZ #13938]
7797         * manual/setjmp.texi (System V contexts): Fix sentence.
7798
7799         [BZ #13926]
7800         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7801         New macro for this case.
7802         [!__GNUC__] (__bswap_64): New inline function for this case.
7803         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7804         * bits/byteswap.h: Likewise.
7805         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7806         ull, guard with __GLIBC_HAVE_LONG_LONG.
7807
7808         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7809         __GLIBC_HAVE_LONG_LONG.
7810
7811         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7812         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7813
7814 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7815
7816         [BZ #13691]
7817         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7818         inptr and inend, rather than using last_ch.
7819
7820 2012-04-02  David S. Miller  <davem@davemloft.net>
7821
7822         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7823         * stdio-common/printf-parse.h (read_int): Change return type to
7824         'int', return -1 on INT_MAX overflow.
7825         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7826         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
7827         overflows INT_MAX.  Check for overflow of in-format-string precision
7828         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
7829         SIZE_MAX not INT_MAX for integer overflow test.
7830         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7831         skip the construct in the format string but do not record anything.
7832         * stdio-common/bug22.c: Adjust to test both width/prevision
7833         INT_MAX overflow as well as total length INT_MAX overflow.  Check
7834         explicitly for proper errno values.
7835
7836 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7837
7838         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7839         CHAR_MAX.
7840         * string/test-strcmp.c [! WIDE]: Likewise.
7841         * time/tst-mktime2.c: Likewise for INT_MAX.
7842         * string/test-string.h: #include <sys/param.h> for MIN.
7843
7844         * csu/init-first.c (__libc_init_first): Call __ctype_init.
7845         * sysdeps/i386/init-first.c (init): Likewise.
7846         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7847         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7848         * sysdeps/sh/init-first.c (init): Likewise.
7849
7850 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
7851
7852         * po/ru.po: Update from translation team.
7853         * po/vi.po: Likewise.
7854
7855 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7856
7857         * resolv/nss_dns/dns-host.c: Merge copyright years.
7858
7859 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7860
7861         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7862         Optimize memcpy with prefetch if
7863         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
7864         src, dst pointers have unequal 16 byte alignments.
7865
7866 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7867
7868         [BZ #13928]
7869         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7870         from a CNAME entry and return the minimum ttl for the query.
7871         (gaih_getanswer_slice): Likewise.
7872
7873 2012-03-30  Jeff Law  <law@redhat.com>
7874
7875         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7876         due to long keys.
7877         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7878         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7879
7880         * resolv/nss_dns/dns-host.c: Update copyright year.
7881
7882 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
7883
7884         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7885         requests to save a system call.  Fix check that all bytes are sent.
7886
7887         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7888         comments for sendmmsg.
7889
7890 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7891
7892         [BZ #13691]
7893         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7894         with only 1 character between 0x0041 and 0x01b0.
7895         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7896         * wcsmbs/tst-mbsnrtowcs.c: New file.
7897
7898 2012-03-29  David S. Miller  <davem@davemloft.net>
7899
7900         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7901         small copies by hand.
7902
7903 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7904
7905         [BZ #13761]
7906         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7907         _nss_compat_initgroups_dyn): Fall back to malloc/free
7908         for large group memberships.
7909
7910 2012-03-28  David S. Miller  <davem@davemloft.net>
7911
7912         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7913         that branches into memcpy.
7914         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7915         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7916         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7917         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7918         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7919         bits.
7920         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7921         implementation too.
7922         * sysdeps/sparc/mempcpy.S: New file.
7923
7924         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7925         the IFUNC routine in the libc case.
7926         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7927
7928         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7929         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7930         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7931         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7932         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7933         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7934         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7935         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7936
7937         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7938         loop to 256 bytes instead of 64 bytes and fix test signedness.
7939
7940         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7941         * sysdeps/sparc/sparc32/Makefile: rather than here...
7942         * sysdeps/sparc/sparc64/Makefile: and here.
7943
7944 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
7945
7946         * malloc/mallocbug.c: Avoid warnings about unused variables.
7947
7948 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7949
7950         [BZ #13760]
7951         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7952         in the right place. Discard and retry query if response is
7953         larger than input buffer size.
7954
7955 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
7956
7957         [BZ #369]
7958         [BZ #2678]
7959         [BZ #3866]
7960         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7961         x for large integer exponent.
7962         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7963         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
7964         sign of result as needed afterwards.
7965         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7966         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7967         result for underflowing pow the same as for overflow.
7968         (__kernel_standard_l): Handle powl overflow and underflow here
7969         rather than calling __kernel_standard.
7970         * math/libm-test.inc (pow_test): Add more tests.
7971
7972         [BZ #3868]
7973         [BZ #13879]
7974         [BZ #13910]
7975         [BZ #13911]
7976         [BZ #13912]
7977         [BZ #13913]
7978         [BZ #13915]
7979         [BZ #13916]
7980         [BZ #13917]
7981         [BZ #13918]
7982         [BZ #13919]
7983         [BZ #13920]
7984         [BZ #13921]
7985         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7986         * sysdeps/ieee754/k_standard.c: Include <float.h>.
7987         (__kernel_standard_l): New function.
7988         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7989         __kernel_standard.
7990         * math/w_acosl.c (__acosl): Likewise.
7991         * math/w_asinl.c (__asinl): Likewise.
7992         * math/w_atan2l.c (__atan2l): Likewise.
7993         * math/w_atanhl.c (__atanhl): Likewise.
7994         * math/w_coshl.c (__coshl): Likewise.
7995         * math/w_exp10l.c (__exp10l): Likewise.
7996         * math/w_exp2l.c (__exp2l): Likewise.
7997         * math/w_fmodl.c (__fmodl): Likewise.
7998         * math/w_hypotl.c (__hypotl): Likewise.
7999         * math/w_j0l.c (__j0l, __y0l): Likewise.
8000         * math/w_j1l.c (__j1l, __y1l): Likewise.
8001         * math/w_jnl.c (__jnl, __ynl): Likewise.
8002         * math/w_lgammal.c (__lgammal): Likewise.
8003         * math/w_log10l.c (__log10l): Likewise.
8004         * math/w_log2l.c (__log2l): Likewise.
8005         * math/w_logl.c (__logl): Likewise.
8006         * math/w_powl.c (__powl): Likewise.
8007         * math/w_remainderl.c (__remainderl): Likewise.
8008         * math/w_scalbl.c (sysv_scalbl): Likewise.
8009         * math/w_sinhl.c (__sinhl): Likewise.
8010         * math/w_sqrtl.c (__sqrtl): Likewise.
8011         * math/w_tgammal.c (__tgammal): Likewise.
8012         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8013         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8014         * math/libm-test.inc (acos_test): Add more tests.
8015         (acosh_test): Likewise.
8016         (asin_test): Likewise.
8017         (atanh_test): Likewise.
8018         (exp_test): Likewise.
8019         (exp10_test): Likewise.
8020         (exp2_test): Likewise.
8021         (expm1_test): Likewise.
8022         (lgamma_test): Likewise.
8023         (log_test): Likewise.
8024         (log10_test): Likewise.
8025         (log1p_test): Likewise.
8026         (log2_test): Likewise.
8027         (pow_test): Do not allow some spurious overflow exceptions.
8028         (sqrt_test): Add more tests.
8029         (tgamma_test): Likewise.
8030         (y0_test): Likewise.
8031         (y1_test): Likewise.
8032         (yn_test): Likewise.
8033
8034 2012-03-27  Anton Blanchard  <anton@samba.org>
8035
8036         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8037         MAP_HUGETLB.
8038         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8039         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8040         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8041
8042 2012-03-27  David S. Miller  <davem@davemloft.net>
8043
8044         * conform/Makefile: Run run-conformtest.sh using $(BASH).
8045
8046         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8047         have-as-vis3 check.
8048
8049 2012-03-27  Andreas Jaeger  <aj@suse.de>
8050
8051         * sysdeps/x86_64/elf/configure.in: Moved to ...
8052         * sysdeps/x86_64/configure.in: ... here.
8053         * sysdeps/x86_64/elf/start.S: Moved to ...
8054         * sysdeps/x86_64/start.S: ... here.
8055         * sysdeps/x86_64/elf/configure: Delete.
8056
8057         * sysdeps/x86_64/configure.in: Merge contents from
8058         sysdeps/i386/configure.in (without i686 check).
8059
8060         * sysdeps/i386/elf/Versions: Merge into ...
8061         * sysdeps/i386/Versions: ... this.
8062         * sysdeps/i386/elf/Versions: Delete file.
8063         * sysdeps/i386/elf/start.S: Moved to ...
8064         * sysdeps/i386/start.S: ...here.
8065         * sysdeps/i386/elf/configure.in: Merge into...
8066         * sysdeps/i386/configure.in: ...here.
8067         * sysdeps/i386/elf/configure.in: Delete file.
8068         * sysdeps/i386/elf/configure: Delete file.
8069
8070         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8071         * debug/backtracesyms.c: ... here.
8072         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8073         * debug/backtracesymsfd.c: ... here.
8074         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8075         * sysdeps/generic/ifunc-sel.h: ... here.
8076
8077         * sysdeps/unix/i386/start.c: Delete file.
8078         * sysdeps/unix/sparc/start.c: Delete file.
8079         * sysdeps/unix/start.c: Delete file.
8080
8081         * sysdeps/sh/elf/configure.in: Moved to ...
8082         * sysdeps/sh/configure.in: ... here.
8083         * sysdeps/sh/elf/start.S: Moved to ...
8084         * sysdeps/sh/start.S: ... here.
8085         * sysdeps/sh/elf/configure: Delete file.
8086
8087         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8088         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8089         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8090         * sysdeps/powerpc/powerpc64/entry.h: ... here.
8091         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8092         * sysdeps/powerpc/powerpc64/start.S: here.
8093         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8094         * sysdeps/powerpc/powerpc64/Makefile: ... this.
8095         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8096         * sysdeps/powerpc/powerpc64/configure.in: ... this.
8097         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8098
8099         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8100         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8101         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8102         * sysdeps/powerpc/powerpc32/start.S: ... here.
8103         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8104         * sysdeps/powerpc/powerpc32/configure.in: ... this.
8105         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8106
8107         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8108         * sysdeps/powerpc/ifunc-sel.h: ... here.
8109         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8110         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8111
8112         * sysdeps/sparc/elf/configure.in: Moved to ...
8113         * sysdeps/sparc/configure.in: ... here.
8114         * sysdeps/sparc/elf/configure: Delete file.
8115         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8116         * sysdeps/sparc/sparc32/start.S: ... here.
8117         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8118         * sysdeps/sparc/sparc64/start.S: ... here.
8119         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8120         * sysdeps/sparc/sparc32/Makefile: ... this.
8121         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8122         * sysdeps/sparc/sparc64/Makefile: ... this.
8123
8124         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8125         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8126         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8127         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8128         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8129         * sysdeps/s390/s390-32/setjmp.S: ... here.
8130         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8131         * sysdeps/s390/s390-32/configure.in: ... here.
8132         * sysdeps/s390/s390-32/elf/configure: Delete file.
8133         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8134         * sysdeps/s390/s390-32/start.S: ... here.
8135
8136         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8137         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8138         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8139         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8140         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8141         * sysdeps/s390/s390-64/setjmp.S: ... here.
8142         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8143         * sysdeps/s390/s390-64/configure.in: ... here
8144         * sysdeps/s390/s390-64/elf/configure: Delete file.
8145         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8146         * sysdeps/s390/s390-64/start.S: ... here.
8147         * sysdeps/s390/s390-64/elf/configure: Delete.
8148
8149         * configure.in: Remove support for elf directories in sysdeps.
8150
8151         * configure: Regenerated.
8152         * sysdeps/i386/configure: Regenerated.
8153         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8154         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8155         * sysdeps/s390/s390-32/configure: Regenerated.
8156         * sysdeps/s390/s390-64/configure: Regenerated.
8157         * sysdeps/sh/configure: Regenerated.
8158         * sysdeps/sparc/configure: Regenerated.
8159         * sysdeps/x86_64/configure: Regenerated.
8160
8161 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
8162
8163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8164
8165         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8166         denormal result into account.
8167
8168 2012-03-25  Roland McGrath  <roland@hack.frob.com>
8169
8170         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8171         Reported by Allan McRae <allan@archlinux.org>.
8172
8173 2012-03-23  Jeff Law  <law@redhat.com>
8174
8175         * nss/getnssent.c (__nss_getent): Fix typo.
8176
8177 2012-03-23  David S. Miller  <davem@davemloft.net>
8178
8179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8180
8181 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
8182
8183         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8184         to pad to uint64_t for each field.
8185         (dl_tls_index): Replace unsigned long with uint64_t.
8186
8187 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
8188         Paul Pluzhnikov  <ppluzhnikov@google.com>
8189
8190         [BZ #6528]
8191         * grp/Makefile (otherlibs): Don't set it.
8192         * inet/Makefile (otherlibs): Likewise.
8193         * login/Makefile (otherlibs): Likewise.
8194         * nscd/Makefile (otherlibs): Likewise.
8195         * posix/Makefile (otherlibs): Likewise.
8196         * pwd/Makefile (otherlibs): Likewise.
8197         * rt/Makefile (otherlibs): Likewise.
8198         * sunrpc/Makefile (otherlibs): Likewise.
8199         * nss/Makefile (otherlibs): Likewise.
8200         Add libnss_files to routines and static-only-routines.
8201         ($(objpfx)getent): Remove rule.
8202         * resolv/Makefile: Add libnss_dns and libresolv to routines and
8203         static-only-routines.
8204
8205 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8206
8207         [BZ #13892]
8208         * math/s_cexp.c: Include <float.h>.
8209         (__cexp): Handle exp result overflowing not necessarily
8210         overflowing both real and imaginary parts of result.
8211         * math/s_cexpf.c: Likewise.
8212         * math/s_cexpl.c: Likewise.
8213         * math/libm-test.inc (cexp_test): Add more tests.
8214         * sysdeps/i386/fpu/libm-test-ulps: Update.
8215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8216
8217 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8218
8219         * include/link.h (ELFW): New macro.
8220         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8221         Replace ELF64_R_TYPE with ELFW(R_TYPE).
8222
8223 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8224
8225         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8226         with uint64_t.
8227
8228 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8229
8230         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8231         declaration.
8232         (struct La_x32_retval): Likewise.
8233
8234 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8235
8236         * sysdeps/x86_64/preconfigure.in: New file.
8237         * sysdeps/x86_64/preconfigure: New generated file.
8238
8239 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
8240
8241         [BZ #13824]
8242         * math/e_exp2l.c: Include <float.h>.
8243         (__ieee754_exp2l): Handle overflow and underflow cases
8244         separately.  Only pass fractional part of argument to
8245         __ieee754_expl.
8246         * math/libm-test.inc (exp2_test): Add more tests.
8247
8248         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8249         negating x to take absolute value.
8250         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8251         Likewise.
8252         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8253         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8254         Likewise.
8255         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8256         computing low part if x was negated.
8257         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8258
8259 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8260
8261         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8262         la_x32_gnu_pltexit.
8263         (pltexit): Cast int_retval to ptrdiff_t.
8264         * elf/tst-auditmod3b.c: Likewise.
8265         * elf/tst-auditmod4b.c: Likewise.
8266         * elf/tst-auditmod5b.c: Likewise.
8267         * elf/tst-auditmod6b.c: Likewise.
8268         * elf/tst-auditmod6c.c: Likewise.
8269         * elf/tst-auditmod7b.c: Likewise.
8270
8271         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8272         and x32_gnu_pltexit.
8273
8274         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8275         __ELF_NATIVE_CLASS.
8276         (La_x32_regs): New macro.
8277         (La_x32_retval): Likewise.
8278         (la_x32_gnu_pltenter): New function prototype.
8279         (la_x32_gnu_pltexit): Likewise.
8280
8281 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8282
8283         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8284         exponent.
8285
8286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8287
8288         * configure.in (libc_cv_cc_nofma): Check for option to disable
8289         generation of FMA instructions.
8290         * configure: Regenerate.
8291         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8292         * sysdeps/ieee754/dbl-64/Makefile: New file.
8293         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8294         Remove brandred-fma4.
8295         (CFLAGS-brandred-fma4.c): Remove.
8296         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8297         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8298         define.
8299         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8300         define.
8301
8302 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8303
8304         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8305         LLONG_MAX != LONG_MAX.
8306         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8307         (_fitoa_word): Likewise.
8308         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8309         LLONG_MAX != LONG_MAX.
8310         * stdio-common/_itowa.h: Include <_itoa.h>.
8311         (_itowa_word): Use _ITOA_WORD_TYPE on value.
8312         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
8313         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
8314         only if not defined.
8315         (_ITOA_WORD_TYPE): Likewise.
8316         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8317         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8318
8319 2012-03-21  David S. Miller  <davem@davemloft.net>
8320
8321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8322
8323 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8324
8325         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8326         of x86_64 when setting libc_cv_slibdir, libdir and
8327         libc_cv_localedir.
8328         * sysdeps/unix/sysv/linux/configure: Regenerated.
8329
8330 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8331
8332         * manual/lang.texi (Old Varargs): Remove section.
8333         (How Variadic): Update menu.
8334         (va_start): Do not mention varargs.h.
8335
8336 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8337             Joseph Myers  <joseph@codesourcery.com>
8338
8339         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8340         link test.
8341         * configure: Regenerated.
8342
8343 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8344
8345         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8346         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8347         conformtest.pl
8348
8349 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8350
8351         * NOTES: Remove.
8352         * Makefile (files-for-dist): Remove NOTES.
8353         (NOTES): Remove rule.
8354         * README: Don't refer to NOTES.
8355         * manual/creature.texi: Don't include macros.texi.
8356         * manual/intro.texi (creature.texi): Remove comment referring to
8357         NOTES.
8358
8359         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8360         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8361         * configure: Regenerated.
8362         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8363         LIBC_TRY_CC_OPTION.
8364         (libc_cv_as_i686): Likewise.
8365         (libc_cv_cc_avx): Likewise.
8366         (libc_cv_cc_sse2avx): Likewise.
8367         (libc_cv_cc_fma4): Likewise.
8368         (libc_cv_cc_novzeroupper): Likewise.
8369         * sysdeps/i386/configure: Regenerated.
8370
8371         [BZ #13883]
8372         * sysdeps/i386/fpu/s_cexp.S: Remove.
8373         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8374         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8375         * math/libm-test.inc (cexp_test): Add more tests.
8376         * sysdeps/i386/fpu/libm-test-ulps: Update.
8377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8378
8379 2012-03-21  Allan McRae  <allan@archlinux.org>
8380
8381         * timezone/Makefile: Do not install iso3166.tab and zone.tab
8382
8383 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
8384
8385         [BZ #13871]
8386         * math/w_exp2.c: Do not include <float.h>.
8387         (o_threshold, u_threshold): Remove.
8388         (__exp2): Calculate result before checking finiteness and calling
8389         __kernel_standard.
8390         * math/w_exp2f.c: Likewise.
8391         * math/w_exp2l.c: Likewise.
8392         * math/libm-test.inc (exp2_test): Require overflow exception for
8393         1e6 input.
8394
8395         [BZ #3866]
8396         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8397         range of signed 64-bit integers before using fistpll.  Remove
8398         checks for whether integers fit in mantissa bits.
8399         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8400         the range of signed 32-bit integers before using fistpl.  Remove
8401         checks for whether integers fit in mantissa bits.
8402         * sysdeps/i386/fpu/e_powl.S (p64): New object.
8403         (__ieee754_powl): Test for y outside the range of signed 64-bit
8404         integers before using fistpll.  Reduce 64-bit values to 63-bit
8405         ones as needed.
8406         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8407         divide-by-zero is raised for zero to large negative powers.
8408         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8409         (__ieee754_powl): Test for y outside the range of signed 64-bit
8410         integers before using fistpll.  Reduce 64-bit values to 63-bit
8411         ones as needed.
8412         * math/libm-test.inc (pow_test): Add more tests.
8413
8414 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8415
8416         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8417         <stdio-common/_itoa.h>.
8418         * debug/segfault.c: Likewise.
8419         * elf/dl-cache.c: Likewise.
8420         * elf/dl-minimal.c: Likewise.
8421         * elf/dl-misc.c: Likewise.
8422         * elf/dl-sysdep.c: Likewise.
8423         * elf/dl-version.c: Likewise.
8424         * elf/rtld.c: Likewise.
8425         * hurd/hurdsock.c: Likewise.
8426         * hurd/lookup-retry.c: Likewise.
8427         * malloc/malloc.c: Likewise.
8428         * malloc/mtrace.c: Likewise.
8429         * nscd/nscd_getgr_r.c: Likewise.
8430         * nscd/nscd_getpw_r.c: Likewise.
8431         * nscd/nscd_getserv_r.c: Likewise.
8432         * posix/getopt_init.c: Likewise.
8433         * posix/wordexp.c: Likewise.
8434         * stdio-common/_itoa.c: Likewise.
8435         * stdio-common/printf_fphex.c: Likewise.
8436         * stdio-common/vfprintf.c: Likewise.
8437         * string/_strerror.c: Likewise.
8438         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8439         * sysdeps/i386/i686/hp-timing.h: Likewise.
8440         * sysdeps/mach/_strerror.c: Likewise.
8441         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8442         * sysdeps/mach/hurd/sethostid.c: Likewise.
8443         * sysdeps/mach/hurd/xmknodat.c: Likewise.
8444         * sysdeps/mach/xpg-strerror.c: Likewise.
8445         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8446         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8447         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8448         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8449         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8450         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8451         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8452         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8453         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8454         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8455         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8456         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8457         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8458         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8459         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8460         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8461         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8462         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8463         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8464         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8465         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8466
8467         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8468
8469         * stdio-common/_itoa.h: Moved to ...
8470         * sysdeps/generic/_itoa.h: Here.
8471
8472         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8473
8474         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8475         instead of "_itoa.h" and "_itowa.h".
8476         * stdio-common/vfprintf.: Likewise.
8477
8478 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8479
8480         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8481         <bits/wordsize.h>.
8482         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8483         (__signbit): Likwise.
8484         (llrintf): Likwise.
8485         (llrint): Likwise.
8486
8487 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
8488
8489         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8490         __WORDSIZE != 64.
8491
8492 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
8493
8494         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8495         OVERFLOW_EXCEPTION_OK.
8496         * math/libm-test.inc ("Philosophy"): Update comment about
8497         exception testing.
8498         (OVERFLOW_EXCEPTION): Define.
8499         (OVERFLOW_EXCEPTION_OK): Likewise.
8500         (INVALID_EXCEPTION_OK): Renumber.
8501         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8502         (IGNORE_ZERO_INF_SIGN): Likewise.
8503         (test_exceptions): Handle FE_OVERFLOW.
8504         (exp10_test): Expect overflow exceptions.
8505         (exp2_test): Likewise.
8506         (expm1_test): Likewise.
8507         (nextafter_test): Likewise.
8508         (pow_test): Likewise.
8509         (scalbn_test): Likewise.
8510         (scalbln_test): Likewise.
8511
8512 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8513
8514         * sysdeps/x86_64/bits/atomic.h
8515         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8516         64bit integer.
8517         (atomic_exchange_acq): Likewise.
8518         (__arch_exchange_and_add_body): Likewise.
8519         (__arch_add_body): Likewise.
8520         (atomic_add_negative): Likewise.
8521         (atomic_add_zero): Likewise.
8522
8523 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8524
8525         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8526         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8527
8528 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8529
8530         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8531         Check __x86_64__ instead of __WORDSIZE.
8532
8533 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8534
8535         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8536
8537 2012-03-19  David S. Miller  <davem@davemloft.net>
8538
8539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8540
8541         * sysdeps/sparc/fpu/fenv_private.h: New file.
8542         * sysdeps/sparc/fpu/math_private.h: Use it.
8543         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8544         Remove.
8545         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8546         (libc_feholdexcept_setroundl): Remove.
8547         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8548         Remove.
8549         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8550         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8551
8552 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8553
8554         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8555         int64_t instead of long int.
8556         (INSERT_WORDS64): Likwise.
8557
8558 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
8559
8560         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8561         _Unwind_GetCFA return to _Unwind_Ptr first.
8562
8563 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
8564
8565         [BZ #13629]
8566         * math/s_clog.c: Include <float.h>.
8567         (__clog): Scale large or subnormal inputs.
8568         * math/s_clogf.c: Likewise.
8569         * math/s_clogl.c: Likewise.
8570         * math/s_clog10.c: Include <float.h>.
8571         (M_LOG10_2): Define.
8572         (__clog10): Scale large or subnormal inputs.
8573         * math/s_clog10f.c: Likewise.
8574         * math/s_clog10l.c: Likewise.
8575         * math/libm-test.inc (clog_test): Add more tests.
8576         (clog10_test): Likewise.
8577         * sysdeps/i386/fpu/libm-test-ulps: Update.
8578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8579
8580         [BZ #11451]
8581         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8582         x and y.
8583         * math/libm-test.inc (atan2_test): Add another test.
8584
8585         * Makerules (common-objdir-compile): Remove.
8586         * sysdeps/unix/Makefile (config-generated): Do not add
8587         $(unix-generated) to variable.
8588         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8589         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8590         Remove rule.
8591         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8592         Likewise.
8593         [generic bits/local_lim.h] (before-compile): Do not append to
8594         variable.
8595         [generic bits/local_lim.h] (common-generated): Likewise.
8596         [generic sys/param.h] (before-compile): Do not append to variable.
8597         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8598         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8599         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8600         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8601         include.
8602         [generic sys/param.h] (sys/param.h-includes): Remove variable.
8603         [generic sys/param.h] (sys/param.h-includes): Remove rule.
8604         [generic sys/param.h] ($(addprefix
8605         $(common-objpfx),$(sys/param.h-includes))): Likewise.
8606         [generic sys/param.h] (common-generated): Do not append to
8607         variable.
8608         [generic sys/param.h] (sysdep_headers): Likewise.
8609         [generic bits/errno.h] (before-compile): Do not append to
8610         variable.
8611         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8612         rule.
8613         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8614         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8615         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8616         [generic bits/errno.h] (common-generated): Do not append to
8617         variable.
8618         [generic bits/ioctls.h] (before-compile): Do not append to
8619         variable.
8620         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8621         rule.
8622         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8623         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8624         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8625         rule.
8626         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8627         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8628         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8629         [generic bits/ioctls.h] (common-generated): Do not append to
8630         variable.
8631         [generic sys/syscall.h] (syscall.h): Remove variable.
8632         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8633         rule.
8634         [generic sys/syscall.h] (before-compile): Do not append to
8635         variable.
8636         [generic sys/syscall.h] (common-generated): Likewise.
8637         * sysdeps/unix/errnos-tmpl.c: Remove file.
8638         * sysdeps/unix/errnos.awk: Likewise.
8639         * sysdeps/unix/ioctls-tmpl.c: Likewise.
8640         * sysdeps/unix/ioctls.awk: Likewise.
8641         * sysdeps/unix/mk-local_lim.c: Likewise.
8642         * sysdeps/unix/snarf-ioctls: Likewise.
8643
8644 2012-03-19  Richard Henderson  <rth@twiddle.net>
8645
8646         * sysdeps/i386/fpu/fenv_private.h: New file.
8647         * sysdeps/i386/fpu/math_private.h: Use it.
8648         (math_opt_barrier, math_force_eval): Remove.
8649         (libc_feholdexcept_setround_53bit): Remove.
8650         (libc_feupdateenv_53bit): Remove.
8651         * sysdeps/x86_64/fpu/math_private.h: Likewise.
8652         (math_opt_barrier, math_force_eval): Remove.
8653         (libc_feholdexcept): Remove.
8654         (libc_feholdexcept_setround): Remove.
8655         (libc_fetestexcept, libc_fesetenv): Remove.
8656         (libc_feupdateenv_test): Remove.
8657         (libc_feupdateenv, libc_feholdsetround): Remove.
8658         (libc_feresetround): Remove.
8659
8660         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8661         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8662
8663         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8664         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8665         (libc_feupdateenv_testl): New.
8666         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8667         (libc_feupdateenv_testf): New.
8668         (libc_feupdateenv): Use libc_feupdateenv_test.
8669         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8670         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8671
8672         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8673         (libc_feholdsetroundf, libc_feholdsetroundl): New.
8674         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8675         (libc_feresetround_noex): New.
8676         (libc_feresetround_noexf): New.
8677         (libc_feresetround_noexl): New.
8678         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8679         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8680         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8681         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8682         SET_RESTORE_ROUND.
8683         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8684         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8685         (__cos): Likewise.
8686         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8687         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8688         SET_RESTORE_ROUND_NOEX.
8689         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8690         SET_RESTORE_ROUND_NOEXF.
8691         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8692         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8693         (libc_feholdsetroundf): New.
8694         (libc_feresetround, libc_feresetroundf): New.
8695
8696         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8697         (libc_feholdexcept_setround_53bit): Convert from macro to function.
8698         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
8699
8700         * sysdeps/generic/math_private.h: Include <fenv.h>.
8701         (default_libc_feholdexcept): New.
8702         (default_libc_feholdexcept_setround): New.
8703         (default_libc_fesetenv, default_libc_feupdateenv): New.
8704         (libc_feholdexcept): Only define if undefined.
8705         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8706         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8707         (libc_feholdexcept_setroundl): Likewise.
8708         (libc_feholdexcept_setround_53bit): Likewise.
8709         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8710         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8711         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8712         (libc_feupdateenv_53bit): Likewise.
8713         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8714         (libc_feholdexcept): Convert from macro to inline function.
8715         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8716         (libc_fesetenv, libc_feupdateenv): Likewise.
8717
8718         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8719         not previously defined.
8720         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8721         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8722         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8723         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8724         * sysdeps/ieee754/flt-32/math_private.h: New file.
8725         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8726         math_private.h below SET_FLOAT_WORD.
8727         (__isnan, __isinf_ns, __finite): Remove.
8728         (__isnanf, __isinf_nsf, __finitef): Remove.
8729
8730 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
8731
8732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8733
8734 2012-03-17  David S. Miller  <davem@davemloft.net>
8735
8736         [BZ #6471]
8737         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8738         for 2.16.
8739
8740 2012-03-16  David S. Miller  <davem@davemloft.net>
8741
8742         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8743         warnings.
8744
8745         [BZ #6471]
8746         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8747         properly.
8748         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8749         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8750         sysdep_routines when subdir is sysvipc.
8751         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8752         __getshmlba helper.
8753
8754         * sysdeps/sparc/fpu/libm-test/ulps: Update.
8755
8756 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8757
8758         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8759         [__LP64__].
8760
8761 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8762
8763         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8764         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8765         (__lround): Renamed to ...
8766         (__llround): This.  Replace long int with long long int.
8767         Define lround functions as aliases of llround functions.
8768         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8769
8770 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8771
8772         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8773         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
8774         adresses to uintptr_t.  Replace "long int" and "unsigned long
8775         int" with "greg_t" on va_arg.
8776
8777 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8778
8779         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8780         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8781
8782         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8783         Move e_machine check before EI_CLASS check.  Handle x32
8784         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8785         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8786         SKIP_EM_IA_64 and include
8787         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8788
8789         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8790         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8791         (add_system_dir): New macro.
8792
8793         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8794         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8795
8796 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
8797
8798         [BZ #2551]
8799         [BZ #2552]
8800         [BZ #2553]
8801         [BZ #2554]
8802         [BZ #2562]
8803         [BZ #2563]
8804         [BZ #2565]
8805         [BZ #2566]
8806         [BZ #2576]
8807         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8808         (y0): Likewise.
8809         * math/w_j0f.c (j0f): Likewise.
8810         (y0f): Likewise.
8811         * math/w_j0l.c (__j0l): Likewise.
8812         (__y0l): Likewise.
8813         * math/w_j1.c (j1): Likewise.
8814         (y1): Likewise.
8815         * math/w_j1f.c (j1f): Likewise.
8816         (y1f): Likewise.
8817         * math/w_j1l.c (__j1l): Likewise.
8818         (__y1l): Likewise.
8819         * math/w_jn.c (jn): Likewise.
8820         (yn): Likewise.
8821         * math/w_jnf.c (jnf): Likewise.
8822         (ynf): Likewise.
8823         * math/w_jnl.c (__jnl): Likewise.
8824         (__ynl): Likewise.
8825         * math/libm-test.inc (j0_test): Add more tests.
8826         (j1_test): Likewise.
8827         (jn_test): Likewise.  Add trailing semicolon to existing test.
8828         (y0_test): Likewise.
8829         (y1_test): Likewise.
8830         * sysdeps/i386/fpu/libm-test-ulps: Update.
8831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8832
8833         [BZ #13851]
8834         [BZ #13854]
8835         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8836         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8837         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8838         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8839         (__tanl): Set errno for infinite argument.
8840         * sysdeps/i386/fpu/mptan.c: Remove.
8841         * sysdeps/i386/fpu/s_tan.S: Likewise.
8842         * sysdeps/i386/fpu/s_tanl.S: Likewise.
8843         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8844         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8845         * math/libm-test.inc (tan_test): Add more tests and enable more
8846         tests for double and long double.
8847         * sysdeps/i386/fpu/libm-test-ulps: Update.
8848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8849
8850 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
8851
8852         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8853         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8854
8855 2012-03-16  Roland McGrath  <roland@hack.frob.com>
8856
8857         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8858         * configure.in: Use it for both main tree and add-ons.
8859         * configure: Regenerated.
8860
8861 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8862
8863         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8864
8865 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
8866
8867         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8868         in comment.
8869
8870         [BZ #13851]
8871         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8872         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8873         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8874         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8875         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8876         infinite argument.
8877         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8878         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8879         != 0 for prec == 2.
8880         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8881         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8882         * sysdeps/i386/fpu/s_cosl.S: Likewise.
8883         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8884         * sysdeps/i386/fpu/s_sinl.S: Likewise.
8885         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8886         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8887         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8888         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8889         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8890         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8891         * math/libm-test.inc (cos_test): Add more tests and enable more
8892         tests for long double.
8893         (sin_test): Likewise.
8894         (sincos_test): Likewise.
8895         * sysdeps/i386/fpu/libm-test-ulps: Update.
8896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8897
8898 2012-03-16  David S. Miller  <davem@davemloft.net>
8899
8900         * sysdeps/sparc/fpu/math_private.h: New file.
8901
8902 2012-03-15  David S. Miller  <davem@davemloft.net>
8903
8904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8905         file.
8906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8908         file.
8909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8912         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8913         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8914         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8915         sysdep routines.
8916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8917
8918         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8919         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8920
8921         * sysdeps/sparc/sparc-ifunc.h: New file.
8922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8923         sparc-ifunc.h
8924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8926         Likewise.
8927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8928         Likewise.
8929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8933         Likewise.
8934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8939         Likewise.
8940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8941         Likewise.
8942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8947         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8948         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8949         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8950         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8951         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8955         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8956         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8957         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8958         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8959         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8960         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8961         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8962         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8963         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8964         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8965         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8966
8967 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
8968
8969         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8970         scaling.
8971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8972
8973 2012-03-15  Andreas Jaeger  <aj@suse.de>
8974
8975         [BZ #13852]
8976         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8977         ieee754/flt-32 implementation for sin, cos and sincos.
8978         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8979         * sysdeps/i386/fpu/s_cosf.S: Likewise.
8980         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8981         * sysdeps/i386/fpu/s_sinf.S: Likewise.
8982         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8983         ieee754/flt-32 implementation for tan.
8984
8985         * math/libm-test.inc (cos_test): Enable some large input tests for
8986         float as well
8987         (sin_test): Likewise.
8988         (sincos_test): Likewise.
8989         (tan_test): Add tests for large input.
8990
8991         * sysdeps/i386/fpu/libm-test-ulps: Update.
8992
8993 2012-03-15  Andreas Jaeger  <aj@suse.de>
8994
8995         [BZ #13658]
8996         * math/libm-test.inc (cos_test): Add more test cases.
8997         (sin_test): Likewise.
8998         (sincos_test): Likewise.
8999
9000 2012-03-15  Andreas Jaeger  <aj@suse.de>
9001
9002         [BZ #13837]
9003         * math/libm-test.inc (cos_test): Add a test case for large input
9004         value.
9005         (sin_test): Likewise.
9006         (sincos_test): Likewise.
9007
9008 2012-03-15  Andreas Jaeger  <aj@suse.de>,
9009         Joseph Myers  <joseph@codesourcery.com>
9010
9011         [BZ #13658]
9012         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9013         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9014         * sysdeps/i386/fpu/branred.c: Likewise.
9015         * sysdeps/i386/fpu/dosincos.c: Likewise.
9016         * sysdeps/i386/fpu/mpa.c: Likewise.
9017         * sysdeps/i386/fpu/s_cos.S: Likewise.
9018         * sysdeps/i386/fpu/s_sin.S: Likewise.
9019         * sysdeps/i386/fpu/s_sincos.S: Likewise.
9020         * sysdeps/i386/fpu/sincos32.c: Likewise.
9021
9022         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9023         Define.
9024         (libc_feupdateenv_53bit): Define.
9025         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9026         Define.
9027         (libc_feupdateenv_53bit): Define.
9028
9029         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9030         53 bit (without extend i386 double precision).
9031
9032         * math/libm-test.inc (sincos_test): Add tests for large input.
9033         (sin): Likewise.
9034         (cos): Likewise.
9035
9036         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9037
9038 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
9039
9040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9041
9042 2012-03-15  David S. Miller  <davem@davemloft.net>
9043
9044         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9045         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9046         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9047         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9052         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9053         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9054         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9055         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9056         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9060         file.
9061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9063         file.
9064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9066         file.
9067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9069         file.
9070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9071         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9072         fmin/fmax sysdep routines.
9073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9074
9075 2012-03-14  David S. Miller  <davem@davemloft.net>
9076
9077         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9078         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9079         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9080         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9081         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9082         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9083         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9084         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9085         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9086         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9087         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9088         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9089         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9090         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9091         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9092         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9093         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9094         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9095         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9096         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9097         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9098         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9099         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9100         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9101         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9102         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9103         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9104         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9105         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9106         routines.
9107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9108         file.
9109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9111         file.
9112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9114         file.
9115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9117         file.
9118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9120         file.
9121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9123         file.
9124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9125         file.
9126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9127         file.
9128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9129         file.
9130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9131         New file.
9132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9133         file.
9134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9135         file.
9136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9138         file.
9139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9141         file.
9142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9144         file.
9145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9147         VIS3 routines.
9148
9149         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9150         New file.
9151
9152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9153
9154         * sysdeps/sparc/configure.in: New file.
9155         * sysdeps/sparc/configure: Generate.
9156         * configure.in (libc_cv_sparc_as_vis3): Substitute.
9157         * configure: Regenerate.
9158         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9159         * config.make.in (have-as-vis3): New.
9160         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9161         available use -Av9d instead of -Av9a.
9162         * sysdeps/sparc/sparc64/Makefile: Likewise.
9163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9165         New file.
9166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9167         file.
9168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9169         New file.
9170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9171         file.
9172         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9173         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9174         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9175         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9176         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9177
9178         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9179         fzeros/fnegs to load 0x80000000 into a float register instead of
9180         using the stack.
9181         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9182
9183 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9184
9185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9186         bits/syscall.h.
9187         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9188         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9189         ($(inst_includedir)/bits/syscall.h): Remove rule.
9190         ($(objpfx)bits/syscall.d): Include instead of
9191         $(objpfx)syscall-list.d.
9192         (generated): Change syscall-list.h and syscall-list.d to
9193         bits/syscall.h and bits/syscall.d.
9194
9195 2012-03-14  Roland McGrath  <roland@hack.frob.com>
9196
9197         [BZ #13846]
9198         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9199
9200 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
9201
9202         [BZ #13841]
9203         * math/s_csqrt.c: Include <float.h>.
9204         (__csqrt): Scale large or subnormal inputs.
9205         * math/s_csqrtf.c: Likewise.
9206         * math/s_csqrtl.c: Likewise.
9207         * math/libm-test.inc (csqrt_test): Add more tests.
9208         * sysdeps/i386/fpu/libm-test-ulps: Update.
9209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9210
9211         [BZ #13840]
9212         * math/libm-test.inc (hypot_test): Add more tests.
9213
9214 2012-03-13  David S. Miller  <davem@davemloft.net>
9215
9216         [BZ #13840]
9217         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9218         double-precision for the calculation instead of scaling.
9219
9220 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
9221
9222         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9223         manipulate bits before adding and subtracting TWO52[sx].
9224         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9225         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9226         Likewise.
9227         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9228
9229 2012-03-13  David S. Miller  <davem@davemloft.net>
9230
9231         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9232         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9233         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9234         rtld-global-offsets.h
9235         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9236
9237         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9238         large parameters.
9239
9240         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9241
9242         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9243         'err' in the ifdef scope in which it is actually used.
9244
9245         * nss/nss_db/db-init.c: Include string.h
9246
9247 2012-03-12  David S. Miller  <davem@davemloft.net>
9248
9249         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9250         masking out of the most significant byte of random value used.
9251         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9252         Fix coding style in previous change.
9253
9254         * sysdeps/unix/sysv/linux/kernel-features.h
9255         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9256         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9257         expression.
9258         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9259         later.
9260
9261 2012-03-11  David S. Miller  <davem@davemloft.net>
9262
9263         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9264         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9265         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9266         for 'resultvar' otherwise things get truncated on 64-bit.
9267
9268         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9269         Fix masking out of the most significant byte of random value used.
9270
9271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9272
9273 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
9274
9275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9276
9277 2012-03-09  David S. Miller  <davem@davemloft.net>
9278
9279         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9280         variables with appropriate CPP guards.
9281         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9282         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
9283         on resulting framesize and the management of the outregs buffer for pltexit.
9284         Preserve floating point return values across _dl_call_pltexit call.
9285         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9286         framesize and the management of the outregs buffer for pltexit.
9287         Preserve floating point return values across _dl_call_pltexit
9288         call.
9289         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9290         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9291         (print_exit): Fix format string for return register value.
9292
9293 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
9294
9295         * sunrpc/Makefile (others): Add rpcgen.
9296         ($(objpfx)rpcgen): Remove special build rule and dependency on
9297         libc.
9298         * sunrpc/rpcgen.c: New file.
9299
9300 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
9301
9302         [BZ #13673]
9303         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9304         * stdio-common/bug-vfprintf-nargs.c: Likewise.
9305         * sysdeps/i386/crti.S: Likewise.
9306         * sysdeps/i386/crtn.S: Likewise.
9307         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9308         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9309         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9310         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9311         * sysdeps/sh/crti.S: Likewise.
9312         * sysdeps/sh/crtn.S: Likewise.
9313         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9314
9315         [BZ #13673]
9316         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9317         with URL.
9318         * locale/programs/locfile-kw.gperf: Likewise.
9319         * locale/programs/charmap-kw.h: Regenerated.
9320         * locale/programs/locfile-kw.h: Likewise.
9321
9322         [BZ #13673]
9323         * intl/plural.y: Replace FSF snail mail address with URL.
9324         * intl/plural.c: Regenerated.
9325
9326 2012-03-09  Richard Henderson  <rth@twiddle.net>
9327
9328         * include/math_private.h: Remove file.
9329         * math/math_private.h: Move file ...
9330         * sysdeps/generic/math_private.h: ... here.
9331
9332         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9333         * sysdeps/powerpc/fpu/math_private.h: Likewise.
9334         * sysdeps/x86_64/fpu/math_private.h: Likewise.
9335
9336         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9337         and <math_private.h>.
9338         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9339         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9340         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9341         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9342         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9343         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9344         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9345         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9346         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9347         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9348         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9349         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9350         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9351         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9352         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9353         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9354         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9355         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9356         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9357         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9358         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9359         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9360         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9361         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9362         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9363         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9364         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9365         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9366         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9367         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9368         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9369         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9370         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9371         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9372         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9373         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9374         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9375         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9376         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9377         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9378         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9379         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9380         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9381         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9382         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9383         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9384         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9385         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9386         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9387         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9388         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9389         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9390         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9391         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9392         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9393         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9394         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9395         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9396         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9397         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9398         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9399         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9400         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9401         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9402         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9403         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9404         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9405         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9406         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9407         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9408         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9409         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9410         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9411         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9412         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9413         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9414         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9415         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9416         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9417         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9418         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9419         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9420         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9421         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9422         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9423         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9424         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9425         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9426         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9427         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9428         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9429         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9430         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9431         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9432         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9433         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9434         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9435         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9436         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9437         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9438         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9439         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9440         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9441         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9442         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9443         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9444         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9445         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9446         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9447         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9448         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9449         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9450         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9451         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9452         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9453         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9454         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9455         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9456         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9457         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9458         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9459         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9460         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9461         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9462         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9463         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9464         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9465         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9466         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9467         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9468         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9469         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9470         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9471         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9472         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9473         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9474         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9475         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9476         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9477         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9478         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9479         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9480         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9481         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9482         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9483         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9484         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9485         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9486         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9487         * sysdeps/ieee754/k_standard.c: Likewise.
9488         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9489         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9490         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9491         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9492         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9493         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9494         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9495         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9496         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9497         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9498         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9499         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9500         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9501         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9502         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9503         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9504         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9505         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9506         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9507         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9508         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9509         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9510         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9511         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9512         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9513         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9514         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9515         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9516         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9517         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9518         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9519         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9520         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9521         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9522         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9523         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9524         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9525         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9526         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9527         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9528         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9529         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9530         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9531         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9532         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9533         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9534         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9535         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9536         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9537         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9538         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9539         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9540         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9541         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9542         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9543         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9544         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9545         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9546         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9547         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9548         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9549         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9550         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9551         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9552         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9553         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9554         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9555         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9556         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9557         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9558         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9559         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9560         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9561         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9562         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9563         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9564         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9565         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9566         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9567         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9568         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9569         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9570         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9571         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9572         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9573         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9574         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9575         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9576         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9577         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9578         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9579         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9580         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9581         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9582         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9583         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9584         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9585         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9586         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9587         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9588         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9589         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9590         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9591         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9592         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9593         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9594         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9595         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9596         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9597         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9598         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9599         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9600         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9601         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9602         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9603         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9604         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9605         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9606         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9607         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9608         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9609         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9610         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9611         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9612         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9613         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9614         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9615         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9616         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9617         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9618         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9619         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9620         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9621         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9622         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9623         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9624         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9625         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9626         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9627         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9628         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9629         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9630         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9631         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9632         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9633         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9634         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9635         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9636         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9637         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9638         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9639         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9640         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9641         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9642         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9643         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9644         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9645         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9646         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9647         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9648         * sysdeps/ieee754/s_lib_version.c: Likewise.
9649         * sysdeps/ieee754/s_matherr.c: Likewise.
9650         * sysdeps/ieee754/s_signgam.c: Likewise.
9651         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9652         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9653         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9654         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9655         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9656         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9657         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9658         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9659         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9660         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9661         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9662         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9663         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9664         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9665         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9666         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9667         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9668         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9669         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9670         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9671         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9672
9673 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
9674
9675         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9676         * sunrpc/rpc_main.c: Likewise.
9677         * sunrpc/rpc_svcout.c: Likewise.
9678
9679 2012-03-09  David S. Miller  <davem@davemloft.net>
9680
9681         * include/math_private.h: New file.
9682
9683 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
9684
9685         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9686         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9687         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9688         from <bits/socket_type.h>.
9689         (enum __socket_type): Don't define here.
9690         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9691         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9692         bits/socket_type.h.
9693
9694         [BZ #13566]
9695         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9696         checking __USE_GNU.
9697
9698         * Makerules ($(inst_includedir)/%.h): New rule.
9699         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9700         (install-others): Remove variable setting.
9701         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9702
9703 2012-03-08  Richard Henderson  <rth@twiddle.net>
9704
9705         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9706         from macro to inline function; merge with the
9707         !__LIBC_INTERNAL_MATH_INLINES version.
9708         (__ieee754_sqrtf): Likewise.
9709
9710         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9711         to inline function.
9712         (__rintf, __floor, __floorf): Likewise.
9713
9714         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9715         macro to inline function.
9716         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9717
9718         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9719         not <math/math_private.h>.
9720
9721 2012-03-08  David S. Miller  <davem@davemloft.net>
9722
9723         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9724         copyright year.
9725         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9726
9727 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
9728
9729         * resolv/gai_misc.c (handle_requests): Fix struct timespec
9730         normalization.
9731         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9732         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9733
9734 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
9735
9736         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
9737         be defined individually, they must be defined as a block.  Define
9738         S for printing a string instead of hidint the different by using a
9739         macro for adding the 'l'.
9740         * stdio-common/tst-fphex-wide.c: Adjust.
9741
9742 2012-03-07  Marek Polacek  <polacek@redhat.com>
9743
9744         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9745
9746 2012-03-08  Marek Polacek  <polacek@redhat.com>
9747
9748         [BZ #13806]
9749         * stdio-common/Makefile (tests): Add tst-fphex-wide.
9750         * stdio-common/tst-fphex.c: Define a few macros to make the
9751         test reusable.  Use them.
9752         * stdio-common/tst-fphex-wide.c: New file.
9753
9754 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
9755
9756         [BZ #6911]
9757         * manual/macros.texi (gnusystems): New macro.
9758         (nongnusystems): Likewise.
9759         (gnulinuxhurdsystems): Likewise.
9760         (gnuhurdsystems): Likewise..
9761         (gnulinuxsystems): Likewise.
9762         * manual/charset.texi: Use new macros or @theglibc{} to refer to
9763         variants of the GNU system, not "GNU system".
9764         * manual/conf.texi: Likewise.
9765         * manual/errno.texi: Likewise.  Update example of errno macro
9766         expansion.
9767         * manual/filesys.texi: Likewise.
9768         (getumask): Document as specific to GNU/Hurd.
9769         * manual/install.texi: Likewise.  Reword some references to
9770         GNU/Linux.
9771         * manual/intro.texi: Likewise.
9772         * manual/io.texi: Likewise.
9773         (File Name Portability): Detail which constraints are inapplicable
9774         to all GNU systems and which are only inapplicable to GNU/Hurd.
9775         * manual/job.texi: Likewise.
9776         * manual/llio.texi: Likewise.
9777         (O_NOCTTY): Document as present on GNU/Linux.
9778         * manual/maint.texi: Likewise.
9779         * manual/memory.texi: Likewise.
9780         * manual/pattern.texi: Likewise.
9781         * manual/pipe.texi: Likewise.
9782         * manual/process.texi: Likewise.
9783         * manual/resource.texi: Likewise.
9784         (RUSAGE_CHILDREN): Remove statement about specifying a particular
9785         child on GNU/Hurd.
9786         * manual/setjmp.texi: Likewise.
9787         * manual/signal.texi: Likewise.
9788         * manual/startup.texi: Likewise.
9789         * manual/stdio.texi: Likewise.
9790         * manual/terminal.texi: Likewise.
9791         (ONLCR): Document as POSIX.
9792         (OXTABS): Document availability on GNU/Linux as XTABS.
9793         (ONOEOT): Document availability separately from other bits.
9794         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9795         * manual/time.texi: Likewise.
9796         * manual/users.texi: Likewise.
9797         * INSTALL: Regenerated.
9798         * sysdeps/gnu/errlist.c: Regenerated.
9799
9800         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9801         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9802         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
9803         puts.
9804         * configure: Regenerated.
9805
9806 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
9807
9808         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9809         default includes instead of AC_HEADER_CHECK.
9810         * sysdeps/i386/configure: Regenerated.
9811
9812         [BZ #10716]
9813         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9814         * math/s_cacoshf.c (__cacoshf): Likewise.
9815         * math/s_cacoshl.c (__cacoshl): Likewise.
9816         * math/s_casinh.c (__casinh): Set signs of result from argument.
9817         * math/s_casinhf.c (__casinhf): Likewise.
9818         * math/s_casinhl.c (__casinhl): Likewise.
9819         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9820         (casinh_test): Add more tests.
9821         * sysdeps/i386/fpu/libm-test-ulps: Update.
9822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9823
9824 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
9825
9826         * po/zh_TW.po: Update from translation team.
9827
9828         * login/Makefile (distribute): Remove variable.
9829         * catgets/Makefile: Likewise.
9830         * mach/Makefile: Likewise.
9831         * malloc/Makefile: Likewise.
9832         * misc/Makefile: Likewise.
9833         * iconv/Makefile: Likewise.
9834         * nscd/Makefile: Likewise.
9835         * hurd/Makefile: Likewise.
9836         * manual/Makefile: Likewise.
9837         * locale/Makefile: Likewise.
9838         * intl/Makefile: Likewise.
9839         * conform/Makefile: Likewise.
9840         * nss/Makefile: Likewise.
9841         * time/Makefile: Likewise.
9842         * soft-fp/Makefile: Likewise.
9843         * dirent/Makefile: Likewise.
9844         * gmon/Makefile: Likewise.
9845         * po/Makefile: Likewise.
9846         * rt/Makefile: Likewise.
9847         * socket/Makefile: Likewise.
9848         * math/Makefile: Likewise.
9849         * signal/Makefile: Likewise.
9850         * debug/Makefile: Likewise.
9851         * elf/Makefile: Likewise.
9852         * timezone/Makefile: Likewise.
9853         * stdlib/Makefile: Likewise.
9854         * iconvdata/Makefile: Likewise.
9855         * sunrpc/Makefile: Likewise.
9856         * io/Makefile: Likewise.
9857         * argp/Makefile: Likewise.
9858         * inet/Makefile: Likewise.
9859         * hesiod/Makefile: Likewise.
9860         * grp/Makefile: Likewise.
9861         * csu/Makefile: Likewise.
9862         * wctype/Makefile: Likewise.
9863         * crypt/Makefile: Likewise.
9864         * libio/Makefile: Likewise.
9865         * string/Makefile: Likewise.
9866         * nis/Makefile: Likewise.
9867         * resolv/Makefile: Likewise.
9868         * stdio-common/Makefile: Likewise.
9869         * wcsmbs/Makefile: Likewise.
9870         * dlfcn/Makefile: Likewise.
9871         * posix/Makefile: Likewise.
9872
9873         [BZ #6959]
9874         * timezone/Makefile: Don't install timezone files, just the programs
9875         and scripts.
9876
9877 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
9878
9879         * nss/databases.def: Add missing gshadow entry.
9880
9881         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
9882
9883 2012-03-06  Marek Polacek  <polacek@redhat.com>
9884
9885         [BZ #13726]
9886         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9887         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9888         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9889         * stdio-common/tst-long-dbl-fphex.c: New file.
9890
9891 2012-03-06  David S. Miller  <davem@davemloft.net>
9892
9893         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9894         (set_obp_int): New function.
9895         (get_obp_int): New function.
9896         (__get_clockfreq_via_dev_openprom): Likewise.
9897         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9898         Avoid unused variable warnings on 'val' and use builtin_expect.
9899         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9900         __builtin_expect.
9901         (INLINE_CLONE_SYSCALL): Likewise.
9902
9903 2012-03-05  David S. Miller  <davem@davemloft.net>
9904
9905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9906
9907 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
9908
9909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9910
9911         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9912         only for |x| >= 40.
9913         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9914
9915 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
9916
9917         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9918         Replace gettimeofday with __vdso_gettimeofday.
9919
9920         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9921         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9922         __vdso_clock_gettime and __vdso_getcpu.
9923
9924         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9925         time with __vdso_time.
9926
9927 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
9928
9929         * manual/lang.texi (size_t): Note types to which size_t may be
9930         equivalent with the GNU C Library, but do not describe when
9931         differences between them are significant.
9932
9933 2012-03-05  Andreas Jaeger  <aj@suse.de>
9934
9935         * sysdeps/i386/fpu/libm-test-ulps: Update.
9936
9937 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
9938
9939         [BZ #3976]
9940         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9941         (__ieee754_pow): Save and restore rounding mode and use
9942         round-to-nearest for main computations.
9943         * math/libm-test.inc (pow_test_tonearest): New function.
9944         (pow_test_towardzero): Likewise.
9945         (pow_test_downward): Likewise.
9946         (pow_test_upward): Likewise.
9947         (main): Call the new functions.
9948         * sysdeps/i386/fpu/libm-test-ulps: Update.
9949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9950
9951         [BZ #3976]
9952         * math/libm-test.inc (cosh_test_tonearest): New function.
9953         (cosh_test_towardzero): Likewise.
9954         (cosh_test_downward): Likewise.
9955         (cosh_test_upward): Likewise.
9956         (sinh_test_tonearest): Likewise.
9957         (sinh_test_towardzero): Likewise.
9958         (sinh_test_downward): Likewise.
9959         (sinh_test_upward): Likewise.
9960         (main): Call the new functions.
9961         * sysdeps/i386/fpu/libm-test-ulps: Update.
9962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9963
9964 2012-03-05  Tom de Vries  <tom@codesourcery.com>
9965
9966         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9967         default stack guard is set in last bytes.
9968         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9969
9970 2012-03-05  Kees Cook  <keescook@chromium.org>
9971
9972         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9973
9974         [BZ #13656]
9975         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9976         possibly allocate from heap instead of stack.
9977         * stdio-common/bug-vfprintf-nargs.c: New file.
9978         * stdio-common/Makefile (tests): Add nargs overflow test.
9979
9980 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
9981
9982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9983
9984 2012-03-03  Marek Polacek  <polacek@redhat.com>
9985
9986         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9987         * math/math_private.h: Likewise.
9988         * stdlib/tst-strtod.c: Likewise.
9989         * sysdeps/i386/i486/bits/atomic.h: Likewise.
9990         * sysdeps/x86_64/bits/atomic.h: Likewise.
9991
9992 2012-03-02  David S. Miller  <davem@davemloft.net>
9993
9994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9998         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9999         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10000         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10001         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10002
10003 2012-03-02  Roland McGrath  <roland@hack.frob.com>
10004
10005         [BZ #13792]
10006         * manual/examples/README: New file, says the example source files
10007         can be used under GPL>=2.
10008         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10009         line containing just "*/".
10010         * manual/examples/add.c: Add copyright header (GPL>=2).
10011         * manual/examples/argp-ex1.c: Likewise.
10012         * manual/examples/argp-ex2.c: Likewise.
10013         * manual/examples/argp-ex3.c: Likewise.
10014         * manual/examples/argp-ex4.c: Likewise.
10015         * manual/examples/atexit.c: Likewise.
10016         * manual/examples/db.c: Likewise.
10017         * manual/examples/dir.c: Likewise.
10018         * manual/examples/dir2.c: Likewise.
10019         * manual/examples/execinfo.c: Likewise.
10020         * manual/examples/filecli.c: Likewise.
10021         * manual/examples/filesrv.c: Likewise.
10022         * manual/examples/fmtmsgexpl.c: Likewise.
10023         * manual/examples/genpass.c: Likewise.
10024         * manual/examples/inetcli.c: Likewise.
10025         * manual/examples/inetsrv.c: Likewise.
10026         * manual/examples/isockad.c: Likewise.
10027         * manual/examples/longopt.c: Likewise.
10028         * manual/examples/memopen.c: Likewise.
10029         * manual/examples/memstrm.c: Likewise.
10030         * manual/examples/mkfsock.c: Likewise.
10031         * manual/examples/mkisock.c: Likewise.
10032         * manual/examples/mygetpass.c: Likewise.
10033         * manual/examples/pipe.c: Likewise.
10034         * manual/examples/popen.c: Likewise.
10035         * manual/examples/rprintf.c: Likewise.
10036         * manual/examples/search.c: Likewise.
10037         * manual/examples/select.c: Likewise.
10038         * manual/examples/setjmp.c: Likewise.
10039         * manual/examples/sigh1.c: Likewise.
10040         * manual/examples/sigusr.c: Likewise.
10041         * manual/examples/stpcpy.c: Likewise.
10042         * manual/examples/strdupa.c: Likewise.
10043         * manual/examples/strftim.c: Likewise.
10044         * manual/examples/strncat.c: Likewise.
10045         * manual/examples/subopt.c: Likewise.
10046         * manual/examples/swapcontext.c: Likewise.
10047         * manual/examples/termios.c: Likewise.
10048         * manual/examples/testopt.c: Likewise.
10049         * manual/examples/testpass.c: Likewise.
10050         * manual/examples/timeval_subtract.c: Likewise.
10051
10052         [BZ #13792]
10053         * manual/time.texi (Elapsed Time): Move timeval_subtract example
10054         function to ...
10055         * manual/timeval_subtract.c.texi: ... here, new file.
10056
10057 2012-03-02  David S. Miller  <davem@davemloft.net>
10058
10059         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10060
10061 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
10062
10063         [BZ #3976]
10064         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10065         (__sin): Save and restore rounding mode and use round-to-nearest
10066         for all computations.
10067         (__cos): Save and restore rounding mode and use round-to-nearest
10068         for all computations.
10069         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10070         <fenv.h>.
10071         (tan): Save and restore rounding mode and use round-to-nearest for
10072         all computations.
10073         * math/libm-test.inc (cos_test_tonearest): New function.
10074         (cos_test_towardzero): Likewise.
10075         (cos_test_downward): Likewise.
10076         (cos_test_upward): Likewise.
10077         (sin_test_tonearest): Likewise.
10078         (sin_test_towardzero): Likewise.
10079         (sin_test_downward): Likewise.
10080         (sin_test_upward): Likewise.
10081         (tan_test_tonearest): Likewise.
10082         (tan_test_towardzero): Likewise.
10083         (tan_test_downward): Likewise.
10084         (tan_test_upward): Likewise.
10085         (main): Call the new functions.
10086         * sysdeps/i386/fpu/libm-test-ulps: Update.
10087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10088
10089         [BZ #10135]
10090         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10091         small n, then large n, before computing and testing k+n.
10092         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10093         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10094         Likewise.
10095         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10096         Likewise.
10097         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10098         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10099         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10100         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10101         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10102         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10103         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10104         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10105         * math/libm-test.inc (scalbn_test): Add more tests.
10106         (scalbln_test): Likewise.
10107
10108         * manual/filesys.texi (mode_t): Describe constraints on size and
10109         signedness, not exact equivalence to a particular type.
10110         (ino_t): Likewise.
10111         (ino64_t): Likewise.
10112         (dev_t): Likewise.
10113         (nlink_t): Likewise.
10114         (blkcnt_t): Likewise.
10115         (blkcnt64_t): Likewise.
10116         * manual/llio.texi (off_t): Likewise.
10117
10118         [BZ #3976]
10119         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10120         (__ieee754_exp): Save and restore rounding mode and use
10121         round-to-nearest for all computations.
10122         * math/libm-test.inc (exp_test_tonearest): New function.
10123         (exp_test_towardzero): Likewise.
10124         (exp_test_downward): Likewise.
10125         (exp_test_upward): Likewise.
10126         (main): Call the new functions.
10127         * sysdeps/i386/fpu/libm-test-ulps: Update.
10128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10129
10130 2012-03-01  Chris Demetriou  <cgd@google.com>
10131
10132         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10133         have predictable order.
10134
10135 2012-03-01  David S. Miller  <davem@davemloft.net>
10136
10137         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10138
10139         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10140         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10141         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10142         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10143
10144         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10145         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10146         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10148         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10149         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10150         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10151         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10152         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10153
10154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10155
10156         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10157         * sysdeps/sparc/fpu/libm-test-ulps: to here.
10158         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10159
10160         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10161         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10162         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10163         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10164         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10165         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10166         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10167         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10168         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10169         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10170         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10171         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10172         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10173         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10174         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10175         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10176         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10177         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10178         * sysdeps/sparc/elf/configure: Regenerated.
10179
10180 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
10181
10182         * configure.in (AS, LD): Require binutils 2.20 or later.
10183         * configure: Regenerated.
10184         * manual/install.texi (Tools for Compilation): Give binutils 2.20
10185         as required minimum version.
10186         * INSTALL: Regenerated.
10187
10188         [BZ #2541]
10189         [BZ #4108]
10190         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10191         before squaring exponent.
10192         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10193         bottom long double and 27 bits of top long double before squaring
10194         exponent.
10195         * math/libm-test.inc (erfc_test): Add more tests.
10196         * sysdeps/i386/fpu/libm-test-ulps: Update.
10197         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10199
10200 2012-03-01  Kai Tietz  <ktietz@redhat.com>
10201
10202         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10203         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10204         containing bit-fields.
10205         * soft-fp/extended.h (_FP_UNION_E): Likewise.
10206         * soft-fp/single.h (_FP_UNION_S): Likewise.
10207         * soft-fp/double.h (_FP_UNION_D): Likewise.
10208
10209 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10210
10211         [BZ #13786]
10212         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10213         not include ../strcmp.S.
10214         [USE_AS_STRNCASECMP_L]: Likewise.
10215         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10216         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10217         * sysdeps/i386/i686/multiarch/strncase_l-c.c
10218         (__strncasecmp_l_ia32): Define as alias to
10219         __strncasecmp_l_nonascii.
10220
10221         [BZ #5794]
10222         * math/libm-test.inc (expm1_test): Add test for bug 5794.
10223         * sysdeps/i386/fpu/libm-test-ulps: Update.
10224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10225
10226         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10228
10229 2012-02-29  Jeff Law  <law@redhat.com>
10230
10231         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10232         out of bounds read.
10233
10234 2012-02-29  Marek Polacek  <polacek@redhat.com>
10235
10236         [BZ #13706]
10237         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10238         * elf/Makefile: Add rules to run tst-unused-dep.out.
10239
10240 2012-02-28  David S. Miller  <davem@davemloft.net>
10241
10242         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10243         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10244         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10245         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10246         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10247         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10248
10249 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
10250
10251         * math/libm-test.inc (llround_test): Move one test from
10252         lround_test.  Use TEST_f_L in moved test.
10253         (lround_test): Move misplaced test to llround_test.  Add testcase
10254         from bug 2561.
10255
10256 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
10257
10258         * sysdeps/x86_64/fpu/e_expf.S: New file.
10259         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10260
10261 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
10262
10263         [BZ #13637]
10264         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10265         of remain_len that may cause incomplete multi-byte character and
10266         false match.
10267         * posix/bug-regex33.c: New file.
10268         * posix/Makefile (tests): Add bug-regex33.
10269
10270 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
10271
10272         * manual/macros.texi: New file.
10273         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10274         * manual/libc.texinfo: Include macros.texi.
10275         * manual/creatute.texi: Likewise.
10276         * manual/install.texi: Likewise.
10277         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10278         @glibcadj{} in references to the GNU C Library.
10279         * manual/charset.texi: Likewise.
10280         * manual/conf.texi: Likewise.
10281         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
10282         when not using those macros.
10283         * manual/creature.texi: Likewise.
10284         * manual/crypt.texi: Likewise.
10285         * manual/errno.texi: Likewise.
10286         * manual/filesys.texi: Likewise.
10287         * manual/header.texi: Likewise.
10288         * manual/install.texi: Likewise.
10289         * manual/intro.texi: Likewise.
10290         * manual/io.texi: Likewise.
10291         * manual/job.texi: Likewise.
10292         * manual/lang.texi: Likewise.
10293         * manual/libc.texiinfo: Likewise.
10294         * manual/llio.texi: Likewise.
10295         * manual/locale.texi: Likewise.
10296         * manual/maint.texi: Likewise.
10297         * manual/math.texi: Likewise.
10298         * manual/memory.texi: Likewise.
10299         * manual/message.texi: Likewise.
10300         * manual/nss.texi: Likewise.
10301         * manual/pattern.texi: Likewise.
10302         * manual/process.texi: Likewise.
10303         * manual/resource.texi: Likewise.
10304         * manual/search.texi: Likewise.
10305         * manual/setjmp.texi: Likewise.
10306         * manual/signal.texi: Likewise.
10307         * manual/socket.texi: Likewise.
10308         * manual/startup.texi: Likewise.
10309         * manual/stdio.texi: Likewise.
10310         * manual/string.texi: Likewise.
10311         * manual/sysinfo.texi: Likewise.
10312         * manual/syslog.texi: Likewise.
10313         * manual/terminal.texi: Likewise.
10314         * manual/time.texi: Likewise.
10315         * manual/users.texi: Likewise.
10316         * INSTALL: Regenerated.
10317         * NOTES: Regenerated.
10318         * sysdeps/gnu/errlist.c: Regenerated.
10319
10320 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
10321
10322         * include/dirent.h: Include <dirstream.h> before
10323         <dirent/dirent.h>.
10324
10325 2012-02-28  David S. Miller  <davem@davemloft.net>
10326
10327         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10328         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10329         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10330         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10331
10332 2012-02-27  David S. Miller  <davem@davemloft.net>
10333
10334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10336         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10337         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10338
10339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10340         frame pointer instead of stack pointer relative arg slot.
10341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10342         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10343         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10344
10345 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
10346
10347         [BZ #3992]
10348         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10349
10350 2012-02-27  David S. Miller  <davem@davemloft.net>
10351
10352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10356         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10357         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10358         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10359         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10360
10361 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10362
10363         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10364         later.  Allow versions 5-9.
10365         * configure: Regenerated.
10366         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10367         required minimum version and 4.6 as recommended version.  Do not
10368         mention bugs in GCC 2.7 and 2.8.
10369         * INSTALL: Regenerated.
10370
10371 2012-02-27  David S. Miller  <davem@davemloft.net>
10372
10373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10377         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10378         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10379         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10380         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10381
10382         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10383         manipulate bits before adding and subtracting TWO112[sx].
10384         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10385
10386 2012-02-27  Roland McGrath  <roland@hack.frob.com>
10387
10388         [BZ #13775]
10389         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10390         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10391         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10392         being in POSIX, because they are in 1003.1-2008.
10393
10394         * rt/tst-aio.c: Include <fcntl.h>.
10395         * rt/tst-aio7.c: Likewise.
10396         * rt/tst-aio64.c: Likewise.
10397
10398         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10399
10400 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
10401
10402         * manual/install.texi (--with-headers): Describe headers as
10403         interface headers, not private headers.
10404         (Specific advice for GNU/Linux systems): Describe use of headers
10405         from "make headers_install", not private headers from older
10406         kernels.
10407         * INSTALL: Regenerated.
10408         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10409         Change to 2.6.19.
10410         * sysdeps/unix/sysv/linux/configure: Regenerated.
10411
10412         * manual/llio.texi (fclean): Remove documentation.
10413
10414         * manual/Makefile (libc-texi-generated): New variable.  Include
10415         version.texi.
10416         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10417         $(libc-texi-generated), not duplicated list of files.
10418         (version.texi, stamp-version): New rules.
10419         (realclean): Remove $(libc-texi-generated), not individual files
10420         from that list.  Do not remove dir-add.texinfo.
10421         * manual/libc.texinfo: Comment out uses of edition numbers and
10422         references to printed manual.  Remove last-updated dates.
10423         (EDITION): Comment out.
10424         (ISBN): Likewise.
10425         (VERSION, UPDATED): Remove.
10426         (version.texi): Include.
10427
10428 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
10429
10430         * sysdeps/posix/spawni.c: Include <signal.h>.
10431         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10432         * sysdeps/pthread/aio_fsync.c: Likewise.
10433
10434 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
10435
10436         * conform/Makefile (tests): Run only when not cross-compiling and
10437         when fast-check is not defined.
10438
10439         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10440         * conform/data/limits.h-data: Fixes for POSIX2008.
10441         * conform/run-conformtest.sh: Run all tests.
10442         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10443         headers.
10444         * include/bits/dlfcn.h: Likewise.
10445         * include/langinfo.h: Likewise.
10446         * include/monetary.h: Likewise.
10447         * include/sys/poll.h: Likewise.
10448
10449         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10450         for __USE_GNU.
10451         * posix/spawn.h: Define __need_sigset_t.
10452         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10453         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10454         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
10455         to get sigevent_t only.
10456         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10457         only for __USE_GNU.
10458         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10459         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10460         process_vm_writev only for __USE_GNU.
10461         * termios/termios.h: Declare tcgetsid also for POSIX2008.
10462
10463         * conform/Makefile: For now ignore errors from run-conformtest.
10464         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
10465         POSIX to avoid namespace pollution.  Don't prepend headers.
10466         * conform/data/aio.h-data: Fixes for POSIX testing.
10467         * conform/data/fcntl.h-data: Likewise.
10468         * conform/data/glob.h-data: Likewise.
10469         * conform/data/grp.h-data: Likewise.
10470         * conform/data/pthread.h-data: Likewise.
10471         * conform/data/pwd.h-data: Likewise.
10472         * conform/data/signal.h-data: Likewise.
10473         * conform/data/spawn.h-data: Likewise.
10474         * conform/data/stdio.h-data: Likewise.
10475         * conform/data/stdlib.h-data: Likewise.
10476         * conform/data/stropts.h-data: Likewise.
10477         * conform/data/sys/mman.h-data: Likewise.
10478         * conform/data/sys/stat.h-data: Likewise.
10479         * conform/data/sys/types.h-data: Likewise.
10480         * conform/data/sys/wait.h-data: Likewise.
10481         * conform/data/time.h-data: Likewise.
10482         * conform/data/unistd.h-data: Likewise.
10483         * conform/data/utime.h-data: Likewise.
10484
10485         * io/sys/stat.h: fchmod was always in POSIX.
10486         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10487         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10488         * rt/aio.h: Define __need_timespec before including <time.h>.
10489         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10490         struct.  Add forward declaration of pthread_attr_t and use it in
10491         sigevent.
10492         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10493         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10494         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10495         always remove CLK_TCK definition.
10496
10497 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
10498
10499         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10500
10501 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
10502
10503         * conform/run-conformtest.sh: New file.
10504         * conform/Makefile: Run run-conformtest for tests.
10505         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
10506         support.
10507
10508         * conform/data/uchar.h-data: New file.
10509         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10510         * conform/data/arpa/inet.h-data: Likewise.
10511         * conform/data/assert.h-data: Likewise.
10512         * conform/data/complex.h-data: Likewise.
10513         * conform/data/cpio.h-data: Likewise.
10514         * conform/data/ctype.h-data: Likewise.
10515         * conform/data/dirent.h-data: Likewise.
10516         * conform/data/dlfcn.h-data: Likewise.
10517         * conform/data/errno.h-data: Likewise.
10518         * conform/data/fcntl.h-data: Likewise.
10519         * conform/data/float.h-data: Likewise.
10520         * conform/data/fmtmsg.h-data: Likewise.
10521         * conform/data/fnmatch.h-data: Likewise.
10522         * conform/data/ftw.h-data: Likewise.
10523         * conform/data/glob.h-data: Likewise.
10524         * conform/data/grp.h-data: Likewise.
10525         * conform/data/iconv.h-data: Likewise.
10526         * conform/data/inttypes.h-data: Likewise.
10527         * conform/data/langinfo.h-data: Likewise.
10528         * conform/data/libgen.h-data: Likewise.
10529         * conform/data/limits.h-data: Likewise.
10530         * conform/data/locale.h-data: Likewise.
10531         * conform/data/math.h-data: Likewise.
10532         * conform/data/monetary.h-data: Likewise.
10533         * conform/data/mqueue.h-data: Likewise.
10534         * conform/data/ndbm.h-data: Likewise.
10535         * conform/data/net/if.h-data: Likewise.
10536         * conform/data/netdb.h-data: Likewise.
10537         * conform/data/netinet/in.h-data: Likewise.
10538         * conform/data/nl_types.h-data: Likewise.
10539         * conform/data/poll.h-data: Likewise.
10540         * conform/data/pthread.h-data: Likewise.
10541         * conform/data/pwd.h-data: Likewise.
10542         * conform/data/regex.h-data: Likewise.
10543         * conform/data/sched.h-data: Likewise.
10544         * conform/data/search.h-data: Likewise.
10545         * conform/data/semaphore.h-data: Likewise.
10546         * conform/data/setjmp.h-data: Likewise.
10547         * conform/data/signal.h-data: Likewise.
10548         * conform/data/spawn.h-data: Likewise.
10549         * conform/data/stdarg.h-data: Likewise.
10550         * conform/data/stdio.h-data: Likewise.
10551         * conform/data/stdlib.h-data: Likewise.
10552         * conform/data/string.h-data: Likewise.
10553         * conform/data/strings.h-data: Likewise.
10554         * conform/data/stropts.h-data: Likewise.
10555         * conform/data/sys/ipc.h-data: Likewise.
10556         * conform/data/sys/mman.h-data: Likewise.
10557         * conform/data/sys/msg.h-data: Likewise.
10558         * conform/data/sys/resource.h-data: Likewise.
10559         * conform/data/sys/select.h-data: Likewise.
10560         * conform/data/sys/sem.h-data: Likewise.
10561         * conform/data/sys/shm.h-data: Likewise.
10562         * conform/data/sys/socket.h-data: Likewise.
10563         * conform/data/sys/stat.h-data: Likewise.
10564         * conform/data/sys/statvfs.h-data: Likewise.
10565         * conform/data/sys/time.h-data: Likewise.
10566         * conform/data/sys/timeb.h-data: Likewise.
10567         * conform/data/sys/times.h-data: Likewise.
10568         * conform/data/sys/types.h-data: Likewise.
10569         * conform/data/sys/uio.h-data: Likewise.
10570         * conform/data/sys/un.h-data: Likewise.
10571         * conform/data/sys/utsname.h-data: Likewise.
10572         * conform/data/sys/wait.h-data: Likewise.
10573         * conform/data/syslog.h-data: Likewise.
10574         * conform/data/tar.h-data: Likewise.
10575         * conform/data/termios.h-data: Likewise.
10576         * conform/data/utime.h-data: Likewise.
10577         * conform/data/utmpx.h-data: Likewise.
10578         * conform/data/varargs.h-data: Likewise.
10579         * conform/data/wchar.h-data: Likewise.
10580         * conform/data/wctype.h-data: Likewise.
10581         * conform/data/wordexp.h-data: Likewise.
10582
10583         * include/stropts.h: New file.
10584         * include/uchar.h: New file.
10585         * include/aio.h: Changes to allow conformtest.pl to use the headers.
10586         * include/assert.h: Likewise.
10587         * include/ctype.h: Likewise.
10588         * include/dirent.h: Likewise.
10589         * include/dlfcn.h: Likewise.
10590         * include/fcntl.h: Likewise.
10591         * include/fnmatch.h: Likewise.
10592         * include/glob.h: Likewise.
10593         * include/grp.h: Likewise.
10594         * include/libio.h: Likewise.
10595         * include/locale.h: Likewise.
10596         * include/math.h: Likewise.
10597         * include/net/if.h: Likewise.
10598         * include/netdb.h: Likewise.
10599         * include/netinet/in.h: Likewise.
10600         * include/pthread.h: Likewise.
10601         * include/pwd.h: Likewise.
10602         * include/regex.h: Likewise.
10603         * include/sched.h: Likewise.
10604         * include/search.h: Likewise.
10605         * include/setjmp.h: Likewise.
10606         * include/signal.h: Likewise.
10607         * include/stdio.h: Likewise.
10608         * include/stdlib.h: Likewise.
10609         * include/string.h: Likewise.
10610         * include/sys/cdefs.h: Likewise.
10611         * include/sys/mman.h: Likewise.
10612         * include/sys/msg.h: Likewise.
10613         * include/sys/resource.h: Likewise.
10614         * include/sys/select.h: Likewise.
10615         * include/sys/socket.h: Likewise.
10616         * include/sys/stat.h: Likewise.
10617         * include/sys/statvfs.h: Likewise.
10618         * include/sys/time.h: Likewise.
10619         * include/sys/times.h: Likewise.
10620         * include/sys/uio.h: Likewise.
10621         * include/sys/utsname.h: Likewise.
10622         * include/sys/wait.h: Likewise.
10623         * include/termios.h: Likewise.
10624         * include/time.h: Likewise.
10625         * include/ulimit.h: Likewise.
10626         * include/unistd.h: Likewise.
10627         * include/utime.h: Likewise.
10628         * include/wchar.h: Likewise.
10629         * include/wctype.h: Likewise.
10630         * include/wordexp.h: Likewise.
10631
10632         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10633
10634         * time/time.h: TIME_UTC must be a macro.
10635         Make timespec_get available for ISO C11 only as well.
10636
10637 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
10638
10639         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10640         Reported by Peng Haitao <penght@cn.fujitsu.com>.
10641
10642 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
10643
10644         * configure.in: Use -o not -a in test for unsupported multi-arch.
10645
10646 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
10647
10648         * manual/texinfo.tex: Update to version 2012-01-19.16.
10649
10650 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
10651
10652         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10653
10654 2012-02-24  Roland McGrath  <roland@hack.frob.com>
10655
10656         [BZ #13738]
10657         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10658         * manual/fdl-1.3.texi: New file.
10659         * manual/fdl-1.1.texi: File removed.
10660
10661         [BZ #13738]
10662         * manual/libc.texinfo (FDL_VERSION): New @set.
10663         Use it for mention of FDL in cover text.
10664         (Documentation License): Use it in @include file name.
10665
10666 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10667             Roland McGrath  <roland@hack.frob.com>
10668
10669         [BZ #5461]
10670         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10671         not LONG_LONG_MAX and LONG_LONG_MIN.
10672         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10673         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
10674         name.
10675         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10676
10677 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10678
10679         [BZ #2547]
10680         [BZ #11365]
10681         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10682         manipulate bits before adding and subtracting TWO23[sx].
10683         * math/libm-test.inc (nearbyint_test): Add more tests.
10684
10685 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10686
10687         [BZ #2548]
10688         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10689         bits before adding and subtracting TWO23[sx].
10690         * math/libm-test.inc (rint_test): Add more tests.
10691         (rint_test_tonearest): Likewise.
10692         (rint_test_towardzero): Likewise.
10693         (rint_test_downward): Likewise.
10694         (rint_test_upward: Likewise.
10695
10696 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10697
10698         [BZ #10110]
10699         * include/stdc-predef.h: New file.  Extracted from features.h.
10700         * include/features.h: Include stdc-predef.h.
10701         * Makefile (headers): Add stdc-predef.h.
10702         * CONFORMANCE (Compiler limitations): Update.
10703
10704 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
10705
10706         * manual/libc.texinfo (VERSION, UPDATED): Revert.
10707
10708 2012-02-21  David S. Miller  <davem@davemloft.net>
10709
10710         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10711         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10712
10713 2012-02-20  David S. Miller  <davem@davemloft.net>
10714
10715         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10716         using a normal save/restore sequence, rather than allocating a
10717         dummy stack frame just to store a frame pointer and restore.
10718         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10719
10720 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10721
10722         * manual/install.texi: Fix stray word in line-wrapped comment.
10723
10724 2012-02-20  David S. Miller  <davem@davemloft.net>
10725
10726         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10727         both binutils and gcc support GOTDATA.
10728
10729         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10730         "rd %pc" in the PIC register setup sequences.
10731
10732         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10733         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10734         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10735         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10736         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10737         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10738         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10739         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10740         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10741         (SYSCALL_ERROR_HANDLER): Likewise.
10742         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10743         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10745         (SYSCALL_ERROR_HANDLER): Likewise.
10746
10747         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10748         (HAVE_GCC_GOTDATA): New.
10749         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10750         relocation support in both binutils and gcc.
10751         * sysdeps/sparc/elf/configure: Regenerate.
10752
10753         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10754         * sysdeps/sparc/sparc32/elf/configure: Delete.
10755         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10756         * sysdeps/sparc/sparc64/elf/configure: Delete.
10757         * sysdeps/sparc/elf/configure.in: New file.
10758         * sysdeps/sparc/elf/configure: Generate.
10759
10760         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10761         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10762         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10763         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10764         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10765
10766 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10767
10768         * manual/install.texi: Do not mention specific glibc version
10769         numbers.
10770         * manual/libc.texinfo (VERSION, UPDATED): Update.
10771         (@copying): Use @copyright{} and range of years.
10772
10773 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10774
10775         [BZ #13695]
10776         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10777         [crti.S not in sysdirs] (generated): Do not append.
10778         [crti.S not in sysdirs] (omit-deps): Likewise.
10779         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10780         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10781         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10782         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10783         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10784         Likewise.
10785         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10786         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10787         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10788         * csu/defs.awk: Remove file.
10789         * sysdeps/generic/initfini.c: Likewise.
10790         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10791         variable.
10792         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10793         Likewise.
10794
10795 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10796
10797         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10798         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10799         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10800         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10801         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10802         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10803         <bits/epoll.h>.
10804         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10805         (__EPOLL_PACKED): Define to empty if not defined by
10806         <bits/epoll.h>.
10807         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10809         bits/epoll.h.
10810
10811 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10812
10813         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10814         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10815         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10816         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10817         <bits/timerfd.h>.
10818         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10819         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10820         bits/timerfd.h.
10821
10822 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10823
10824         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10825         in C locale.
10826         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10827         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10828         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10830
10831 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
10832
10833         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10834         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10835
10836 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
10837
10838         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10839         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10840         defined.
10841         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10842         Likewise.
10843         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10844         entry for 2.16.
10845
10846 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
10847
10848         * math/w_acos.c: Use non-signaling floating-point comparisons.
10849         * math/w_acosf.c: Likewise.
10850         * math/w_acosh.c: Likewise.
10851         * math/w_acoshf.c: Likewise.
10852         * math/w_acoshl.c: Likewise.
10853         * math/w_acosl.c: Likewise.
10854         * math/w_asin.c: Likewise.
10855         * math/w_asinf.c: Likewise.
10856         * math/w_asinl.c: Likewise.
10857         * math/w_atanh.c: Likewise.
10858         * math/w_atanhf.c: Likewise.
10859         * math/w_atanhl.c: Likewise.
10860         * math/w_exp2.c: Likewise.
10861         * math/w_exp2f.c: Likewise.
10862         * math/w_exp2l.c: Likewise.
10863         * math/w_j0.c: Likewise.
10864         * math/w_j0f.c: Likewise.
10865         * math/w_j0l.c: Likewise.
10866         * math/w_j1.c: Likewise.
10867         * math/w_j1f.c: Likewise.
10868         * math/w_j1l.c: Likewise.
10869         * math/w_jn.c: Likewise.
10870         * math/w_jnf.c: Likewise.
10871         * math/w_log.c: Likewise.
10872         * math/w_log10.c: Likewise.
10873         * math/w_log10f.c: Likewise.
10874         * math/w_log10l.c: Likewise.
10875         * math/w_log2.c: Likewise.
10876         * math/w_log2f.c: Likewise.
10877         * math/w_log2l.c: Likewise.
10878         * math/w_logf.c: Likewise.
10879         * math/w_logl.c: Likewise.
10880         * math/w_sqrt.c: Likewise.
10881         * math/w_sqrtf.c: Likewise.
10882         * math/w_sqrtl.c: Likewise.
10883         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10884         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10885         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10886         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10887         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10888
10889 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
10890
10891         [BZ #9739]
10892         * manual/string.texi (strnlen): Use correct parameter name in
10893         equivalent expression.
10894
10895 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
10896
10897         [BZ #11174]
10898         * manual/users.texi (seteuid): Consistently use neweuid for
10899         argument name.
10900
10901 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
10902
10903         [BZ #13704]
10904         * manual/nss.texi (Services in the NSS configuration): Correct
10905         list of services in example configuration file.
10906
10907 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
10908
10909         [BZ #11322]
10910         * manual/arith.texi: Remove statements about negative zero
10911         behaving identically to zero.
10912
10913 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
10914
10915         [BZ #5993]
10916         * manual/install.texi: Do not document upgrading from libc5.
10917
10918 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
10919
10920         [BZ #4596]
10921         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10922
10923 2012-02-18  David S. Miller  <davem@davemloft.net>
10924
10925         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10926         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10927         %o7 across the call.
10928         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10929         instead.
10930         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10931         SETUP_PIC_REG_LEAF.
10932         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10933         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10934         * sysdeps/sparc/crtn.S: Likewise.
10935
10936 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
10937
10938         * aout/Makefile: Remove.
10939
10940 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
10941
10942         [BZ #13058]
10943         * manual/examples/argp-ex1.c (main): Format definition in GNU
10944         style.
10945         * manual/examples/argp-ex2.c (main): Likewise.
10946         * manual/examples/argp-ex3.c (main): Likewise.
10947         * manual/examples/argp-ex4.c (main): Likewise.
10948         * manual/examples/longopt.c (main): Use new-style prototype
10949         definition.
10950         * manual/examples/strncat.c (main): Specify return type and use
10951         (void) for arguments.
10952         * manual/examples/subopt.c (main): Use char **argv argument.
10953
10954 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
10955
10956         [BZ #5077]
10957         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10958         rounding modes.
10959
10960 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
10961
10962         [BZ #6907]
10963         * manual/string.texi (strchr): Change when strchrnul is
10964         recommended.
10965
10966 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
10967
10968         [BZ #174]
10969         * manual/locale.texi (setlocale): Document LOCPATH.
10970
10971 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
10972
10973         [BZ #10210]
10974         * manual/process.texi (execle): Move @dots{} before last argument.
10975
10976 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
10977
10978         [BZ #12047]
10979         * manual/charset.texi (Generic Charset Conversion): Fix typo
10980         (LC_TYPE -> LC_CTYPE).
10981
10982 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
10983
10984         [BZ #5805]
10985         * manual/arith.texi (scalbn): Use @var{} on parameter names.
10986         (scalbnf): Likewise.
10987         (scalbnl): Likewise.
10988         (scalbln): Likewise.
10989         (scalblnf): Likewise.
10990         (scalblnl): Likewise.
10991         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10992         (vwarnx): Likewise.
10993         (verr): Likewise.
10994         (verrx): Likewise.
10995         * manual/filesys.texi (telldir): Use braces around return type.
10996         * manual/llio.texi (mmap): Add space after comma.
10997         (mmap64): Likewise.
10998         * manual/math.texi (jn): Use @var{} on parameter names.
10999         (jnf): Likewise.
11000         (jnl): Likewise.
11001         (yn): Likewise.
11002         (ynf): Likewise.
11003         (ynl): Likewise.
11004         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11005         line.
11006         * manual/resource.texi (ulimit): Use @dots{} instead of literal
11007         "...".
11008         (sched_get_priority_min): Remove semicolon on @deftypefun line.
11009         (sched_get_priority_max): Likewise.
11010         * manual/signal.texi (sigvec): Add space after comma.
11011         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11012         names.
11013         (if_indextoname): Likewise.
11014         (if_freenameindex): Likewise.
11015         (sendto): Use ',' instead of '.' in prototype.
11016         * manual/startup.texi (syscall): Use @dots{} instead of literal
11017         "...".
11018         * manual/stdio.texi (__fpending): Separate initial words of
11019         paragraph from @deftypefun line.
11020         * manual/syslog.texi (syslog): Use @dots{} instead of literal
11021         "...".
11022         (vsyslog): Use @var{} on parameter names.
11023         * manual/terminal.texi (stty): Use @var{} on parameter names.
11024         * manual/users.texi (getutmp): Use @var{} on parameter names.
11025         (getutmpx): Likewise.
11026
11027 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11028
11029         [BZ #6884]
11030         * manual/stdio.texi (fopen): Fix typos in description of
11031         ",ccs=STRING".
11032
11033 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
11034
11035         [BZ #4026]
11036         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11037         get clock_id definition.
11038
11039 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
11040
11041         [BZ #4822]
11042         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11043         (madvise): Cast every argument to void on its own.
11044
11045 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11046
11047         [BZ #9902]
11048         * manual/startup.texi (Exit Status): Fix typo.
11049
11050 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
11051
11052         [BZ #10140]
11053         * manual/examples/argp-ex1.c: Include <stdlib.h>.
11054         * manual/examples/argp-ex2.c: Likewise.
11055         * manual/examples/argp-ex3.c: Likewise.
11056
11057 2012-02-16  Richard Henderson  <rth@redhat.com>
11058
11059         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11060         * sysdeps/s390/s390-32/initfini.c: Remove.
11061         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11062         * sysdeps/s390/s390-64/initfini.c: Remove.
11063
11064 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11065
11066         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11067         compiler output for sysdeps/generic/initfini.c.
11068         * sysdeps/sh/elf/initfini.c: Remove file.
11069
11070 2012-02-16  David S. Miller  <davem@davemloft.net>
11071
11072         [BZ #11494]
11073         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11074
11075         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11076         * sysdeps/sparc/crti.S: New file.
11077         * sysdeps/sparc/crtn.S: New file.
11078         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11079         * sysdeps/sparc/sparc64/Makefile: Likewise.
11080
11081 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
11082
11083         [BZ #3335]
11084         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11085
11086 2012-02-15  Roland McGrath  <roland@hack.frob.com>
11087
11088         [BZ #4822]
11089         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11090
11091         * mach/devstream.c (cookie_io_functions_t): Macro removed.
11092         (write, read, close): Likewise.
11093         Patch by Aurelien Jarno <aurelien@aurel32.net>.
11094
11095 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
11096
11097         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11098         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11099         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11100         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11101         <bits/signalfd.h>.
11102         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11104         bits/signalfd.h.
11105
11106 2012-02-14  Marek Polacek  <polacek@redhat.com>
11107
11108         * sysdeps/x86_64/crti.S: New file.
11109         * sysdeps/x86_64/crtn.S: New file.
11110         * sysdeps/x86_64/elf/initfini.c: Remove file.
11111
11112 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11113
11114         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11115         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11116         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11117         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11118         <bits/inotify.h>.
11119         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11120         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11121         bits/inotify.h.
11122
11123 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
11124
11125         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11126         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11127         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11128         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11129         <bits/eventfd.h>.
11130         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11131         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11132         bits/eventfd.h.
11133
11134 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
11135
11136         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11137         __feraiseexcept instead of feraiseexcept.
11138
11139         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11140         nanosleep invocations.
11141         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11142         strings, and add error checking for a nanosleep invocations.
11143
11144 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
11145
11146         Replace FSF snail mail address with URLs, as per GNU coding standards.
11147         Most of the snail mail addresses were wrong anyway, and omitting
11148         them makes the source code easier to maintain.  Almost all of the
11149         changes are to license notices and to locale LC_IDENTIFICATION
11150         addresses, except for this one:
11151         * manual/libc.texinfo: In "Published by", give the FSF's URL,
11152         not its snail mail address.
11153
11154 2012-02-09  Richard Henderson  <rth@twiddle.net>
11155
11156         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11157         of kernel-features.h.
11158
11159         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11160
11161 2012-02-08  Marek Polacek  <polacek@redhat.com>
11162
11163         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11164         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11165         * sysdeps/gnu/_G_config.h: Likewise.
11166         * sysdeps/generic/_G_config.h: Likewise.
11167
11168 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
11169
11170         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11171         tests.
11172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11173
11174         * sysdeps/powerpc/powerpc32/crti.S: New file.
11175         * sysdeps/powerpc/powerpc32/crtn.S: New file.
11176         * sysdeps/powerpc/powerpc64/crti.S: New file.
11177         * sysdeps/powerpc/powerpc64/crtn.S: New file.
11178
11179         * Makeconfig (have-initfini): Don't set.
11180         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11181         * configure.in (nopic_initfini): Don't substitute.
11182         * config.h.in (HAVE_INITFINI): Don't #undef.
11183         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11184         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11185
11186 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
11187
11188         Support crti.S and crtn.S provided directly by architectures.
11189         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11190         [crti.S in sysdirs] (omit-deps): Likewise.
11191         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11192         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11193         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11194         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11195         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11196         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11197         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11198         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11199         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11200         compiler output for sysdeps/generic/initfini.c.
11201         * sysdeps/i386/elf/Makefile: Remove file.
11202         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11203
11204 2012-02-07  Marek Polacek  <polacek@redhat.com>
11205
11206         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11207         * sysdeps/gnu/_G_config.h: Likewise.
11208         * sysdeps/mach/hurd/_G_config.h: Likewise.
11209
11210 2012-02-07  Marek Polacek  <polacek@redhat.com>
11211
11212         * math/Makefile (tests): Add tst-CMPLX2.
11213         * math/tst-CMPLX2.c: New file.
11214
11215 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
11216
11217         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11218
11219         * math/libm-test.inc (jn_test): Add missing L suffix.
11220
11221 2012-02-06  Marek Polacek  <polacek@redhat.com>
11222
11223         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11224         * sysdeps/i386/fpu/e_powf.S: Likewise.
11225         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11226         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11227         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11228         * sysdeps/i386/fpu/e_pow.S: Likewise.
11229         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11230         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11231         * sysdeps/i386/fpu/s_expm1.S: Likewise.
11232         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11233         * sysdeps/i386/fpu/e_log2.S: Likewise.
11234         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11235         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11236         * sysdeps/i386/fpu/e_powl.S: Likewise.
11237         * sysdeps/i386/fpu/s_log1p.S: Likewise.
11238         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11239         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11240         * sysdeps/i386/fpu/e_logl.S: Likewise.
11241         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11242         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11243         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11244         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11245         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11246         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11247         * sysdeps/i386/fpu/e_log.S: Likewise.
11248         * sysdeps/i386/fpu/s_cexp.S: Likewise.
11249         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11250         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11251         * sysdeps/i386/fpu/e_logf.S: Likewise.
11252         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11253         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11254         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11255         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11256         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11257         * sysdeps/i386/fpu/e_log10.S: Likewise.
11258         * sysdeps/i386/fpu/s_frexp.S: Likewise.
11259         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11260         * sysdeps/i386/fpu/s_asinh.S: Likewise.
11261         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11262         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11263         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11264         * sysdeps/i386/asm-syntax.h: Likewise.
11265         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11266         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11267         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11268         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11269         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11270         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11271         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11272         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11273         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11274         * sysdeps/powerpc/sysdep.h: Likewise.
11275         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11276         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11277
11278 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11279
11280         [BZ #411]
11281         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11282
11283 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
11284
11285         * sysdeps/i386/sysdep.h: Include <features.h>.
11286         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11287         version.
11288
11289 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
11290
11291         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11292         Define.
11293         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11294         LOAD_PIC_REG_STR.
11295
11296 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11297
11298         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11299         (SETUP_PIC_REG): Use GET_PC_THUNK.
11300         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11301         macro.
11302
11303 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11304
11305         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11306         for non-PIC compilation.
11307         (SETUP_PIC_REG): Add .p2align directive.
11308         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11309         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11310         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11311         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11312         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11313         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11314         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11315         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11316         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11317         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11318         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11319         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11320         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11321         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11322         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11323         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11324         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11325         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11326         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11327         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11328         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11329         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11330         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11331         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11332         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11333         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11334         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11335         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11336         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11337         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11338         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11339         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11340         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11341         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11342         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11343         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11344         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11345         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11346         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11347         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11348         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11349
11350 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
11351
11352         * math/tst-CMPLX.c: Include <stdio.h>.
11353
11354 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
11355
11356         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11357         float.
11358         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11359         * sysdeps/sparc/bits/mathdef.h: Likewise.
11360
11361 2012-01-31  Marek Polacek  <polacek@redhat.com>
11362
11363         * libio/libio.h: Don't define _PARAMS.
11364         * locale/programs/config.h: Don't define PARAMS.
11365         * stdlib/strtol_l.c: Likewise.
11366         (__strtol_l): Remove PARAMS from the prototype.
11367
11368 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
11369
11370         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
11371         names.  Just use the correct names.  Remove unnecessary wrapper
11372         functions.
11373         * malloc/arena.c: Likewise.
11374         * malloc/hooks.c: Likewise.
11375
11376         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11377         ARENA_TEST says not to.  Simplify test for creation of a new arena.
11378         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11379
11380 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
11381
11382         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11383         into tail calls.
11384         (update_get_addr): New function.
11385         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11386         GET_ADDR_MODULE parameter.
11387
11388 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
11389
11390         * crypt/cert.c: Remove __STDC__ conditionals.
11391         * crypt/crypt-entry.c: Likewise.
11392         * crypt/crypt_util.c: Likewise.
11393         * libio/filedoalloc.c: Likewise.
11394         * libio/fileops.c: Likewise.
11395         * libio/genops.c: Likewise.
11396         * libio/iofclose.c: Likewise.
11397         * libio/iofdopen.c: Likewise.
11398         * libio/iofopen.c: Likewise.
11399         * libio/iofopen64.c: Likewise.
11400         * libio/iogetdelim.c: Likewise.
11401         * libio/iopopen.c: Likewise.
11402         * libio/obprintf.c: Likewise.
11403         * libio/oldfileops.c: Likewise.
11404         * libio/oldiofclose.c: Likewise.
11405         * libio/oldiofdopen.c: Likewise.
11406         * libio/oldiofopen.c: Likewise.
11407         * libio/oldiopopen.c: Likewise.
11408         * libio/wfiledoalloc.c: Likewise.
11409         * libio/wgenops.c: Likewise.
11410         * locale/programs/xmalloc.c: Likewise.
11411         * misc/syslog.c: Likewise.
11412         * stdio-common/xbug.c: Likewise.
11413         * string/memchr.c: Likewise.
11414         * string/memcmp.c: Likewise.
11415         * string/memrchr.c: Likewise.
11416         * string/rawmemchr.c: Likewise.
11417         * sysdeps/posix/getcwd.c: Likewise.
11418         * time/strftime_l.c: Likewise.
11419
11420 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
11421
11422         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11423         * config.make.in (config-cflags-sse2avx): Define.
11424         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11425         Fix typo.
11426
11427 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
11428
11429         * scripts/config.guess: Update from upstream config git repository.
11430         * scripts/config.sub: Likewise.
11431
11432 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
11433
11434         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11435         (EM_NUM): Update.
11436         (R_TILEPRO_*, R_TILEGX_*): New macros.
11437
11438         * scripts/firstversions.awk: Fix bug in version range handling.
11439
11440         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11441
11442         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11443
11444         * include/sys/epoll.h: New file.
11445         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11446         libc_hidden_def.
11447
11448 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
11449
11450         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11451         Avoid unnecessary __WORDSIZE == 64 test.
11452         (fmaxf): Use VEX format if possible.
11453         (fmax): Likewise.
11454         (fminf): Likewise.
11455         (fmin): Likewise.
11456
11457         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11458         * math/math_private.h: Remove libc_fegetround* and
11459         libc_fesetround*.
11460         * sysdeps/i386/configure.in: Check for -msse2avx.
11461         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11462         also if SSE2AVX is defined.
11463         Remove libc_fegetround* and libc_fesetround*.
11464         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11465         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
11466         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11467         of HAS_YMM_USABLE.
11468         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11469         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11470         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11471         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11472         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11473
11474         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11475
11476 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11477
11478         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11479         size is not set.
11480         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11481
11482 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
11483
11484         [BZ #13618]
11485         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11486         relocation.
11487         * Makeconfig (libm): Define.
11488         * elf/Makefile: Add rules to build and run tst-relsort1.
11489         * elf/tst-relsort1.c: New file.
11490         * elf/tst-relsort1mod1.c: New file.
11491         * elf/tst-relsort1mod2.c: New file.
11492
11493 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
11494
11495         * math/s_ldexp.c: Remove __STDC__ conditionals.
11496         * math/s_ldexpf.c: Likewise.
11497         * math/s_ldexpl.c: Likewise.
11498         * math/s_nextafter.c: Likewise.
11499         * math/s_nexttowardf.c: Likewise.
11500         * math/s_significand.c: Likewise.
11501         * math/s_significandf.c: Likewise.
11502         * math/s_significandl.c: Likewise.
11503         * math/w_jnl.c: Likewise.
11504         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11505         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11506         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11507         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11508         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11509         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11510         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11511         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11512         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11513         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11514         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11515         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11516         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11517         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11518         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11519         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11520         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11521         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11522         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11523         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11524         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11525         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11526         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11527         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11528         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11529         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11530         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11531         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11532         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11533         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11534         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11535         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11536         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11537         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11538         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11539         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11540         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11541         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11542         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11543         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11544         * sysdeps/ieee754/k_standard.c: Likewise.
11545         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11546         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11547         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11548         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11549         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11550         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11551         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11552         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11553         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11554         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11555         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11556         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11557         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11558         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11559         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11560         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11561         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11562         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11563         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11564         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11565         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11566         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11567         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11568         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11569         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11570         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11571         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11572         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11573         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11574         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11575         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11576         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11577         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11578         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11579         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11580         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11581         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11582         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11583         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11584         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11585         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11586         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11587         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11588         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11589         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11590         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11591         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11592         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11593         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11594         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11595         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11596         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11597         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11598         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11599         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11600         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11601         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11602         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11603         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11604         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11605         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11606         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11607         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11608         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11609         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11610         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11611         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11612         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11613         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11614         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11615         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11616         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11617         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11618         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11619         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11620         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11621         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11622         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11623         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11624         * sysdeps/ieee754/s_matherr.c: Likewise.
11625         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11626         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11627         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11628         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11629
11630 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
11631
11632         * crypt/md5.h: Remove __STDC__ conditionals.
11633         * libio/libioP.h: Likewise.
11634         * locale/programs/config.h: Likewise.
11635         * sysdeps/generic/sysdep.h: Likewise.
11636         * sysdeps/i386/asm-syntax.h: Likewise.
11637         * sysdeps/s390/asm-syntax.h: Likewise.
11638         * sysdeps/unix/sysdep.h: Likewise.
11639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11641
11642 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
11643
11644         * libio/libio.h: Remove __STDC__ conditionals.
11645         * malloc/obstack.h: Likewise.
11646         * math/complex.h: Likewise.
11647         * math/math.h: Likewise.
11648         * sysdeps/generic/_G_config.h: Likewise.
11649         * sysdeps/gnu/_G_config.h: Likewise.
11650         * sysdeps/mach/hurd/_G_config.h: Likewise.
11651         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11652         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11653         * sysdeps/sparc/bits/mathdef.h: Likewise.
11654
11655 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
11656
11657         [BZ #13583]
11658         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11659         Clean up HAS_* macros.
11660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11661         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11662         possible.
11663         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11664         HAS_AVX.
11665         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11666         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11667         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11668         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11669         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11670
11671 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
11672
11673         * elf/tst-unique3.cc (gets): Remove declaration.
11674         * elf/tst-unique3lib.cc (gets): Likewise.
11675         * elf/tst-unique3lib2.cc (gets): Likewise.
11676         * elf/tst-unique4.cc (gets): Likewise.
11677
11678 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
11679
11680         * include/stdio.h: Add C++ protection.  Add gets declarations and
11681         definitions.
11682         * debug/tst-chk1.c: Don't declare gets here.
11683         * stdio-common/tst-gets.c: Likewise.
11684
11685 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
11686
11687         * posix/glob: Remove directory.
11688
11689 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
11690
11691         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11692
11693 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
11694
11695         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11696         of the non-standard EPFNOSUPPORT.
11697
11698 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11699
11700         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11701         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11702         ANYWHERE set to 1 only on KERN_NO_SPACE error.
11703
11704 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
11705
11706         * wcsmbs/uchar.h: Test __STDC_VERSION__.
11707
11708 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
11709
11710         * nscd/aicache.c (addhstaiX): Do not cache negative results of
11711         transient errors.
11712         * nscd/grpcache.c (cache_addgr): Likewise.
11713         * nscd/hstcache.c (cache_addhst): Likewise.
11714         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11715         * nscd/pwdcache.c (cache_addpw): Likewise.
11716         * nscd/servicescache.c (cache_addserv): Likewise.
11717
11718 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
11719
11720         * malloc/malloc.c: Various cleanups.
11721         * malloc/hooks.c: Likewise.
11722
11723         * stdlib/Makefile (tests): Add bug-fmtmsg1.
11724         * stdlib/bug-fmtmsg1.c: New file.
11725
11726         * stdlib/fmtmsg.c (init): Add missing unlock.
11727         Patch by Peng Haitao <penght@cn.fujitsu.com>.
11728
11729 2012-01-12  Marek Polacek  <polacek@redhat.com>
11730
11731         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11732         and _GNU_SOURCE.
11733
11734 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
11735
11736         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11737         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11738         macro to ensure uniqueness of label name.
11739         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11740         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11741
11742 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
11743
11744         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11745
11746         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11747         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11748         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11749         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11750
11751 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
11752
11753         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11754
11755         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11756         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11757         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11758
11759         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11760
11761         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11762         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11763         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11764         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11765
11766         * math/bits/math-finite.h: Add ldexp support.
11767
11768 2012-01-10  Marek Polacek  <polacek@redhat.com>
11769
11770         * locale/programs/localedef.h (show_archive_content): Add noreturn
11771         attribute.
11772
11773 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
11774
11775         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11776
11777 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11778
11779         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11780
11781         * io/Makefile (headers): Add bits/poll2.h.
11782
11783 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
11784
11785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11786         typo #include statement.
11787
11788 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11789
11790         * include/sys/cdefs.h: Define __attribute_alloc_size.
11791         * catgets/gencat.c: Add alloc_size attribute and apply consistently
11792         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11793         * elf/pldd.c: Likewise.
11794         * iconv/iconv_charmap.c: Likewise.
11795         * iconv/iconvconfig.c: Likewise.
11796         * iconv/strtab.c: Likewise.
11797         * locale/programs/locale.c: Likewise.
11798         * locale/programs/localedef.h: Likewise.
11799         * locale/programs/simple-hash.c: Likewise.
11800         * nscd/nscd.h: Likewise.
11801         * nss/makedb.c: Likewise.
11802         * sysdeps/generic/ldconfig.h: Likewise.
11803         * locale/programs/localedef.c: Remove xmalloc prototype.
11804         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11805
11806 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11807
11808         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11809         appropriate.
11810
11811 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11812
11813         * math/Makefile (tests): Add tst-CMPLX.
11814         * math/tst-CMPLX.c: New file.
11815
11816         * math/complex.h (CMPLXL): Fix typo.
11817
11818         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11819         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11820         GLIBC_2.16.
11821         * debug/tst-chk1.c: Add poll and ppoll tests.
11822         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11823         * include/sys/poll.h: Add hidden proto for ppoll.
11824         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11825         * sysdeps/mach/hurd/ppoll.c: Likewise.
11826         * io/ppoll.c: Likewise.
11827         * debug/poll_chk.c: New file.
11828         * debug/ppoll_chk.c: New file.
11829         * include/bits/poll2.h: New file.
11830         * io/bits/poll2.h: New file.
11831
11832         [BZ #1350]
11833         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11834
11835         * configure.in: static is always set to yes.  Remove.
11836         * config.make.in: Don't set build-static.
11837         * Makeconfig: Remove use of build-static.
11838         * dlfcn/Makefile: Likewise.
11839         * elf/Makefile: Likewise.
11840         * math/Makefile: Likewise.
11841         * misc/Makefile: Likewise.
11842         * nptl/Makefile: Likewise.
11843         * sysdeps/mach/hurd/Makefile: Likewise.
11844
11845         * configure.in: PWD_P is not used anymore.
11846         * config.make.in: Remove PWD_P entry.
11847
11848         * configure.in: Remove last remnants of RANLIB.
11849         No need to check for signed size_t anymore.
11850         Don't set libc_commonpagesize and libc_relro_required here for Alpha
11851         and IA-64.
11852         Remove __builtin_expect test because we require at least gcc 3.4.
11853         * aclocal.m4: Likewise.
11854
11855         * wcsmbs/mbrtoc16.c: Implement using towc function.
11856         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11857         * wcsmbs/wcsmbsload.c: Likewise.
11858         * iconv/gconv_simple.c: Likewise.
11859         * iconv/gconv_int.h: Likewise.
11860         * iconv/gconv_builtin.h: Likewise.
11861         * iconv/iconv_prog.c: Remove CHAR16 handling.
11862
11863         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11864
11865         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11866
11867         * configure.in: Remove --with-elf and --enable-bounded options.
11868         Dont set base_machine for ia64.  More non-ELF conditions removed.
11869         Remove testing and setting of leading underscore information.
11870         * config.make.in (build-bounded): Set to no.
11871         * config.h.in: Remove NO_UNDERSCORES entry.
11872         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
11873         them.
11874         * csu/start.c: Remove !NO_UNDERSCORE code.
11875         * locale/localeinfo.h: Likewise.
11876         * sysdeps/generic/machine-gmon.h: Likewise.
11877         * sysdeps/generic/sysdep.h: Likewise.
11878         * sysdeps/i386/sysdep.h: Likewise.
11879         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11880         * sysdeps/mach/sysdep.h: Likewise.
11881         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11882         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11883         * sysdeps/sh/sysdep.h: Likewise.
11884         * sysdeps/sparc/sparc32/alloca.S: Likewise.
11885         * sysdeps/unix/i386/sysdep.S: Likewise.
11886         * sysdeps/unix/sparc/start.c: Likewise.
11887         * sysdeps/unix/sparc/sysdep.S: Likewise.
11888         * sysdeps/unix/sparc/sysdep.h: Likewise.
11889         * sysdeps/unix/start.c: Likewise.
11890         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11891         * sysdeps/x86_64/sysdep.h: Likewise.
11892
11893 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
11894
11895         [BZ #13553]
11896         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11897         for non-gcc.
11898         * argp/argp-fmtstream.h: Use const instead __const.
11899         * argp/argp.h: Likewise.
11900         * assert/assert.h: Likewise.
11901         * bits/fenv.h: Likewise.
11902         * bits/sched.h: Likewise.
11903         * bits/sigset.h: Likewise.
11904         * bits/sigthread.h: Likewise.
11905         * catgets/nl_types.h: Likewise.
11906         * conform/data/pthread.h-data: Likewise.
11907         * crypt/crypt-private.h: Likewise.
11908         * crypt/crypt.h: Likewise.
11909         * crypt/crypt_util.c: Likewise.
11910         * ctype/ctype.h: Likewise.
11911         * debug/execinfo.h: Likewise.
11912         * debug/mbsnrtowcs_chk.c: Likewise.
11913         * debug/mbsrtowcs_chk.c: Likewise.
11914         * debug/wcsnrtombs_chk.c: Likewise.
11915         * debug/wcsrtombs_chk.c: Likewise.
11916         * debug/wcstombs_chk.c: Likewise.
11917         * dirent/dirent.h: Likewise.
11918         * dlfcn/dlfcn.h: Likewise.
11919         * elf/neededtest4.c: Likewise.
11920         * grp/grp.h: Likewise.
11921         * gshadow/gshadow.h: Likewise.
11922         * iconv/gconv.h: Likewise.
11923         * iconv/gconv_int.h: Likewise.
11924         * iconv/gconv_simple.c: Likewise.
11925         * iconv/iconv.h: Likewise.
11926         * iconv/loop.c: Likewise.
11927         * iconv/skeleton.c: Likewise.
11928         * include/aio.h: Likewise.
11929         * include/aliases.h: Likewise.
11930         * include/argz.h: Likewise.
11931         * include/arpa/inet.h: Likewise.
11932         * include/assert.h: Likewise.
11933         * include/dirent.h: Likewise.
11934         * include/dlfcn.h: Likewise.
11935         * include/execinfo.h: Likewise.
11936         * include/fcntl.h: Likewise.
11937         * include/fenv.h: Likewise.
11938         * include/glob.h: Likewise.
11939         * include/grp.h: Likewise.
11940         * include/libintl.h: Likewise.
11941         * include/mntent.h: Likewise.
11942         * include/netdb.h: Likewise.
11943         * include/pwd.h: Likewise.
11944         * include/rpc/netdb.h: Likewise.
11945         * include/sched.h: Likewise.
11946         * include/search.h: Likewise.
11947         * include/shadow.h: Likewise.
11948         * include/signal.h: Likewise.
11949         * include/stdio.h: Likewise.
11950         * include/stdlib.h: Likewise.
11951         * include/string.h: Likewise.
11952         * include/sys/socket.h: Likewise.
11953         * include/sys/stat.h: Likewise.
11954         * include/sys/statfs.h: Likewise.
11955         * include/sys/statvfs.h: Likewise.
11956         * include/sys/syslog.h: Likewise.
11957         * include/sys/time.h: Likewise.
11958         * include/sys/uio.h: Likewise.
11959         * include/time.h: Likewise.
11960         * include/unistd.h: Likewise.
11961         * include/utmp.h: Likewise.
11962         * include/wchar.h: Likewise.
11963         * include/wctype.h: Likewise.
11964         * inet/aliases.h: Likewise.
11965         * inet/arpa/inet.h: Likewise.
11966         * inet/netinet/ether.h: Likewise.
11967         * inet/netinet/in.h: Likewise.
11968         * intl/libintl.h: Likewise.
11969         * io/bits/fcntl2.h: Likewise.
11970         * io/fcntl.h: Likewise.
11971         * io/ftw.h: Likewise.
11972         * io/sys/poll.h: Likewise.
11973         * io/sys/stat.h: Likewise.
11974         * io/sys/statfs.h: Likewise.
11975         * io/sys/statvfs.h: Likewise.
11976         * io/utime.h: Likewise.
11977         * libio/bits/stdio.h: Likewise.
11978         * libio/bits/stdio2.h: Likewise.
11979         * libio/libio.h: Likewise.
11980         * libio/libioP.h: Likewise.
11981         * libio/stdio.h: Likewise.
11982         * locale/lc-ctype.c: Likewise.
11983         * locale/locale.h: Likewise.
11984         * login/utmp.h: Likewise.
11985         * malloc/arena.c: Likewise.
11986         * malloc/malloc.c: Likewise.
11987         * malloc/malloc.h: Likewise.
11988         * malloc/mcheck.c: Likewise.
11989         * malloc/mtrace.c: Likewise.
11990         * math/bits/mathcalls.h: Likewise.
11991         * math/fenv.h: Likewise.
11992         * math/math_private.h: Likewise.
11993         * misc/bits/error.h: Likewise.
11994         * misc/bits/syslog.h: Likewise.
11995         * misc/err.h: Likewise.
11996         * misc/error.h: Likewise.
11997         * misc/fstab.h: Likewise.
11998         * misc/mntent.h: Likewise.
11999         * misc/regexp.h: Likewise.
12000         * misc/search.h: Likewise.
12001         * misc/sgtty.h: Likewise.
12002         * misc/sys/mman.h: Likewise.
12003         * misc/sys/syslog.h: Likewise.
12004         * misc/sys/uio.h: Likewise.
12005         * misc/sys/xattr.h: Likewise.
12006         * misc/ttyent.h: Likewise.
12007         * nis/rpcsvc/ypclnt.h: Likewise.
12008         * nss/nss.h: Likewise.
12009         * posix/bits/unistd.h: Likewise.
12010         * posix/fnmatch.h: Likewise.
12011         * posix/glob.h: Likewise.
12012         * posix/sched.h: Likewise.
12013         * posix/spawn.h: Likewise.
12014         * posix/sys/wait.h: Likewise.
12015         * posix/unistd.h: Likewise.
12016         * posix/wordexp.h: Likewise.
12017         * pwd/pwd.h: Likewise.
12018         * resolv/netdb.h: Likewise.
12019         * resource/sys/resource.h: Likewise.
12020         * rt/aio.h: Likewise.
12021         * rt/bits/mqueue2.h: Likewise.
12022         * rt/mqueue.h: Likewise.
12023         * shadow/shadow.h: Likewise.
12024         * signal/signal.h: Likewise.
12025         * socket/send.c: Likewise.
12026         * socket/sendto.c: Likewise.
12027         * socket/sys/socket.h: Likewise.
12028         * stdio-common/printf.h: Likewise.
12029         * stdlib/bits/stdlib.h: Likewise.
12030         * stdlib/fmtmsg.h: Likewise.
12031         * stdlib/monetary.h: Likewise.
12032         * stdlib/stdlib.h: Likewise.
12033         * stdlib/ucontext.h: Likewise.
12034         * streams/stropts.h: Likewise.
12035         * string/argz.h: Likewise.
12036         * string/bits/string2.h: Likewise.
12037         * string/string.h: Likewise.
12038         * string/strings.h: Likewise.
12039         * sunrpc/rpc/auth.h: Likewise.
12040         * sunrpc/rpc/auth_des.h: Likewise.
12041         * sunrpc/rpc/clnt.h: Likewise.
12042         * sunrpc/rpc/netdb.h: Likewise.
12043         * sunrpc/rpc/pmap_clnt.h: Likewise.
12044         * sunrpc/rpc/xdr.h: Likewise.
12045         * sysdeps/generic/inttypes.h: Likewise.
12046         * sysdeps/generic/net/if.h: Likewise.
12047         * sysdeps/generic/sys/swap.h: Likewise.
12048         * sysdeps/gnu/net/if.h: Likewise.
12049         * sysdeps/gnu/utmpx.h: Likewise.
12050         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12051         * sysdeps/i386/i486/bits/string.h: Likewise.
12052         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12053         * sysdeps/s390/bits/string.h: Likewise.
12054         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12055         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12056         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12057         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12058         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12059         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12060         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12061         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12062         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12063         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12064         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12065         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12066         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12067         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12068         * sysdeps/unix/sysv/linux/readv.c: Likewise.
12069         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12070         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12071         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12072         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12073         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12074         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12075         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12076         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12077         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12078         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12079         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12080         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12081         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12082         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12083         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12084         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12085         * sysvipc/sys/ipc.h: Likewise.
12086         * sysvipc/sys/msg.h: Likewise.
12087         * sysvipc/sys/sem.h: Likewise.
12088         * sysvipc/sys/shm.h: Likewise.
12089         * termios/termios.h: Likewise.
12090         * time/sys/time.h: Likewise.
12091         * time/time.h: Likewise.
12092         * wcsmbs/bits/wchar2.h: Likewise.
12093         * wcsmbs/uchar.h: Likewise.
12094         * wcsmbs/wchar.h: Likewise.
12095         * wctype/wctype.h: Likewise.
12096
12097         [BZ #13551]
12098         * Makeconfig: Remove all but ELF support including AIX support.
12099         * Makerules: Likewise.
12100         * config.h.in: Likewise.
12101         * config.make.in: Likewise.
12102         * configure: Likewise.
12103         * configure.in: Likewise.
12104         * csu/Makefile: Likewise.
12105         * csu/version.c: Likewise.
12106         * debug/Makefile: Likewise.
12107         * dlfcn/Makefile: Likewise.
12108         * elf/Makefile: Likewise.
12109         * extra-lib.mk: Likewise.
12110         * iconv/Makefile: Likewise.
12111         * include/libc-symbols.h: Likewise.
12112         * include/shlib-compat.h: Likewise.
12113         * resolv/Makefile: Likewise.
12114         * resolv/res_libc.c: Likewise.
12115         * rt/Makefile: Likewise.
12116         * sysdeps/i386/asm-syntax.h: Likewise.
12117         * sysdeps/i386/sysdep.h: Likewise.
12118         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12119         * sysdeps/mach/sysdep.h: Likewise.
12120         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12121         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12122         * sysdeps/s390/asm-syntax.h: Likewise.
12123         * sysdeps/s390/s390-32/sysdep.h: Likewise.
12124         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12125         * sysdeps/sh/sysdep.h: Likewise.
12126         * sysdeps/unix/sparc/sysdep.h: Likewise.
12127         * sysdeps/wordsize-32/divdi3.c: Likewise.
12128         * sysdeps/x86_64/sysdep.h: Likewise.
12129
12130         * argp/Versions: Remove _argp_unlock_xxx.
12131
12132         [BZ #13559]
12133         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
12134         * abilist/libBrokenLocale.abilist: Likewise.
12135         * abilist/libanl.abilist: Likewise.
12136         * abilist/libc.abilist: Likewise.
12137         * abilist/libcrypt.abilist: Likewise.
12138         * abilist/libdl.abilist: Likewise.
12139         * abilist/libm.abilist: Likewise.
12140         * abilist/libnsl.abilist: Likewise.
12141         * abilist/libpthread.abilist: Likewise.
12142         * abilist/libresolv.abilist: Likewise.
12143         * abilist/librt.abilist: Likewise.
12144         * abilist/libthread_db.abilist: Likewise.
12145         * abilist/libutil.abilist: Likewise.
12146         * abilist/libnss_db.abilist: New file.
12147
12148         * scripts/abilist.awk: Add support for indirect functions.
12149
12150         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12151
12152         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12153
12154         * shlib-versions: Remove entries for ports architectures.
12155
12156         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
12157         files in ports.
12158         * elf/stackguard-macros.h: Remove support for IA-64.
12159         * elf/tst-auditmod1.c: Likewise.
12160         * sysdeps/generic/ldsodefs.h: Likewise.
12161
12162         * sysdeps/unix/sysv/linux/configure.in: Ports should define
12163         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12164         configure files.
12165
12166         [BZ #13552]
12167         * configure.in: Remove --enable-omitfp support.
12168         * FAQ.in: Adjust.
12169         * config.make.in: Likewise.
12170         * Makeconfig: Likewise.
12171         * manual/install.texi: Likewise.
12172
12173         In case anyone cares, the IA-64 architecture could move to ports.
12174         * sysdeps/ia64/*: Removed.
12175         * sysdeps/unix/sysv/linux/ia64/*: Removed.
12176         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12177
12178         [BZ #13555]
12179         * configure.in: Remove entries for unsupported architectures.
12180
12181         [BZ #13533]
12182         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12183         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
12184         routines.
12185         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12186         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12187         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
12188         fall back to using wcrtomb.
12189         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12190         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
12191         renaming.
12192         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12193         * wcsmbs/tst-c16c32-1.c: New file.
12194
12195         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12196         local variable.
12197
12198         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12199
12200         * elf/tst-unique3.cc: Add explicit declaration of gets.
12201         * elf/tst-unique3lib.cc: Likewise.
12202         * elf/tst-unique3lib2.cc: Likewise.
12203         * elf/tst-unique4.cc: Likewise.
12204
12205         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12206
12207 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
12208
12209         [BZ #13566]
12210         * assert/assert.h (static_assert): Don't define for C++.
12211         * libio/stdio.h (gets): Do declare for C++ <= C++11.
12212         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12213
12214 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
12215
12216         * iconv/loop.c (single loop): Fix assertion in storing of
12217         remaining bytes.
12218
12219         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12220
12221 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
12222
12223         * posix/getconf.c: Update copyright year.
12224         * nss/getent.c: Likewise.
12225         * nss/makedb.c: Likewise.
12226         * iconv/iconvconfig.c: Likewise.
12227         * iconv/iconv_prog.c: Likewise.
12228         * elf/ldconfig.c: Likewise.
12229         * elf/pldd.c: Likewise.
12230         * elf/sotruss.ksh: Likewise.
12231         * catgets/gencat.c: Likewise.
12232         * csu/version.c: Likewise.
12233         * elf/ldd.bash.in: Likewise.
12234         * elf/sprof.c (print_version): Likewise.
12235         * locale/programs/locale.c: Likewise.
12236         * locale/programs/localedef.c: Likewise.
12237         * login/programs/pt_chown.c: Likewise.
12238         * nscd/nscd.c (print_version): Likewise.
12239         * debug/xtrace.sh: Likewise.
12240         * malloc/memusage.sh: Likewise.
12241         * malloc/mtrace.pl: Likewise.
12242         * debug/catchsegv.sh: Likewise.
12243
12244 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
12245
12246         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12247         pure attribute.
12248
12249 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
12250
12251         [BZ #13533]
12252         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12253         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12254         transformations.
12255         * iconv/gconv_int.h: Likewise.
12256         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12257         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12258         from libc for GLIBC_2.16.
12259         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12260         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12261         * wcsmbs/uchar.h: Really define mbstate_t.
12262         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12263         * wcsmbs/c16rtomb.c: New file.
12264         * wcsmbs/mbrtoc16.c: New file.
12265         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12266         for C/POSIX locale.
12267         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12268         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12269
12270         * wcsmbs/wchar.h: Add missing __restrict.
12271
12272 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12273
12274         [BZ #13532]
12275         * time/Makefile (routines): Add timespec_get.
12276         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12277         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
12278         timespec for ISO C11.
12279         * time/timespec_get.c: New file.
12280         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12281         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12282
12283         [BZ #13531]
12284         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12285         * stdlib/stdlib.h: Declare aligned_alloc.
12286         * Versions.def: Add GLIBC_2.16 for libc.
12287         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12288
12289         [BZ 13527]
12290         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12291         ISO C11.
12292
12293         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12294         code.
12295
12296         [BZ #13528]
12297         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12298
12299         [BZ #13529]
12300         * assert/assert.h (static_assert): Define.
12301
12302         * version.h: Update for 2.16 development version.
12303
12304         [BZ #13526]
12305         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12306         _ISOC11_SOURCE.
12307
12308         * version.h (RELEASE): Bump for 2.15 release.
12309         * include/features.h (__GLIBC_MINOR__): Bump to 15.
12310
12311         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12312         Patch by Marek Polacek <mpolacek@redhat.com>.
12313
12314         * bits/byteswap.h: Protect long long constants with __extension__.
12315         * sysdeps/i386/bits/byteswap.h: Likewise.
12316         * sysdeps/ia64/bits/byteswap.h: Likewise.
12317         * sysdeps/s390/bits/byteswap.h: Likewise.
12318         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12319
12320 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12321
12322         [BZ #13540]
12323         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12324         destination buffer.
12325         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12326
12327 2011-12-23  Marek Polacek  <polacek@redhat.com>
12328
12329         * elf/dl-addr.c (determine_info): Add inline keyword.
12330         * elf/tst-auditmod4b.c (check_avx): Likewise.
12331         * elf/tst-auditmod6b.c (check_avx): Likewise.
12332         * elf/tst-auditmod6c.c (check_avx): Likewise.
12333         * elf/tst-auditmod7b.c (check_avx): Likewise.
12334
12335 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
12336
12337         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12338         !__SSE_MATH__.
12339
12340 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12341
12342         [BZ #13540]
12343         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12344         processing for last bytes.
12345
12346 2011-08-06  Bruno Haible  <bruno@clisp.org>
12347
12348         [BZ #13061]
12349         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12350         U+0385, not to U+1FEE.
12351
12352         [BZ #13062]
12353         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12354         entry for U+00A5 U+0301.
12355
12356 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12357
12358         [BZ #13166]
12359         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12360         buffer for the output is too small.
12361
12362         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12363         optimization.
12364
12365         [BZ #13185]
12366         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12367         SSE flags if possible.
12368
12369 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12370
12371         [BZ #13540]
12372         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12373         processing for last bytes.
12374
12375 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
12376
12377         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12378         (syscall-list-default-options, syscall-list-default-condition)
12379         (syscall-list-includes): Define.
12380         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12381         list of ABIs and options and #if conditions for each ABI.  Do not
12382         handle common syscalls between ABIs specially.
12383         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12384         Remove.
12385         (syscall-list-variants, syscall-list-32bit-options)
12386         (syscall-list-32bit-condition, syscall-list-64bit-options)
12387         (syscall-list-64bit-condition): Define.
12388         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12389         (syscall-list-variants, syscall-list-32bit-options)
12390         (syscall-list-32bit-condition, syscall-list-64bit-options)
12391         (syscall-list-64bit-condition): Define.
12392         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12393         Remove.
12394         (syscall-list-variants, syscall-list-32bit-options)
12395         (syscall-list-32bit-condition, syscall-list-64bit-options)
12396         (syscall-list-64bit-condition): Define.
12397         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12398         Remove.
12399         (syscall-list-variants, syscall-list-32bit-options)
12400         (syscall-list-32bit-condition, syscall-list-64bit-options)
12401         (syscall-list-64bit-condition): Define.
12402
12403 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
12404
12405         * locale/iso-639.def: Add brx entry.
12406
12407         [BZ #13328]
12408         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12409         Proposed by Mariusz_Cukr <marcukr@op.pl>.
12410
12411         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12412         __feraiseexcept_renamed.
12413
12414 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
12415
12416         [BZ #13538]
12417         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12418         EPOLLET with unsigned values.
12419         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12420         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12421
12422         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12423         to large cancellation.
12424         * math/s_cacoshf.c: Likewise.
12425         * math/s_cacoshl.c: Likewise.
12426
12427 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
12428
12429         [BZ #13305]
12430         [BZ #12786]
12431         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12432         * math/s_cacoshf.c: Likewise.
12433         * math/s_cacoshl.c: Likewise.
12434
12435 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
12436
12437         [BZ #13439]
12438         * iconv/gconv.h: Define __GCONV_SWAP.
12439         * iconvdata/unicode.c: The swap bit must be stored in __flags.
12440         * iconvdata/utf-16.c: Likewise.
12441         * iconvdata/utf-32.c: Likewise.
12442
12443 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
12444
12445         [BZ #13524]
12446         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12447         numerator after shifting it by one limb.
12448
12449 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
12450
12451         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12452         under [__USE_EXTERN_INLINES].
12453
12454 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
12455
12456         [BZ #13446]
12457         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12458
12459 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12460
12461         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12462         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12463         optimized code.
12464         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12465         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12466         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12467         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12468         for strncasecmp/strncasecmp_l compilation.
12469         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12470         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12471
12472 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
12473
12474         [BZ #13484]
12475         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12476         of __asm__.
12477
12478 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
12479
12480         [BZ #13506]
12481         * time/tzfile.c (__tzfile_read): Check values from file header.
12482
12483 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
12484
12485         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12486         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12487         * powerpc/powerpc32/dl-start.S: Likewise.
12488         * powerpc/powerpc32/elf/start.S: Likewise.
12489         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12490         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12491         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12492         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12493         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12494         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12495         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12496         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12497         * powerpc/powerpc32/fpu/s_round.S: Likewise.
12498         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12499         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12500         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12501         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12502         * powerpc/powerpc32/memset.S: Likewise.
12503         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12504         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12505         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12506         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12507         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12508         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12509         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12510         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12511         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12512         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12513         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12514         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12515         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12516
12517 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12518
12519         * math/libm-test.inc: Added more nearbyint tests.
12520         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12521         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12522         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12523         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12524
12525 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
12526
12527         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12528         FD_CLOEXEC.
12529
12530 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12531
12532         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12533         Add wcscpy-ssse3 wcscpy-c.
12534         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12535         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12536         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12537         * sysdeps/x86_64/wcschr.S: New file.
12538         * sysdeps/x86_64/wcsrchr.S: New file.
12539         * string/test-strcmp.c: Remove checking of wcscmp function for
12540         wrong alignments.
12541         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12542         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12543         wcsrchr-sse2 wcsrchr-c.
12544         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12545         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12546         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12547         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12548         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12549         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12550         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12551         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12552         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12553         * wcsmbc/wcschr.c (WCSCHR): New macro.
12554
12555 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12556
12557         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12558         * wcsmbs/test-wcsrchr.c: New file.
12559         * string/test-strrchr.c: Add wcsrchr support.
12560         (WIDE): New macro.
12561         * wcsmbs/test-wcscpy.c: New file.
12562         * string/test-strcpy.c: Add wcscpy support.
12563         (WIDE): New macro.
12564
12565 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
12566
12567         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12568         the inner loop.
12569
12570 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
12571
12572         [BZ #13472]
12573         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12574
12575 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
12576
12577         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12578         Minor optimizations.
12579
12580         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12581         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12582         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12583
12584 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
12585
12586         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12587         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12588         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12589         for gcc to avoid warnings.
12590         * inet/Makefile (tests): Add tst-checks.
12591         * inet/tst-checks.c: New file.
12592
12593         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12594         warning.
12595
12596         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12597         __wmemcmp_sse2.
12598
12599         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12600         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12601
12602         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12603
12604 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
12605
12606         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12607         problem.
12608
12609         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12610
12611 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
12612
12613         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12614         conditional on GCC version.
12615         (__arch_compare_and_exchange_val_8_acq)
12616         (__arch_compare_and_exchange_val_16_acq)
12617         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12618         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12619         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12620
12621 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
12622
12623         * sysdeps/sh/backtrace.c: New file.
12624
12625 2011-12-02  Andreas Schwab  <schwab@redhat.com>
12626
12627         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
12628         parenthesis.
12629
12630 2011-12-01  Andreas Schwab  <schwab@redhat.com>
12631
12632         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12633         falling back to utime.
12634
12635 2011-11-30  Andreas Schwab  <schwab@redhat.com>
12636
12637         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12638         expectations for float.
12639
12640 2011-11-29  Andreas Schwab  <schwab@redhat.com>
12641
12642         * locale/weight.h (findidx): Add parameter len.
12643         * locale/weightwc.h (findidx): Likewise.
12644         * posix/fnmatch_loop.c (FCT): Adjust caller.
12645         * posix/regcomp.c (build_equiv_class): Likewise.
12646         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12647         * posix/regexec.c (check_node_accept_bytes): Likewise.
12648         * string/strcoll_l.c (STRCOLL): Likewise.
12649         * string/strxfrm_l.c (STRXFRM): Likewise.
12650
12651 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
12652
12653         * Makefile.in: Remove CVSOPT handling.
12654         * configure.in: Remove use of AC_REVISION.
12655         * iconvdata/Makefile (distribute): No need to filter out CVS.
12656         * scripts/list-sources.sh: Remove CVS, subversion and monotone
12657         handling.
12658
12659 2011-11-16  Andreas Schwab  <schwab@redhat.com>
12660
12661         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12662         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12663         [USE_AS_STRNCASECMP_L]: Likewise.
12664         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12665         NO_TLS_DIRECT_SEG_REFS.
12666         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12667         Fix argument offsets for non-PIC.
12668         [USE_AS_STRNCASECMP_L]: Likewise.
12669         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12670         NO_TLS_DIRECT_SEG_REFS.
12671
12672 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
12673
12674         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12675         O_CLOEXEC.
12676         * locale/loadlocale.c (_nl_load_locale): Likewise.
12677
12678 2011-11-15  Andreas Schwab  <schwab@redhat.com>
12679
12680         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12681         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12682         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12683         (SYSCALL_GETTIME): Set errno on error.
12684
12685         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12686         count references to noai6ai_cached.
12687
12688 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
12689
12690         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12691
12692         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12693         FD_CLOEXEC for /proc/self/maps.
12694
12695         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12696         FD_CLOEXEC for /proc/meminfo.
12697
12698         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12699         gai.conf.
12700
12701         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
12702         FD_CLOEXEC for given file.
12703
12704         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12705
12706         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12707         FD_CLOEXEC for /etc/hosts.
12708         (_gethtent): Likewise.
12709
12710         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12711
12712         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12713         cancellation and set FD_CLOEXEC for /etc/netgroup.
12714
12715         * nss/nss_files/files-key.c (search): Don't allow cancellation when
12716         reading /etc/publickey.
12717
12718         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12719         allow cancellation when reading /etc/group.
12720
12721         * nss/nss_files/files-alias.c (internal_setent): Don't allow
12722         cancellation.
12723         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
12724
12725         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12726         when using data file.
12727
12728         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12729
12730         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12731         (write_nis_obj): Use "c" and "e" in fopen.
12732
12733         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12734
12735         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12736
12737         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12738
12739         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12740
12741         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12742         locale.alias.
12743
12744         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12745
12746         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12747
12748         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12749
12750         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12751         file parsing and set FD_CLOEXEC.
12752
12753 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
12754
12755         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12756
12757 2011-11-14  Andreas Schwab  <schwab@redhat.com>
12758
12759         * malloc/arena.c (arena_get2): Don't call reused_arena when
12760         _int_new_arena failed.
12761
12762 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
12763
12764         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12765         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12766         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12767         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12768         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12769         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12770         to compile strcasecmp and strncasecmp.
12771         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12772         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12773
12774         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12775
12776 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
12777
12778         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12779         locale-defines.sym to gen-as-const-headers.
12780         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12781         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12782         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12783         to compile strcasecmp and strncasecmp.
12784         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12785         strcasecmp_l and strncasecmp_l.
12786         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12787         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12788         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12789         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12790         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12791         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12792         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12793         * sysdeps/i386/i686/multiarch/strncase.S: New file.
12794         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12795         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12796         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12797
12798 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
12799
12800         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12801         result of SYSDEP_GETTIME_CPU to retval.
12802         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12803         parameter list to macro.  Remove trailing semicolon.  Adjust users.
12804
12805         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12806         variable.
12807
12808         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12809         mantissa words.
12810         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12811
12812         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12813         from unused variable.
12814
12815         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12816         DWARF definitions.
12817         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12818         for assembling.
12819
12820         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12821         over namespaces.
12822
12823         * sunrpc/rpc_prot.c (rejected): Fix case value.
12824
12825         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12826         unsigned long long int to avoid warnings in shift.
12827
12828         * posix/regex_internal.c (re_string_reconstruct): Actually use result
12829         of use of trans.
12830         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12831         variable tmp.
12832
12833         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12834         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12835         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12836
12837         * nis/nis_table.c (nis_list): Use variable of correct type for
12838         result of __follow_path call.
12839
12840 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12841
12842         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12843         of math functions ceil, trunc, floor, round, and sqrt, when
12844         avaliable on the platform.
12845         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12846         name clash.
12847         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12848         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12849         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12850
12851 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
12852
12853         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12854         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12855
12856 2011-11-11  Roland McGrath  <roland@hack.frob.com>
12857
12858         * include/unistd.h: Fix __readlink return type.
12859         Reported by Chris Metcalf <cmetcalf@tilera.com>.
12860
12861 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
12862
12863         * stdlib/ucontext.h: Undo last change for makecontext.
12864
12865 2011-11-11  Andreas Schwab  <schwab@redhat.com>
12866
12867         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12868
12869         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12870         * setjmp/setjmp.h: Mark functions as non-leaf.
12871         * setjmp/bits/setjmp2.h: Likewise.
12872         * stdlib/ucontext.h: Likewise.
12873
12874 2011-11-10  Andreas Schwab  <schwab@redhat.com>
12875
12876         * malloc/arena.c (_int_new_arena): Don't increment narenas.
12877         (reused_arena): Don't check arena limit.
12878         (arena_get2): Atomically check arena limit.
12879
12880 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
12881
12882         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12883         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12884
12885         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12886         instructions.
12887
12888 2011-11-07  Andreas Schwab  <schwab@redhat.com>
12889
12890         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12891         handler when locking.
12892
12893         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12894         Fix size of allocated buffer.
12895
12896 2011-11-04  Andreas Schwab  <schwab@redhat.com>
12897
12898         [BZ #10103]
12899         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12900         declarations for long double functions.
12901         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12902
12903         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12904
12905 2011-11-03  Andreas Schwab  <schwab@redhat.com>
12906
12907         * nscd/nscd.c (main): Don't start AVC thread until credentials are
12908         installed.
12909
12910         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12911         is disabled.
12912
12913 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12914
12915         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12916
12917 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12918
12919         * include/alloca.h (stackinfo_alloca_round): Define.
12920         (extend_alloca): Use it.
12921         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12922         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12923         here.
12924
12925         * scripts/check-local-headers.sh: Ignore libaudit.h.
12926
12927         * nscd/Makefile (extra-objs): Make recursively expanded.
12928
12929 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
12930
12931         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12932         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12933
12934         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12935         * posix/tst-rfc3484-2.c: Likewise.
12936         * posix/tst-rfc3484-3.c: Likewise.
12937
12938         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12939         process_vm_writev.
12940         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12941         process_vm_writev.
12942         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12943         process_vm_writev from libc using GLIBC_2.15 version.
12944
12945         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12946
12947 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
12948
12949         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12950         stack usage.
12951
12952 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
12953
12954         [BZ #13367]
12955         * nss/getent.c (initgroups_keys): Show error message in case no group
12956         names are given.
12957
12958         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12959         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12960         __bump_nl_timestamp.
12961         * nscd/connections (nscd_init): When host database is served open
12962         netlink socket and request notification about configuration changes.
12963         (main_loop_poll): Track netlink file descriptor and bump timestamp
12964         in case data becomes available.
12965         (main_loop_epoll): Likewise.
12966         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12967         (database_pers_head): Add extra_data fileds.
12968         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12969         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12970         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12971         Adjust caller.
12972         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12973         in6ai data, call __free_in6ai.
12974         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12975         Add -DHAVE_NETLINK.
12976         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
12977         interface information.  Reuse previous data if netlink timestamp
12978         is not changed.
12979         (__bump_nl_timestamp): New function.
12980         (__free_in6ai): New function.
12981
12982 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
12983
12984         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12985         close_not_cancel_no_status here.
12986         (__check_pf): Reorganize code a bit to not call close twice if OOM.
12987
12988 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
12989
12990         [BZ #13276]
12991         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12992         return value.
12993
12994         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12995         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12996         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12997
12998 2011-07-03  Andreas Jaeger  <aj@suse.de>
12999
13000         [BZ #10709]
13001         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13002         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13003         * math/libm-test.inc (sin_test): Add test case.
13004
13005 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
13006
13007         [BZ #13337]
13008         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13009         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13010
13011         * elf/chroot_canon.c (chroot_canon): Cleanups.
13012
13013         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13014
13015         [BZ #13335]
13016         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13017         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13018
13019         * string/test-strchr.c: Make usable for strchrnul testing.
13020         * string/test-strchrnul.c: New file.
13021         * string/Makefile (strop-tests): Add strchrnul.
13022
13023         * po/it.po: Update from translation team.
13024         * po/es.po: Likewise.
13025
13026 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
13027
13028         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13029         the three constants needed as parameters.  Drop the others.
13030         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13031         __m128i_strloadu_tolower.
13032         Create and initialize variable zero and use it in all the places
13033         where _mm_setzero_si128 was used.
13034
13035         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13036         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13037         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13038         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13039         anymore.
13040         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13041         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13042         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13043         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13044         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13045         __mpranred, __mptan.
13046         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13047         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13048         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13049         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13050         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13051         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13052         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13053         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13054         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13055
13056 2011-10-28  Andreas Schwab  <schwab@redhat.com>
13057
13058         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13059         redefine if SHARED.
13060         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13061
13062         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13063         wide char related routines to wcsmbs subdir.
13064
13065 2011-10-27  Andreas Schwab  <schwab@redhat.com>
13066
13067         [BZ #13344]
13068         * misc/sys/cdefs.h (__THROWNL): Define.
13069         * posix/unistd.h: Use __THREADNL instead of __THREAD
13070         for memory synchronization functions.
13071
13072 2011-10-26  Roland McGrath  <roland@hack.frob.com>
13073
13074         [BZ #13349]
13075         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13076         doesn't exist.
13077         * manual/stdio.texi (Obstack Streams): Node removed.
13078
13079 2011-10-26  Andreas Schwab  <schwab@redhat.com>
13080
13081         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13082         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13083         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13084
13085         * math/math_private.h (math_force_eval): Allow non-addressable
13086         arguments.
13087         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13088
13089 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13090
13091         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13092         file is not needed.
13093
13094         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13095         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13096         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13097         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13098         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13099         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13100         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13101         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13102         Add AVX variants.
13103         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13104         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13105         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13106         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13107         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13108         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13109         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13110         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13111         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13112         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13113         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13114         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13115         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13116         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13117         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13118         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13119         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13120         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13121         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13122
13123         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13124         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
13125
13126         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13127         place.  Use VEX encoding when compiling for AVX.
13128
13129 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13130
13131         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13132         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13133
13134         * string/test-strchr.c (do_test): Don't generate NUL bytes.
13135
13136 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13137
13138         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13139         useless if() expression.
13140         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13141         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13142         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13143         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13144         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13145         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13146         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13147         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13148         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13149         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13150         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13151         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13152         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13153         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13154         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13155         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13156         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13157         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13158         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13159
13160         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13161
13162 2011-10-25  Andreas Schwab  <schwab@redhat.com>
13163
13164         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13165         condition.
13166         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13167
13168 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
13169
13170         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13171         .text section.  Avoid duplicate constants.
13172         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13173         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13174         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13175         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13176         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13177         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13178         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13179         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13180         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13181         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13182         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13183         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13184         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13185         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13186         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13187         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13188         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13189         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13190         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13191         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13192         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13193         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13194         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13195         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13196         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13197         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13198         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13199         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13200         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13201         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13202         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13203         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13204         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13205         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13206         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13207         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13208         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13209         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13210         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13211         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13212         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13213         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13214         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13215         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13216         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13217
13218 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
13219
13220         * sysdeps/x86_64/dla.h: Move to ...
13221         * sysdeps/x86_64/fpu/dla.h: ...here.
13222         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13223         situations.  Use __builtin_fma only for gcc 4.6 and up.
13224
13225         * config.make.in: Add have-mfma4 entry.
13226         * configure.in: Substitute libc_cv_cc_fma4.
13227         * math/Makefile (dbl-only-routines): Add sincostab.
13228         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13229         Use __sincostab not sincos.
13230         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13231         name is a macro.
13232         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13233         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13234         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13235         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
13236         using __copysign.
13237         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
13238         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
13239         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13240         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13241         and __inv.
13242         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13243         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13244         __copysign.
13245         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
13246         define aliases when function name is a macro.
13247         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13248         sysdeps/ieee754/dbl-64/sincos.tbl.
13249         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13250         fma4-enabled routines.
13251         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13252         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13253         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13254         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13255         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13256         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13257         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13258         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13259         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13260         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13261         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13262         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13263         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13264         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13265         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13266         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13267         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13268         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13269         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13270         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13271         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13272         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13273         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13274         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13275         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13276         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13277         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13278         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13279         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13280         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13281
13282         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13283         rename.
13284         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13285         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13286         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13287         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13288         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13289         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13290         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13291         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13292
13293 2011-10-24  Andreas Schwab  <schwab@redhat.com>
13294
13295         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13296
13297 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13298
13299         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13300
13301         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13302         prediction.
13303         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13304
13305         * string/strnlen.c: Don't define STRNLEN, reverse logic.
13306         Remove unused variable magic_bits.
13307         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13308
13309         * string/strnlen.c: Define and use STRNLEN macro.
13310         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13311         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13312         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13313         * wcsmbs/wcslen.c: Define and use WCSLEN.
13314         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13315         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13316         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13317         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13318         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13319         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13320         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13321
13322 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13323
13324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13325         strnlen-sse2-no-bsf.
13326         Rename strlen-no-bsf to strlen-sse2-no-bsf.
13327         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13328         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13329         Add strnlen support.
13330         (USE_AS_STRNLEN): New macro.
13331         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13332         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13333         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13334         * sysdeps/x86_64/wcslen.S: New file.
13335
13336 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
13337
13338         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13339         XMM-moves are used for copying on small sizes.
13340
13341 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13342
13343         * wcsmbs/Makefile (strop-tests): Add wcschr.
13344         * wcsmbs/test-wcschr.c: New file.
13345         * string/test-strchr.c: Update.
13346         Add wcschr support.
13347         (WIDE): New macro.
13348
13349 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13350
13351         * wcsmbs/Makefile (strop-tests): Add wcslen.
13352         * wcsmbs/test-wcslen.c: New file.
13353         * string/test-strlen.c: Update.
13354         Add wcslen support.
13355         (WIDE): New macro.
13356
13357 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13358
13359         * po/it.po: Update from translation team.
13360
13361 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13362
13363         * sysdeps/x86_64/wcscmp.S: Update.
13364         Fix wrong comparison semantics.
13365         wcscmp shall use signed comparison not unsigned.
13366         Don't use substraction to avoid overflow bug.
13367         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13368         * wcsmbc/wcscmp.c: Likewise.
13369         * string/test-strcmp.c: Likewise.
13370         Add new tests to check cases with negative values.
13371
13372 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
13373
13374         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13375         * sysdeps/x86_64/dla.h: ...here.  New file.
13376         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13377         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13378         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13379         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13380         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13381         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13382         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13383         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13384         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13385
13386 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
13387
13388         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13389         __ynl_finite aliases.
13390
13391 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
13392
13393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13394
13395         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13396         define DLA_FMA.
13397         [DLA_FMA] (EMULV): Use DLA_FMA.
13398         [DLA_FMA] (MUL12): Use EMULV.
13399         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13400         that are not needed.
13401         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13402         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13403         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13404         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13405         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13406         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13407         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13408
13409 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
13410
13411         * math/s_nan.c: Undef __nan.
13412         * math/s_nanf.c: Undef __nanf.
13413         * math/s_nanl.c: Undef __nanl.
13414         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13415         "math_private.h".
13416
13417 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
13418
13419         * math/s_catan.c: Add branch predictions.
13420         * math/s_catanf.c: Likewise.
13421         * math/s_catanh.c: Likewise.
13422         * math/s_catanhf.c: Likewise.
13423         * math/s_catanhl.c: Likewise.
13424         * math/s_catanl.c: Likewise.
13425         * math/s_cexp.c: Likewise.
13426         * math/s_cexpf.c: Likewise.
13427         * math/s_cexpl.c: Likewise.
13428         * math/s_clog.c: Likewise.
13429         * math/s_clog10.c: Likewise.
13430         * math/s_clog10f.c: Likewise.
13431         * math/s_clog10l.c: Likewise.
13432         * math/s_clogf.c: Likewise.
13433         * math/s_clogl.c: Likewise.
13434         * math/s_csqrt.c: Likewise.
13435         * math/s_csqrtf.c: Likewise.
13436         * math/s_csqrtl.c: Likewise.
13437         * math/s_ctanf.c: Likewise.
13438         * math/s_ctanh.c: Likewise.
13439         * math/s_ctanhf.c: Likewise.
13440         * math/s_ctanhl.c: Likewise.
13441         * math/s_ctanl.c: Likewise.
13442
13443         * math/math_private.h: Define __nan, __nanf, __nanl.
13444         * math/s_cacosh.c: Include <math_private.h>.
13445         * math/s_cacoshl.c: Likewise.
13446         * math/s_casinh.c: Likewise.
13447         * math/s_casinhf.c: Likewise.
13448         * math/s_casinhl.c: Likewise.
13449         * math/s_ccos.c: Rely entire on ccosh.
13450         * math/s_ccosf.c: Rely entire on ccoshf.
13451         * math/s_ccosl.c: Rely entirely on ccoshl.
13452         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
13453         Remove tests for FE_INVALID.
13454         * math/s_ccoshf.c: Likewise.
13455         * math/s_ccoshl.c: Likewise.
13456         * math/s_csin.c: Likewise.
13457         * math/s_csinf.c: Likewise.
13458         * math/s_csinh.c Likewise.
13459         * math/s_csinhf.c: Likewise.
13460         * math/s_csinhl.c: Likewise.
13461         * math/s_csinl.c: Likewise.
13462         * math/s_ctan.c: Likewise.
13463         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13464         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13465         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13466
13467 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
13468
13469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13470         compilation problems.
13471
13472         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13473         __builtin_expect.
13474
13475 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
13476
13477         * sysdeps/i386/configure.in: Test for -mfma4 option.
13478         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13479         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13480         COMMON_CPUID_INDEX_80000001.
13481         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13482         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13483         use it if FMA3 is not supported.
13484         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13485
13486         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13487         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13488
13489 2011-10-20  Andreas Schwab  <schwab@redhat.com>
13490
13491         [BZ #12892]
13492         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13493         it would create a cycle with a link time dependency.
13494
13495 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
13496
13497         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13498         instruction.
13499         * string/Makefile (strop-tests): Add rawmemchr.
13500         * string/test-rawmemchr.c: New file.
13501
13502         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13503         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
13504         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
13505         when compiling str{,n}casecmp and when AVX is available.  Hook up
13506         new optimized code in initializers.
13507
13508 2011-10-19  Andreas Schwab  <schwab@redhat.com>
13509
13510         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13511         __feraiseexcept instead of feraiseexcept.
13512
13513 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
13514
13515         * math/math_private.h: Define defaults for libc_fetestexcept and
13516         libc_feupdateenv.
13517         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13518         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13519         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13520         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13521         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13522         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13523         libc_fetestexcept and libc_feupdateenv.
13524
13525         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13526         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13527         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13528         * sysdeps/x86_64/fpu/math_private.h: Define special version of
13529         libc_feholdexcept_setround.
13530
13531         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13532         Add s_nearbyint-c and s_nearbyintf-c.
13533         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13534         nearbyintf inlines.
13535         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13536         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13537         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13538         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13539
13540         * math/math_private.h: Define defaults for libc_fegetround,
13541         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13542         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13543         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13544         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13545         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13546         standard functions.
13547         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13548         Remove comments and hacks for old compiler versions.
13549         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13550         libc_fegetround, libc_fesetround, libc_feholdexcept, and
13551         libc_feholdexceptl.
13552
13553 2011-10-18  Andreas Schwab  <schwab@redhat.com>
13554
13555         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13556         (__feraiseexcept_renamed): Add __NTH.
13557         (feraiseexcept): Add __NTH.  Rename local variables to fix
13558         namespace violations.
13559
13560 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
13561
13562         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13563
13564         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13565
13566         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13567         recently added interfaces.
13568         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13569
13570         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13571         about macro parameter expansion.
13572
13573         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13574         __NO_MATH_INLINES is defined.  Cleanups.
13575
13576         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13577         and __floorf is target has SSE4.1.
13578         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13579         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13580         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13581         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13582
13583         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13584         name.
13585         (floorf): Likewise.
13586
13587         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13588
13589 2011-10-17  Andreas Schwab  <schwab@redhat.com>
13590
13591         * misc/sys/cdefs.h: Fix last change.
13592
13593         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13594         database lookup.
13595
13596 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
13597
13598         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13599
13600         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13601         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13602         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13603         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13604         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13605         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13606         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13607         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13608         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13609         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13610         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13611         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13612         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13613         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13614         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13615         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13616         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13617         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13618         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13619         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13620         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13621         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13622
13623         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13624         ceil, ceilf, floor, floorf.
13625
13626         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13627         Perform IRELATIVE relocations last.
13628
13629         * elf/do-rel.h: Add another parameter nrelative, replacing the
13630         local variable with the same name.  Change name of the function
13631         to end in Rel or Rela (uppercase).
13632         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13633         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
13634         elf_dynamic_do_##reloc function.
13635
13636 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
13637
13638         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13639         is sufficient, at least on modern CPUs.
13640
13641         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13642
13643         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13644         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13645
13646         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13647         __expl_finite.
13648         * math/bits/math-finite.h: Add entries for exp.
13649         * math/e_expl.c: Add __*_finite alias.
13650         * sysdeps/i386/fpu/e_exp.S: Likewise.
13651         * sysdeps/i386/fpu/e_expf.S: Likewise.
13652         * sysdeps/i386/fpu/e_expl.c: Likewise.
13653         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13654         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13655         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13656         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13657         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13658         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13659         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13660
13661         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13662         is sufficient, at least on modern CPUs.
13663
13664         * ctype/ctype-info.c (__ctype_init): Define.
13665         * include/ctype.h (__ctype_init): Declare.
13666         (__ctype_b_loc): The variable is always initialized.
13667         (__ctype_toupper_loc): Likewise.
13668         (__ctype_tolower_loc): Likewise.
13669         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13670         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13671
13672 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
13673
13674         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13675
13676         * configure.in: Also look in $cxxmachine/include for C++ system
13677         headers.
13678
13679 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13680
13681         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13682         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13683         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13684         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
13685         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13686         (USE_AS_WMEMCMP): New macro.
13687         Fixing indents.
13688         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13689         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13690         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13691         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13692         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13693         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13694         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13695         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13696         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13697         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13698         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13699         (USE_AS_WMEMCMP): New macro.
13700         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13701         * sysdeps/string/test-memcmp.c: Update.
13702         Fix simple_wmemcmp.
13703         Add new tests.
13704         * wcsmbs/wmemcmp.c: Update.
13705         (WMEMCMP): New macro.
13706         Fix overflow bug.
13707
13708 2011-10-12  Andreas Jaeger  <aj@suse.de>
13709
13710         [BZ #13268]
13711         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13712
13713 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
13714
13715         * libio/iofwide.c (do_length): Avoid warning.
13716
13717         * ctype/ctype.h (__isctype_f): Add missing __THROW.
13718
13719 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
13720
13721         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13722
13723         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13724         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13725         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13726         * sysdeps/i386/i686/fpu/e_log.S: New file.
13727         * sysdeps/i386/i686/fpu/e_logf.S: New file.
13728         * sysdeps/i386/i686/fpu/e_logl.S: New file.
13729
13730         * ctype/ctype.h: Add support for inlined isXXX functions when
13731         compiling C++ code.
13732
13733 2011-10-14  Andreas Schwab  <schwab@redhat.com>
13734
13735         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13736
13737         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13738
13739 2011-10-13  Roland McGrath  <roland@hack.frob.com>
13740
13741         [BZ #13291]
13742         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13743
13744 2011-10-13  Andreas Schwab  <schwab@redhat.com>
13745
13746         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13747         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13748         feraiseexcept.
13749
13750         * sysdeps/x86_64/memrchr.S: Check for zero size.
13751
13752         * string/stratcliff.c: Add memrchr tests.
13753
13754 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13755
13756         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13757         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13758         rawmemchr-sse2 rawmemchr-sse2-bsf.
13759         * sysdeps/i386/i686/multiarch/memchr.S: New file.
13760         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13761         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13762         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13763         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13764         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13765         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13766         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13767         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13768         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13769         * string/memrchr.c (MEMRCHR): New macro.
13770
13771 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
13772
13773         Add integration with gcc's -ffinite-math-only and optimize wrapper
13774         functions in libm.
13775         * Versions.def: Define GLIBC_2.15 version for libm.
13776         * math/Makefile (headers): Add bits/math-finite.h.
13777         * math/bits/math-finite.h: New file.
13778         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13779         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13780         * math/e_acoshl.c: Add __*_finite alias.
13781         * math/e_acosl.c: Likewise.
13782         * math/e_asinl.c: Likewise.
13783         * math/e_atan2l.c: Likewise.
13784         * math/e_atanhl.c: Likewise.
13785         * math/e_coshl.c: Likewise.
13786         * math/e_exp10.c: Likewise.
13787         * math/e_exp10f.c: Likewise.
13788         * math/e_exp10l.c: Likewise.
13789         * math/e_exp2l.c: Likewise.
13790         * math/e_fmodl.c: Likewise.
13791         * math/e_gammal_r.c: Likewise.
13792         * math/e_hypotl.c: Likewise.
13793         * math/e_j0l.c: Likewise.
13794         * math/e_j1l.c: Likewise.
13795         * math/e_jnl.c: Likewise.
13796         * math/e_lgammal_r.c: Likewise.
13797         * math/e_log10l.c: Likewise.
13798         * math/e_log2l.c: Likewise.
13799         * math/e_logl.c: Likewise.
13800         * math/e_powl.c: Likewise.
13801         * math/e_sinhl.c: Likewise.
13802         * math/e_sqrtl.c: Likewise.
13803         * math/e_scalb.c: Completely rewritten and optimized.
13804         * math/e_scalbf.c: Likewise.
13805         * math/e_scalbl.c: Likewise.
13806         * math/w_acos.c: Likewise.
13807         * math/w_acosf.c: Likewise.
13808         * math/w_acosl.c: Likewise.
13809         * math/w_acosh.c: Likewise.
13810         * math/w_acoshf.c: Likewise.
13811         * math/w_acoshl.c: Likewise.
13812         * math/w_asin.c: Likewise.
13813         * math/w_asinf.c: Likewise.
13814         * math/w_asinl.c: Likewise.
13815         * math/w_atan2.c: Likewise.
13816         * math/w_atan2f.c: Likewise.
13817         * math/w_atan2l.c: Likewise.
13818         * math/w_atanh.c: Likewise.
13819         * math/w_atanhf.c: Likewise.
13820         * math/w_atanhl.c: Likewise.
13821         * math/w_exp10.c: Likewise.
13822         * math/w_exp10f.c: Likewise.
13823         * math/w_exp10l.c: Likewise.
13824         * math/w_fmod.c: Likewise.
13825         * math/w_fmodf.c: Likewise.
13826         * math/w_fmodl.c: Likewise.
13827         * math/w_j0.c: Likewise.
13828         * math/w_j0f.c: Likewise.
13829         * math/w_j0l.c: Likewise.
13830         * math/w_j1.c: Likewise.
13831         * math/w_j1f.c: Likewise.
13832         * math/w_j1l.c: Likewise.
13833         * math/w_jn.c: Likewise.
13834         * math/w_jnf.c: Likewise.
13835         * math/w_log.c: Likewise.
13836         * math/w_logf.c: Likewise.
13837         * math/w_logl.c: Likewise.
13838         * math/w_log10.c: Likewise.
13839         * math/w_log10f.c: Likewise.
13840         * math/w_log10l.c: Likewise.
13841         * math/w_log2.c: Likewise.
13842         * math/w_log2f.c: Likewise.
13843         * math/w_log2l.c: Likewise.
13844         * math/w_pow.c: Likewise.
13845         * math/w_powf.c: Likewise.
13846         * math/w_powl.c: Likewise.
13847         * math/w_remainder.c: Likewise.
13848         * math/w_remainderf.c: Likewise.
13849         * math/w_remainderl.c: Likewise.
13850         * math/w_scalb.c: Likewise.
13851         * math/w_scalbf.c: Likewise.
13852         * math/w_scalbl.c: Likewise.
13853         * math/w_sqrt.c: Likewise.
13854         * math/w_sqrtf.c: Likewise.
13855         * math/w_sqrtl.c: Likewise.
13856         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13857         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
13858         used.
13859         * math/math_private.h: Declare __kernel_standard_f.
13860         * math/w_cosh.c: Remove cruft and optimize a bit.
13861         * math/w_coshf.c: Likewise.
13862         * math/w_coshl.c: Likewise.
13863         * math/w_exp2.c: Likewise.
13864         * math/w_exp2f.c: Likewise.
13865         * math/w_exp2l.c: Likewise.
13866         * math/w_hypot.c: Likewise.
13867         * math/w_hypotf.c: Likewise.
13868         * math/w_hypotl.c: Likewise.
13869         * math/w_lgamma.c: Likewise.
13870         * math/w_lgamma_r.c: Likewise.
13871         * math/w_lgammaf.c: Likewise.
13872         * math/w_lgammaf_r.c: Likewise.
13873         * math/w_lgammal.c: Likewise.
13874         * math/w_lgammal_r.c: Likewise.
13875         * math/w_sinh.c: Likewise.
13876         * math/w_sinhf.c: Likewise.
13877         * math/w_sinhl.c: Likewise.
13878         * math/w_tgamma.c: Likewise.
13879         * math/w_tgammaf.c: Likewise.
13880         * math/w_tgammal.c: Likewise.
13881         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13882         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13883         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13884         Minor optimizations.  Pretty printing.  Remove cruft.
13885         * sysdeps/i386/fpu/e_acosf.S: Likewise.
13886         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13887         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13888         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13889         * sysdeps/i386/fpu/e_acosl.c: Likewise.
13890         * sysdeps/i386/fpu/e_asin.S: Likewise.
13891         * sysdeps/i386/fpu/e_asinf.S: Likewise.
13892         * sysdeps/i386/fpu/e_atan2.S: Likewise.
13893         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13894         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13895         * sysdeps/i386/fpu/e_atanh.S: Likewise.
13896         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13897         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13898         * sysdeps/i386/fpu/e_exp10.S: Likewise.
13899         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13900         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13901         * sysdeps/i386/fpu/e_exp2.S: Likewise.
13902         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13903         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13904         * sysdeps/i386/fpu/e_fmod.S: Likewise.
13905         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13906         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13907         * sysdeps/i386/fpu/e_hypot.S: Likewise.
13908         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13909         * sysdeps/i386/fpu/e_log.S: Likewise.
13910         * sysdeps/i386/fpu/e_log10.S: Likewise.
13911         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13912         * sysdeps/i386/fpu/e_log10l.S: Likewise.
13913         * sysdeps/i386/fpu/e_log2.S: Likewise.
13914         * sysdeps/i386/fpu/e_log2f.S: Likewise.
13915         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13916         * sysdeps/i386/fpu/e_logf.S: Likewise.
13917         * sysdeps/i386/fpu/e_logl.S: Likewise.
13918         * sysdeps/i386/fpu/e_pow.S: Likewise.
13919         * sysdeps/i386/fpu/e_powf.S: Likewise.
13920         * sysdeps/i386/fpu/e_powl.S: Likewise.
13921         * sysdeps/i386/fpu/e_remainder.S: Likewise.
13922         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13923         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13924         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13925         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13926         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13927         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13928         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13929         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13930         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13931         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13932         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13933         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13934         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13935         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13936         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13937         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13938         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13939         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13940         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13941         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13943         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13944         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13945         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13946         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13947         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13948         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13949         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13950         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13951         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13952         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13953         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13954         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13955         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13956         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13957         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13958         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13959         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13960         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13961         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13962         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13963         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13964         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13965         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13966         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13967         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13968         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13969         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13970         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13971         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13972         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13973         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13974         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13975         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13976         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13977         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13978         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13979         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13980         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13981         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13982         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13983         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13984         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13985         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13986         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13987         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13988         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13989         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13990         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13991         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13992         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13993         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13994         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13995         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13996         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13997         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13998         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13999         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14000         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14001         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14002         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14003         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14004         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14005         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14006         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14007         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14008         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14009         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14010         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14011         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14012         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14013         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14014         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14015         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14016         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14017         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14018         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14019         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14020         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14021         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14022         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14023         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14024         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14025         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14026         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14027         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14028         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14029         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14030         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14031         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14032         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14033         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14034         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14035         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14036         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14037         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14038         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14039         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14040         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
14041         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14042         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14043         (__isnanf): Likewise.
14044         (__isinf_ns): Likewise.
14045         (__isinf_nsf): Likewise.
14046         (__finite): Likewise.
14047         (__finitef): Likewise.
14048         (__ieee754_sqrt): Define as macro.
14049         (__ieee754_sqrtf): Define as macro.
14050         (__ieee754_sqrtl): Define as macro.
14051         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14052         inlined copy.
14053         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14054         __FINITE_MATH_ONLY__ consistent.
14055         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14056
14057 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
14058
14059         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14060         of rawmemchr.
14061
14062         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14063
14064 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
14065
14066         * po/ja.po: Update from translation team.
14067
14068 2011-10-08  Roland McGrath  <roland@hack.frob.com>
14069
14070         * locale/programs/locarchive.c (prepare_address_space): New function.
14071         (create_archive, enlarge_archive, open_archive): Use it.
14072
14073         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14074         inside [SHARED], where it is used.
14075
14076         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14077
14078         * nss/getent.c (netgroup_keys): Remove unused variable.
14079         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14080
14081 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
14082
14083         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14084         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14085         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14086         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14087         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14088         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14089         * math/Makefile (libm-calls): Add s_isinf_ns.
14090         * math/divtc3.c: Use __isinf_nsl instead of isinf.
14091         * math/multc3.c: Likewise.
14092         * math/s_casin.c: Likewise.
14093         * math/s_casinf.c: Likewise.
14094         * math/s_casinl.c: Likewise.
14095         * math/s_ccos.c: Likewise.
14096         * math/s_ccosf.c: Likewise.
14097         * math/s_ccosl.c: Likewise.
14098         * math/s_ctan.c: Likewise.
14099         * math/s_ctanf.c: Likewise.
14100         * math/s_ctanh.c: Likewise.
14101         * math/s_ctanhf.c: Likewise.
14102         * math/s_ctanhl.c: Likewise.
14103         * math/s_ctanl.c: Likewise.
14104         * math/w_fmod.c: Likewise.
14105         * math/w_fmodf.c: Likewise.
14106         * math/w_fmodl.c: Likewise.
14107         * math/w_remainder.c: Likewise.
14108         * math/w_remainderf.c: Likewise.
14109         * math/w_remainderl.c: Likewise.
14110         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14111         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14112         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14113         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14114         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14115         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14116         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14117         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14118
14119         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14120         of the number.
14121         * stdio-common/printf_fphex.c: Likewise.
14122         * stdio-common/printf_size.c: Likewise.
14123
14124         * math/e_exp10.c: Include math_private.h using <...> not "...".
14125         * math/e_exp10f.c: Likewise.
14126         * math/e_exp10l.c: Likewise.
14127         * math/e_exp2l.c: Likewise.
14128         * math/e_j0l.c: Likewise.
14129         * math/e_j1l.c: Likewise.
14130         * math/e_jnl.c: Likewise.
14131         * math/e_lgammal_r.c: Likewise.
14132         * math/e_rem_pio2l.c: Likewise.
14133         * math/e_scalb.c: Likewise.
14134         * math/e_scalbf.c: Likewise.
14135         * math/e_scalbl.c: Likewise.
14136         * math/k_cosl.c: Likewise.
14137         * math/k_sinl.c: Likewise.
14138         * math/k_tanl.c: Likewise.
14139         * math/s_cacoshf.c: Likewise.
14140         * math/s_catan.c: Likewise.
14141         * math/s_catanf.c: Likewise.
14142         * math/s_catanh.c: Likewise.
14143         * math/s_catanhf.c: Likewise.
14144         * math/s_catanhl.c: Likewise.
14145         * math/s_catanl.c: Likewise.
14146         * math/s_ccosh.c: Likewise.
14147         * math/s_ccoshf.c: Likewise.
14148         * math/s_ccoshl.c: Likewise.
14149         * math/s_cexp.c: Likewise.
14150         * math/s_cexpf.c: Likewise.
14151         * math/s_cexpl.c: Likewise.
14152         * math/s_clog.c: Likewise.
14153         * math/s_clog10.c: Likewise.
14154         * math/s_clog10f.c: Likewise.
14155         * math/s_clog10l.c: Likewise.
14156         * math/s_clogf.c: Likewise.
14157         * math/s_clogl.c: Likewise.
14158         * math/s_csin.c: Likewise.
14159         * math/s_csinf.c: Likewise.
14160         * math/s_csinh.c: Likewise.
14161         * math/s_csinhf.c: Likewise.
14162         * math/s_csinhl.c: Likewise.
14163         * math/s_csinl.c: Likewise.
14164         * math/s_csqrt.c: Likewise.
14165         * math/s_csqrtf.c: Likewise.
14166         * math/s_csqrtl.c: Likewise.
14167         * math/s_ctan.c: Likewise.
14168         * math/s_ctanf.c: Likewise.
14169         * math/s_ctanh.c: Likewise.
14170         * math/s_ctanhf.c: Likewise.
14171         * math/s_ctanhl.c: Likewise.
14172         * math/s_ctanl.c: Likewise.
14173         * math/s_ldexp.c: Likewise.
14174         * math/s_ldexpf.c: Likewise.
14175         * math/s_ldexpl.c: Likewise.
14176         * math/s_significand.c: Likewise.
14177         * math/s_significandf.c: Likewise.
14178         * math/s_significandl.c: Likewise.
14179         * math/w_acos.c: Likewise.
14180         * math/w_acosf.c: Likewise.
14181         * math/w_acosh.c: Likewise.
14182         * math/w_acoshf.c: Likewise.
14183         * math/w_acoshl.c: Likewise.
14184         * math/w_acosl.c: Likewise.
14185         * math/w_asin.c: Likewise.
14186         * math/w_asinf.c: Likewise.
14187         * math/w_asinl.c: Likewise.
14188         * math/w_atan2.c: Likewise.
14189         * math/w_atan2f.c: Likewise.
14190         * math/w_atan2l.c: Likewise.
14191         * math/w_atanh.c: Likewise.
14192         * math/w_atanhf.c: Likewise.
14193         * math/w_atanhl.c: Likewise.
14194         * math/w_cosh.c: Likewise.
14195         * math/w_coshf.c: Likewise.
14196         * math/w_coshl.c: Likewise.
14197         * math/w_dremf.c: Likewise.
14198         * math/w_exp10.c: Likewise.
14199         * math/w_exp10f.c: Likewise.
14200         * math/w_exp10l.c: Likewise.
14201         * math/w_exp2.c: Likewise.
14202         * math/w_exp2f.c: Likewise.
14203         * math/w_fmod.c: Likewise.
14204         * math/w_fmodf.c: Likewise.
14205         * math/w_fmodl.c: Likewise.
14206         * math/w_hypot.c: Likewise.
14207         * math/w_hypotf.c: Likewise.
14208         * math/w_hypotl.c: Likewise.
14209         * math/w_j0.c: Likewise.
14210         * math/w_j0f.c: Likewise.
14211         * math/w_j0l.c: Likewise.
14212         * math/w_j1.c: Likewise.
14213         * math/w_j1f.c: Likewise.
14214         * math/w_j1l.c: Likewise.
14215         * math/w_jn.c: Likewise.
14216         * math/w_jnf.c: Likewise.
14217         * math/w_jnl.c: Likewise.
14218         * math/w_lgamma.c: Likewise.
14219         * math/w_lgamma_r.c: Likewise.
14220         * math/w_lgammaf.c: Likewise.
14221         * math/w_lgammaf_r.c: Likewise.
14222         * math/w_lgammal.c: Likewise.
14223         * math/w_lgammal_r.c: Likewise.
14224         * math/w_log.c: Likewise.
14225         * math/w_log10.c: Likewise.
14226         * math/w_log10f.c: Likewise.
14227         * math/w_log10l.c: Likewise.
14228         * math/w_log2.c: Likewise.
14229         * math/w_log2f.c: Likewise.
14230         * math/w_log2l.c: Likewise.
14231         * math/w_logf.c: Likewise.
14232         * math/w_logl.c: Likewise.
14233         * math/w_pow.c: Likewise.
14234         * math/w_powf.c: Likewise.
14235         * math/w_powl.c: Likewise.
14236         * math/w_remainder.c: Likewise.
14237         * math/w_remainderf.c: Likewise.
14238         * math/w_remainderl.c: Likewise.
14239         * math/w_scalb.c: Likewise.
14240         * math/w_scalbf.c: Likewise.
14241         * math/w_scalbl.c: Likewise.
14242         * math/w_sinh.c: Likewise.
14243         * math/w_sinhf.c: Likewise.
14244         * math/w_sinhl.c: Likewise.
14245         * math/w_sqrt.c: Likewise.
14246         * math/w_sqrtf.c: Likewise.
14247         * math/w_sqrtl.c: Likewise.
14248         * math/w_tgamma.c: Likewise.
14249         * math/w_tgammaf.c: Likewise.
14250         * math/w_tgammal.c: Likewise.
14251
14252         * po/ja.po: Update from translation team.
14253
14254 2011-09-29  Andreas Jaeger  <aj@suse.de>
14255
14256         [BZ #13179]
14257         * sunrpc/netname.c (netname2host): Fix logic.
14258
14259         [BZ #6779]
14260         [BZ #6783]
14261         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14262         correctly.
14263         * math/w_remainder.c (__remainder): Likewise.
14264         * math/w_remainderf.c (__remainderf): Likewise.
14265         * math/libm-test.inc (remainder_test): Add test cases.
14266
14267 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14268
14269         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
14270         sdiv_qrnnd.
14271
14272 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14273
14274         * string/test-memcmp.c: Avoid unncessary #defines.
14275         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14276
14277 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14278
14279         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14280         Use new sse2 version for core i3 - i7 as it's faster
14281         than sse42 version.
14282         (bit_Prefer_PMINUB_for_stringop): New.
14283         * sysdeps/x86_64/rawmemchr.S: Update.
14284         Replace with faster SSE2 version.
14285         * sysdeps/x86_64/memrchr.S: New file.
14286         * sysdeps/x86_64/memchr.S: Update.
14287         Replace with faster SSE2 version.
14288
14289 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
14290
14291         * elf/dl-load.c (lose): Add cast to avoid warning.
14292
14293 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
14294
14295         * po/ca.po: Update from translation team.
14296
14297         * inet/getnetgrent_r.c: Hook up nscd.
14298         * nscd/Makefile (routines): Add nscd_netgroup.
14299         (nscd-modules): Add netgroupcache.
14300         (CFLAGS-netgroupcache.c): Define.
14301         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14302         (cache_search): Add const to second parameter.
14303         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14304         INNETGR.
14305         (dbs): Add netgrdb entry.
14306         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14307         (verify_persistent_db): Handle netgrdb.
14308         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14309         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14310         GETFDNETGR.
14311         (netgroup_response_header): Define.
14312         (innetgroup_response_header): Define.
14313         (datahead): Add netgroup_response_header and innetgroup_response_header
14314         elements.
14315         * nscd/nscd.conf: Add entries for netgroup cache.
14316         * nscd/nscd.h (dbtype): Add netgrdb.
14317         (_PATH_NSCD_NETGROUP_DB): Define.
14318         (netgroup_iov_disabled): Declare.
14319         (xmalloc, xcalloc, xrealloc): Move declarations here.
14320         (cache_search): Adjust prototype.
14321         Add netgroup-related prototypes.
14322         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14323         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14324         (__nscd_innetgr): Declare.
14325         * nscd/selinux.c (perms): Use access_vector_t as element type and
14326         add netgroup-related initializers.
14327         * nscd/netgroupcache.c: New file.
14328         * nscd/nscd_netgroup.c: New file.
14329         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14330         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14331         For four parameters use innetgr.
14332         * nss/nss_files/files-init.c: Add definition and callback for netgr.
14333         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14334         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14335         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14336
14337         * nscd/connections.c (register_traced_file): Don't register file
14338         for disabled databases.
14339
14340 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
14341
14342         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14343
14344         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14345         from tree and freeing node.
14346
14347 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
14348
14349         * nss/nsswitch.c (__nss_database_lookup): Handle
14350         nss_parse_service_list out of memory case.
14351
14352 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
14353
14354         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14355         out of memory case.
14356
14357 2011-10-04  Andreas Schwab  <schwab@redhat.com>
14358
14359         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14360         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14361         pass it down.
14362         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14363         elf_machine_rela, elf_machine_lazy_rel.
14364         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14365         (ELF_DYNAMIC_DO_REL): Likewise.
14366         (ELF_DYNAMIC_DO_RELA): Likewise.
14367         (ELF_DYNAMIC_RELOCATE): Likewise.
14368         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14369         to ELF_DYNAMIC_DO_REL.
14370         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14371         (dl_main): In trace mode always set __RTLD_NOIFUNC.
14372         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14373         elf_machine_rela.
14374         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14375         skip_ifunc, don't call ifunc function if non-zero.
14376         (elf_machine_rela): Likewise.
14377         (elf_machine_lazy_rel): Likewise.
14378         (elf_machine_lazy_rela): Likewise.
14379         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14380         (elf_machine_lazy_rel): Likewise.
14381         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14382         Likewise.
14383         (elf_machine_lazy_rel): Likewise.
14384         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14385         Likewise.
14386         (elf_machine_lazy_rel): Likewise.
14387         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14388         (elf_machine_lazy_rel): Likewise.
14389         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14390         (elf_machine_lazy_rel): Likewise.
14391         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14392         (elf_machine_lazy_rel): Likewise.
14393         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14394         (elf_machine_lazy_rel): Likewise.
14395         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14396         (elf_machine_lazy_rel): Likewise.
14397         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14398         (elf_machine_lazy_rel): Likewise.
14399
14400 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
14401
14402         * nss/nss_files/files-init.c (_nss_files_init): Use static
14403         initialization for all the *_traced_file variables.
14404
14405 2011-09-28  Andreas Schwab  <schwab@redhat.com>
14406
14407         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14408
14409 2011-09-27  Roland McGrath  <roland@hack.frob.com>
14410
14411         [BZ #13226]
14412         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14413
14414 2011-09-27  Andreas Schwab  <schwab@redhat.com>
14415
14416         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14417         Reread the line before reparsing it.
14418
14419 2011-09-26  Andreas Schwab  <schwab@redhat.com>
14420
14421         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14422
14423 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
14424             Maxim Kuvyrkov  <maxim@codesourcery.com>
14425             Joseph Myers  <joseph@codesourcery.com>
14426
14427         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14428         if needed for __stack_chk_guard.
14429
14430 2011-09-19  Roland McGrath  <roland@hack.frob.com>
14431
14432         * sysdeps/posix/spawni.c (script_execute): Always define it.
14433         It will be optimized away if unused.
14434         (maybe_script_execute): New function.
14435         (__spawni): Call it.
14436
14437         * Makerules: Don't include tls.make.
14438         (config-tls): Always set to thread.
14439         * tls.make.c: File removed.
14440
14441 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
14442
14443         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14444         * config.make.in (CPPFLAGS-config): New substituted variable.
14445
14446 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
14447
14448         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14449
14450         [BZ #13192]
14451         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14452         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14453
14454 2011-09-15  Roland McGrath  <roland@hack.frob.com>
14455
14456         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14457         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14458         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14459         (CALL_FAIL): Likewise.
14460         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14461         (CALL_FAIL): Macro removed.
14462         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14463
14464 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
14465
14466         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14467         for __FINITE_MATH_ONLY__ == 1.
14468
14469 2011-09-15  Andreas Schwab  <schwab@redhat.com>
14470
14471         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14472         __ieee754_sqrt instead of sqrt.
14473         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14474         __ieee754_sqrtf instead of sqrtf.
14475         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14476         __floorf instead of floorf.
14477         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14478         __floorf, __truncf instead of floorf, truncf.
14479
14480 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
14481
14482         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14483
14484         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14485         __extern_always_inline.
14486         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14487         32-bit.
14488
14489 2011-09-14  Andreas Schwab  <schwab@redhat.com>
14490
14491         * elf/rtld.c (dl_main): Also relocate in dependency order when
14492         doing symbol dependency testing.
14493
14494 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
14495
14496         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14497         Always define `refsym'.
14498
14499 2011-09-13  Andreas Schwab  <schwab@redhat.com>
14500
14501         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14502         (__FD_ELT): Renamed from __FDELT.
14503         * misc/bits/select2.h (__FD_ELT): Likewise.
14504         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14505         __FD_MASK instead of __FDELT, __FDMASK.
14506         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14507         Likewise.
14508         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14509         Likewise.
14510
14511         * elf/Makefile (gen-ldd): Fix pattern.
14512
14513         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14514         (init_tls): Likewise.
14515
14516 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
14517
14518         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14519
14520 2011-09-12  Andreas Schwab  <schwab@redhat.com>
14521
14522         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14523         `struct cmsghdr *' instead of `void *'.
14524         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14525         Likewise.
14526
14527 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
14528
14529         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14530         if non-absolute.
14531         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14532         ldd_rewrite_script.
14533
14534 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
14535
14536         * configure.in: Remove --with-tls option.
14537         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14538         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14539         out in case it is missing.
14540         * sysdeps/ia64/elf/configure.in: Likewise.
14541         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14542         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14543         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14544         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14545         * sysdeps/sh/elf/configure.in: Likewise.
14546         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14547         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14548         * sysdeps/x86_64/elf/configure.in: Likewise.
14549         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14550         * sysdeps/mach/hurd/tls.h: Likewise.
14551
14552         [BZ #13067]
14553         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14554
14555         [BZ #13090]
14556         * configure.in: Fix use of AC_INIT.
14557
14558         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14559
14560 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
14561
14562         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14563         __set_errno.
14564         * malloc/hooks.c: Likewise.
14565
14566         [BZ #11929]
14567         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
14568         variables statically.
14569         (narenas): Initialize.
14570         (list_lock): Initialize.
14571         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
14572         initializtion of main_arena and list_lock.  Small cleanups.
14573         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14574         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
14575         Add initializers to main_arena and mp_.
14576         (malloc_state): Remove pagesize member.  Change all users to use
14577         GLRO(dl_pagesize).
14578
14579         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14580         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
14581         is always initialized.
14582
14583         * malloc/malloc.c: Removed unused configurations and dead code.
14584         * malloc/arena.c: Likewise.
14585         * malloc/hooks.c: Likewise.
14586         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14587
14588         * include/tls.h: Removed.  USE___THREAD must always be defined.
14589         * bits/libc-tsd.h: Don't handle !USE___THREAD.
14590         * elf/dl-libc.c: Likewise.
14591         * elf/dl-tsd.c: Likewise.
14592         * include/errno.h: Likewise.
14593         * include/netdb.h: Likewise.
14594         * include/resolv.h: Likewise.
14595         * inet/herrno-loc.c: Likewise.
14596         * inet/herrno.c: Likewise.
14597         * malloc/arena.c: Likewise.
14598         * malloc/hooks.c: Likewise.
14599         * malloc/malloc.c: Likewise.
14600         * resolv/res-state.c: Likewise.
14601         * resolv/res_libc.c: Likewise.
14602         * sysdeps/i386/dl-machine.h: Likewise.
14603         * sysdeps/ia64/dl-machine.h: Likewise.
14604         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14605         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14606         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14607         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14608         * sysdeps/sh/dl-machine.h: Likewise.
14609         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14610         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14611         * sysdeps/unix/i386/sysdep.S: Likewise.
14612         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14613         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14614         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14615         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14616         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14617         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14618         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14620         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14621         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14622         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14623         * sysdeps/x86_64/dl-machine.h: Likewise.
14624         * tls.make.c: Likewise.
14625
14626         * configure.in: Remove --with-__thread option.  Make tests for
14627         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14628         tls_model attribute fail if no support is available.  Remove
14629         USE_IN_LIBIO.
14630         * Makeconfig: Adjust for dropped configure option.  All features are
14631         now mandatory.
14632         * Makerules: Likewise.
14633         * Versions.def: Likewise.
14634         * argp/argp-fmtstream.c: Likewise.
14635         * argp/argp-fmtstream.h: Likewise.
14636         * argp/argp-help.c: Likewise.
14637         * assert/assert.c: Likewise.
14638         * config.h.in: Likewise.
14639         * config.make.in: Likewise.
14640         * configure: Likewise.
14641         * configure.in: Likewise.
14642         * csu/Versions: Likewise.
14643         * csu/init.c: Likewise.
14644         * elf/tst-audit2.c: Likewise.
14645         * elf/tst-tls10.c: Likewise.
14646         * elf/tst-tls10.h: Likewise.
14647         * elf/tst-tls11.c: Likewise.
14648         * elf/tst-tls12.c: Likewise.
14649         * elf/tst-tls14.c: Likewise.
14650         * elf/tst-tlsmod11.c: Likewise.
14651         * elf/tst-tlsmod12.c: Likewise.
14652         * elf/tst-tlsmod13.c: Likewise.
14653         * elf/tst-tlsmod13a.c: Likewise.
14654         * elf/tst-tlsmod14a.c: Likewise.
14655         * elf/tst-tlsmod15b.c: Likewise.
14656         * elf/tst-tlsmod16a.c: Likewise.
14657         * elf/tst-tlsmod16b.c: Likewise.
14658         * elf/tst-tlsmod7.c: Likewise.
14659         * elf/tst-tlsmod8.c: Likewise.
14660         * elf/tst-tlsmod9.c: Likewise.
14661         * gmon/gmon.c: Likewise.
14662         * grp/fgetgrent_r.c: Likewise.
14663         * grp/putgrent.c: Likewise.
14664         * hurd/fopenport.c: Likewise.
14665         * include/libc-symbols.h: Likewise.
14666         * include/tls.h: Likewise.
14667         * intl/gettextP.h: Likewise.
14668         * intl/loadinfo.h: Likewise.
14669         * locale/global-locale.c: Likewise.
14670         * locale/localeinfo.h: Likewise.
14671         * mach/devstream.c: Likewise.
14672         * malloc/arena.c: Likewise.
14673         * malloc/set-freeres.c: Likewise.
14674         * misc/err.c: Likewise.
14675         * misc/getttyent.c: Likewise.
14676         * misc/mntent_r.c: Likewise.
14677         * posix/getopt.c: Likewise.
14678         * posix/wordexp.c: Likewise.
14679         * pwd/fgetpwent_r.c: Likewise.
14680         * resolv/Versions: Likewise.
14681         * resolv/res_hconf.c: Likewise.
14682         * shadow/fgetspent_r.c: Likewise.
14683         * shadow/putspent.c: Likewise.
14684         * stdio-common/printf_fphex.c: Likewise.
14685         * stdio-common/tmpfile.c: Likewise.
14686         * stdlib/abort.c: Likewise.
14687         * stdlib/fmtmsg.c: Likewise.
14688         * sunrpc/auth_unix.c: Likewise.
14689         * sunrpc/clnt_perr.c: Likewise.
14690         * sunrpc/clnt_tcp.c: Likewise.
14691         * sunrpc/clnt_udp.c: Likewise.
14692         * sunrpc/clnt_unix.c: Likewise.
14693         * sunrpc/openchild.c: Likewise.
14694         * sunrpc/svc_simple.c: Likewise.
14695         * sunrpc/svc_tcp.c: Likewise.
14696         * sunrpc/svc_udp.c: Likewise.
14697         * sunrpc/svc_unix.c: Likewise.
14698         * sunrpc/xdr.c: Likewise.
14699         * sunrpc/xdr_array.c: Likewise.
14700         * sunrpc/xdr_rec.c: Likewise.
14701         * sunrpc/xdr_ref.c: Likewise.
14702         * sunrpc/xdr_stdio.c: Likewise.
14703
14704 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14705
14706         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14707
14708 2011-07-03  Andreas Jaeger  <aj@suse.de>
14709
14710         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14711         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14712         regenerate with gen-libm-tests.pl.
14713
14714 2010-05-12  Petr Baudis  <pasky@suse.cz>
14715
14716         [BZ #11589]
14717         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14718         around j0() zero points by switching to j1().
14719         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14720         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14721         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14722         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14723
14724 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14725
14726         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14727         instead of 0.
14728         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14729         instead of 0.                              .
14730         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14731         Patch in part by Pavel Roskin <proski@gnu.org>.
14732
14733         [BZ #13138]
14734         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14735         realloc.
14736         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
14737         Free memory block if necessary.
14738
14739         [BZ #12847]
14740         * libio/genops.c (INTDEF): For string streams the _lock pointer can
14741         be NULL.  Don't lock in this case.
14742
14743 2011-09-09  Roland McGrath  <roland@hack.frob.com>
14744
14745         * elf/elf.h (ELFOSABI_GNU): New macro.
14746         (ELFOSABI_LINUX): Define to that.
14747
14748 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
14749
14750         * string/strncat.c (strncat): Undef the symbol in case it has been
14751         defined in bits/string.h.
14752
14753 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14754
14755         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14756
14757         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14758         link map.
14759
14760 2011-08-17  Andreas Jaeger  <aj@suse.de>
14761
14762         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14763
14764 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14765             Ian Lance Taylor  <iant@google.com>
14766
14767         * math/libm-test.inc (lround_test): New testcase.
14768         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14769
14770 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
14771
14772         * Makefile: Remove support for automatic cvs check-ins.
14773         * Makerules: Likewise.
14774         * config.make.in: Likewise.
14775         * configure.in: Likewise.
14776         * intl/Makefile: Likewise.
14777         * locale/Makefile: Likewise.
14778         * po/Makefile: Likewise.
14779         * posix/Makefile: Likewise.
14780         * sysdeps/gnu/Makefile: Likewise.
14781         * sysdeps/mach/hurd/Makefile: Likewise.
14782         * sysdeps/sparc/sparc32/Makefile: Likewise.
14783
14784         [BZ #13118]
14785         * posix/Makefile (bug-regex32-ENV): Define.
14786         Patch by John Stanley <jpsinthemix@verizon.net>.
14787
14788         * misc/Makefile (headers): Add bits/select2.h.
14789         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14790         * misc/bits/select2.h: New file.
14791         * include/bits/select2.h: New file.
14792         * debug/Makefile (routines): Add fdelt_chk.
14793         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14794         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14795         FD_ISSET.
14796         * debug/fdelt_chk.c: New file.
14797
14798         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
14799         * wcsmbs/test-wmemcmp.c: Likewise.
14800         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14801         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14802
14803 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14804
14805         * string/Makefile (strop-tests): Add memcmp.
14806         * string/test-wmemcmp.c: New file.
14807         * string/test-memcmp.c: Add wmemcmp support.
14808
14809 2011-09-08  Roland McGrath  <roland@hack.frob.com>
14810
14811         [BZ #13153]
14812         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14813         2011-07-19 change.
14814
14815         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14816         garbage value in a __mach_port_mod_refs call in the cases of the
14817         task-self and thread-self ports.
14818
14819 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14820
14821         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14822
14823 2011-09-08  Andreas Schwab  <schwab@redhat.com>
14824
14825         * elf/dl-load.c (lose): Check for non-null L.
14826
14827 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
14828
14829         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14830
14831         * elf/dl-libc.c (dlerror_run): Pass back error code from
14832         dl_catch_error.
14833
14834         [BZ #13123]
14835         * elf/dl-load.c (lose): Free l_origin if it is valid.
14836
14837         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14838         names.
14839         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14840         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14841         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14842         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14843         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14844         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14845
14846 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14847
14848         * sysdeps/powerpc/fpu/e_hypot.c: New file.
14849         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14850         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14851         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14852         * sysdeps/powerpc/fpu/k_cosf.c: New file.
14853         * sysdeps/powerpc/fpu/k_sinf.c: New file.
14854         * sysdeps/powerpc/fpu/s_cosf.c: New file.
14855         * sysdeps/powerpc/fpu/s_sinf.c: New file.
14856         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14857         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14858
14859 2011-08-15  Alan Modra  <amodra@gmail.com>
14860
14861         [BZ #13092]
14862         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14863         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14864         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
14865         ppc_mcount to static-only-routines.
14866         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14867         __mcount_internal.
14868         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14869         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
14870
14871 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
14872
14873         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14874         for finite and infinity parameters.
14875
14876 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
14877
14878         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14879         and add nop instructions for throughput optimization.
14880         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14881
14882 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
14883
14884         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14885         aligned copy for power7 with vector-scalar instructions.
14886         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14887
14888 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
14889
14890         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14891         AVX check.
14892
14893 2011-09-07  Andreas Schwab  <schwab@redhat.com>
14894
14895         [BZ #13144]
14896         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14897         last change.
14898
14899 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
14900
14901         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14902         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14903         syscall wrapper around clock_gettime in __vdso_clock_gettime.
14904         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14905         clock_gettime.
14906
14907 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
14908
14909         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14910         Forgot to demangle the pointer.
14911
14912         * sysdeps/i386/sysdep.h: Define atom_text_section.
14913         * sysdeps/x86_64/sysdep.h: Likewise.
14914         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14915         section with atom_text_section.
14916         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14917         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14918         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14919         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14920         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14921
14922         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14923         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14924         already be defined.  Change to take two parameters and don't assign
14925         result to variable.  Adjust all users.
14926         Define INTERNAL_GETTIME if not already defined.
14927         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14928         call.
14929         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14930         HAVE_CLOCK_GETTIME_VSYSCALL.
14931         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14932
14933         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14934         gettimeofday vsyscall, just use time.
14935
14936 2011-09-06  Andreas Schwab  <schwab@redhat.com>
14937
14938         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14939         <errno.h>.
14940
14941 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
14942
14943         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14944         syscall on x86-64.
14945         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14946         syscall.
14947         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14948         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14949         syscall if possible.
14950
14951 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
14952
14953         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14954         e_ident.  Don't pass to find_mapsXX.
14955         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14956
14957 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14958
14959         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14960         strchr-sse2-no-bsf strrchr-sse2-no-bsf
14961         * sysdeps/x86_64/multiarch/strchr.S: Update.
14962         Check bit_slow_BSF bit.
14963         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14964         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14965         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14966
14967 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
14968
14969         [BZ #13134]
14970         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14971         before glibc 2.15.
14972         (tryshell): Define.
14973         (__spawni): Change last parameter to be flag.  Test
14974         SPAWN_XFLAGS_USE_PATH flag to use path or not.
14975         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14976         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14977         * posix/spawni.c: Likewise.
14978         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14979         * posix/spawnp.c: Likewise.  Change normal version to use
14980         SPAWN_XFLAGS_USE_PATH.
14981         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14982         SPAWN_XFLAGS_TRY_SHELL.
14983
14984         [BZ #13150]
14985         * posix/glob.h: Remove gcc 1.x support.
14986
14987         [BZ #13068]
14988         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14989
14990 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14991
14992         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14993         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14994         strrchr-sse2-bsf
14995         * sysdeps/i386/i686/multiarch/strchr.S: New file.
14996         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14997         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14998         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14999         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15000         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15001
15002 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15003
15004         * sysdeps/x86_64/wcscmp.S: New file.
15005
15006         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15007         wcscmp-c wcscmp-sse2
15008         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15009         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15010         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15011         * wcsmbs/wcscmp.c: Allow renaming.
15012
15013 2011-09-05  David S. Miller  <davem@davemloft.net>
15014
15015         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15016         stack slot, rather than the struct return pointer slot.
15017         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15018         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15020         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15021
15022 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
15023
15024         * po/ja.po: Update from translation team.
15025
15026         [BZ #13144]
15027         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15028         kernel in 64-bit binaries.
15029
15030 2011-09-01  David S. Miller  <davem@davemloft.net>
15031
15032         * elf/elf.h (HWCAP_SPARC_*): Move to..
15033         * sysdeps/sparc/sysdep.h: this new file and add new values.
15034         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15035         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15036         _DL_HWCAP_COUNT to 24.
15037         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15038         entries.
15039         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15040         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15041         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15042         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15043         instead of magic constants.
15044         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15045
15046 2011-08-31  David S. Miller  <davem@davemloft.net>
15047
15048         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15049         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15050         Reimplement to do errno handling inline.
15051         (SYSCALL_ERROR_HANDLER): New macro.
15052         (__SYSCALL_STRING): Do not do errno handling in asm.
15053         (__CLONE_SYSCALL_STRING): Delete.
15054         (__INTERNAL_SYSCALL_STRING): Delete.
15055         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15056         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15057         (PSEUDO): Reimplement to do errno handling inline.
15058         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15059         (SYSCALL_ERROR_HANDLER): New macro.
15060         (__SYSCALL_STRING): Do not do errno handling in asm.
15061         (__CLONE_SYSCALL_STRING): Delete.
15062         (__INTERNAL_SYSCALL_STRING): Delete.
15063         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15064         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15065         i386.
15066         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15067         (inline_syscall*): Add 'err' argument.
15068         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15069         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15070         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15071         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15072
15073         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15074         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15075
15076 2011-08-30  Andreas Schwab  <schwab@redhat.com>
15077
15078         * elf/rtld.c (dl_main): Relocate objects in dependency order.
15079
15080 2011-08-29  Jiri Olsa <jolsa@redhat.com>
15081
15082         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15083         directive.
15084
15085 2011-08-24  David S. Miller  <davem@davemloft.net>
15086
15087         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15088
15089 2011-08-24  Andreas Schwab  <schwab@redhat.com>
15090
15091         * elf/Makefile: Add rules to build and run unload8 test.
15092         * elf/unload8.c: New file.
15093         * elf/unload8mod1.c: New file.
15094         * elf/unload8mod1x.c: New file.
15095         * elf/unload8mod2.c: New file.
15096         * elf/unload8mod3.c: New file.
15097
15098         * elf/dl-close.c (_dl_close_worker): Reset private search list if
15099         it wasn't used.
15100
15101 2011-08-23  David S. Miller  <davem@davemloft.net>
15102
15103         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15104         subtract stack bias.
15105         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15106         %sp not %fp in calculations.
15107         (_JMPBUF_UNWINDS_ADJ): Likewise.
15108
15109         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15110         (aio_suspend): Call it to force an exception region around the
15111         AIO_MISC_WAIT() invocation.
15112
15113 2011-08-23  Andreas Schwab  <schwab@redhat.com>
15114
15115         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15116         backslash.
15117
15118 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
15119
15120         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15121         protection macro.
15122         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15123         and <dl-machine.h>.
15124         (Elf64_FuncDesc): Remove.
15125
15126 2011-08-22  David S. Miller  <davem@davemloft.net>
15127
15128         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15129         sigaltstack check, add missing cfi directives.
15130         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15131         missing cfi directives, and sigaltstack handling.
15132
15133 2011-08-16  Andreas Schwab  <schwab@redhat.com>
15134
15135         [BZ #11724]
15136         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15137         object is seen twice.
15138         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15139
15140         * elf/Makefile (distribute): Add tst-initorder2.c.
15141         (tests): Add tst-initorder2.
15142         (modules-names): Add tst-initorder2a tst-initorder2b
15143         tst-initorder2c tst-initorder2d.  Add rules to build them.
15144         ($(objpfx)tst-initorder2.out): New rule.
15145         * elf/tst-initorder2.c: New file.
15146         * elf/tst-initorder2.exp: New file.
15147
15148 2011-08-22  Andreas Schwab  <schwab@redhat.com>
15149
15150         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15151
15152         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15153         dependencies back to end of function.
15154
15155         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15156         $(elfobjdir)/ld.so.
15157
15158 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
15159
15160         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15161         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15162         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15163         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15164         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15165         of __vdso_gettimeofday.
15166         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15167         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
15168         attribute_hidden.
15169         (_libc_vdso_platform_setup): Remove initialization of
15170         __vdso_gettimeofday and __vdso_time.
15171
15172 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15173
15174         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15175         and fgetc_unlocked.
15176         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15177         getc_unlocked.
15178
15179         * elf/dl-open.c (add_to_global): Report additions to the global scope
15180         for LD_DEBUG=scopes.
15181         (dl_open_worker): Also print scope of newly loaded dependencies.
15182         (_dl_show_scope): Indicate if there is no scope.
15183
15184         [BZ #13114]
15185         * stdio-common/Makefile (tests): Add bug24.
15186         * stdio-common/bug24.c: New file.
15187
15188 2011-08-19  Andreas Jaeger  <aj@suse.de>
15189
15190         [BZ #13114]
15191         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15192         non-existant file when using close-on-exec mode.
15193
15194 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
15195
15196         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15197         the very first instruction.
15198
15199         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15200         the CFI state in the end.
15201         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15202         inclusion of dl-trampoline.h.
15203         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15204
15205 2011-08-19  Andreas Schwab  <schwab@redhat.com>
15206
15207         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15208         expectations for long double.
15209
15210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15211         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15212
15213 2011-08-14  David S. Miller  <davem@davemloft.net>
15214
15215         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15216         artificual limit depends upon the system page size.
15217
15218 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15219
15220         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15221         * resolv/Makefile: Define CFLAGS-libresolv.
15222
15223 2011-08-17  Andreas Schwab  <schwab@redhat.com>
15224
15225         * nss/makedb.c (compute_tables): Make variables used in nested
15226         function static.
15227
15228 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
15229
15230         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15231         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15232         if buffer was too small.
15233
15234         * elf/pldd.c (main): Attach to all threads in the process.
15235         Rewrite /proc handling to use *at functions.
15236
15237 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
15238
15239         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15240         specifies first scope to show.
15241         (dl_open_worker): Update callers.  Move printing scope of new
15242         object to before the relocation.
15243         * elf/rtld.c (dl_main): Update _dl_show_scope call.
15244         * sysdeps/generic/ldsodefs.h: Update declaration.
15245
15246         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15247         string for the scope number.
15248
15249 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
15250
15251         * nscd/servicescache.c (cache_addserv): Make sure written is always
15252         initialized.
15253
15254 2011-08-14  Roland McGrath  <roland@hack.frob.com>
15255
15256         * sysdeps/i386/i486/bits/atomic.h
15257         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15258         statement expression, so as to suppress "set but not used" warning.
15259         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15260
15261         * string/strncat.c (STRNCAT): Use prototype definition.
15262
15263         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15264         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15265         -Iprograms here.
15266         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15267         (localedef-modules): Add localedef.
15268         (locale-modules): Add locale.
15269
15270         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15271         * elf/rtld.c (dl_main): Invert order of assignment in last change,
15272         to avoid a warning.
15273
15274 2011-08-14  David S. Miller  <davem@davemloft.net>
15275
15276         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15277         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15278
15279 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
15280
15281         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15282         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15283         * elf/rtld.c (dl_main): Set l_name of vDSO.
15284         Call _dl_show_scope when DL_DEBUG_SCOPES.
15285         (process_dl_debug): Recognize scopes flag and also set it for all.
15286         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15287         Declare _dl_show_scope.
15288
15289         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15290         (do_dlopen): Pass caller_dlopen to dl_open.
15291         (__libc_dlopen_mode): Initialize caller_dlopen.
15292
15293         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15294         of libc.  Make tolower call locale-independent.  Optimize a bit by
15295         using isdigit instead of isalnum.
15296         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15297
15298 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
15299
15300         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15301         was a dependency or dynamically loaded.
15302
15303 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
15304
15305         * intl/l10nflist.c: Allow architecture-specific pop function.
15306         * sysdeps/x86_64/l10nflist.c: New file.
15307
15308         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15309         classification.
15310
15311 2011-08-10  Andreas Schwab  <schwab@redhat.com>
15312
15313         * include/dirent.h: Add libc_hidden_proto for scandirat and
15314         scandirat64.  Don't declare __scandirat64.
15315         * dirent/scandirat.c: Add libc_hidden_def.
15316         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15317         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15318
15319 2011-08-10  David S. Miller  <davem@davemloft.net>
15320
15321         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15322         enum.
15323         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15324         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15325         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15326
15327 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
15328
15329         * Versions.def [libc]: Add GLIBC_2.15.
15330         * dirent/Makefile (routines): Add scandirat and scandirat64.
15331         * dirent/Versions [libc]: Export scandirat and scandirat64 for
15332         GLIBC_2.15.
15333         * dirent/dirent.h: Declare scandirat and scandirat64.
15334         * dirent/scandirat.c: New file.
15335         * dirent/scandirat64.c: New file.
15336         * sysdeps/wordsize-64/scandirat.c: New file.
15337         * sysdeps/wordsize-64/scandirat64.c: New file.
15338         * dirent/opendir.c: Define opendirat.
15339         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
15340         using scandirat.
15341         * dirent/scandir64.c: Adjust for scandir.c change.
15342         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
15343         __scandirat64, and __scandir_cancel_handler.
15344         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
15345         additional parameter and use openat instead of open (outside of ld.so).
15346         Add new __opendir as wrapper around __opendirat.
15347         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15348         here without requiring old scandirat implementation.
15349
15350 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
15351
15352         * dirent/scandir.c (cancel_handler): Renamed to
15353         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
15354         defined.  Adjust users.
15355         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15356         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15357
15358 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
15359
15360         * string/test-string.h (IMPL): Use __STRING to expand name and then
15361         stringify it.
15362
15363         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
15364         of cleanups.
15365
15366 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15367
15368         * string/Makefile: Update.
15369         (strop-tests): Append strncat.
15370         * string/test-wcscmp.c: New file.
15371         New comprehensive test for wcscmp.
15372         * string/test-strcmp.c: Update.
15373         (WIDE): New define.
15374
15375 2011-07-22  Andreas Schwab  <schwab@redhat.com>
15376
15377         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15378         line.
15379
15380 2011-07-26  Andreas Schwab  <schwab@redhat.com>
15381
15382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15383         encoding to ACE if AI_IDN.
15384
15385 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
15386
15387         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15388         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15389
15390 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15391
15392         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15393         Fix overflow bug in strncat.
15394         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15395
15396         * string/test-strncat.c: Update.
15397         Add new tests for checking overflow bugs.
15398
15399 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15400
15401         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15402         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15403         * sysdeps/i386/i686/multiarch/strcat.S: New file.
15404         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15405         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15406         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15407         * sysdeps/i386/i686/multiarch/strncat.S: New file.
15408         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15409         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15410
15411         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15412         (USE_AS_STRCAT): Define.
15413         Add strcat and strncat support.
15414         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15415
15416 2011-07-25  Andreas Schwab  <schwab@redhat.com>
15417
15418         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15419         __n bigger than INT_MAX+1.
15420         (__strncmp_g): Likewise.
15421
15422 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
15423
15424         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15425         * libio/stido.h: Likewise.
15426
15427         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15428         (AF_NFC): Define.
15429         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15430         (AF_NFC): Define.
15431
15432         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15433         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15434         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15435         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15436         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15437
15438         [BZ #13021]
15439         * scripts/test-installation.pl: Don't expect libnss_test1 to be
15440         installed.
15441
15442         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15443         typo.
15444         (_dl_x86_64_save_sse): Likewise.
15445
15446 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
15447
15448         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15449         OSXSAVE.
15450         (_dl_x86_64_save_sse): Likewise.
15451
15452         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15453
15454         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15455
15456 2011-07-21  Andreas Schwab  <schwab@redhat.com>
15457
15458         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15459         change.
15460         (_dl_x86_64_save_sse): Use correct AVX check.
15461
15462 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15463
15464         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15465         bug in strncpy/strncat.
15466         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15467
15468 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
15469
15470         * string/tester.c (test_strcat): Add tests for different alignments
15471         of source and destination.
15472         (test_strncat): Likewise.
15473
15474 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
15475
15476         [BZ #12852]
15477         * posix/glob.c (glob): Check passed in values before using them in
15478         expressions to avoid some overflows.
15479         (glob_in_dir): Likewise.
15480
15481         [BZ #13007]
15482         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15483         check for AVX enablement so that we don't crash with old kernels and
15484         new hardware.
15485         * elf/tst-audit4.c: Add same checks here.
15486         * elf/tst-audit6.c: Likewise.
15487
15488         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15489
15490 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
15491
15492         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15493
15494 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
15495
15496         * po/cs.po: Update from translation team.
15497         * po/bg.po: Likewise.
15498
15499 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
15500
15501         * misc/sys/cdefs.h: Add support for const attribute.
15502         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15503         to gnu_dev_{major,minor,makedev} functions.
15504
15505 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
15506
15507         * intl/dcigettext.c (get_output_charset): Add missing bracket.
15508
15509 2011-07-20  Andreas Schwab  <schwab@redhat.com>
15510
15511         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15512         strlen results.
15513
15514 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15515
15516         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15517         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15518         register in order to avoid conflicts with the soft frame pointer
15519         being held in r11 when necessary.
15520         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15521         (INTERNAL_VSYSCALL_NCS): Likewise.
15522
15523 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
15524
15525         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15526         * elf/dl-fini.c (_dl_fini): Adjust caller.
15527         * elf/dl-close.c (_dl_close_worker): Likewise.
15528         * sysdeps/generic/ldsodefs.h: Adjust declaration.
15529
15530 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
15531
15532         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15533         "aux_cache->nlibs < 0".
15534
15535         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15536         in the reload-count case.
15537
15538 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15539
15540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15541         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15542         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15543         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15544         * sysdeps/x86_64/multiarch/strcat.S: New file.
15545         * sysdeps/x86_64/multiarch/strncat.S: New file.
15546         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15547         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15548         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15549         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15550         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15551         (USE_AS_STRCAT): Define.
15552         Add strcat and strncat support.
15553         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15554         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15555         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15556         * string/strncat.c: Update.
15557         (USE_AS_STRNCAT): Define.
15558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15559         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15560         and i7.
15561         * sysdeps/x86_64/multiarch/init-arch.h
15562         (bit_Prefer_PMINUB_for_stringop): New.
15563         (index_Prefer_PMINUB_for_stringop): Likewise.
15564         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15565         bit_Prefer_PMINUB_for_stringop.
15566
15567 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
15568
15569         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15570         buffer64.
15571         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15572         of casting of buffer.
15573         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15574         buffer32 and buffer64.
15575         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15576         writes instead of casting of buffer.
15577         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15578         buffer32.
15579         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15580         casting of buffer.
15581
15582 2011-07-19  Andreas Schwab  <schwab@redhat.com>
15583
15584         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15585
15586 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
15587
15588         * nscd/nscd.c (termination_handler): Don't do anything for a database
15589         if it has not yet been initialized.
15590
15591 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
15592
15593         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15594
15595 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
15596
15597         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15598
15599 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
15600
15601         * po/nl.po: Update from translation team.
15602         * po/sv.po: Likewise.
15603
15604 2011-07-16  Roland McGrath  <roland@hack.frob.com>
15605
15606         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15607         now disallowed by GCC.
15608
15609         * configure.in (use-default-link): Default to yes if a test -shared
15610         link meets our qualifications.
15611         * configure: Regenerated.
15612
15613         * config.make.in (output-format): New variable.
15614         * configure.in: Check for ld --print-output-format support.
15615         * configure: Regenerated.
15616         * Makerules ($(common-objpfx)format.lds)
15617         [$(output-format) != unknown]: Just use $(output-format),
15618         instead of the linker-script munging.
15619
15620 2011-07-14  Roland McGrath  <roland@hack.frob.com>
15621
15622         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15623         of $(common-objpfx)shlib.lds.
15624         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15625
15626         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15627         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15628
15629         * configure.in (-z relro check): Adjust test code to add a large
15630         writable data section after it.
15631         * configure: Regenerated.
15632
15633 2011-07-11  Roland McGrath  <roland@hack.frob.com>
15634
15635         * configure.in (-z relro check): Fix test code to make the variable
15636         truly const.
15637         * configure: Regenerated.
15638
15639 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
15640
15641         * nscd/nscd.h (struct traced_file): Define.
15642         (struct database_dyn): Remove inotify_descr, reset_res, and filename
15643         elements.  Add traced_files.
15644         (inotify_fd): Declare.
15645         (register_traced_file): Declare.
15646         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15647         (inotify_fd): Export.
15648         (resolv_conf_descr): Remove.
15649         (nscd_init): Move inotify descriptor creation to main.
15650         Don't register files for notification here.
15651         (register_traced_file): New function.
15652         (invalidate_cache): Don't use reset_res to determine whether to call
15653         res_init, go through the list of registered files.
15654         (main_loop_poll): The inotify descriptors are now stored in the
15655         structures for the traced files.
15656         (main_loop_epoll): Likewise
15657         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
15658         to __nss_disable_nscd.
15659         * nscd/cache.c (prune_cache): There is no single inotify descriptor
15660         for a database anymore.  Check the records for all the registered
15661         files instead.
15662         * nss/Makefile (libnss_files-routines): Add files-init.
15663         (libnss_db-routines): Add db-init.
15664         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15665         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15666         * nss/nss_db/db-init.c: New file.
15667         * nss/nss_files/files-init.c: New file.
15668         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
15669         __nss_lookup_function.
15670         (__nss_lookup_function): Call nss_load_library.
15671         (nss_load_all_libraries): New function.
15672         (__nss_disable_nscd): Take parameter with callback function for files
15673         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
15674         used for the cached services.
15675         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15676         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15677         options for features to all the files in nscd.
15678
15679         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15680
15681 2011-07-10  Roland McGrath  <roland@hack.frob.com>
15682
15683         * csu/elf-init.c (__libc_csu_init): Comment typo.
15684
15685 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
15686
15687         * po/pl.po: Update from translation team.
15688         * po/ja.po: Likewise.
15689         * po/ru.po: Likewise.
15690         * po/ko.po: Likewise.
15691         * po/fr.po: Likewise.
15692
15693 2011-07-09  Roland McGrath  <roland@hack.frob.com>
15694
15695         * configure.in (.ctors/.dtors header and trailer check):
15696         Use an empirical test on a built program.
15697         * configure: Regenerated.
15698
15699         * configure.in (-z relro check): Use an empirical test on a built DSO.
15700         Detect, but do not require, on ia64.
15701         * configure: Regenerated.
15702
15703         * configure.in (READELF): Find it with AC_CHECK_TOOL.
15704         Update tests that use readelf to use $READELF instead.
15705         * configure: Regenerated.
15706
15707 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
15708
15709         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15710         if the result is not used.
15711
15712 2011-07-05  Andreas Jaeger  <aj@suse.de>
15713
15714         [BZ#9696]
15715         * stdlib/tst-strtod.c: Add testcase.
15716
15717 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
15718
15719         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15720         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15721         The latter has a higher limit.  Take additional parameter to pass to
15722         the new function.
15723         (__pathconf): Pass file to __statfs_link_max.
15724         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15725         __statfs_link_max.
15726         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15727         __statfs_link_max.
15728
15729         [BZ #12868]
15730         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15731         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15732         Handle Lustre.
15733         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15734         (__statfs_filesize_max): Likewise.
15735         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15736
15737 2011-07-05  Andreas Jaeger  <aj@suse.de>
15738
15739         * resolv/res_comp.c (dn_skipname): Remove unused variable.
15740
15741 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
15742
15743         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15744         `status' variable.
15745         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15746         Likewise.
15747
15748 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
15749
15750         * Makefile (strop-tests): Add strncat.
15751         * string/test-strncat.c: New file.
15752
15753 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
15754
15755         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15756
15757 2011-06-21  Andreas Jaeger  <aj@suse.de>
15758
15759         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15760         Copy rule from iconvdata/Makefile.
15761
15762 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
15763
15764         [BZ #12922]
15765         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15766         but no long options are defined, just return 'W'.
15767
15768 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
15769
15770         [BZ #9696]
15771         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15772
15773 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
15774
15775         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15776         netgroups to read.
15777         (innetgr): Likewise.
15778
15779 2011-07-05  Roland McGrath  <roland@hack.frob.com>
15780
15781         * config.make.in (install_root): Default to $(DESTDIR).
15782
15783 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
15784
15785         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15786
15787 2011-07-02  Roland McGrath  <roland@hack.frob.com>
15788
15789         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15790
15791         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15792         containing directory rather than embedding absolute directory names.
15793
15794         * scripts/check-local-headers.sh: Rewritten using awk.
15795         Match by word, not by line.  Print error messages for matches.
15796         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15797
15798         * Makerules [shlib-lds-flags empty]:
15799         ($(common-objpfx)libc_pic.opts): New target.
15800         ($(common-objpfx)libc_pic.os.clean): New target.
15801         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15802
15803         * config.make.in (OBJCOPY): New variable.
15804         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15805         * configure: Regenerated.
15806
15807         * config.make.in (use-default-link): New variable.
15808         * configure.in (use_default_link): Grok --with-default-link to set it.
15809         * configure: Regenerated.
15810         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15811         (shlib-lds, shlib-lds-flags): Define to empty.
15812
15813         * Makerules (shlib-lds): New variable.
15814         (shlib-lds-flags): New variable.
15815         (build-shlib, build-moduile, build-module-asneeded): Use it.
15816         ($(common-objpfx)libc.so): Use $(shlib-lds).
15817         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15818         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15819
15820         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15821         DT_FLAGS/DT_FLAGS_1 with zero flags.
15822
15823         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15824         linker script munging.
15825
15826 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
15827
15828         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15829         as 128-bit value.
15830         * crypt/sha512.c (sha512_process_block): Perform total addition using
15831         128-bit if possible.
15832         (__sha512_finish_ctx): Likewise.
15833         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15834         as 64-bit value.
15835         * crypt/sha256.c (SWAP64): Define.
15836         (sha256_process_block): Perform total addition using 64-bit if
15837         possible.
15838         (__sha256_finish_ctx): Likewise.
15839
15840 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
15841
15842         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
15843         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15844         * nscd/hstcache.c (cache_addhst): Likewise.
15845         * nscd/grpcache.c (cache_addgr): Likewise.
15846         * nscd/aicache.c (addhstaiX): Likewise
15847         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15848
15849 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
15850
15851         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15852         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15853         * nscd/hstcache.c (cache_addhst): Likewise.
15854         * nscd/grpcache.c (cache_addgr): Likewise.
15855         * nscd/aicache.c (addhstaiX): Likewise
15856
15857 2011-07-01  Andreas Schwab  <schwab@redhat.com>
15858
15859         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15860         domain only when needed.
15861
15862 2011-06-30  Andreas Schwab  <schwab@redhat.com>
15863
15864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15865         is always restored.
15866
15867 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
15868
15869         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15870         are re-adding the entry.
15871         * nscd/servicescache.c (cache_addserv): Likewise.
15872
15873 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15874
15875         * sysdeps/generic/dl-irel.h: fix protection against multiple
15876         inclusions.
15877         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15878
15879 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
15880
15881         [BZ #12935]
15882         * malloc/memusage.sh: Fix quoting in message.
15883         * debug/xtrace.sh: Likewise.
15884
15885         * configure.in: Remove support for --experimental-malloc option, make
15886         it the default.
15887         * config.make.in: Likewise.
15888         * malloc/Makefile: Likewise.
15889
15890 2011-06-27  Andreas Schwab  <schwab@redhat.com>
15891
15892         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15893         two-byte characters.
15894
15895 2011-06-27  Roland McGrath  <roland@hack.frob.com>
15896
15897         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15898         AC_CACHE_CHECK invocation.
15899         * configure: Regenerated.
15900
15901         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15902
15903 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
15904
15905         [BZ #12350]
15906         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
15907         bit from old_res_options.
15908
15909         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15910
15911         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15912         value type for setfct.
15913
15914 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
15915
15916         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15917         __gettimeofday instead of gettimeofday.
15918
15919 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
15920
15921         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15922
15923 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15924
15925         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15926
15927         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15928         info.
15929
15930 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
15931
15932         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15933         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15934         strcpy-sse2-unaligned strncpy-sse2-unaligned
15935         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15936         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15937         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15938         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15939         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15940         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15941         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15942         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15943         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15944         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15945         (STRCPY): Support SSE2 and SSSE3 versions.
15946
15947 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
15948
15949         [BZ #12874]
15950         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15951         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15952         kernels which artificially limit size of requests.
15953
15954 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
15955
15956         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15957         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15958         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15959         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15960         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15961         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15962         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15963         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15964         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15965         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15966         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15967         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15968         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15969         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15970         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15972         Enable unaligned load optimization for Intel Core i3, i5 and i7
15973         processors.
15974         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15975         Define.
15976         (index_Fast_Unaligned_Load): Define.
15977         (HAS_FAST_UNALIGNED_LOAD): Define.
15978
15979 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
15980
15981         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15982
15983 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
15984
15985         [BZ #12907]
15986         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15987         until it is clear that the information is realy needed.
15988         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15989
15990 2011-06-22  Andreas Schwab  <schwab@redhat.com>
15991
15992         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15993
15994 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
15995
15996         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15997         /sys/devices/system/cpu/online if it is usable.
15998
15999         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16000         reading the information from the /proc filesystem to once a second.
16001
16002 2011-06-21  Andreas Jaeger  <aj@suse.de>
16003
16004         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16005         NULL after inclusion of kernel headers.
16006
16007 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
16008
16009         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16010         calls to internal_setent.
16011
16012         [BZ #12885]
16013         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16014         addresses using gethostbyname4_r ignore IPv4 addresses.
16015
16016         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16017         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
16018
16019         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16020
16021 2011-06-20  David S. Miller  <davem@davemloft.net>
16022
16023         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16024         inclusions.
16025         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16026
16027         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16028         (elf_irel): Use it.
16029         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16030         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16031         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16032         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16033         * sysdeps/x86_64/dl-irel.h: Likewise.
16034
16035         * elf/dl-runtime.c: Use elf_ifunc_invoke.
16036         * elf/dl-sym.c: Likewise.
16037
16038 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16039
16040         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
16041         need to dereference resplen2.
16042
16043 2011-06-14  Andreas Schwab  <schwab@redhat.com>
16044
16045         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16046
16047 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
16048
16049         * Makeconfig: Define vardbdir and inst_vardbdir.
16050         * nss/Makefile: Add rules to install db-Makefile.
16051
16052         * nss/nss_db/db-XXX.c: Cleanup.
16053
16054         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16055         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16056         GLIBC_PRIVATE.
16057         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16058         * nss/makedb.c: Implement -g option to specify that value strings
16059         are generated and should not be added to table iterated over for
16060         get*ent calls.
16061         * nss/nss_db/db-initgroups.c: New file.
16062
16063         * nss/getent.c: Add support for initgroups lookups through getgrouplist
16064         interface.
16065
16066         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16067         (internal_getgrouplist): Adjust to name change.
16068         Update use_initgroups_entry if this is not the first call.
16069         * nss/databases.def: Add initgroups entry.
16070
16071         * nss/makedb.c (compute_tables): Check result of multiple hash table
16072         sizes to minimize maximum chain length.
16073
16074 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
16075
16076         * Versions.def: Add entry for libnss_db.
16077         * shlib-versions: Likewise.
16078         * nss/Makefile: Add rules to build libnss_db.
16079         * nss/Versions: Add libnss_db information.  Organize libnss_files
16080         entries better.
16081         * nss/db-Makefile: Add gshadow support.  Change rules for the new
16082         makedb progra.  Some minor improvements to generate smaller files.
16083         * nss/nss_db/nss_db.h: Move NSS database header data structures to
16084         here from...
16085         * nss/makedb.c: ...here.
16086         Improve database format to be smaller and require less memory at
16087         runtime.
16088         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
16089         db anymore.
16090         * nss/nss_db/db-netgrp.c: Likewise.
16091         * nss/nss_db/db-open.c: Likewise.
16092         * nss/nss_files/flies-XXX.x: Adjust comments.
16093         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16094         * nss/nss_files/files-grp.c: Likewise.
16095         * nss/nss_files/files-hosts.c: Likewise.
16096         * nss/nss_files/files-network.c: Likewise.
16097         * nss/nss_files/files-proto.c: Likewise.
16098         * nss/nss_files/files-pwd.c: Likewise.
16099         * nss/nss_files/files-rpc.c: Likewise.
16100         * nss/nss_files/files-service.c: Likewise.
16101         * nss/nss_files/files-sgrp.c: Likewise.
16102         * nss/nss_files/files-spwd.c: Likewise.
16103         * nss/nss_db/db-alias.c: Removed.
16104         * nss/nss_db/dummy-db.h: Removed.
16105
16106 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
16107
16108         * nss/makedb.c: Rewritten to not use database library.
16109         * nss/Makefile: Update to build new makedb program.
16110
16111 2011-06-14  Andreas Jaeger  <aj@suse.de>
16112
16113         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16114         memset declaration.
16115
16116 2011-06-10  Andreas Schwab  <schwab@redhat.com>
16117
16118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16119         tmpbuf.
16120
16121 2011-06-10  Roland McGrath  <roland@hack.frob.com>
16122
16123         * Makerules (shlib.lds): Fail if the linker script comes out empty.
16124         * elf/Makefile ($(objpfx)ld.so): Likewise.
16125
16126         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16127         Don't list ld.so twice in dependencies.
16128
16129         * posix/bug-regex31.c: Include <stdlib.h>.
16130
16131         * nscd/hstcache.c (cache_addhst): Remove unused variable.
16132
16133         * nis/nss_compat/compat-spwd.c
16134         (getspent_next_nss_netgr): Remove unused variable.
16135         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16136
16137         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16138         nonmembers" output to use the right array.
16139
16140         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16141
16142         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16143
16144         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16145         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16146         * catgets/gencat.c (read_input_file): Likewise.
16147         * locale/programs/locarchive.c (enlarge_archive): Likewise.
16148
16149         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16150         variable definition inside #if's controlling its use.
16151
16152         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16153
16154         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16155
16156         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16157
16158         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16159         unreachable code.
16160
16161         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16162
16163         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16164         * configure: Regenerated.
16165
16166         * Makerules: Revert last change.
16167         * elf/Makefile: Likewise.
16168
16169 2011-06-09  Roland McGrath  <roland@hack.frob.com>
16170
16171         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16172         * elf/Makefile ($(objpfx)librtld.os): Likewise.
16173         (reloc-link): Likewise.
16174
16175 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
16176
16177         * elf/Makefile: Add rules to build pldd.
16178         * elf/pldd.c: New file.
16179         * elf/pldd-xx.c: New file.
16180
16181 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
16182
16183         * version.h: Update for 2.15 development version.
16184
16185 2011-06-07  David S. Miller  <davem@davemloft.net>
16186
16187         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16188         ifuncs.
16189         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16190         elf_machine_lazy_rel): Likewise.
16191         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16192         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16193         elf_machine_lazy_rel): Likewise.
16194         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16195         dl_hwcap via passed in argument.
16196         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16197         Likewise.
16198
16199 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16200
16201         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
16202
16203 2011-06-06  Roland McGrath  <roland@hack.frob.com>
16204
16205         [BZ #12849]
16206         * manual/fdl-1.1.texi: New file, verbatim from:
16207         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16208         * manual/lgpl-2.1.texi: New file, verbatim from:
16209         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16210         * manual/Makefile (licenses): New variable, list those new file names.
16211         (texis): Use it.
16212         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16213
16214         * manual/fdl.texi: File removed.
16215         * manual/lesser.texi: File removed.
16216         * manual/libc.texinfo (Copying, Documentation License):
16217         Use new @include file names, put @appendix directive before @include.
16218
16219 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
16220
16221         [BZ #12841]
16222         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16223         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16224         (mq_open): Add __NTH.
16225
16226 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
16227
16228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16229         Assume Intel Core i3/i5/i7 processor if AVX is available.
16230
16231 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16232
16233         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16234         typo.
16235
16236 2011-05-31  Andreas Schwab  <schwab@redhat.com>
16237
16238         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16239         memory.  Use alloca_account.  Fix memory leak when retrying.
16240
16241 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
16242
16243         * version.h (RELEASE): Bump for 2.14 release.
16244         * include/features.h (__GLIBC_MINOR__): Bump to 14.
16245
16246         * config.make.in (RANLIB): Remove entry.
16247
16248 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
16249
16250         * po/Makefile (po-sed-cmd): Add ksh to extensions.
16251         (libc.pot): Work around missing support for .ksh extension in xgettext.
16252
16253         [BZ #12684]
16254         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16255         if both request failed.
16256         (send_dg): In case of server errors clear resplen or *resplen2.
16257
16258         [BZ #12454]
16259         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16260         when there are multiple maps.
16261         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16262         (_dl_fini): Remove test here.
16263
16264         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16265
16266 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
16267
16268         [BZ #12350]
16269         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16270         bit from old_res_options.
16271         (gaih_inet): Likewise.
16272
16273         [BZ #11099]
16274         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16275         as signed.
16276
16277         * resolv/res_init.c (res_setoptions): Make the code more compact.
16278
16279         [BZ #11558]
16280         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16281         set RES_USEVC.
16282
16283         [BZ #11634]
16284         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16285
16286         * malloc/malloc.h: Mark malloc hook variables as deprecated.
16287
16288         [BZ #11781]
16289         * malloc/malloc.h: Declare malloc hook variables as volatile.
16290
16291         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16292         in last patch.
16293
16294         [BZ #11799]
16295         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16296         raise in the comment.
16297         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16298         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16299         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16300
16301 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
16302
16303         [BZ #12811]
16304         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16305         grow the buffers more if it already has to be sufficient.
16306         (build_wcs_upper_buffer): Likewise.
16307         * posix/regexec.c (check_matching): Likewise.
16308         (clean_state_log_if_needed): Likewise.
16309         (extend_buffers): Don't enlarge buffers beyond size of the input
16310         buffer.
16311         Patches mostly by Emil Wojak <emil@wojak.eu>.
16312         * posix/bug-regex32.c: New file.
16313         * posix/Makefile (tests): Add bug-regex32.
16314
16315         * locale/findlocale.c (_nl_find_locale): Return right away if
16316         _nl_explode_name failed.
16317         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16318
16319         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16320
16321         * debug/xtrace.sh: Unify messages.
16322         * malloc/memusage.sh: Likewise.
16323
16324         [BZ #12813]
16325         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16326         time symbol from vDSO.  Substitute with vsyscall if not available.
16327         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16328         __vdso_time.
16329
16330         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16331         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16332         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16333         Add sendmmsg and internal_sendmmsg.
16334         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16335         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16336         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16337
16338         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16339         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16340         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16341
16342 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
16343
16344         [BZ #12813]
16345         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16346         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
16347         available.
16348         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16349         __vdso_getcpu.
16350
16351         [BZ #12814]
16352         * iconvdata/Makefile (tests): Add bug-iconv9.
16353         * iconvdata/bug-iconv9.c: New file.
16354
16355 2011-05-27  Andreas Schwab  <schwab@redhat.com>
16356
16357         [BZ #12814]
16358         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16359
16360 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
16361
16362         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16363         (struct user_regs_struct): Change intcs field back to cs.
16364
16365 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
16366
16367         * po/ja.po: Update from translation team.
16368
16369 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
16370
16371         [BZ #12795]
16372         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16373         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16374
16375 2011-05-20  Andreas Schwab  <schwab@redhat.com>
16376
16377         * stdlib/longlong.h: Update from GCC.
16378
16379 2011-05-23  Andreas Schwab  <schwab@redhat.com>
16380
16381         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16382         parameter name.
16383         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16384         Add parameter name.
16385         (__sysconf): Pass it down.
16386
16387 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
16388
16389         [BZ #12671]
16390         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16391         some situations.
16392         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16393         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16394         add in in __libc_use_alloca calls.  Adjust callers.
16395         (glob): Use malloc in some situations.
16396
16397         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16398         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16399         pltexit.
16400
16401 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
16402
16403         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16404         and CLOCK_BOOTTIME_ALARM.
16405
16406         [BZ #12782]
16407         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16408         is returned.
16409
16410         * string/_strerror.c (__strerror_r): Print negative errors as signed
16411         numbers.
16412
16413         [BZ #12777]
16414         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16415         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16416         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16417
16418         * configure.in: Fix typo in redirection and correct removal of test
16419         files in two cases.
16420
16421         [BZ #12788]
16422         * locale/setlocale.c (new_composite_name): Fix test to check for
16423         identical name of all categories.
16424
16425         [BZ #12792]
16426         * libio/filedoalloc.c (local_isatty): New function.
16427         (_IO_file_doallocate): Use local_isatty.
16428         * stdio-common/perror.c (perror): In case a new stream is used
16429         forward the stream error.
16430         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16431         error flag.
16432
16433 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
16434
16435         [BZ #11869]
16436         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16437         alloca.
16438         * include/alloca.h (extend_alloca_account): Define.
16439
16440         [BZ #11857]
16441         * posix/regex.h: Fix comments with documentation of user-accessible
16442         fields after compilation and describe correct free'ing of pattern
16443         after re_compile_pattern.
16444         Patch by Reuben Thomas <rrt@sc3d.org>.
16445
16446 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
16447
16448         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16449         and -mno-altivec to prevent the compiler from using Altivec and/or
16450         VSX instructions when the corresponding registers are not available.
16451
16452 2011-05-19  Andreas Schwab  <schwab@redhat.com>
16453
16454         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16455
16456 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
16457
16458         * libio/freopen.c (freopen): Use __dup2, not dup2.
16459         * libio/freopen64.c (freopen64): Likewise.
16460
16461 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
16462
16463         [BZ #12775]
16464         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16465         * math/Makefile (tests): Add test-powl.
16466         (CFLAGS-test-powl.c): Define.
16467         * math/test-powl.c: New file.
16468
16469 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
16470
16471         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16472
16473 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
16474
16475         [BZ #11837]
16476         * iconvdata/gb18030.c: Update to GB18020-2005.
16477
16478 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
16479
16480         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16481         RE_SYNTAX_POSIX_AWK): Update to match recent development.
16482         Patch by Aharon Robbins <arnold@skeeve.com>.
16483
16484         [BZ #11892]
16485         * stdlib/putenv.c (putenv): Don't always create copy of the variable
16486         on the stack.
16487
16488         [BZ #11895]
16489         * misc/pselect.c (__pselect): Handle timeout value errors hidden
16490         through underflows.
16491
16492         [BZ #12766]
16493         * misc/error.c (error_at_line): Ensure file_name and old_file_name
16494         point to strings before performing equality test for error_one_per_line
16495         mode.
16496
16497         [BZ #11697]
16498         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16499
16500         [BZ #11820]
16501         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16502         (struct user_fpregs_struct): Avoid __uint*_t types.
16503
16504         [BZ #6420]
16505         * malloc/mtrace.c (tr_where): Add additional parameter to point to
16506         symbol info.  Use it instead of calling _dl_addr locally.
16507         (lock_and_info): New function.
16508         (tr_freehook): Call lock_and_info and pass symbol info as additional
16509         parameter to tr_where.
16510         (tr_mallochook): Likewise.
16511         (tr_reallochook): Likewise.
16512         (tr_memalignhook): Likewise.
16513
16514         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
16515         used and couldn't be at all thread-safe.
16516
16517 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
16518
16519         * libio/freopen.c (freopen): Don't close old file descriptor
16520         before the new one is opened.  Instead dup the new file descriptor
16521         to the old one after the new stream is created.
16522         * libio/freopen64.c (freopen64): Likewise.
16523         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16524         * libio/fileops.c (_IO_new_file_close_it): Handle new
16525         _IO_FLAGS2_NOCLOSE flag.
16526         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16527         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16528         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16529         _IO_FLAGS2_NOCLOSE flag.
16530         * include/unistd.h: Add hidden_proto for dup3.
16531         Define __have_dup3.
16532         * io/dup3.c: Define hidden symbol.
16533         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16534
16535         [BZ #7101]
16536         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16537         when an incomplete long option is used.
16538         * posix/tst-getopt_long1.c: New file.
16539         * posix/Makefile (tests): Add tst-getopt_long1.
16540
16541         [BZ #10138]
16542         * scripts/config.guess: Update from autoconf-2.68.
16543         * scripts/config.sub: Likewise.
16544
16545         [BZ #10157]
16546         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16547         tests into ...
16548         (has_cpuclock): ...this.  New function.
16549         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16550         macro here based on has_cpuclock code.
16551
16552         [BZ #10149]
16553         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16554         First byte (not low byte) is now always NUL.
16555         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16556
16557         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16558         Use non-cancelable interfaces.
16559
16560         [BZ #9809]
16561         * locale/iso-639.def: Add entry for Sorani.
16562
16563         [BZ #11901]
16564         * include/stdlib.h: Move include protection to the right place.
16565         Define abort_msg_s.  Declare __abort_msg with it.
16566         * stdlib/abort.c (__abort_msg): Adjust type.
16567         * assert/assert.c (__assert_fail_base): New function.  Majority
16568         of code from __assert_fail.  Allocate memory for __abort_msg with
16569         mmap.
16570         (__assert_fail): Now call __assert_fail_base.
16571         * assert/assert-perr.c: Remove bulk of implementation.  Use
16572         __assert_fail_base.
16573         * include/assert.hL Declare __assert_fail_base.
16574         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16575         mmap.
16576         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16577
16578 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
16579
16580         [BZ #11952]
16581         [BZ #12453]
16582         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16583         until all modules are registered in the DTV.
16584         * elf/Makefile: Add rules to build and run tst-tls19.
16585         * elf/tst-tls19.c: New file.
16586         * elf/tst-tls19mod1.c: New file.
16587         * elf/tst-tls19mod2.c: New file.
16588         * elf/tst-tls19mod3.c: New file.
16589         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16590
16591         [BZ #12083]
16592         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16593         correctly.
16594
16595         [BZ #12601]
16596         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16597         two-byte sequence errors.
16598         * iconvdata/Makefile (tests): Add bug-iconv8.
16599         * iconvdata/bug-iconv8.c: New file.
16600
16601         [BZ #12626]
16602         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16603         buf2 definition.
16604
16605         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16606
16607         [BZ #12432]
16608         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16609         (dummy_getcfa): New function.
16610         (init): Get _Unwind_GetCFA address, use dummy if not found.
16611         (backtrace_helper): In recursion check, also check whether CFA changes.
16612         (__backtrace): Completely initialize arg.
16613
16614         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16615         storing incomplete byte sequence in state object.  Avoid testing for
16616         guaranteed too small input if we know there is enough data available.
16617
16618 2011-05-11  Andreas Schwab  <schwab@redhat.com>
16619
16620         * Makeconfig (+link-pie): Indent.
16621         * Rules (binaries-pie): Define if $(have-fpie) and
16622         $(build-shared).
16623         (binaries-shared): Also filter out $(binaries-pie).
16624         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16625         * nscd/Makefile (others-pie): Add nscd.
16626         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16627         ($(objpfx)nscd): Remove command override.
16628         * login/Makefile (others-pie): Add pt_chown.
16629         ($(objpfx)pt_chown): Remove command override.
16630         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16631         remove command overrides.
16632
16633 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
16634
16635         * libio/tst_putwc.c: Fix error messages.
16636
16637         [BZ #12724]
16638         * libio/fileops.c (_IO_new_file_close_it): Always flush when
16639         currently writing and seek to current position when not.
16640         * libio/Makefile (tests): Add bug-fclose1.
16641         * libio/bug-fclose1.c: New file.
16642
16643 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
16644
16645         [BZ #12511]
16646         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16647         don't set DF_1_NODELETE here.
16648         (do_lookup_x): When entering new entry test for copy relocation
16649         and if necessary set DF_1_NODELETE flag.
16650         * elf/tst-unique4.cc: New file.
16651         * elf/tst-unique4.h: New file.
16652         * elf/tst-unique4lib.cc: New file.
16653         * elf/Makefile: Add rules to build and run tst-unique4.
16654         Patch by Piotr Bury <pbury@goahead.com>.
16655
16656 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
16657
16658         [BZ #12052]
16659         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16660
16661         [BZ #12625]
16662         * misc/mntent_r.c (addmntent): Flush the stream after the output
16663
16664         [BZ #12393]
16665         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16666         (is_trusted_path_normalize): Skip initial colon.  Append slash
16667         to empty buffer.  Duplicate is_trusted_path code but allow
16668         constructed patch to be prefix.
16669         (is_dst): Allow $ORIGIN followed by /.
16670         (_dl_dst_substitute): Correct clearing of check_for_trusted.
16671         Correct testing of result of is_trusted_path_normalize
16672         (decompose_rpath): Fix warning.
16673
16674 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
16675
16676         [BZ #11257]
16677         * grp/initgroups.c (internal_getgrouplist): When we found the service
16678         list through the initgroups entry in nsswitch.conf do not always
16679         continue on a successful lookup.  Don't always use the
16680         __nss_group_database value if it is set.
16681         * nss/nsswitch.conf (initgroups): Change action for successful db
16682         lookup to continue for compatibility.
16683
16684 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
16685
16686         [BZ #11532]
16687         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16688         and CP774 modules.
16689         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16690         and CP774 modules.
16691         * iconvdata/tst-tables.sh: Likewise.
16692         * iconvdata/cp770.c: New file.
16693         * iconvdata/cp771.c: New file.
16694         * iconvdata/cp772.c: New file.
16695         * iconvdata/cp773.c: New file.
16696         * iconvdata/cp774.c: New file.
16697         * iconvdata/testdata/CP770: New file.
16698         * iconvdata/testdata/CP770..UTF8: New file.
16699         * iconvdata/testdata/CP771: New file.
16700         * iconvdata/testdata/CP771..UTF8: New file.
16701         * iconvdata/testdata/CP772: New file.
16702         * iconvdata/testdata/CP772..UTF8: New file.
16703         * iconvdata/testdata/CP773: New file.
16704         * iconvdata/testdata/CP773..UTF8: New file.
16705         * iconvdata/testdata/CP774: New file.
16706         * iconvdata/testdata/CP774..UTF8: New file.
16707
16708         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16709         END CHARMAP line.
16710         * iconvdata/gen-8bit-gap.sh: Likewise.
16711         * iconvdata/gen-8bit.sh: Likewise.
16712
16713         * locale/iso-639.def: Add ary entry.
16714
16715         [BZ #11258]
16716         * locale/C-translit.h.in: Add U20A1 transliteration.
16717
16718         [BZ #12178]
16719         * locale/iso-639.def: Add wae entry.
16720         Patch by Kevin Bortis <bortis@translate-wae.ch>.
16721
16722         [BZ #12545]
16723         * locale/programs/localedef.c (construct_output_path): Use ssize_t
16724         for n.
16725
16726         [BZ #12711]
16727         * locale/C-translit.h.in: Add entry for U20B9.
16728         Patch by pravin.d.s@gmail.com.
16729
16730 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
16731
16732         [BZ #12713]
16733         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16734         ENAMETOOLONG use generic getcwd.
16735         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
16736         in rtld.  Use *stat64.
16737         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16738         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16739         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16740         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16741         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16742         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16743         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16744         __fstatat64 macros.
16745         * include/dirent.h: Add libc_hidden_proto for rewinddir.
16746         * dirent/rewinddir.c: Add libc_hidden_def.
16747         * sysdeps/mach/hurd/rewinddir.c: Likewise.
16748         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
16749
16750         * include/dirent.h (__alloc_dir): Add flags parameter.
16751         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16752         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16753         __alloc_dir.
16754         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
16755         from fdopendir if O_CLOEXEC is already set.
16756
16757 2011-03-15  Alan Modra  <amodra@gmail.com>
16758
16759         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16760         l_tls_firstbyte_offset non-zero.  Save padding offset in
16761         l_tls_firstbyte_offset for later use.
16762         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16763         freeing static tls block.
16764
16765 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
16766
16767         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16768         where #ifdef was intended.  The intent is to prevent ARG_MAX from
16769         being defined by the kernel headers.
16770
16771 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
16772
16773         [BZ #12734]
16774         * resolv/resolv.h: Define RES_NOTLDQUERY.
16775         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16776         no-tld-query and set RES_NOTLDQUERY.
16777         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16778         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16779         modern BIND to search name as TLD unless forbidden.
16780
16781 2011-05-07  Petr Baudis  <pasky@suse.cz>
16782             Ulrich Drepper  <drepper@gmail.com>
16783
16784         [BZ #12393]
16785         * elf/dl-load.c (fillin_rpath): Move trusted path check...
16786         (is_trusted_path): ...to here.
16787         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16788         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16789         using is_trusted_path_normalize() in setuid scripts.
16790
16791 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16792
16793         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16794         __BEGIN/__END_DECLS.
16795
16796 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
16797
16798         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16799         NSS_STATUS_NOTFOUND if no record was found.
16800
16801 2011-05-05  Andreas Schwab  <schwab@redhat.com>
16802
16803         * sunrpc/Makefile (headers): Add rpc/netdb.h.
16804         (headers-not-in-tirpc): Remove rpc/netdb.h
16805         * resolv/netdb.h: Revert last change.
16806
16807 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16808
16809         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16810         circular dependency between libgcc.a and libc.a.
16811
16812 2011-05-05  Andreas Schwab  <schwab@redhat.com>
16813
16814         * resolv/netdb.h: Don't include <rpc/netdb.h>.
16815         * nis/Makefile: Don't install rpcsvc/*.
16816         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16817         instead of <rpc/types.h>.
16818         (MAXHOSTNAMELEN): Define.
16819
16820 2011-05-03  Andreas Schwab  <schwab@redhat.com>
16821
16822         * elf/ldconfig.c (add_dir): Don't crash on empty path.
16823
16824 2011-04-28  Maciej Babinski  <mbabinski@google.com>
16825
16826         [BZ #12714]
16827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16828         gethostbyname4_r when IPv6 results are possible.
16829
16830 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
16831
16832         [BZ #12723]
16833         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16834         _PC_PIPE_BUF handling.
16835
16836 2011-04-30  Bruno Haible  <bruno@clisp.org>
16837
16838         [BZ #12717]
16839         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16840         * resolv/netdb.h (getnameinfo): Change type of flags parameter
16841         to 'int'.
16842         * inet/getnameinfo.c (getnameinfo): Likewise.
16843
16844 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
16845
16846         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16847         to groups setting in database lookup.
16848         * nss/nsswitch.conf: Add initgroups entry.
16849
16850 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
16851
16852         [BZ #12685]
16853         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16854         mode string.
16855         Patch by Eric Blake <eblake@redhat.com>.
16856
16857 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
16858
16859         * sunrpc/Makefile (need-export-routines): Add svc_run.
16860         (routines): Remove svc_run.
16861         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16862         * sunrpc/clnt_perr.c (clnt_perrno): Export.
16863         * sunrpc/svc_run.c (svc_run): Likewise.
16864         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16865
16866 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
16867
16868         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16869         problem in reallocation in last patch.
16870
16871 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
16872
16873         * sunrpc/Makefile: Move inclusion of Rules.
16874
16875 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
16876
16877         * nss/nss_files/files-initgroups.c: New file.
16878         * nss/Makefile (libnss_files-routines): Add files-initgroups.
16879         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16880         _nss_files_initgroups_dyn.
16881
16882 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
16883
16884         * elf/elf.h (R_ARM_IRELATIVE): Define.
16885
16886 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
16887
16888         * po/ru.po: Update from translation team.
16889
16890 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
16891
16892         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16893         dependencies.
16894
16895 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
16896
16897         [BZ #12653]
16898         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16899         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16900         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16901         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16902         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16903
16904 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
16905
16906         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16907         differing bytes.
16908         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16909         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16910         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16911
16912 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
16913
16914         [BZ #12420]
16915         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16916         storing it.
16917         * stdlib/bug-getcontext.c: New file.
16918         * stdlib/Makefile: Add rules to build and run bug-getcontext.
16919
16920 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16921
16922         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16923         instructions into .machine "z9-109".
16924         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16925         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16926
16927 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16928
16929         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16930         between environment variables and auxiliary vector.
16931
16932 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
16933
16934         * Makefile: Add rules to build linkobj/libc.so.
16935         * include/libc-symbols.h: Define libc_hidden_nolink.
16936         * include/rpc/auth.h: Mark functions which are to be hidden.
16937         * include/rpc/auth_des.h: Likewise.
16938         * include/rpc/auth_unix.h: Likewise.
16939         * include/rpc/clnt.h: Likewise.
16940         * include/rpc/des_crypt.h: Likewise.
16941         * include/rpc/key_prot.h: Likewise.
16942         * include/rpc/pmap_clnt.h: Likewise.
16943         * include/rpc/pmap_prot.h: Likewise.
16944         * include/rpc/pmap_rmt.h: Likewise.
16945         * include/rpc/rpc_msg.h: Likewise.
16946         * include/rpc/svc.h: Likewise.
16947         * include/rpc/svc_auth.h: Likewise.
16948         * include/rpc/xdr.h: Likewise.
16949         * nis/Makefile: Link all DSOs against linkobj/libc.so.
16950         * nss/Makefile: Likewise.
16951         * sunrpc/Makefile: Don't install headers.  Build library with normal
16952         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
16953         * sunrpc/auth_des.c: Hide exported symbols by default, export some
16954         for the compat linking library.  Remove use of INTDEF/INTUSE.
16955         * sunrpc/auth_none.c: Likewise.
16956         * sunrpc/auth_unix.c: Likewise.
16957         * sunrpc/authdes_prot.c: Likewise.
16958         * sunrpc/authuxprot.c: Likewise.
16959         * sunrpc/clnt_gen.c: Likewise.
16960         * sunrpc/clnt_perr.c: Likewise.
16961         * sunrpc/clnt_raw.c: Likewise.
16962         * sunrpc/clnt_simp.c: Likewise.
16963         * sunrpc/clnt_tcp.c: Likewise.
16964         * sunrpc/clnt_udp.c: Likewise.
16965         * sunrpc/clnt_unix.c: Likewise.
16966         * sunrpc/des_crypt.c: Likewise.
16967         * sunrpc/des_soft.c: Likewise.
16968         * sunrpc/get_myaddr.c: Likewise.
16969         * sunrpc/key_call.c: Likewise.
16970         * sunrpc/key_prot.c: Likewise.
16971         * sunrpc/netname.c: Likewise.
16972         * sunrpc/pm_getmaps.c: Likewise.
16973         * sunrpc/pm_getport.c: Likewise.
16974         * sunrpc/pmap_clnt.c: Likewise.
16975         * sunrpc/pmap_prot.c: Likewise.
16976         * sunrpc/pmap_prot2.c: Likewise.
16977         * sunrpc/pmap_rmt.c: Likewise.
16978         * sunrpc/publickey.c: Likewise.
16979         * sunrpc/rpc_cmsg.c: Likewise.
16980         * sunrpc/rpc_common.c: Likewise.
16981         * sunrpc/rpc_dtable.c: Likewise.
16982         * sunrpc/rpc_prot.c: Likewise.
16983         * sunrpc/rpc_thread.c: Likewise.
16984         * sunrpc/rtime.c: Likewise.
16985         * sunrpc/svc.c: Likewise.
16986         * sunrpc/svc_auth.c: Likewise.
16987         * sunrpc/svc_authux.c: Likewise.
16988         * sunrpc/svc_raw.c: Likewise.
16989         * sunrpc/svc_run.c: Likewise.
16990         * sunrpc/svc_simple.c: Likewise.
16991         * sunrpc/svc_tcp.c: Likewise.
16992         * sunrpc/svc_udp.c: Likewise.
16993         * sunrpc/svc_unix.c: Likewise.
16994         * sunrpc/svcauth_des.c: Likewise.
16995         * sunrpc/xcrypt.c: Likewise.
16996         * sunrpc/xdr.c: Likewise.
16997         * sunrpc/xdr_array.c: Likewise.
16998         * sunrpc/xdr_float.c: Likewise.
16999         * sunrpc/xdr_intXX_t.c: Likewise.
17000         * sunrpc/xdr_mem.c: Likewise.
17001         * sunrpc/xdr_rec.c: Likewise.
17002         * sunrpc/xdr_ref.c: Likewise.
17003         * sunrpc/xdr_sizeof.c: Likewise.
17004         * sunrpc/xdr_stdio.c: Likewise.
17005
17006 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
17007
17008         [BZ #12650]
17009         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17010         * sysdeps/ia64/dl-tls.h: Likewise.
17011         * sysdeps/powerpc/dl-tls.h: Likewise.
17012         * sysdeps/s390/dl-tls.h: Likewise.
17013         * sysdeps/sh/dl-tls.h: Likewise.
17014         * sysdeps/sparc/dl-tls.h: Likewise.
17015         * sysdeps/x86_64/dl-tls.h: Likewise.
17016         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17017
17018 2011-03-14  Andreas Schwab  <schwab@redhat.com>
17019
17020         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17021         rpath element also skip the following colon.
17022         (expand_dynamic_string_token): Add is_path parameter and pass
17023         down to DL_DST_REQUIRED and _dl_dst_substitute.
17024         (decompose_rpath): Call expand_dynamic_string_token with
17025         non-zero is_path.  Ignore empty rpaths.
17026         (_dl_map_object_from_fd): Call expand_dynamic_string_token
17027         with zero is_path.
17028
17029 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
17030
17031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17032         Make cancelable.
17033
17034 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
17035
17036         [BZ #12655]
17037         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17038         Patch by Filipe David Manana <fdmanana@apache.org>.
17039
17040 2011-04-07  Andreas Schwab  <schwab@redhat.com>
17041
17042         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17043         Maintain aligned stack.
17044         (CHECK_RSP): Remove unused macro.
17045
17046 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
17047
17048         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17049         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17050
17051 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
17052
17053         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17054
17055         * include/features.h: Mention __USE_XOPEN2K8 in comment.
17056
17057 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
17058
17059         [BZ #12518]
17060         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17061         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17062         * sysdeps/x86_64/memmove.c: New file.
17063         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17064         (memcpy): Renamed to ...
17065         (__new_memcpy): This.
17066         (memcpy): Provide GLIBC_2_14 memcpy.
17067         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17068         (memcpy): Provide GLIBC_2_2_5 memcpy.
17069
17070 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17071
17072         [BZ #12631]
17073         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17074
17075 2011-03-30  Andreas Schwab  <schwab@redhat.com>
17076
17077         * misc/syncfs.c: New file.
17078         * misc/Makefile (routines): Add syncfs.
17079         * posix/unistd.h: Declare syncfs.
17080         * sysdeps/unix/syscalls.list: Add syncfs.
17081
17082 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17083
17084         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17085         open_by_handle_at.
17086         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17087         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17088         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17089         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17090         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17091         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17092         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17093
17094 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17095
17096         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17097         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17098         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17099         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17100         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17102         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17103
17104         * io/Makefile: Compile fallocate.c, fallocate64.c, and
17105         sync_file_range.c with -fexceptions.
17106         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17107         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17108         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17109         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17110         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17111         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17112         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17113         sync_file_range as cancellation point
17114         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
17115         now a wrapper around __call_sync_file_range with cancellation handling.
17116         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17117         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
17118         function name to __call_sync_file_range.
17119         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17120         Add call_sync_file_range.
17121
17122 2011-04-01  Andreas Schwab  <schwab@redhat.com>
17123
17124         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17125         bits/timex.h.
17126
17127 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
17128
17129         * iconv/iconv.h: Fix typo in comment.
17130         * io/fcntl.h: Likewise.
17131         * libio/stdio.h: Likewise.
17132         * posix/spawn.h: Likewise.
17133         * posix/unistd.h: Likewise.
17134         * stdlib/stdlib.h: Likewise.
17135         * time/time.h: Likewise.
17136         * wcsmbs/wchar.h: Likewise.
17137
17138         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17139         open_by_handle): Add.
17140         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17141         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
17142         Augment a few comments.
17143         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17144         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17145         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17146         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17147         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17148         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17149         open_by_handle.
17150
17151         * io/fcntl.h (AT_EMPTY_PATH): Define.
17152
17153 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
17154
17155         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17156         * sysdeps/unix/sysv/linux/bits/time.h: New file.
17157         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17158         to...
17159         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
17160         * Versions.def: Add GLIBC_2.14.
17161         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17162         Export.
17163
17164 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
17165
17166         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17167         round counter.
17168         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17169
17170 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17171
17172         [BZ #12597]
17173         * string/test-strncmp.c (do_page_test): New function.
17174         (check2): Likewise.
17175         (test_main): Call check2.
17176         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17177
17178 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
17179
17180         [BZ #12587]
17181         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17182         Handle cache information in CPU leaf 4.
17183         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17184
17185 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
17186
17187         [BZ #12583]
17188         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17189         character representation.
17190         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17191
17192 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
17193
17194         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17195         END(__isnan) to END(__isnanf) to match function entry point/label
17196         EALIGN(__isnanf,...).
17197
17198 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
17199
17200         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17201
17202 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
17203
17204         [BZ #12510]
17205         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17206         copy from the symbol referenced in the relocation to initialize the
17207         used variable.
17208         Patch by Piotr Bury <pbury@goahead.com>.
17209         * elf/Makefile: Add rules to build and tst-unique3.
17210         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17211         * elf/tst-unique3.cc: New file.
17212         * elf/tst-unique3.h: New file.
17213         * elf/tst-unique3lib.cc: New file.
17214         * elf/tst-unique3lib2.cc: New file.
17215
17216         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17217
17218 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
17219
17220         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17221         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
17222         to _start.
17223
17224 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
17225
17226         * elf/dl-load.c (_dl_map_object): If we are looking for the first
17227         to-be-loaded object along a path to loader is ld.so.
17228
17229 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17230             Ulrich Drepper  <drepper@gmail.com>
17231
17232         * sysdeps/x86_64/memset.S: After aligning destination, code
17233         branches to different locations depending on the value of
17234         misalignment, when multiarch is enabled. Fix this.
17235
17236 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
17237
17238         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17239         Set _x86_64_preferred_memory_instruction for AMD processsors.
17240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17241         Set bit_Prefer_SSE_for_memop for AMD processors.
17242
17243 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
17244
17245         * libio/fmemopen.c (fmemopen): Optimize a bit.
17246
17247 2011-03-03  Andreas Schwab  <schwab@redhat.com>
17248
17249         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17250
17251 2011-03-03  Roland McGrath  <roland@redhat.com>
17252
17253         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17254
17255 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
17256
17257         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17258         __bzero_ultra1 instead of __memset_ultra1.
17259
17260 2011-02-23  Andreas Schwab  <schwab@redhat.com>
17261             Ulrich Drepper  <drepper@gmail.com>
17262
17263         [BZ #12509]
17264         * include/link.h (struct link_map): Add l_orig_initfini.
17265         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17266         returning unsuccessfully.
17267         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17268         close of a file loaded at startup, restore the original l_initfini
17269         list.
17270         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17271         list, store the pointer.
17272         * elf/Makefile ($(objpfx)noload-mem): New rule.
17273         (noload-ENV): Define.
17274         (tests): Add $(objpfx)noload-mem.
17275         * elf/noload.c: Include <memcheck.h>.
17276         (main): Call mtrace.  Close all opened handles.
17277
17278 2011-02-17  Andreas Schwab  <schwab@redhat.com>
17279
17280         [BZ #12454]
17281         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17282         dependencies are missing.
17283
17284 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17285
17286         Fix __if_freereq crash: Unlike the generic version which uses free,
17287         Hurd needs munmap.
17288         * sysdeps/mach/hurd/ifreq.h: New file.
17289
17290 2011-01-27  Petr Baudis  <pasky@suse.cz>
17291             Ulrich Drepper  <drepper@gmail.com>
17292
17293         [BZ 12445]#
17294         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17295         to extend_alloca().
17296         * stdio-common/bug23.c: New file.
17297         * stdio-common/Makefile (tests): Add bug23.
17298
17299 2010-09-28  Andreas Schwab  <schwab@redhat.com>
17300             Ulrich Drepper  <drepper@gmail.com>
17301
17302         [BZ #12489]
17303         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17304         before performing relro protection.  At old place add assertion
17305         to make sure nothing changed.
17306
17307 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
17308             Glauber de Oliveira Costa  <glommer@gmail.com>
17309
17310         * elf/elf.h: Add new ARM TLS relocs.
17311
17312 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
17313
17314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17315         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17316         cast from r3.
17317         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
17318         'tests' variable.
17319         * sysdeps/wordsize-64/tst-writev.c: New file.
17320
17321 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
17322
17323         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17324         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17325         insns in _dl_start to prevent a TOC reference before relocs are
17326         resolved.
17327
17328 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
17329
17330         [BZ #12469]
17331         * Makeconfig: Remove RANLIB definition.
17332         * Makerules: Don't use RANLIB.
17333         * aclocal.m4: Remove ranlib test.
17334         * configure.in: No need to check for ranlib.
17335         * elf/rtld-Rules: Don't use RANLIB.
17336
17337 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17338
17339         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17340         protection macro.
17341         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17342         inclusion protection macro.
17343
17344         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17345         SIGRTMIN and SIGRTMAX and print information in that case only when
17346         SIGRTMIN is defined.
17347
17348 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
17349
17350         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17351         arginfo fn returning -1.
17352
17353         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17354         and thousands string is zero terminated.
17355
17356 2011-02-03  Andreas Schwab  <schwab@redhat.com>
17357
17358         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17359         sysdeps/unix/sysv/linux/bits/socket.h.
17360
17361 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17362
17363         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17364         (__CPU_COUNT): Remove old macros.
17365         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17366         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17367         (__CPU_ALLOC, __CPU_FREE): Add macros.
17368         (__sched_cpualloc, __sched_cpufree): Add declarations.
17369
17370 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
17371
17372         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17373         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17374         * nscd/aicache.c (addhstaiX): Return timeout of added value.
17375         (readdhstai): Return value of addhstaiX call.
17376         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17377         (addgrbyX): Return value returned by cache_addgr.
17378         (readdgrbyname): Return value returned by addgrbyX.
17379         (readdgrbygid): Likewise.
17380         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17381         (addpwbyX): Return value returned by cache_addpw.
17382         (readdpwbyname): Return value returned by addhstbyX.
17383         (readdpwbyuid): Likewise.
17384         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17385         (addservbyX): Return value returned by cache_addserv.
17386         (readdservbyname): Return value returned by addservbyX:
17387         (readdservbyport): Likewise.
17388         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17389         (addhstbyX): Return value returned by cache_addhst.
17390         (readdhstbyname): Return value returned by addhstbyX.
17391         (readdhstbyaddr): Likewise.
17392         (readdhstbynamev6): Likewise.
17393         (readdhstbyaddrv6): Likewise.
17394         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17395         (readdinitgroups): Return value returned by addinitgroupsX.
17396         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17397         (prune_cache): Keep track of timeout value of re-added entries.
17398         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17399         * nscd/nscd.h: Adjust prototypes of readd* functions.
17400
17401 2011-02-04  Roland McGrath  <roland@redhat.com>
17402
17403         * nis/nis_server.c (nis_servstate): Use the right name for 0.
17404         (nis_stats): Likewise.
17405         * nis/nis_modify.c (nis_modify): Likewise.
17406         * nis/nis_remove.c (nis_remove): Likewise.
17407         * nis/nis_add.c (nis_add): Likewise.
17408
17409         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17410
17411         * posix/fnmatch_loop.c: Add some consts.
17412
17413         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17414
17415 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
17416
17417         [BZ #12460]
17418         * config.make.in (config-cflags-novzeroupper): Define.
17419         * configure.in: Substitute libc_cv_cc_novzeroupper.
17420         * elf/Makefile (AVX-CFLAGS): Define.
17421         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17422         (CFLAGS-tst-auditmod4a.c): Likewise.
17423         (CFLAGS-tst-auditmod4b.c): Likewise.
17424         (CFLAGS-tst-auditmod6b.c): Likewise.
17425         (CFLAGS-tst-auditmod6c.c): Likewise.
17426         (CFLAGS-tst-auditmod7b.c): Likewise.
17427         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17428
17429 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
17430
17431         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17432         function to the callback.
17433         Patch partly by Jiri Olsa <jolsa@redhat.com>.
17434
17435 2011-02-02  Andreas Schwab  <schwab@redhat.com>
17436
17437         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17438         of errno.
17439
17440 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
17441
17442         [BZ #11724]
17443         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17444         of constructors.
17445         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17446         of destructors.
17447         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17448
17449         [BZ #11724]
17450         * elf/Makefile: Add rules to build and run new test.
17451         * elf/tst-initorder.c: New file.
17452         * elf/tst-initorder.exp: New file.
17453         * elf/tst-initordera1.c: New file.
17454         * elf/tst-initordera2.c: New file.
17455         * elf/tst-initordera3.c: New file.
17456         * elf/tst-initordera4.c: New file.
17457         * elf/tst-initorderb1.c: New file.
17458         * elf/tst-initorderb2.c: New file.
17459         * elf/tst-order-a1.c: New file.
17460         * elf/tst-order-a2.c: New file.
17461         * elf/tst-order-a3.c: New file.
17462         * elf/tst-order-a4.c: New file.
17463         * elf/tst-order-b1.c: New file.
17464         * elf/tst-order-b2.c: New file.
17465         * elf/tst-order-main.c: New file.
17466         New test case by George Gensure <werkt0@gmail.com>.
17467
17468 2010-10-01  Andreas Schwab  <schwab@redhat.com>
17469
17470         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17471         decoding ACE if AI_CANONIDN.
17472
17473 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
17474
17475         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17476
17477 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
17478
17479         * version.h (RELEASE): Bump for 2.13 release.
17480         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17481
17482         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17483
17484         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17485         MADV_NOHUGEPAGE.
17486         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17487         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17488         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17489         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17490         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17491         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17492
17493         * posix/getconf.c: Update copyright year.
17494         * catgets/gencat.c: Likewise.
17495         * csu/version.c: Likewise.
17496         * debug/catchsegv.sh: Likewise.
17497         * debug/xtrace.sh: Likewise.
17498         * elf/ldconfig.c: Likewise.
17499         * elf/ldd.bash.in: Likewise.
17500         * elf/sprof.c (print_version): Likewise.
17501         * iconv/iconv_prog.c: Likewise.
17502         * iconv/iconvconfig.c: Likewise.
17503         * locale/programs/locale.c: Likewise.
17504         * locale/programs/localedef.c: Likewise.
17505         * malloc/memusage.sh: Likewise.
17506         * malloc/mtrace.pl: Likewise.
17507         * nscd/nscd.c (print_version): Likewise.
17508         * nss/getent.c: Likewise.
17509
17510         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17511         PF_CAIF, and PF_ALG.
17512         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17513
17514 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
17515
17516         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17517         (modules-names): Use them.
17518         (ifunc-test-modules, ifunc-pie-tests): Define.
17519         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17520         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17521         (test-extras): Likewise.
17522         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17523         $(compile-command.c).
17524         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17525         (all-built-dso): Define.
17526         (check-textrel.out, check-execstack.out): Depend on it.
17527
17528         * configure.in: Don't override --enable-multi-arch.
17529
17530 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
17531
17532         [BZ #6812]
17533         * nscd/hstcache.c (tryagain): Define.
17534         (cache_addhst): Return tryagain not notfound for temporary errors.
17535         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17536         failed.
17537
17538 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
17539
17540         [BZ #10563]
17541         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17542         to make the syscall.
17543         * sysdeps/unix/sysv/linux/setgroups.c: New file.
17544
17545         [BZ #12378]
17546         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17547         and fall back to matching as normal character if the string ends before
17548         the matching ']' is found.  This is what POSIX requires.
17549         * posix/testfnm.c: Adjust test result.
17550         * posix/globtest.sh: Adjust test result.  Add new test.
17551         * posix/tst-fnmatch.input: Likewise.
17552         * posix/tst-fnmatch2.c: Add new test.
17553
17554 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
17555
17556         * elf/Makefile (check-execstack): Revert last change.  Depend on
17557         check-execstack.h.
17558         (check-execstack.h): New target.
17559         (generated): Add check-execstack.h.
17560         * elf/check-execstack.c: Include "check-execstack.h".
17561         (main): Revert last change.
17562         (handle_file): Return zero if GNU_STACK is absent and
17563         DEFAULT_STACK_PERMS doesn't include PF_X.
17564
17565 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
17566
17567         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17568         in child fails because the descriptor is already closed.
17569         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17570         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17571         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17572
17573         [BZ #12397]
17574         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17575         syscall.
17576
17577         [BZ #10484]
17578         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17579         temporary buffer used to handle multi lookups locally.
17580         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17581
17582 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
17583
17584         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17585         loader is ld.so.
17586
17587 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
17588
17589         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17590         alignment for SSE2.
17591
17592 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
17593
17594         [BZ #12394]
17595         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17596         characters.  When rounding increased number of integer digits recompute
17597         number of groups.
17598         * stdio-common/tst-grouping.c: New file.
17599         * stdio-common/Makefile: Add rules to build and run tst-grouping.
17600
17601 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
17602
17603         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17604         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
17605
17606         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17607         void.
17608         * bits/select.h: Likewise.
17609
17610 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
17611
17612         * po/ja.po: Update from translation team.
17613
17614 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
17615
17616         [BZ #11155]
17617         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17618         implementation just like for lxstat, fxstatat, et al.
17619
17620 2010-12-27  Jim Meyering  <meyering@redhat.com>
17621
17622         [BZ #12348]
17623         * posix/regexec.c (build_trtable): Return failure indication upon
17624         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
17625
17626 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
17627
17628         [BZ #12201]
17629         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17630         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17631         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17632         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17633
17634         [BZ #12207]
17635         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17636
17637         [BZ #12204]
17638         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17639         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17640
17641 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17642
17643         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17644         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17645         script has SORT_BY_INIT_PRIORITY.
17646         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17647         NO_CTORS_DTORS_SECTIONS is defined.
17648         * elf/soinit.c: Likewise.
17649         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17650         NO_CTORS_DTORS_SECTIONS is defined.
17651         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17652         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17653         * sysdeps/sh/init-first.c: Likewise.
17654         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17655
17656 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
17657
17658         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17659         always use the slow path.
17660
17661 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
17662
17663         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17664         similar rule which adds the sysdep directories to the header search in
17665         order to pick up the correct platform stackinfo.h.
17666         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17667         perform test if it is, otherwise return successfully without testing.
17668         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17669         DEFAULT_STACK_PERMS define in stackinfo.h.
17670         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17671         defined in stackinfo.h.
17672         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17673         DEFAULT_STACK_PERMS defined in stackinfo.h.
17674         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17675         * sysdeps/ia64/stackinfo.h: Likewise.
17676         * sysdeps/s390/stackinfo.h: Likewise.
17677         * sysdeps/sh/stackinfo.h: Likewise.
17678         * sysdeps/sparc/stackinfo.h: Likewise.
17679         * sysdeps/x86_64/stackinfo.h: Likewise.
17680         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17681         PF_X for powerpc64.  Retain PF_X for powerpc32.
17682
17683 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
17684
17685         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17686         accurately.
17687         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17688         GETDENTS_64BIT_ALIGNED.
17689
17690 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
17691
17692         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17693
17694 2010-12-10  Andreas Schwab  <schwab@redhat.com>
17695
17696         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17697         _GNU_SOURCE.
17698
17699         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17700         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17701         Remove __restrict.
17702         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17703         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17704
17705 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
17706
17707         [BZ #11655]
17708         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17709         are initialized.
17710
17711 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
17712
17713         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17714
17715 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
17716
17717         * po/it.po: Update from translation team.
17718
17719 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17720
17721         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17722         unused codes.
17723
17724 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
17725
17726         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17727
17728 2010-11-24  Andreas Schwab  <schwab@redhat.com>
17729
17730         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17731         specially.
17732         (gaih_getanswer_slice): Likewise.
17733
17734 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
17735
17736         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17737
17738 2010-05-31  Petr Baudis  <pasky@suse.cz>
17739
17740         [BZ #11149]
17741         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17742         silently even in the chroot mode.
17743
17744 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
17745
17746         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17747         last patch a bit.  Pretty printing
17748
17749 2010-05-31  Petr Baudis <pasky@suse.cz>
17750
17751         [BZ #10085]
17752         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17753         initialization of skip_initgroups_dyn.
17754
17755 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
17756
17757         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17758         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17759
17760 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
17761
17762         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17763
17764 2010-11-11  Andreas Schwab  <schwab@redhat.com>
17765
17766         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17767         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17768         (tst-fnmatch-ENV): Set MALLOC_TRACE.
17769         ($(objpfx)tst-fnmatch-mem): New rule.
17770         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17771         * posix/tst-fnmatch.c (main): Call mtrace.
17772
17773 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
17774
17775         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17776         Support Intel processor model 6 and model 0x2c.
17777
17778 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
17779
17780         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17781           signed comparison.
17782
17783 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
17784
17785         [BZ #12205]
17786         * string/test-strncasecmp.c (check_result): New function.
17787         (do_one_test): Use it.
17788         (check1): New function.
17789         (test_main): Use it.
17790         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17791         Support strcasecmp and strncasecmp.
17792
17793 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
17794
17795         [BZ #12194]
17796         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17797         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17798
17799 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17800
17801         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17802         IFUNC support.
17803         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17804         memset-x86-64.
17805         * sysdeps/x86_64/multiarch/bzero.S: New file.
17806         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17807         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17808         * sysdeps/x86_64/multiarch/memset.S: New file.
17809         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17811         Set bit_Prefer_SSE_for_memop for Intel processors.
17812         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17813         Define.
17814         (index_Prefer_SSE_for_memop): Define.
17815         (HAS_PREFER_SSE_FOR_MEMOP): Define.
17816
17817 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
17818
17819         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17820         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17821
17822 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
17823
17824         [BZ #12191]
17825         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17826         (__x86_64_raw_data_cache_size_half): Likewise.
17827         (__x86_64_raw_shared_cache_size): Likewise.
17828         (__x86_64_raw_shared_cache_size_half): Likewise.
17829
17830         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17831         (__x86_64_raw_data_cache_size_half): Likewise.
17832         (__x86_64_raw_shared_cache_size): Likewise.
17833         (__x86_64_raw_shared_cache_size_half): Likewise.
17834         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17835         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17836         and __x86_64_raw_shared_cache_size_half.  Round
17837         __x86_64_data_cache_size_half, __x86_64_data_cache_size
17838         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17839         to multiple of 256 bytes.
17840
17841 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
17842
17843         [BZ #12167]
17844         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17845         of inacessible symlinks.  Verify result of symlink before returning it.
17846         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17847         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17848
17849 2010-10-28  Erich Ritz  <erichritz@gmail.com>
17850
17851         * math/math.h (isinf): Fix typo in comment.
17852
17853 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
17854
17855         * po/da.po: Update from translation team.
17856
17857 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
17858
17859         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17860         is added to the list.
17861
17862 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17863             Ulrich Drepper  <drepper@gmail.com>
17864
17865         * elf/dl-object.c (_dl_new_object): Don't append the new object to
17866         the global list here.  Move code to...
17867         (_dl_add_to_namespace_list): ...here.  New function.
17868         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17869         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17870         * elf/dl-load.c (lose): Don't remove the element from the list.
17871         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17872         (_dl_map_object): Likewise.
17873
17874 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
17875
17876         [BZ #12159]
17877         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17878         into all bytes of SSE register.
17879         Patch by Richard Li <richardpku@gmail.com>.
17880
17881 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
17882
17883         [BZ #12140]
17884         * malloc/malloc.c (_int_free): Fill correct number of bytes when
17885         perturbing.
17886
17887 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
17888
17889         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17890         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17891         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17892         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17894         submachine.
17895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17896
17897 2010-10-22  Andreas Schwab  <schwab@redhat.com>
17898
17899         * include/dlfcn.h (__RTLD_SECURE): Define.
17900         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
17901         mode & __RTLD_SECURE instead.
17902         (open_path): Rename preloaded parameter to secure.
17903         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17904         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17905         * elf/dl-deps.c (openaux): Likewise.
17906         * elf/rtld.c (struct map_args): Remove is_preloaded.
17907         (map_doit): Don't use it.
17908         (dl_main): Likewise.
17909         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17910         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17911
17912 2010-09-09  Andreas Schwab  <schwab@redhat.com>
17913
17914         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17915         (sysd-rules-targets): Remove duplicates.
17916         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17917         rtld-%.$o dependency.
17918
17919 2010-10-18  Andreas Schwab  <schwab@redhat.com>
17920
17921         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17922         _dl_map_object do it.
17923
17924 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
17925
17926         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17927         fast fma builtins, define the macros in the C99 standard.
17928         (FP_FAST_FMAF): Likewise.
17929         (FP_FAST_FMAL): Likewise.
17930         * sysdeps/x86_64/bits/mathdef.h: Likewise.
17931
17932         * bits/mathdef.h: Update copyright year.
17933         * sysdeps/powerpc/bits/mathdef.h: Likewise.
17934
17935 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
17936
17937         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17938         builtins, define the macros in the C99 standard.
17939         (FP_FAST_FMAF): Likewise.
17940         (FP_FAST_FMAL): Likewise.
17941         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17942         multiply/add.
17943         (FP_FAST_FMAF): Likewise.
17944
17945 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
17946
17947         [BZ #3268]
17948         * math/libm-test.inc (fma_test): Some new testcases.
17949         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17950         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17951         y and infinite z.  Do multiplication by C already in long double.
17952         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17953         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17954         y and infinite z.  Do bitwise or of inexact bit into u.d.
17955         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17956         * sysdeps/i386/fpu/s_fmaf.S: Removed.
17957         * sysdeps/i386/fpu/s_fma.S: Removed.
17958         * sysdeps/i386/fpu/s_fmal.S: Removed.
17959
17960 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
17961
17962         [BZ #3268]
17963         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17964         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17965         computation is not scheduled after fetestexcept.  Fix value
17966         of minimum denormal long double.
17967
17968 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
17969
17970         [BZ #3268]
17971         * math/libm-test.inc (fma_test): Add some more tests.
17972         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17973         correctly.
17974
17975 2010-10-15  Andreas Schwab  <schwab@redhat.com>
17976
17977         * scripts/data/localplt-s390-linux-gnu.data: New file.
17978         * scripts/data/localplt-s390x-linux-gnu.data: New file.
17979
17980 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
17981
17982         [BZ #3268]
17983         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17984         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17985         instead of dbl-64.
17986         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17987         inlines.
17988         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17989         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17990         if one of x and y is very large and the other is subnormal.
17991         * sysdeps/s390/fpu/s_fmaf.c: New file.
17992         * sysdeps/s390/fpu/s_fma.c: New file.
17993         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17994         * sysdeps/powerpc/fpu/s_fma.S: New file.
17995         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17996         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17997         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17998
17999 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
18000
18001         [BZ #3268]
18002         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18003         fma tests.
18004         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18005         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18006         * sysdeps/i386/i686/multiarch/s_fma.c: Include
18007         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18008         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18009         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18010         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18011
18012 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
18013
18014         [BZ #12078]
18015         * posix/regcomp.c (parse_branch): One more memory leak plugged.
18016         * posix/bug-regex31.input: Add test case.
18017
18018 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18019
18020         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18021         * posix/bug-regex31.input: New file.
18022
18023         [BZ #12078]
18024         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18025         (parse_sub_exp): Fix last change, use postorder.
18026
18027         * posix/bug-regex31.c: New file.
18028         * posix/Makefile: Add rules to build and run bug-regex31.
18029
18030         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18031
18032         [BZ #12078]
18033         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18034
18035         [BZ #12108]
18036         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18037         to have entries in sys_siglist.
18038
18039         [BZ #12093]
18040         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18041         be NULL.
18042
18043 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
18044
18045         [BZ #3268]
18046         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18047         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18048         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18049         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18050         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18051         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18052         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18053         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18054         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18055         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18056         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18057         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18058         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18059         * math/ftestexcept.c (fetestexcept): Likewise.
18060         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18061         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18062         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18063         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18064         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18065         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18066         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18067
18068 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
18069
18070         [BZ #12107]
18071         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18072         newline.
18073
18074 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
18075
18076         * string/bug-strstr1.c: New file.
18077         * string/Makefile: Add rules to build and run bug-strstr1.
18078
18079 2010-10-05  Eric Blake  <eblake@redhat.com>
18080
18081         [BZ #12092]
18082         * string/str-two-way.h (two_way_long_needle): Always clear memory
18083         when skipping input due to the shift table.
18084
18085 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
18086
18087         [BZ #12005]
18088         * malloc/mcheck.c: Handle large requests.
18089
18090         [BZ #12077]
18091         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18092         for strncmp and strncasecmp.
18093         * string/stratcliff.c: Add tests for strcmp and strncmp.
18094         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18095
18096 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18097
18098         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18099         __set_fpscr.
18100
18101 2010-09-30  Andreas Jaeger  <aj@suse.de>
18102
18103         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18104         (CGROUP_SUPER_MAGIC): Define.
18105         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18106         Handle btrfs and cgroup file systems.
18107         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18108         Likewise.
18109
18110 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
18111
18112         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18113         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18114
18115 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18116
18117         [BZ #12067]
18118         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18119         trying to locate the ELF header.
18120
18121 2010-09-27  Andreas Schwab  <schwab@redhat.com>
18122
18123         [BZ #11611]
18124         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18125         Mask out sign-bit copies when constructing f_fsid.
18126
18127 2010-09-24  Petr Baudis <pasky@suse.cz>
18128
18129         * debug/stack_chk_fail_local.c: Add missing licence exception.
18130         * debug/warning-nop.c: Likewise.
18131
18132 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
18133
18134         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18135         implementing getdents64 using getdents syscall, set d_type if
18136         __ASSUME_GETDENTS32_D_TYPE.
18137
18138 2010-09-16  Andreas Schwab  <schwab@redhat.com>
18139
18140         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18141         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18142
18143 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
18144
18145         [BZ #12037]
18146         * posix/unistd.h: Undo change of feature selection for ftruncate from
18147         2010-01-11.
18148
18149 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
18150
18151         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18152         detection.
18153
18154 2010-09-20  Andreas Schwab  <schwab@redhat.com>
18155
18156         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18157         fanotify_mark.
18158         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18159
18160 2010-09-14  Andreas Schwab  <schwab@redhat.com>
18161
18162         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18163         variables after CHECK_SP call.
18164         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18165
18166 2010-09-13  Andreas Schwab  <schwab@redhat.com>
18167             Ulrich Drepper  <drepper@redhat.com>
18168
18169         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18170         re-relocationg ld.so.
18171         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18172         _dl_init_paths call.
18173         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
18174         here anymore.
18175
18176 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
18177
18178         * resolv/res_init.c (__res_vinit): Count the default server we added.
18179
18180 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
18181             Ulrich Drepper  <drepper@redhat.com>
18182
18183         [BZ #11968]
18184         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18185         (____longjmp_chk): Use %ebx for saving value across system call.
18186         Add unwind info.
18187
18188 2010-09-06  Andreas Schwab  <schwab@redhat.com>
18189
18190         * manual/Makefile: Don't mix pattern rules with normal rules.
18191
18192 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18193
18194         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18195         operation.
18196         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18197         * libio/iofopncook.c (_IO_cookie_init): Likewise.
18198         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18199         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18200         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18201         Likewise.
18202
18203 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
18204
18205         [BZ #11979]
18206         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18207         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18208
18209 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
18210
18211         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18212         * sysdeps/x86_64/addmul_1.S: Likewise.
18213         * sysdeps/x86_64/lshift.S: Likewise.
18214         * sysdeps/x86_64/mul_1.S: Likewise.
18215         * sysdeps/x86_64/rshift.S: Likewise.
18216         * sysdeps/x86_64/sub_n.S: Likewise.
18217         * sysdeps/x86_64/submul_1.S: Likewise.
18218
18219 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18220
18221         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18222         Define __sched_param instead of SCHED_* and sched_param when
18223         <bits/sched.h> is included with __need_schedparam defined.
18224         * bits/sched.h [__need_schedparam]
18225         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18226         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18227         (__defined_schedparam): Define to 1.
18228         (__sched_param): New structure, identical to sched_param.
18229         (__need_schedparam): Undefine.
18230
18231 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
18232
18233         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18234         (epoll_create1): Declare.
18235
18236         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18237
18238 2010-08-31  Andreas Schwab  <schwab@redhat.com>
18239
18240         [BZ #7066]
18241         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18242         shifting retval into place.
18243
18244 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
18245
18246         * nis/rpcsvc/nis.h: Update copyright notice.
18247         * nis/rpcsvc/nis.x: Likewise.
18248         * nis/rpcsvc/nis_callback.h: Likewise.
18249         * nis/rpcsvc/nis_callback.x: Likewise.
18250         * nis/rpcsvc/nis_object.x: Likewise.
18251         * nis/rpcsvc/nis_tags.h: Likewise.
18252         * nis/rpcsvc/yp.h: Likewise.
18253         * nis/rpcsvc/yp.x: Likewise.
18254         * nis/rpcsvc/ypupd.h: Likewise.
18255         * nis/yp_xdr.c: Likewise.
18256         * nis/ypupdate_xdr.c: Likewise.
18257
18258         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
18259         mainly the body of pmap_getport.  Add parameters to specify timeouts.
18260         (pmap_getport): Use __libc_rpc_getport.
18261         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18262         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18263         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18264
18265 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
18266
18267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18268         fanotify_mark.
18269
18270 2010-08-27  Roland McGrath  <roland@redhat.com>
18271
18272         * sysdeps/i386/i686/multiarch/Makefile
18273         (CFLAGS-varshift.c): New variable.
18274
18275 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
18276
18277         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18278         * sysdeps/i386/i686/multiarch/varshift.c: New file.
18279
18280         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18281
18282         * sysdeps/x86_64/strlen.S: Minimal code improvement.
18283
18284 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18285
18286         * sysdeps/x86_64/strlen.S: Unroll the loop.
18287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18288         strlen-sse2 strlen-sse2-bsf.
18289         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18290         __strlen_no_bsf if bit_Slow_BSF is set.
18291         (__strlen_sse42): Removed.
18292         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18293         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18294
18295 2010-08-25  Roland McGrath  <roland@redhat.com>
18296
18297         * sysdeps/x86_64/multiarch/varshift.S: File removed.
18298         * sysdeps/x86_64/multiarch/varshift.c: New file.
18299         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18300         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18301         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18302         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18303
18304 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18305
18306         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18307         strlen-sse2 strlen-sse2-bsf.
18308         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18309         __strlen_sse2_bsf if bit_Slow_BSF is unset.
18310         (__strlen_sse2): Removed.
18311         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18312         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18314         bit_Slow_BSF for Atom.
18315         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18316         (index_Slow_BSF): Define.
18317         (HAS_SLOW_BSF): Define.
18318
18319 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
18320
18321         [BZ #10851]
18322         * resolv/res_init.c (__res_vinit): When no server address at all
18323         is given default to loopback.
18324
18325 2010-08-24  Roland McGrath  <roland@redhat.com>
18326
18327         * configure.in: Remove config-name.h generation.
18328         * configure: Regenerated.
18329         * config-name.in: File removed.
18330         * scripts/config-uname.sh: New file.
18331         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18332         ($(objdir)config-name.h): New target.
18333
18334         * sunrpc/rpc_parse.h: Avoid nested comment.
18335
18336 2010-08-24  Richard Henderson  <rth@redhat.com>
18337             Ulrich Drepper  <drepper@redhat.com>
18338             H.J. Lu  <hongjiu.lu@intel.com>
18339
18340         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18341         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18342         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18343         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
18344         _mm_alignr_epi8 with _mm_loadu_si128.
18345         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18346         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18347         (__m128i_shift_right): Removed.
18348         * sysdeps/i386/i686/multiarch/varshift.h: New file.
18349         * sysdeps/i386/i686/multiarch/varshift.S: New file.
18350         * sysdeps/x86_64/multiarch/varshift.h: New file.
18351         * sysdeps/x86_64/multiarch/varshift.S: New file.
18352
18353 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
18354
18355         * configure.in: Move assembler checks to before sysdep dir checking.
18356
18357 2010-08-20  Petr Baudis  <pasky@suse.cz>
18358
18359         * LICENSES: Sync the sunrpc license.
18360
18361 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
18362
18363         * sunrpc/auth_des.c: Update copyright notice once again.
18364         * sunrpc/auth_none.c: Likewise.
18365         * sunrpc/auth_unix.c: Likewise.
18366         * sunrpc/authdes_prot.c: Likewise.
18367         * sunrpc/authuxprot.c: Likewise.
18368         * sunrpc/bindrsvprt.c: Likewise.
18369         * sunrpc/clnt_gen.c: Likewise.
18370         * sunrpc/clnt_perr.c: Likewise.
18371         * sunrpc/clnt_raw.c: Likewise.
18372         * sunrpc/clnt_simp.c: Likewise.
18373         * sunrpc/clnt_tcp.c: Likewise.
18374         * sunrpc/clnt_udp.c: Likewise.
18375         * sunrpc/clnt_unix.c: Likewise.
18376         * sunrpc/des_crypt.c: Likewise.
18377         * sunrpc/des_soft.c: Likewise.
18378         * sunrpc/get_myaddr.c: Likewise.
18379         * sunrpc/getrpcport.c: Likewise.
18380         * sunrpc/key_call.c: Likewise.
18381         * sunrpc/key_prot.c: Likewise.
18382         * sunrpc/openchild.c: Likewise.
18383         * sunrpc/pm_getmaps.c: Likewise.
18384         * sunrpc/pm_getport.c: Likewise.
18385         * sunrpc/pmap_clnt.c: Likewise.
18386         * sunrpc/pmap_prot.c: Likewise.
18387         * sunrpc/pmap_prot2.c: Likewise.
18388         * sunrpc/pmap_rmt.c: Likewise.
18389         * sunrpc/rpc/auth.h: Likewise.
18390         * sunrpc/rpc/auth_unix.h: Likewise.
18391         * sunrpc/rpc/clnt.h: Likewise.
18392         * sunrpc/rpc/des_crypt.h: Likewise.
18393         * sunrpc/rpc/key_prot.h: Likewise.
18394         * sunrpc/rpc/netdb.h: Likewise.
18395         * sunrpc/rpc/pmap_clnt.h: Likewise.
18396         * sunrpc/rpc/pmap_prot.h: Likewise.
18397         * sunrpc/rpc/pmap_rmt.h: Likewise.
18398         * sunrpc/rpc/rpc.h: Likewise.
18399         * sunrpc/rpc/rpc_des.h: Likewise.
18400         * sunrpc/rpc/rpc_msg.h: Likewise.
18401         * sunrpc/rpc/svc.h: Likewise.
18402         * sunrpc/rpc/svc_auth.h: Likewise.
18403         * sunrpc/rpc/types.h: Likewise.
18404         * sunrpc/rpc/xdr.h: Likewise.
18405         * sunrpc/rpc_clntout.c: Likewise.
18406         * sunrpc/rpc_cmsg.c: Likewise.
18407         * sunrpc/rpc_common.c: Likewise.
18408         * sunrpc/rpc_cout.c: Likewise.
18409         * sunrpc/rpc_dtable.c: Likewise.
18410         * sunrpc/rpc_hout.c: Likewise.
18411         * sunrpc/rpc_main.c: Likewise.
18412         * sunrpc/rpc_parse.c: Likewise.
18413         * sunrpc/rpc_parse.h: Likewise.
18414         * sunrpc/rpc_prot.c: Likewise.
18415         * sunrpc/rpc_sample.c: Likewise.
18416         * sunrpc/rpc_scan.c: Likewise.
18417         * sunrpc/rpc_scan.h: Likewise.
18418         * sunrpc/rpc_svcout.c: Likewise.
18419         * sunrpc/rpc_tblout.c: Likewise.
18420         * sunrpc/rpc_util.c: Likewise.
18421         * sunrpc/rpc_util.h: Likewise.
18422         * sunrpc/rpcinfo.c: Likewise.
18423         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18424         * sunrpc/rpcsvc/key_prot.x: Likewise.
18425         * sunrpc/rpcsvc/klm_prot.x: Likewise.
18426         * sunrpc/rpcsvc/mount.x: Likewise.
18427         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18428         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18429         * sunrpc/rpcsvc/rex.x: Likewise.
18430         * sunrpc/rpcsvc/rstat.x: Likewise.
18431         * sunrpc/rpcsvc/rusers.x: Likewise.
18432         * sunrpc/rpcsvc/sm_inter.x: Likewise.
18433         * sunrpc/rpcsvc/spray.x: Likewise.
18434         * sunrpc/rpcsvc/yppasswd.x: Likewise.
18435         * sunrpc/rtime.c: Likewise.
18436         * sunrpc/svc.c: Likewise.
18437         * sunrpc/svc_auth.c: Likewise.
18438         * sunrpc/svc_authux.c: Likewise.
18439         * sunrpc/svc_raw.c: Likewise.
18440         * sunrpc/svc_run.c: Likewise.
18441         * sunrpc/svc_simple.c: Likewise.
18442         * sunrpc/svc_tcp.c: Likewise.
18443         * sunrpc/svc_udp.c: Likewise.
18444         * sunrpc/svc_unix.c: Likewise.
18445         * sunrpc/svcauth_des.c: Likewise.
18446         * sunrpc/xcrypt.c: Likewise.
18447         * sunrpc/xdr.c: Likewise.
18448         * sunrpc/xdr_array.c: Likewise.
18449         * sunrpc/xdr_float.c: Likewise.
18450         * sunrpc/xdr_mem.c: Likewise.
18451         * sunrpc/xdr_rec.c: Likewise.
18452         * sunrpc/xdr_ref.c: Likewise.
18453         * sunrpc/xdr_sizeof.c: Likewise.
18454         * sunrpc/xdr_stdio.c: Likewise.
18455
18456         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18457         handling.
18458
18459 2010-08-19  Andreas Schwab  <schwab@redhat.com>
18460
18461         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18462
18463 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
18464
18465         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18466         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18467         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18468         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18469         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18470         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18471         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18472         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18473         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18474         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18475         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18476         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18477         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18478         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18479
18480 2010-07-26  Anton Blanchard  <anton@samba.org>
18481
18482         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18483         * malloc/arena.c (heap_trim): Likewise.
18484
18485 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
18486
18487         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18488         here.  Not...
18489         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18490         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18491
18492 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
18493
18494         * sysdeps/i386/elf/Makefile: New file.
18495
18496 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
18497
18498         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18499         from fanotify_init.
18500         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18501         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18502
18503 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
18504
18505         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18506         of strncasecmp_l.
18507         * sysdeps/multiarch/strcmp.S: Likewise.
18508
18509 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
18510
18511         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18512         strncase_l-nonascii.
18513         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18514         Add strncase_l-ssse3.
18515         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18516         * sysdeps/x86_64/strcmp.S: Likewise.
18517         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18518         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18519         * sysdeps/x86_64/strncase.S: New file.
18520         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18521         * sysdeps/x86_64/strncase_l.S: New file.
18522         * string/Makefile (strop-tests): Add strncasecmp.
18523         * string/test-strncasecmp.c: New file.
18524
18525         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18526         warning.
18527
18528         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18529         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18530
18531 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
18532
18533         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18534
18535 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
18536
18537         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18538         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18539         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18540
18541 2010-05-01  Alan Modra  <amodra@gmail.com>
18542
18543         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18544         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18545         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18546         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18547         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18548         tidying.  Don't tail-call __sigjmp_save for static lib.
18549         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18550         save location.
18551         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18552         (CALL_MCOUNT): Add eh info, and nop after bl.
18553         (TAIL_CALL_SYSCALL_ERROR): New macro.
18554         (PSEUDO_RET): Use it.
18555         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18556         Correct save location of integer regs and cr.
18557         (_dl_profile_resolve): Correct cr save location.  Delete nops
18558         after bl when SHARED.  Reduce cfi size a little by better
18559         placement of cfi directives.
18560         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18561         make a stack frame.  Instead use parm save area as a temp.
18562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18563         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
18564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18565         Don't make a stack frame for parent, use parm save area.
18566         Increase child stack frame to 112 bytes.  Don't save unused reg,
18567         and adjust reg usage.  Set up cfi on error recovery and
18568         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18570         (__makecontext): Add dummy nop after jump to exit.
18571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18572         Use correct parm save area and cr save, reduce stack frame.
18573         Correct cfi for possible PSEUDO_RET frame setup.
18574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18575         Branch to local label emitted by PSEUDO_RET rather than
18576         __syscall_error.
18577
18578 2010-08-12  Andreas Schwab  <schwab@redhat.com>
18579
18580         [BZ #11904]
18581         * locale/programs/locale.c (print_assignment): New function.
18582         (show_locale_vars): Use it.
18583
18584 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
18585
18586         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18587         field.
18588         (struct statfs64): Likewise.
18589         (_STATFS_F_FLAGS): Define.
18590         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18591         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18592         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18593         (ST_VALID): Define locally.
18594         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18595         __statvfs_getflags, use the provided value.
18596         * sysdeps/unix/sysv/linux/kernel-features.h: Define
18597         __ASSUME_STATFS_F_FLAGS.
18598
18599         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18600
18601         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18602         Add sys/fanotify.h.
18603         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18604         fanotify_mask for GLIBC_2.13.
18605         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18606         fanotify_init and fanotify_mark.
18607         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18608         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18609
18610         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18611         Add prlimit.
18612         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18613         prlimit64 for GLIBC_2.13.
18614         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18615         prlimit64.
18616         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18617         syscall.
18618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18619         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18620         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18621         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18622         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
18623         add prlimit alias.
18624         * sysdeps/unix/sysv/linux/prlimit.c: New file.
18625
18626         [BZ #11903]
18627         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18628         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18629
18630         * nss/Makefile: Add rules to build and run tst-nss-test1.
18631         * shlib-versions: Add entry for libnss_test1.
18632         * nss/nss_test1.c: New file.
18633         * nss/tst-nss-test1.c: New file.
18634
18635         * nss/nsswitch.c (__nss_database_custom): Define new variable.
18636         (__nss_configure_lookup): Set appropriate entry in
18637         __nss_configure_lookup to true.
18638         * nss/nsswitch.h: Define enum with indeces of databases in
18639         databases and __nss_database_custom arrays.  Declare
18640         __nss_database_custom.
18641         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18642         to avoid using nscd when custom rules are installed.
18643         * nss/getXXbyYY_r.c: Likewise.
18644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18645
18646         * nss/nss_files/files-parse.c: Whitespace fixes.
18647
18648 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
18649
18650         [BZ #11883]
18651         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18652         * posix/fnmatch_loop.c: Likewise.
18653
18654 2010-07-17  Andi Kleen  <ak@linux.intel.com>
18655
18656         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18657         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18658         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18659         * Versions.def [GLIBC_2.13]: Add.
18660
18661 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
18662
18663         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18664         Also fail if tpwd after pwuid call is NULL.
18665
18666 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18667
18668         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18669         when converting to ms.
18670
18671 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18672
18673         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18674         EOPNOTSUPP errors with ENOTTY.
18675         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18676         EOPNOTSUPP errors with ENOTTY.
18677
18678 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
18679
18680         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18681         Add strcasecmp_l-ssse3.
18682         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18683         strcasecmp.
18684         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18685         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18686         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18687
18688 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
18689
18690         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18691
18692         * string/Makefile (strop-tests): Add strcasecmp.
18693         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18694         strcasecmp_l-nonascii.
18695         (gen-as-const-headers): Add locale-defines.sym.
18696         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18697         * sysdeps/x86_64/strcasecmp.S: New file.
18698         * sysdeps/x86_64/strcasecmp_l.S: New file.
18699         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18700         * sysdeps/x86_64/locale-defines.sym: New file.
18701         * string/test-strcasecmp.c: New file.
18702
18703         * string/test-strcasestr.c: Test both ends of the range of characters.
18704         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18705
18706 2010-07-29  Roland McGrath  <roland@redhat.com>
18707
18708         [BZ #11856]
18709         * manual/locale.texi (Yes-or-No Questions): Fix example code.
18710
18711 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
18712
18713         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18714         for ld.so.
18715
18716 2010-07-27  Andreas Schwab  <schwab@redhat.com>
18717
18718         * manual/memory.texi (Malloc Tunable Parameters): Document
18719         M_PERTURB.
18720
18721 2010-07-26  Roland McGrath  <roland@redhat.com>
18722
18723         [BZ #11840]
18724         * configure.in (-fgnu89-inline check): Set and substitute
18725         gnu89_inline, not libc_cv_gnu89_inline.
18726         * configure: Regenerated.
18727         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18728
18729 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
18730
18731         * string/test-strnlen.c: New file.
18732         * string/Makefile (strop-tests): Add strnlen.
18733         * string/tester.c (test_strnlen): Add a few more test cases.
18734         * string/tst-strlen.c: Better error reporting.
18735
18736         * sysdeps/x86_64/strnlen.S: New file.
18737
18738 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
18739
18740         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18741         lower-latency instructions.
18742
18743 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
18744
18745         * string/test-strcasestr.c: New file.
18746         * string/test-strstr.c: New file.
18747         * string/Makefile (strop-tests): Add strstr and strcasestr.
18748         * string/str-two-way.h: Don't undefine MAX.
18749         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18750
18751 2010-07-21  Andreas Schwab  <schwab@redhat.com>
18752
18753         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18754         strcasestr-nonascii.
18755         (CFLAGS-strcasestr-nonascii.c): Define.
18756         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18757         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18758         Remove unused attribute.
18759
18760 2010-07-20  Roland McGrath  <roland@redhat.com>
18761
18762         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18763         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
18764         ld.so.cache was broken.  With it, there is no way to disable dsocaps
18765         like LD_HWCAP_MASK can disable hwcaps.
18766
18767 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
18768
18769         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18770
18771 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
18772
18773         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18774         call in strcasestr.
18775         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18776         __strcasestr_sse42_nonascii.
18777         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18778         strcasestr-nonascii.c.
18779         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18780
18781 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
18782
18783         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18784         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18785         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18786         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18787
18788 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
18789
18790         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18791         fcntl.
18792
18793 2010-07-06  Andreas Schwab  <schwab@redhat.com>
18794
18795         [BZ #11577]
18796         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18797         dl_signal_cerror.
18798
18799 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
18800
18801         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18802         _PC_PIPE_BUF using F_GETPIPE_SZ.
18803
18804 2010-07-05  Roland McGrath  <roland@redhat.com>
18805
18806         * manual/arith.texi (Rounding Functions): Fix rint description
18807         implicit in round description.
18808
18809 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
18810
18811         * elf/Makefile: Fix linking for a few tests to make recent linker
18812         happy.
18813
18814 2010-06-30  Andreas Schwab  <schwab@redhat.com>
18815
18816         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18817         $(common-objpfx)libc_nonshared.a.
18818
18819 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
18820
18821         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18822         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18823         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18824         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18825         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18826         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18827         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18828         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18843         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18844         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18845         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18846         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18847         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18848         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18849         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18850         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18851         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18852         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18853         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18854         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18869
18870 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18871
18872         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18873         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
18874         * string/memmove.c (memmove): Renamed to ...
18875         (MEMMOVE): ...this.  Default to memmove.
18876         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18877         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18878         (END_CHK): Define.
18879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18880         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18881         mempcpy-ssse3-back memmove-ssse3-back.
18882         * sysdeps/x86_64/multiarch/bcopy.S: New file .
18883         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18884         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18885         * sysdeps/x86_64/multiarch/memcpy.S: New file.
18886         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18887         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18888         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18889         * sysdeps/x86_64/multiarch/memmove.c: New file.
18890         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18891         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18892         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18893         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18894         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18895         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18896         Define.
18897         (index_Fast_Copy_Backward): Define.
18898         (HAS_ARCH_FEATURE): Define.
18899         (HAS_FAST_REP_STRING): Define.
18900         (HAS_FAST_COPY_BACKWARD): Define.
18901
18902 2010-06-21  Andreas Schwab  <schwab@redhat.com>
18903
18904         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18905         Restore proper fallback handling.
18906
18907 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
18908
18909         [BZ #11701]
18910         * posix/group_member.c (__group_member): Correct checking loop.
18911
18912         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18913         OOM in getpwuid_r correctly.  Return error number when the caller
18914         should return, otherwise -1.
18915         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18916         call returning > 0 value.
18917         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18918
18919 2010-06-07  Andreas Schwab  <schwab@redhat.com>
18920
18921         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18922         libc_nonshared.a from targets in modules-names.
18923
18924 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
18925
18926         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18927         requires it.
18928
18929 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
18930
18931         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18932         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18933         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18934         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18935
18936 2010-06-02  Andreas Schwab  <schwab@redhat.com>
18937
18938         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18939
18940 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
18941
18942         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18943         and F_GETPIPE_SZ.
18944         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18945         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18946         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18948         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18949         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18950
18951 2010-06-14  Roland McGrath  <roland@redhat.com>
18952
18953         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18954
18955 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
18956
18957         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18958         __REDIRECT followed by __THROW.
18959         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18960         * posix/getopt.h (getopt): Likewise.
18961
18962 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
18963
18964         * hurd/lookup-at.c (__file_name_lookup_at): Accept
18965         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
18966         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18967         in AT_FLAGS.
18968         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18969         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18970
18971 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
18972
18973         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18974
18975 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
18976
18977         [BZ #11640]
18978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18979         Properly check family and model.
18980
18981 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
18982
18983         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18984
18985 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
18986
18987         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18988
18989 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
18990
18991         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18992         symbol reference.
18993
18994 2010-05-19  Andreas Schwab  <schwab@redhat.com>
18995
18996         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18997         symbol reference.
18998
18999 2010-05-21  Andreas Schwab  <schwab@redhat.com>
19000
19001         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19002         and internal_recvmmsg.
19003         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19004         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19005         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19006         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19007
19008         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19009         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19010         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19011
19012 2010-05-20  Andreas Schwab  <schwab@redhat.com>
19013
19014         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19015
19016 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
19017
19018         POWER7 optimizations.
19019         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19020         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19021
19022 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
19023
19024         * version.h: Update for 2.13 development version.
19025
19026 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
19027
19028         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19029         exceptions.  Return 0.
19030
19031 2010-05-07  Roland McGrath  <roland@redhat.com>
19032
19033         * elf/ldconfig.c (main): Add a const.
19034
19035 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
19036
19037         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19038         (args_options): Add no-idn option.
19039         (ahosts_keys_int): Add idn_flags to ai_flags.
19040         (parse_option): Handle 'i' option to clear idn_flags.
19041
19042         * malloc/malloc.c (_int_free): Possible race in the most recently
19043         added check.  Only act on the data if no current modification
19044         happened.
19045
19046 See ChangeLog.17 for earlier changes.