Update French translation
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-09  Allan McRae  <allan@archlinux.org>
2
3         * po/fr.po: Update French translation from translation project.
4
5 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6
7         [BZ #14132]
8         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9         of INTDEF.
10         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11         (__cxa_atexit): Use libc_hidden_proto.
12         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13
14         [BZ #14132]
15         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
16         declaration.
17         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
18         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
20         [!_ISOMAC] (__iswctype_internal): Likewise.
21         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
23         alias.
24         (fcntl): Remove __fcntl_internal alias.
25         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26         __connect_internal alias.
27         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28         Likewise.
29
30         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
31         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32         FP_DENORM_ZERO.
33         (_FP_CHECK_FLUSH_ZERO): New macro.
34         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35         (_FP_CMP): Likewise.
36         (_FP_CMP_EQ): Likewise.
37         (_FP_TO_INT): Do not set inexact for subnormal arguments if
38         FP_DENORM_ZERO.
39         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
40         (FP_TRUNC): Likewise.
41
42         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
43         treated as invalid conversion, not as normal exponent.
44
45         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
46         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
47         (_FP_CMP_EQ): Likewise.
48         (_FP_CMP_UNORD): Likewise.
49         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
50         (FP_CMP_EQ_D): Likewise.
51         (FP_CMP_UNORD_D): Likewise.
52         * soft-fp/extended.h (FP_CMP_E): Likewise.
53         (FP_CMP_EQ_E): Likewise.
54         (FP_CMP_UNORD_E): Likewise.
55         * soft-fp/quad.h (FP_CMP_Q): Likewise.
56         (FP_CMP_EQ_Q): Likewise.
57         (FP_CMP_UNORD_Q): Likewise.
58         * soft-fp/single.h (FP_CMP_S): Likewise.
59         (FP_CMP_EQ_S): Likewise.
60         (FP_CMP_UNORD_S): Likewise.
61         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
62         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
63         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
64         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
65         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
66         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
67         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
68         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
69         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
70         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
71         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
72         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
73         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
74         to FP_CMP_Q.
75         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
76         FP_CMP_Q.
77         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
78         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
79         FP_CMP_EQ_Q.
80         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
81         FP_CMP_Q.
82         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
83         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
84         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
85         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
86         FP_CMP_EQ_Q.
87         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
88         FP_CMP_Q.
89         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
90         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
91         FP_CMP_EQ_Q.
92         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
93         FP_CMP_Q.
94         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
95         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
96         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
97         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
98         FP_CMP_EQ_Q.
99
100         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
101         a subnormal result, set the underflow exception if trapping on
102         underflow is enabled.
103         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
104         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
105         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
106         redefine to 0.
107         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
108         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
109         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
110         * soft-fp/extendxftf2.c (__extendxftf2): Use
111         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
112
113         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
114         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
115         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
116         FP_HANDLE_EXCEPTIONS.
117         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
118         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
119         FP_HANDLE_EXCEPTIONS.
120         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
121         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
122         FP_HANDLE_EXCEPTIONS.
123         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
124         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
125         FP_HANDLE_EXCEPTIONS.
126
127 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
128
129         [BZ #14132]
130         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
131         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
132         use INTUSE.
133         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
134         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
135         Remove alias.
136         (__adjtimex): Define using libc_hidden_ver.
137         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
138         Remove declaration.
139         (ntp_gettime): Call __adjtimex directly.
140         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
141         Remove declaration.
142         (ntp_gettimex): Call __adjtimex directly.
143         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
144         __adjtimex_internal alias.
145
146 2014-10-08  Roland McGrath  <roland@hack.frob.com>
147
148         [BZ #17460]
149         * nscd/nscd.c (more_help): Rewrite list of tables collection
150         using xstrdup and asprintf.
151
152         * nscd/nscd_conf.c: Remove local xstrdup declaration.
153
154 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
155             Roland McGrath  <roland@hack.frob.com>
156
157         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
158         (do_lookup_unique): ... local function 'enter' here; update callers.
159
160 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
161
162         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
163         compat_symbol calls on [SHARED].
164         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
165         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
166         Remove.
167         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
168         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
169         (oldsetrlimit): Remove.
170         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
172         (lchown): New syscall entry.
173         (oldsetrlimit): Remove.
174         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
175         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
176         (oldsetrlimit): Remove.
177         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
178
179         [BZ #14138]
180         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
181         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
182         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
183         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
184         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
185         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
186         (fchown): Likewise.
187         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
188         (fchown): Likewise.
189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
190         Likewise.
191
192 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
193
194         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
195         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
196         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
197         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
198         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
199         Likewise.
200         (__old_sem_post): Likewise.
201
202 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
203
204         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
205         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
206         HAVE_CLOCK_GETTIME_VSYSCALL macros.
207         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
208         Use INLINE_VSYSCALL macro.
209         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
210         __vdso_clock_gettime.
211         * sysdeps/unix/sysv/linux/tile/init-first.c
212         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
213         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
214         __vdso_clock_gettime.
215
216         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
217         to set up frame more cleanly.
218
219         * sysdeps/tile/memcmp.c: New file.
220
221         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
222
223         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
224         * sysdeps/tile/tilegx/strcasestr.c: New file.
225         * sysdeps/tile/tilegx/strnlen.c: New file.
226         * sysdeps/tile/tilegx/strstr.c: New file.
227
228         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
229
230 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
231
232         * nptl/tst-setuid3.c: Write errors to stdout.
233
234 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
235
236         * elf/dl-deps.c
237         (preload): New functions broken out of _dl_map_object_deps.
238         (_dl_map_object_deps):  Remove a nested function. Update call sites.
239
240 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
241
242         [BZ #14138]
243         * sysdeps/unix/sysv/linux/execve.c: Remove file.
244         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
245
246 2014-10-01  Steve Ellcey  <sellcey@mips.com>
247
248         * sysdeps/mips/strcmp.S: New.
249
250 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
251
252         [BZ #14138]
253         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
254         (linkat): Likewise.
255         (mkdirat): Likewise.
256         (readlinkat): Likewise.
257         (renameat): Likewise.
258         (symlinkat): Likewise.
259         (unlinkat): Likewise.
260         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
261         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
262         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
263         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
264         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
265         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
266         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
267
268 2014-09-30  Will Newton  <will.newton@linaro.org>
269
270         * math/math.h: Define long double math functions if
271         _LIBC_TEST is defined.
272         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
273
274         * localedata/Makefile: Move assignment to tests-special
275         into an ifdef testing run-built-tests.
276         * timezone/Makefile: Likewise.
277
278 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
279
280         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
281         with $(BASH) not $(SHELL).
282
283 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
284             Matthew LeGendre  <legendre1@llnl.gov>
285
286         [BZ #17411]
287         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
288         l_reloc_result.
289
290 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
291
292         * stdio-common/printf_fp.c
293         (hack_digit): New function, broken out of ...
294         (__printf_fp): ... local function here.  Update call sites.
295         hack_digit now takes an additional parameter that is a pointer
296         to a struct of the referenced locals.  Those locals moved inside
297         the struct and references updated.
298
299 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
300
301         * aclocal.m4: Require autoconf 2.69.
302         * configure: Regenerated.
303         * sysdeps/aarch64/configure: Likewise.
304         * sysdeps/alpha/configure: Likewise.
305         * sysdeps/arm/armv7/configure: Likewise.
306         * sysdeps/arm/configure: Likewise.
307         * sysdeps/ia64/configure: Likewise.
308         * sysdeps/mach/configure: Likewise.
309         * sysdeps/mips/configure: Likewise.
310         * sysdeps/s390/configure: Likewise.
311         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
313
314         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
315         file.
316         * sysdeps/ia64/configure.ac: Likewise.
317
318 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
319
320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
321         specify symbol version for ld.so.  Do not include entry for
322         libpthread.
323         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
324         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
325         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
326
327         [BZ #14171]
328         * Makeconfig [$(build-shared) = yes]
329         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
330         makefiles.
331         [$(build-shared) = yes && $(soversions.mk-done) = t]
332         ($(common-objpfx)gnu/lib-names.h): Remove rule.
333         [$(build-shared) = yes && $(soversions.mk-done) = t]
334         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
335         to Makerules.
336         [$(build-shared) = yes && $(soversions.mk-done) = t]
337         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
338         here.
339         [$(build-shared) = yes && $(soversions.mk-done) = t]
340         (common-generated): Don't append gnu/lib-names.h and
341         gnu/lib-names.stmp here.
342         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
343         (lib-names-h-abi): New variable.
344         [$(build-shared) = yes && $(soversions.mk-done) = t]
345         (lib-names-stmp-abi): Likewise.
346         [$(build-shared) = yes && $(soversions.mk-done) = t &&
347         abi-variants] (before-compile): Append
348         $(common-objpfx)$(lib-names-h-abi).
349         [$(build-shared) = yes && $(soversions.mk-done) = t &&
350         abi-variants] (common-generated): Append gnu/lib-names.h.
351         [$(build-shared) = yes && $(soversions.mk-done) = t &&
352         abi-variants] (install-others-nosubdir): Depend on
353         $(inst_includedir)/$(lib-names-h-abi).
354         [$(build-shared) = yes && $(soversions.mk-done) = t &&
355         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
356         [$(build-shared) = yes && $(soversions.mk-done) = t]
357         ($(common-objpfx)$(lib-names-h-abi)): New rule.
358         [$(build-shared) = yes && $(soversions.mk-done) = t]
359         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
360         [$(build-shared) = yes && $(soversions.mk-done) = t]
361         (common-generated): Append $(lib-names-h-abi) and
362         $(lib-names-stmp-abi).
363         * scripts/lib-names.awk: Do not handle multi being set.
364         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
365         Remove variable.
366         (abi-lp64_be-ld-soname): Likewise.
367         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
368         Likewise.
369         (abi-hard-ld-soname): Likewise.
370         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
371         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
372         Remove variable.
373         (abi-o32_hard-ld-soname): Likewise.
374         (abi-o32_soft_2008-ld-soname): Likewise.
375         (abi-o32_hard_2008-ld-soname): Likewise.
376         (abi-n32_soft-ld-soname): Likewise.
377         (abi-n32_hard-ld-soname): Likewise.
378         (abi-n32_soft_2008-ld-soname): Likewise.
379         (abi-n32_hard_2008-ld-soname): Likewise.
380         (abi-n64_soft-ld-soname): Likewise.
381         (abi-n64_hard-ld-soname): Likewise.
382         (abi-n64_soft_2008-ld-soname): Likewise.
383         (abi-n64_hard_2008-ld-soname): Likewise.
384         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
385         Likewise.
386         (abi-64-v2-ld-soname): Likewise.
387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
388         ld.so entries.
389         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
390         variable.
391         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
392         entry.
393         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
394         variable.
395         (abi-64-ld-soname): Likewise.
396         (abi-x32-ld-soname): Likewise.
397         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
398         entry.
399         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
400
401 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
402
403         [BZ #14138]
404         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
405         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
406         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
407         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
408         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
409         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
410         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
411         syscall entry for GLIBC_2.2 symbol version.
412         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
413         Likewise.
414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
415         (setrlimit): Likewise.
416         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
417         Likewise.
418
419 2014-09-23  Will Newton  <will.newton@linaro.org>
420
421         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
422         _LINUX_ARM_SYSDEP_H include guard too.
423         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
424         define.
425
426 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
427
428         * sysdeps/unix/sysv/linux/eventfd.c:
429         Make first argument unsigned.
430         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
431         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
432
433 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
434
435         * socket/recvmmsg.c (recvmmsg): Drop const argument.
436         * socket/sys/socket.h: Likewise
437         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
438
439 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
440
441         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
442
443 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
444
445         * time/tst-ftime.c: New test.
446         * time/Makefile (tests): Add tst-ftime.
447
448 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
449
450         * soft-fp/extended.h: Fix comment formatting.
451         * soft-fp/op-1.h: Likewise.
452         * soft-fp/op-2.h: Likewise.
453         * soft-fp/op-4.h: Likewise.
454         * soft-fp/op-8.h: Likewise.
455         * soft-fp/op-common.h: Likewise.
456         * soft-fp/soft-fp.h: Likewise.
457
458         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
459
460 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
461
462         [BZ #6652]
463         * Makeconfig (soversions-default-setname): Remove variable.
464         ($(common-objpfx)soversions.i): Don't pass default_setname to
465         soversions.awk.
466         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
467         oldest_abi to abi-versions.awk.
468         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
469         * config.make.in (oldest-abi): Remove variable.
470         * configure.ac (--enable-oldest-abi): Remove configure option.
471         * configure: Regenerated.
472         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
473         text.
474         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
475         * scripts/soversions.awk: Do not handle default_setname variable.
476         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
477         variable.
478         * sysdeps/mach/hurd/configure: Regenerated.
479         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
480         variable.
481         * sysdeps/unix/sysv/linux/configure: Regenerated.
482
483 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
484
485         * elf/Makefile (CFLAGS-interp.c): Remove.
486         ($(elf-objpfx)runtime-linker.h): Generate header with linker
487         path string.
488         * elf/interp.c: Include generated runtime-linker.h
489
490         * Makerules (lib%.so): Don't include $(+interp) in
491         prerequisites.
492         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
493         * dlfcn/eval.c: Remove file.
494
495         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
496         macros.
497
498         [BZ #17266]
499         * misc/sys/cdefs.h: Define __extern_always_inline for clang
500         4.2 and newer.
501
502         [BZ #17370]
503         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
504
505 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
506             Jakub Jelinek  <jakub@redhat.com>
507
508         [BZ #17266]
509         * libio/stdio.h: Check definition of __fortify_function
510         instead of __extern_always_inline to include bits/stdio2.h.
511         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
512         check if __extern_always_inline is defined.
513         [__USE_MISC || __USE_XOPEN]: Likewise.
514         [__USE_ISOC99] Likewise.
515         * misc/sys/cdefs.h (__fortify_function): Define only if
516         __extern_always_inline is defined.
517         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
518         __extern_always_inline and __extern_inline only for g++-4.3
519         and newer or a compatible gcc.
520
521 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
522
523         [BZ #17371]
524         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
525         last change to handle zero prefix length.
526
527 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
528
529         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
530         _SC_REGEX_VERSION.
531
532         * posix/getconf.c (vars): Add _POSIX_IPV6 and
533         _POSIX_RAW_SOCKETS.
534
535 2014-09-13  Allan McRae  <allan@archlinux.org>
536
537         * po/ru.po: Update Russian translation from translation project.
538
539 2014-09-12  Roland McGrath  <roland@hack.frob.com>
540
541         * locale/programs/locale.c (show_locale_vars): Inline local function
542         into its sole call site.  Clean up some style nits.
543         (print_item): New function, broken out of ...
544         (show_info): ... local function here.  Clean up style nits.
545
546         * locale/programs/ld-ctype.c (set_one_default): New function, broken
547         out of ...
548         (set_class_defaults): ... local function set_default here.
549         Define set_default as a macro locally to pass constant parameters.
550         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
551         rather than a shared local.
552
553         * stdlib/rpmatch.c (try): New function, broken out of ...
554         (rpmatch): ... local function here.  Also, prototypify definition.
555
556 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
557
558         * scripts/soversions.awk: Do not handle configuration names.
559         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
560         vendor and os variables to soversions.awk.
561         * configure.ac: Do not modify gnu-* host_os.
562         * configure: Regenerated
563         * shlib-versions: Remove first column with configuration names.
564         * nptl/shlib-versions: Likewise.
565         * nptl_db/shlib-versions: Likewise.
566         * sysdeps/hppa/shlib-versions: Likewise.
567         * sysdeps/m68k/shlib-versions: Likewise.
568         * sysdeps/mach/hurd/shlib-versions: Likewise.
569         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
570         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
571         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
572         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
573         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
574         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
575         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
576         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
578         Likewise.
579         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
580         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
581         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
582         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
583         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
584         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
585         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
586         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
587
588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
589         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
591         Regenerated.
592         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
594         Condition symbol version definitions on [HAVE_ELFV2_ABI].
595
596         * shlib-versions: Remove OS-specific entries.  Moved to files in
597         sysdeps.
598         * sysdeps/mach/hurd/shlib-versions: New file.
599         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
600
601         * nptl/shlib-versions: Remove architecture-specific entries.
602         Moved to files in sysdeps.
603         * shlib-versions: Likewise.
604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
605         file.
606         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
607         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
608         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
609         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
610
611         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
612         (UDP_NO_CHECK6_RX): Likewise.
613
614 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
615
616         * sysdeps/posix/sysconf.c (__sysconf): Spell
617         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
618
619 2014-08-12  Florian Weimer  <fweimer@redhat.com>
620
621         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
622         loading.
623         * iconv/Versions (__gconv_transliterate): Export for use from
624         gconv modules.
625         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
626         (struct __gconv_trans_data, __gconv_trans_fct,
627         __gconv_trans_context_fct, __gconv_trans_query_fct,
628         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
629         definitions.
630         (struct __gconv_step_data): Remove __trans member.
631         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
632         longer hidden.  Remove unused trans_data argument.
633         * iconv/gconv_int.h (struct trans_struct): Remove definition.
634         (__gconv_translit_find): Remove declaration.
635         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
636         prototype.
637         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
638         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
639         trans_data argument.  Add hidden definition.
640         (__gconv_translit_find): Remove.
641         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
642         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
643         * iconv/skeleton.c: Remove transliteration initialization.
644         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
645         __gconv_step_data initialization.
646         * libio/iofwide.c (__libio_translit_): Remove.
647         (_IO_fwide): Adjust struct __gconv_step_data initialization.
648         * wcsmbs/btowc.c (__btowc): Likewise.
649         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
650         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
651         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
652         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
653         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
654         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
655         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
656         * wcsmbs/wctob.c (wctob): Likewise.
657
658 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
659
660         [BZ #16194]
661         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
662         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
663         register usage.
664         * sysdeps/x86/Makefile: Adjust.
665
666 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
667             Roland McGrath  <roland@hack.frob.com>
668
669         * locale/weight.h: Add include guard.
670         (findidx): Make static rather than auto; take new parameters
671         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
672         * locale/weightwc.h: Likewise.
673         * posix/fnmatch_loop.c
674         (FCT): Change type of EXTRA from int32_t to wint_t.
675         Don't include either header inside the function.
676         Call FINDIDX rather than findidx, and pass new arguments.
677         #undef FINDIDX at the end of the file.
678         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
679         FINDIDX before including fnmatch_loop.c for the non-wide version.
680         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
681         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
682         for the wide version.
683         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
684         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
685         Pass new arguments to findidx.
686         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
687         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
688         Don't #include it inside the function.  Pass new arguments to findidx.
689         * posix/regex_internal.h
690         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
691         (re_string_elem_size_at): Don't #include it inside the function.
692         Pass new arguments to findidx.
693         * string/strcoll_l.c: #include WEIGHT_H at top level.
694         (get_next_seq): Don't #include it inside the function.
695         Pass new arguments to findidx.
696         (get_next_seq_nocache): Likewise.
697         * string/strxfrm_l.c: #include WEIGHT_H at top level.
698         (STRXFRM): Don't #include it inside the function.
699         Pass new arguments to findidx.
700
701 2014-09-11  Florian Weimer  <fweimer@redhat.com>
702
703         [BZ #17344]
704         * malloc/malloc.c (unlink): Turn asserts into a call to
705         malloc_printerr.
706
707 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
708
709         [BZ #17370]
710         * libio/wfileops (do_ftell_wide): Free OUT.
711
712 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
713
714         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
715
716 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
717
718         [BZ #17363]
719         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
720         group if the current group is empty.
721
722 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
723
724         * benchtests/bench-memset.c (test_main): Add more test from size
725         from 32 to 512 bytes.
726         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
727         Add POWER8 memset object.
728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
729         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
730         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
731         implementation.
732         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
733         Likewise.
734         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
735         multiarch POWER8 memset optimization.
736         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
737         POWER8 memset optimization.
738
739         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
740         Remove bzero multiarch objects.
741         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
742         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
743         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
744         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
745         Remove define.
746         [__bzero]: Redefine to specific name.
747         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
748         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
749         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
750         define.
751         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
752         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
753
754 2014-09-10  Florian Weimer  <fweimer@redhat.com>
755
756         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
757         warnings into errors.
758
759         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
760         __cxa_thread_atexit_impl prototype.
761
762 2014-09-09  Steve Ellcey  <sellcey@mips.com>
763
764         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
765         Fix capitalization of error message.
766
767 2014-09-09  Steve Ellcey  <sellcey@mips.com>
768
769         * sysdeps/mips/preconfigure: Modify ABI tests.
770
771 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
772
773         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
774
775 2014-09-07  Roland McGrath  <roland@hack.frob.com>
776             Carlos O'Donell  <carlos@systemhalted.org>
777
778         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
779         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
780         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
781         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
782         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
783         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
784         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
785         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
786         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
787         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
788         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
789         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
790         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
791         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
792         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
793         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
794         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
795         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
796         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
797         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
798         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
799         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
800         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
801         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
802         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
803         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
804         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
805         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
806         Deconditionalize the code that was previously under [RESET_PID].
807         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
808         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
809         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
810         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
811         include sysdep.h.
812
813 2014-09-08  Allan McRae  <allan@archlinux.org>
814
815         * version.h (RELEASE): Set to "development".
816         (VERSION): Set to "2.20.90"
817
818 2014-09-07  Allan McRae  <allan@archlinux.org
819
820         * version.h (RELEASE): Set to "stable".
821         (VERSION): Set to "2.20"
822         * include/features.h (__GLIBC_MINOR__): Set to 20.
823
824         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
825         Liebler.
826
827         * po/ko.po: Update Korean translation from translation project.
828
829 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
830
831         [BZ #17354]
832         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
833         macro for handling signed relocations.
834
835 2014-09-03  Florian Weimer  <fweimer@redhat.com>
836
837         [BZ #17325]
838         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
839         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
840         assert.
841         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
842         * iconvdata/ibm935.c (BODY): Likewise.
843         * iconvdata/ibm937.c (BODY): Likewise.
844         * iconvdata/ibm939.c (BODY): Likewise.
845         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
846         assert.
847         * iconvdata/Makefile (iconv-test.out): Pass module list to test
848         script.
849         * iconvdata/run-iconv-test.sh: New test loop for checking for
850         decoder crashers.
851
852 2014-09-02  Khem Raj  <raj.khem@gmail.com>
853
854         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
855         libm_hidden_ver.
856
857 2014-09-01  Allan McRae  <allan@archlinux.org>
858
859         * po/eo.po: Update Esperanto translation from translation project.
860
861         * po/ca.po: Update Catalan translation from translation project.
862
863 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
864
865         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
866         __proc_dostop call.
867
868 2014-08-27  Mark Wielaard  <mjw@redhat.com>
869
870         [BZ #17319]
871         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
872         to call set_thread_area instead of hand written asm.
873         (__NR_set_thread_area): Removed define.
874         (TLS_FLAG_WRITABLE): Likewise.
875         (__ASSUME_SET_THREAD_AREA): Remove check.
876         (TLS_EBX_ARG): Remove define.
877         (TLS_LOAD_EBX): Likewise.
878
879 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
880
881         Simplify atomicity of socket creation in bind.
882
883         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
884         looking up the name after linking the file.
885
886 2014-08-27  Allan McRae  <allan@archlinux.org>
887
888         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
889
890 2014-08-26  Florian Weimer  <fweimer@redhat.com>
891
892         [BZ #17187]
893         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
894         trans_compare, open_translit, __gconv_translit_find):
895         Remove module loading code.
896
897 2014-08-26  Allan McRae  <allan@archlinux.org>
898
899         * po/vi.po: Update Vietnamese translation from translation project.
900
901         * po/uk.po: Update Ukrainian translation from translation project.
902
903         * po/fr.po: Update French translation from translation project.
904
905         * po/ru.po: Update Russian translation from translation project.
906
907         * po/pl.po: Update Polish translation from translation project.
908
909         * po/cs.po: Update Czech translation from translation project.
910
911         * po/de.po: Update German translation from translation project.
912
913         * po/bg.po: Update Bulgarian translation from translation project.
914
915         * po/sv.po: Update Sweedish translation from translation project.
916
917         * po/nl.po: Update Dutch translation from translation project.
918
919         * po/es.po: Update Spanish translation from translation project.
920
921 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
922
923         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
924
925         * catgets/Makefile (CPPFLAGS-gencat): Remove.
926         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
927         (CPPFLAGS-iconvconfig): Likewise.
928         * timezone/Makefile (CPPFLAGS-zic): Likewise.
929
930         * include/libc-symbols.h: Remove unnecessary check for
931         NOT_IN_libc.
932         * nptl/pthreadP.h: Likewise.
933         * sysdeps/aarch64/setjmp.S: Likewise.
934         * sysdeps/alpha/setjmp.S: Likewise.
935         * sysdeps/arm/sysdep.h: Likewise.
936         * sysdeps/i386/setjmp.S: Likewise.
937         * sysdeps/m68k/setjmp.c: Likewise.
938         * sysdeps/posix/getcwd.c: Likewise.
939         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
940         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
941         * sysdeps/s390/s390-32/setjmp.S: Likewise.
942         * sysdeps/s390/s390-64/setjmp.S: Likewise.
943         * sysdeps/sh/sh3/setjmp.S: Likewise.
944         * sysdeps/sh/sh4/setjmp.S: Likewise.
945         * sysdeps/unix/alpha/sysdep.h: Likewise.
946         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
947         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
948         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
949         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
952         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
953         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
954         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
955         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
956         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
957         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
958         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
959         * sysdeps/x86_64/setjmp.S: Likewise.
960
961 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
962
963         [BZ #17263]
964         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
965         <stdint.h>.
966         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
967         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
968
969 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
970
971         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
972
973         [BZ #17262]
974         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
975         and __x86_64__ when disabling x87 inline functions.
976
977 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
978
979         [BZ #17259]
980         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
981         asm statement with __cpuid_count.
982
983 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
984
985         * configure.ac: Change __ehdr_start code to dereference the struct.
986         Run readelf on the output to look for relocations.
987         * configure: Regenerated.
988
989 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
990
991         [BZ #17261]
992         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
993         value to 0.
994         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
995
996 2014-08-12  Roland McGrath  <roland@hack.frob.com>
997
998         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
999
1000 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
1001
1002         [BZ #16892]
1003         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1004         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1005
1006 2014-08-12  Sean Anderson  <seanga2@gmail.com>
1007
1008         * malloc/malloc.c: Fix typo in comment.
1009
1010 2014-08-09  Allan McRae  <allan@archlinux.org>
1011
1012         * Regenerate libc.po.
1013
1014 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
1015
1016         * intl/tst-gettext2.sh: Check every lang file for creation.
1017
1018 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1019
1020         * sysdeps/aarch64/fpu/math_private.h
1021         (libc_feholdsetround_noex_aarch64_ctx): New function.
1022
1023 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1024
1025         * sysdeps/arm/armv6/strcpy.S (strcpy):
1026         Fix performance issue in misaligned cases.
1027
1028 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1029
1030         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1031         Move definition from termios.h.
1032         (struct termio): Likewise.
1033         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1034         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1035         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1036         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1037         Likewise.
1038         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1039         Move definition to ioctl-types.h
1040         (struct termio): Likewise.
1041         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1042         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1043         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1044         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1045         Likewise.
1046
1047 2014-08-05  Richard Henderson  <rth@redhat.com>
1048
1049         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1050         exceptions.
1051         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1052         Add fraiseexcpt.
1053         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1054         Use __feraiseexcept.
1055         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1056         Protect libm symbols with IS_IN_libm.
1057
1058         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1059
1060 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
1061
1062         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1063
1064 2014-08-04  Will Newton  <will.newton@linaro.org>
1065
1066         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1067         file.
1068
1069 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
1070
1071         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1072         variants for each function.
1073
1074 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1075
1076         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1077         appended ...
1078         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1079         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1080         appended ...
1081         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1082         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1083         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1084         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1085         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1086         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1087         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1088         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1089         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1090         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1091         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1092         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1093         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1094         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1095         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1096         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1097         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1098         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1099         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1100         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1101         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1102         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1103         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1104         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1105         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1106         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1107         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1108         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1109         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1110         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1111         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1112         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1113         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1114         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1115         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1116         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1117         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1118         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1119         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1120         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1121         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1122         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1123         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1124         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1125         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1126         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1127         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1128         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1129         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1130         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1131         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1132         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1133         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1134         Update #include.
1135         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1136         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1137
1138 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1139
1140         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1141         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1142         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1143         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1144         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1145         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1146
1147 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1148
1149         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1150         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1151         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1152         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1153
1154 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1155
1156         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1157         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1158         (__libc_vfork): Define function under this name.
1159         (__vfork): Define as an alias.
1160         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1161         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1162
1163 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1164
1165         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1166         that was previously under [RESET_PID].
1167         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1168
1169 2014-08-04  Andreas Schwab  <schwab@suse.de>
1170
1171         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1172
1173 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1174
1175         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1176         (main): Likewise.
1177
1178 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1179
1180         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1181
1182 2014-08-01  Richard Henderon  <rth@redhat.com>
1183
1184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1185         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1186         typo in exact zero test.
1187         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1188         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1189         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1190
1191 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1192
1193         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1194         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1195         * sysdeps/arm/sysdep.h: ... here.
1196         [!__ASSEMBLER__]: Include <stdint.h>.
1197
1198 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1199
1200         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1201         (HAVE_WCTYPE_H): Likewise.
1202         (HAVE_ISWCTYPE): Likewise.
1203         (ENABLE_NLS): Likewise.
1204         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1205         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1206
1207         * posix/regex_internal.c: Check if DEBUG is defined and is
1208         set.
1209
1210         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1211         (HAVE_MBSRTOWCS): Likewise.
1212         * posix/fnmatch.c: Include string.h unconditionally.
1213
1214 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1215
1216         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1217         reversal.
1218
1219 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1220
1221         * sysdeps/generic/safe-fatal.h: New file.
1222         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1223         * nptl/forward.c: Include it.
1224         (__pthread_unwind): Use __safe_fatal as default action, rather
1225         than a bogus use of INTERNAL_SYSCALL that could never work.
1226
1227         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1228         * configure.ac (libc_cv_builtin_trap): New test.
1229         * configure: Regenerated.
1230         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1231         (ABORT_INSTRUCTION): Define using __builtin_trap.
1232
1233         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1234         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1235         * sysdeps/nptl/nptl-signals.h: New file.
1236         * nptl/pthreadP.h: Include <nptl-signals.h>.
1237
1238 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1239
1240         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1241         (ONE_DIRECTION): Define.
1242         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1243         (ONE_DIRECTION): Define.
1244         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1245         (ONE_DIRECTION): Define.
1246
1247 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1248
1249         * sysdeps/s390/Makefile: Delete file.
1250         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1251         * sysdeps/s390/__longjmp.c: Delete file.
1252         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1253         Remove fields __flags and __reserved.
1254         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1255         and add versioning.
1256         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1257         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1258         * sysdeps/s390/rtld-setjmp.S: Likewise.
1259         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1260         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1261         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1262         * sysdeps/s390/s390-32/setjmp.S: ... here.
1263         Add versioning.
1264         (__sigsetjmp): Remove setting __flags field.
1265         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1266         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1267         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1268         * sysdeps/s390/s390-64/setjmp.S: ... here.
1269         Add versioning.
1270         (__sigsetjmp): Remove setting __flags field.
1271         * sysdeps/s390/setjmp.S: Delete file.
1272         * sysdeps/s390/sigjmp.c: Likewise.
1273         * sysdeps/s390/v1-longjmp.c: Likewise.
1274         * sysdeps/s390/v1-setjmp.h: Likewise.
1275         * sysdeps/s390/v1-sigjmp.c: Likewise.
1276         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1277         Remove v1-longjmp_chk.
1278         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1279         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1280         Include debug/longjmp_chk.c and add versioning.
1281         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1282         Include nptl/pt-longjmp.c and add versioning.
1283         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1284         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1285         Include __longjmp.c.
1286         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1287         Move to ...
1288         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1289         (__getcontext): Remove setting __flags field.
1290         Add versioning.
1291         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1292         Don't restore upper high grps.
1293         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1294         Likewise.
1295         (__swapcontext): Remove setting uc_flags field.
1296         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1297         Delete file.
1298         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1299         Include __longjmp.c.
1300         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1301         Move to ...
1302         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1303         (__getcontext): Remove setting __flags field.
1304         Add versioning.
1305         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1306         (__swapcontext): Remove setting uc_flags field.
1307         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1308         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1309         Remove fields uc_high_gprs and __reserved.
1310         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1311         New file with reverted content.
1312         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1313         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1314         Regenerated.
1315         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1316         Regenerated.
1317
1318 2014-07-31  Andreas Schwab  <schwab@suse.de>
1319
1320         * config.h.in (HAVE_IFUNC): Define to 0.
1321         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1322         definedness.
1323
1324 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1325
1326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1327         memmove-avx-unaligned, memcpy-avx-unaligned and
1328         mempcpy-avx-unaligned.
1329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1330         Add tests for AVX memcpy functions.
1331         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1332         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1333         memcpy_chk.
1334         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1335         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1336         memmove_chk.
1337         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1338         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1339         mempcpy_chk.
1340         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1341         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1342         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1343
1344 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1345
1346         [BZ #17213]
1347         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1348         powerpc64le.
1349
1350 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1351
1352         [BZ #16839]
1353         * manual/llio.texi: Add section about open file description locks.
1354         * manual/examples/ofdlocks.c: Example of open file description
1355         lock usage.
1356         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1357         F_OFD_SETLK, and F_OFD_SETLKW.
1358
1359 2014-07-23  Allan McRae  <allan@archlinux.org>
1360
1361         * po/es.po: Update Spanish translation from translation project.
1362
1363 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1364
1365         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1366
1367 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1368
1369         [BZ #17078]
1370         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1371         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1372         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1373
1374 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1375
1376         [BZ #17088]
1377         * math/fesetenv.c (__fesetenv)
1378         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1379         * math/feupdateenv.c (__feupdateenv)
1380         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1381
1382         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1383         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1384         (__ASSUME_SOCKETCALL): Do not define.
1385
1386         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1387         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1388         (__ASSUME_SOCKETCALL): Do not define.
1389         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1390         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1391         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1392         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1393         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1394         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1395         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1396         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1397
1398         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1399         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1400         (__ASSUME_SOCKETCALL): Do not define.
1401         (__ASSUME_IPC64): Define unconditionally.
1402         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1403         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1404         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1405         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1406         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1407         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1408         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1409         Likewise.
1410
1411         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1412         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1413         (__ASSUME_SOCKETCALL): Do not define.
1414         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1415         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1416         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1417         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1418         (__ASSUME_REQUEUE_PI): Define unconditionally.
1419         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1420         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1421         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1422         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1423         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1424         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1425
1426         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1427         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1428         (__ASSUME_SOCKETCALL): Do not define.
1429         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1430         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1431         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1432         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1433         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1434         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1435
1436         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1437         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1438         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1439         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1440         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1441         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1442         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1443         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1444         (__ASSUME_GETCPU_SYSCALL): Likewise.
1445
1446         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1447         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1448         cases for individual architectures.
1449         * sysdeps/gnu/configure: Regenerated.
1450         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1451         LIBC_SLIBDIR_RTLDDIR.
1452         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1453         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1454         LIBC_SLIBDIR_RTLDDIR.
1455         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1457         LIBC_SLIBDIR_RTLDDIR.
1458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1459         Regenerated.
1460         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1461         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1462         file.
1463         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1464         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1465         file.
1466         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1467         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1468         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1469         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1470
1471         * sysdeps/aarch64/shlib-versions: Move to ...
1472         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1473         * sysdeps/alpha/shlib-versions: Move to ...
1474         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1475         * sysdeps/arm/shlib-versions: Move to ...
1476         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1477         * sysdeps/hppa/shlib-versions: Move all contents except for
1478         libgcc_s entry to ...
1479         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1480         entry from ...
1481         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1482         * sysdeps/ia64/shlib-versions: Move to ...
1483         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1484         entry from ...
1485         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1486         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1487         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1488         * sysdeps/microblaze/shlib-versions: Move to ...
1489         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1490         * sysdeps/mips/shlib-versions: Move to ...
1491         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1492         entry from ...
1493         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1494         * sysdeps/tile/shlib-versions: Move to ...
1495         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1496         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1497         from ...
1498         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1499         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1500         entry from ...
1501         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1502
1503 2014-07-17  Will Newton  <will.newton@linaro.org>
1504
1505         * sysdeps/arm/bits/atomic.h
1506         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1507         (__arch_compare_and_exchange_bool_16_int): Likewise.
1508         (__arch_compare_and_exchange_bool_64_int): Likewise.
1509
1510         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1511         into an #else block.
1512
1513 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1514
1515         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1516         just Linux configurations.  Test empirically that the compiler sets
1517         __ARM_EABI__, rather than using the tuple to decide.
1518         * sysdeps/arm/preconfigure: Regenerated.
1519         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1520         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1521         contents appended ...
1522         * sysdeps/arm/configure.ac: ... here.
1523         * sysdeps/arm/configure: Regenerated.
1524
1525 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1526
1527         * nptl/pthread_kill.c: New file.
1528         * nptl/pthread_sigmask.c: New file.
1529         * nptl/pthread_sigqueue.c: New file.
1530
1531         * sysdeps/nptl/lowlevellock.h: New file.
1532         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1533         * sysdeps/nptl/lowlevellock-futex.h: New file.
1534
1535         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1536         Remove dead declarations.
1537
1538 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1539
1540         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1541         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1542         config-cflags-avx2.
1543         * sysdeps/x86_64/configure.ac: Likewise.
1544         * sysdeps/i386/configure: Regenerated.
1545         * sysdeps/x86_64/configure: Likewise.
1546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1547         memset-avx2 only if config-cflags-avx2 is yes.
1548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1549         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1550         defined.
1551         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1552         only if HAVE_AVX2_SUPPORT is defined.
1553         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1554
1555 2014-07-14  Alan Modra  <amodra@gmail.com>
1556
1557         [BZ #17153]
1558         * elf/elf.h (DT_PPC64_NUM): Correct value.
1559         * NEWS: Add to fixed bug list.
1560
1561 2014-07-13  Jim Meyering  <meyering@fb.com>
1562
1563         [BZ 17150]
1564         regex: don't deref NULL upon heap allocation failure
1565         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1566         failure in one more place.
1567         To trigger the segfault, configure grep -with-included-regex,
1568         build it, and run these commands:
1569         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1570
1571 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1572
1573         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1574
1575 2014-07-11  Richard Henderson  <rth@redhat.com>
1576
1577         * sysdeps/aarch64/libm-test-ulps: Update.
1578
1579 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1580
1581         [BZ #17135]
1582         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1583         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1584         (__nptl_setxid): Initialize error member.  Call
1585         __nptl_setxid_error.
1586         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1587         * nptl/descr.h (struct xid_command): Add error member.
1588         * nptl/tst-setuid3.c: New file.
1589         * nptl/Makefile (tests): Add it.
1590
1591 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1592
1593         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1594         New define.
1595         (__lll_trylock): Use __lll_base_trylock.
1596         (__lll_cond_trylock): Likewise.
1597
1598 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1599
1600         * nptl/pthread_create.c (start_thread): Use atomic_or and
1601         lll_futex_wake directly rather than lll_robust_dead.
1602         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1603         (lll_robust_dead): Macro removed.
1604         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1605         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1606         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1607         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1608         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1609         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1610         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1611         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1612         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1613         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1614         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1615         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1616         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1617         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1618         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1619
1620         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1621         Use atomic_compare_and_exchange_val_acq directly rather than
1622         lll_robust_trylock.
1623         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1624         (__lll_robust_trylock, lll_robust_trylock): Removed.
1625         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1626         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1627         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1628         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1629         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1630         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1631         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1632         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1633         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1634         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1635         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1636         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1637         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1638         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1639
1640 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1641
1642         * manual/locale.texi (Locale Names): New section documenting
1643         locale name syntax.  Adjust menu and node chaining accordingly.
1644         (Choosing Locale): Reference Locale Names, Locale Categories.
1645         Mention setting LC_ALL=C.  Reflect that name syntax is now
1646         documented.
1647         (Locale Categories): New section title.  Reference Locale Names.
1648         LC_ALL is an environment variable, but not a category.
1649         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1650         description, now in Locale Name.  Reference that section.  Locale
1651         name syntax is now documented.
1652
1653 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1654
1655         [BZ #17137]
1656         * locale/findlocale.c (name_present, valid_locale_name): New
1657         functions.
1658         (_nl_find_locale): Use the loc_name variable to store name
1659         candidates.  Call name_present and valid_locale_name to check and
1660         validate locale names.  Return an error if the locale is invalid.
1661
1662 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1663
1664         * locale/setlocale.c (setlocale): Use strdup for allocating
1665         composite name copy.
1666
1667 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1668
1669         Sync up with gnulib.
1670         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1671         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1672         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1673         and _GL_ARG_NONNULL.
1674         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1675         [!_LIBC]: Include code for Windows and Cygwin.
1676         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1677         Include prototype for int strerror_r.
1678         [!_LIBC] (is_open): New function.
1679         (flush_stdout): New function.
1680         (print_errno_message): Use it.
1681         (error): Likewise.
1682         (error_at_line): Likewise.
1683         (error_tail) Add function attribute macros.  Use
1684         __builtin_expect.
1685
1686         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1687
1688         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1689
1690         * io/ftw.c: Include sys/param.h unconditionally.
1691
1692         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1693
1694         [BZ #17125]
1695         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1696         libc_freeres_ptr.
1697         (freecache): New function to free CACHE on exit.
1698
1699         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1700         initialization.
1701
1702 2014-07-09  David S. Miller  <davem@davemloft.net>
1703
1704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1705
1706         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1707         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1708         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1709         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1710         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1711         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1712         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1713         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1714         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1715         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1716         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1717         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1718         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1719
1720 2014-07-09  Andreas Schwab  <schwab@suse.de>
1721
1722         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1723         output.
1724         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1725         (do_test): Likewise.
1726
1727         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1728
1729 2014-07-09  Will Newton  <will.newton@linaro.org>
1730
1731         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1732         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1733         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1734         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1735         * sysdeps/hppa/start.S (_start): Likewise.
1736
1737 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1738
1739         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1740
1741         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1742         defined.
1743
1744 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1745
1746         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1747         after checking that it is non-NULL.
1748
1749         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1750
1751 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1752
1753         * sysdeps/powerpc/memmove.c: Remove file.
1754         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1755         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1756         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1757         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1758         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1759         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1760         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1761         string memmove instead of removed powerpc one.
1762
1763         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1764         [weak_alias]: Fix compiler warning due trailing data.
1765         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1766         [weak_alias]: Likewise.
1767         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1768         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1769
1770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1771         (__libc_ifunc_impl_list): Add memmove functions.
1772
1773 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1774
1775         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1776         Remove code.
1777         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1778         Likewise
1779         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1780         Likewise
1781         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1782         Likewise
1783         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1784         Likewise
1785         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1786         Likewise
1787         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1788         Likewise
1789         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1790         Likewise
1791         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1792         Likewise
1793         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1794         Likewise
1795         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1796         Likewise
1797         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1798         Likewise
1799         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1800         Likewise
1801         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1802         Likewise
1803         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1804         Likewise
1805         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1806         Likewise
1807         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1808         Likewise
1809
1810 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1811
1812         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1813         to avoid alignment traps in non-cacheable memory.
1814         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1815
1816         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1817         multiarch objects.
1818         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1819         file: multiarch power7 memmove.
1820         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1821         multiarch default memmove.
1822         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1823         multiarch memove for powerpc32/power4.
1824
1825         * string/bcopy.c: Use full path to include memmove.c.
1826         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1827         multiarch objects.
1828         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1829         bcopy for powerpc64.
1830         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1831         bcopy for powerpc64.
1832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1833         and memmove implementations.
1834         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1835         optimized multiarch memmove for POWER7/powerpc64.
1836         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1837         default multiarch memmove for powerpc64.
1838         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1839         multiarch for powerpc64.
1840         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1841         for POWER7/powerpc64.
1842         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1843         memmove for POWER7/powerpc64.
1844
1845         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1846         glibc default one.
1847
1848         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1849         __ELF_NATIVE_CLASS equal to 64.
1850
1851 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1852
1853         * sysdeps/nptl/lowlevellock.h: File removed.
1854
1855         * NEWS: NPTL is no longer an add-on!
1856         * nptl/internaltypes.h: Moved ...
1857         * sysdeps/nptl/internaltypes.h: ... here.
1858         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1859         * sysdeps/nptl/fork.c: Likewise.
1860         * sysdeps/nptl/gai_misc.h: Likewise.
1861         * sysdeps/nptl/librt-cancellation.c: Likewise.
1862         * sysdeps/nptl/jmp-unwind.c: Likewise.
1863         * sysdeps/nptl/setxid.h: Likewise.
1864         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1865         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1866         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1867         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1868         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1869         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1870         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1871         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1872         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1873         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1874         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1875         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1876         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1877         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1878         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1879         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1880         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1881         * nptl/Makeconfig: Moved ...
1882         * sysdeps/nptl/Makeconfig: ... here.
1883         * nptl/configure: File removed.
1884         * nptl/ANNOUNCE: File removed.
1885         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1886         * sysdeps/unix/sysv/linux/configure: Regenerated.
1887
1888         * nptl/Makefile (routines): Add libc_pthread_init,
1889         libc_multiple_threads, register-atfork and unregister-atfork.
1890         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1891         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1892         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1893         pthread-pi-defines.sym, structsem.sym.
1894         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1895         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1896         [$(subdir) = nptl] (tests): Add tst-setgetname.
1897         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1898         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1899         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1900         [!LIBC_SIGACTION]: Remove aliases.
1901         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1902         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1903         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1904         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1905         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1906         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1907         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1908         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1909         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1910         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1911         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1912         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1913         __libc_allocate_rtsig_private.
1914         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1915         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1916         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1917         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1918         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1919         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1920         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1921         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1922         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1923         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1924         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1925         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1926         * nptl/internaltypes.h: ... here.
1927         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1928         * sysdeps/nptl/jmp-unwind.c: ... here.
1929         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1930         * nptl/libc-lowlevellock.c: ... here.
1931         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1932         * nptl/libc_multiple_threads.c: ... here.
1933         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1934         * nptl/libc_pthread_init.c: ... here.
1935         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1936         * nptl/lowlevelbarrier.sym: ... here.
1937         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1938         * nptl/lowlevelcond.sym: ... here.
1939         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1940         * nptl/lowlevellock.c: ... here.
1941         * nptl/lowlevellock.h: Moved ...
1942         * sysdeps/nptl/lowlevellock.h: ... here.
1943         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1944         * nptl/lowlevelrobustlock.c: ... here.
1945         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1946         * nptl/lowlevelrobustlock.sym: ... here.
1947         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1948         * nptl/lowlevelrwlock.sym: ... here.
1949         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1950         * nptl/pt-fork.c: ... here.
1951         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1952         * nptl/pthread-pi-defines.sym: ... here.
1953         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1954         * nptl/pthread_attr_getaffinity.c: ... here.
1955         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1956         * nptl/pthread_attr_setaffinity.c: ... here.
1957         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1958         * nptl/pthread_mutex_cond_lock.c: ... here.
1959         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1960         Update #include.
1961         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1962         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1963         * nptl/pthread_once.c: ... here, replacing old file.
1964         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1965         * nptl/pthread_yield.c: ... here.
1966         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1967         * nptl/register-atfork.c: ... here.
1968         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1969         * nptl/sem_post.c: ... here.
1970         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1971         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1972         * nptl/sem_timedwait.c: ... here.
1973         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1974         * nptl/sem_trywait.c: ... here.
1975         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1976         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1977         * nptl/sem_wait.c: ... here.
1978         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1979         * nptl/structsem.sym: ... here.
1980         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1981         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1982         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1983         * nptl/unregister-atfork.c: ... here.
1984         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1985         * nptl/unwindbuf.sym: ... here.
1986         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1987         * sysdeps/nptl/fork.c: ... here.
1988         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1989         * sysdeps/nptl/fork.h: ... here.
1990         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1991         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1992         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1993         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1994         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1995         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1996         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1997         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1998         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1999         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2000         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2001         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2002         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2003         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2004         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2005         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2006         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2007         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2008         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2009         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2010         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2011         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2012         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2013         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2014         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2015         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2016         * sysdeps/unix/sysv/linux/raise.c: ... here.
2017         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2018         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2019         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2020         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2021         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2022         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2023         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2024         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2025         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2026         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2027         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2028         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2029         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2030         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2031         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2032
2033 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2034
2035         * sysdeps/generic/memcopy.h: Add comment for
2036         MEMCPY_OK_FOR_FWD_MEMMOVE.
2037
2038 2014-07-04  Will Newton  <will.newton@linaro.org>
2039
2040         * string/memchr.c: Merge from gnulib.
2041         [_LIBC]: Remove conditionals.
2042         (__ptr_t): Remove define.
2043         (LONG_MAX_32_BITS): Likewise.
2044         (LONG_MAX): Likewise.
2045         (MEMCHR): Use ANSI prototype and optimize algorithm.
2046
2047         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2048
2049 2014-07-03  Roland McGrath  <roland@hack.frob.com>
2050
2051         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2052         (lll_futex_timed_wait_bitset): Fix syscall argument count.
2053
2054         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2055         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2056         in a bare environment with no <stdlib.h> installed.
2057         * sysdeps/nptl/configure: Regenerated.
2058
2059         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2060
2061         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2062         AC_EGREP_CPP for kernel header checks, so they only succeed if
2063         including <linux/version.h> actually works right.
2064         * sysdeps/unix/sysv/linux/configure: Regenerated.
2065
2066         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2067         value so it's not diagnosed as unused.
2068
2069         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2070         thing) with "ifeq ($(subdir),rt)".
2071
2072 2014-07-03  Richard Henderson  <rth@redhat.com>
2073
2074         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2075         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2076         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2077
2078         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2079         (math_force_eval): New.
2080
2081         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2082         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2083
2084         * sysdeps/alpha/fpu/s_round.c: Remove file.
2085         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2086
2087         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2088         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2089         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2090         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2091         (_dl_start, print_statistics): Likewise.
2092         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2093         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2094
2095         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2096         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2097         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2098         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2099         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2100         (HP_SMALL_TIMING_AVAIL): Define.
2101         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2102         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2103         (HP_SMALL_TIMING_AVAIL): Define.
2104         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2105         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2106
2107         * sysdeps/aarch64/hp-timing.h: New file.
2108
2109         * sysdeps/generic/hp-timing.h: Remove dead comment.
2110         * sysdeps/generic/hp-timing-common.h: New file.
2111         * sysdeps/alpha/hp-timing.h: Include it.
2112         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2113         * sysdeps/i386/i686/hp-timing.h: Likewise.
2114         * sysdeps/ia64/hp-timing.h: Likewise.
2115         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2116         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2117         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2118         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2119         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2120         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2121         (hp_timing_t): New.
2122
2123         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2124         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2125         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2126         * elf/rtld.c (_dl_start_final): Likewise.
2127         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2128         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2129         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2130         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2131         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2132         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2133         (HP_TIMING_DIFF_INIT): Remove.
2134         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2135         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2136         (HP_TIMING_DIFF_INIT): Remove.
2137         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2138         * sysdeps/i386/i686/hp-timing.c: Remove file.
2139         * sysdeps/x86_64/hp-timing.c: Remove file.
2140         * sysdeps/ia64/hp-timing.c: Remove file.
2141         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2142         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2143         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2144         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2145
2146         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2147         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2148         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2149         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2150         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2151         (HP_TIMING_ACCUM): Remove.
2152         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2153         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2154         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2155
2156         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2157         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2158         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2159         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2160         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2161         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2162         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2163         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2164
2165         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2166
2167 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2168
2169         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2170
2171 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2172
2173         Sync up with gettext.
2174         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2175         [_MSC_VER]: Include malloc.h
2176         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2177         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2178         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2179         TEMP_FAILURE_RETRY.  Cast return of alloca.
2180         [!_LIBC] Call gl_rwlock_init.
2181         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2182
2183 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2184
2185         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2186         before checking its value.
2187
2188 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2189
2190         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2191
2192         * debug/memcpy_chk.c: Don't include pagecopy.h.
2193         * debug/mempcpy_chk.c: Likewise.
2194         * string/memcpy.c: Likewise.
2195         * string/memmove.c: Likewise.
2196         * sysdeps/powerpc/memmove.c: Likewise.
2197         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2198         definition of PAGE_COPY_FWD_MAYBE here...
2199         * sysdeps/generic/pagecopy.h: ... from here.
2200         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2201
2202 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2203             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2204
2205         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2207         optimizations.
2208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2209         (__libc_ifunc_impl_list): Likewise.
2210         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2211         multiarch strcat for PPC64.
2212         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2213         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2214
2215 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2216
2217         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2218
2219 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2220
2221         * intl/loadmsgcat.c: Remove declaration of
2222         get_sysdep_segment_value.
2223         (get_sysdep_segment_value): Use ISO C style.
2224         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2225         semicolon.  Fix typo and formatting in comment.
2226         (_nl_unload_domain): Use ISO C style.
2227
2228         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2229
2230 2014-07-02  Will Newton  <will.newton@linaro.org>
2231
2232         * malloc/obstack.c: Merge from gnulib master.
2233         [HAVE_CONFIG_H]: Remove conditional code.
2234         [!_LIBC]: Include config.h.
2235         [!ELIDE_CODE]: Don't include inttypes.h, include
2236         stdint.h unconditionally.
2237         (print_and_abort): Mark as _Noreturn.
2238         (_obstack_allocated_p): Mark as __attribute_pure__.
2239         (obstack_free): Rename to __obstack_free.
2240         [!__attribute__]: Remove conditional code.
2241         * malloc/obstack.h: Merge from gnulib master.
2242         [__cplusplus]: Move conditional down.
2243         [!__attribute_pure__]: Define __attribute_pure__ here
2244         if it is not already defined.
2245         (_obstack_memory_used): Mark as __attribute_pure__.
2246         [!__obstack_free]: Define as obstack_free.
2247         [__GNUC__]: Remove check for ancient NeXT gcc.
2248
2249 2014-07-02  Will Newton  <will.newton@linaro.org>
2250             Paul Eggert  <eggert@cs.ucla.edu>
2251
2252         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2253
2254 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2255
2256         * resolv/gethnamaddr.c: Add comment warning that the file is
2257         not maintained.
2258
2259 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2260
2261         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2262         entries.
2263
2264         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2265         entry for aio_cancel and aio_cancel64.
2266         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2267         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2268         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2269         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2270         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2271         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2272         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2273         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2274         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2275         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2276         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2277         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2278         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2279
2280 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2281
2282         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2283         * nptl/pthread_mutex_lock.c: Likewise.
2284         * nptl/pthread_mutex_timedlock.c: Likewise.
2285         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2286
2287 2014-07-01  Richard henderson  <rth@redhat.com>
2288
2289         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2290         (__isnan, __isnanl): Remove.
2291         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2292
2293         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2294
2295 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2296
2297         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2298
2299 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2300
2301         * resolv/nss_dns/dns-host.c (getanswer_r)
2302         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2303
2304 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2305
2306         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2307         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2308         undefine.
2309         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2310         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2311
2312 2014-07-01  Roland McGrath <roland@hack.frob.com>
2313
2314         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2315         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2316
2317         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2318         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2319
2320         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2321         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2322         ... here.
2323         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2324         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2325
2326         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2327         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2328         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2329         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2330
2331         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2332         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2333         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2334         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2335         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2336         Moved ...
2337         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2338         ... here.
2339         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2340         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2341         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2342         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2343         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2344         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2345         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2346         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2347         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2348         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2349         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2350         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2351         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2352         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2353         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2354         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2355         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2356         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2357         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2358         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2359         ... here.
2360         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2361         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2362         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2363         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2364         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2365         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2366         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2367         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2368
2369 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2370
2371         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2372         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2373         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2374         Add sysdep.
2375
2376 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2377
2378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2379
2380 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2381
2382         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2383         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2384
2385         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2386
2387         * sysdeps/arm/libm-test-ulps: Regenerated.
2388
2389 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2390             Roland McGrath <roland@hack.frob.com>
2391
2392         * test-skeleton.c (signal_handler): Kill the whole process group
2393         before killing the child individually.
2394         (main): Report any failure on `setpgid'.
2395
2396 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2397
2398         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2399         from _TLS_H to _ARM_NPTL_TLS_H.
2400         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2401         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2402
2403 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2404
2405         [BZ #16539]
2406         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2407         (__expm1l): Return argument unchanged when small but not
2408         subnormal.
2409
2410         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2411         include macro name.
2412         (_FP_UNPACK_RAW_1_P): Likewise.
2413         (_FP_PACK_RAW_1): Likewise.
2414         (_FP_PACK_RAW_1_P): Likewise.
2415         (_FP_MUL_MEAT_1_wide): Likewise.
2416         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2417         (_FP_MUL_MEAT_1_hard): Likewise.
2418         (_FP_DIV_MEAT_1_imm): Likewise.
2419         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2420         (_FP_DIV_MEAT_1_udiv): Likewise.
2421         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2422         (_FP_UNPACK_RAW_2): Likewise.
2423         (_FP_UNPACK_RAW_2_P): Likewise.
2424         (_FP_PACK_RAW_2): Likewise.
2425         (_FP_PACK_RAW_2_P): Likewise.
2426         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2427         (_FP_MUL_MEAT_2_wide): Likewise.
2428         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2429         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2430         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2431         (_FP_MUL_MEAT_2_gmp): Likewise.
2432         (_FP_DIV_MEAT_2_udiv): Likewise.
2433         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2434         (_FP_FRAC_SRL_4): Likewise.
2435         (_FP_FRAC_SRST_4): Likewise.
2436         (_FP_FRAC_SRS_4): Likewise.
2437         (_FP_UNPACK_RAW_4): Likewise.
2438         (_FP_UNPACK_RAW_4_P): Likewise.
2439         (_FP_PACK_RAW_4): Likewise.
2440         (_FP_PACK_RAW_4_P): Likewise.
2441         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2442         (_FP_MUL_MEAT_4_wide): Likewise.
2443         (_FP_MUL_MEAT_4_gmp): Likewise.
2444         (umul_ppppmnnn): Likewise.
2445         (_FP_DIV_MEAT_4_udiv): Likewise.
2446         (__FP_FRAC_ADD_4): Likewise.
2447         (__FP_FRAC_SUB_3): Likewise.
2448         (__FP_FRAC_SUB_4): Likewise.
2449         (__FP_FRAC_DEC_3): Likewise.
2450         (__FP_FRAC_DEC_4): Likewise.
2451         (__FP_FRAC_ADDI_4): Likewise.
2452         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2453         (_FP_FRAC_SRL_8): Likewise.
2454         (_FP_FRAC_SRS_8): Likewise.
2455
2456         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2457         include macro name.
2458         (FP_UNPACK_RAW_EP): Likewise.
2459         (FP_PACK_RAW_E): Likewise.
2460         (FP_PACK_RAW_EP): Likewise.
2461         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2462         (_FP_ISSIGNAN): Likewise.
2463         (_FP_ADD_INTERNAL): Likewise.
2464         (_FP_FMA): Likewise.
2465         (_FP_CMP): Likewise.
2466         (_FP_SQRT): Likewise.
2467         (_FP_TO_INT): Likewise.
2468         (_FP_FROM_INT): Likewise.
2469         (FP_EXTEND): Likewise.
2470         (_FP_DIV_MEAT_N_loop): Likewise.
2471
2472 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2473
2474         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2475         throughout.
2476
2477 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2478
2479         [BZ #17097]
2480         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2481         result with correct sign in case of exponents that produce
2482         overflow except for X very close to 1.
2483
2484 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2485
2486         mktime: merge #if/#ifdef usage from glibc
2487         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2488         as that works with both Glibc's and Gnulib's style.
2489         See thread starting at Siddhesh Poyarekar's bug report at:
2490         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2491
2492 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2493
2494         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2495         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2496         * sysdeps/tile/tilegx/memmove.c: Remove file.
2497
2498 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2499
2500         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2501         abi-name definition.
2502         * scripts/soversions.awk: Do not handle or generate ABI lines.
2503         * shlib-versions: Remove ABI entries.
2504         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2505         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2506
2507 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2508
2509         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2510         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2511         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2512         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2513         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2514         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2515         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2516         Moved ...
2517         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2518         ... here.
2519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2520         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2522         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2524         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2526         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2528         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2529         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2530         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2531         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2532         Moved ...
2533         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2534         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2535         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2536         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2537         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2539         Moved ...
2540         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2541         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2542         Moved ...
2543         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2545         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2546         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2547         Moved ...
2548         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2550         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2551         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2552         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2553         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2554         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2555         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2556         Moved ...
2557         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2558         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2559         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2560         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2561         Moved ...
2562         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2563         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2564         Moved ...
2565         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2566         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2567         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2568         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2569         Moved ...
2570         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2571         ... here.
2572         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2573         Identical file removed.
2574         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2575         Moved ...
2576         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2577         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2578         Identical file removed.
2579         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2580         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2581         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2582         Moved ...
2583         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2584         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2585         Identical file removed.
2586         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2587         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2588         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2589         Identical file removed.
2590         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2591         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2592         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2593         Identical file removed.
2594         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2595         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2596         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2597         Identical file removed.
2598         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2599         Moved ...
2600         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2601         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2602         Identical file removed.
2603         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2604         Moved ...
2605         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2606         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2607         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2608         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2609         Identical file removed.
2610         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2611         Moved ...
2612         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2613         ... here.
2614         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2615         Identical file removed.
2616         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2617         Moved ...
2618         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2619         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2620         Identical file removed.
2621         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2622         Moved ...
2623         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2624         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2625         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2626         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2627         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2628         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2629         Moved ...
2630         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2631         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2632         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2633
2634         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2635         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2636         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2637         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2638         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2639
2640 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2641
2642         [BZ #17092]
2643         * nscd/nscd.c (monitor_child): Return exit status of child
2644         instead of return value from wait syscall.
2645
2646 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2647
2648         * configure.ac (libc_commonpagesize): Remove variable.
2649         (libc_relro_required): Likewise.
2650         (libc_cv_z_relro): Remove configure test.
2651         * configure: Regenerated.
2652         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2653         variable.
2654         (libc_relro_required): Likewise.
2655         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2656         (libc_relro_required): Likewise.
2657         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2658         (libc_relro_required): Likewise.
2659         * sysdeps/arm/preconfigure: Regenerated.
2660         * sysdeps/ia64/preconfigure: Remove file.
2661         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2662         variable.
2663         (libc_relro_required): Likewise.
2664
2665         [BZ #16561]
2666         [BZ #16562]
2667         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2668         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2669         recompute overflowing results in original rounding mode.
2670         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2671         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2672         recompute overflowing results in original rounding mode.
2673         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2674         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2675         recompute overflowing results in original rounding mode.
2676         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2677         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2678         recompute overflowing results in original rounding mode.
2679         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2680         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2681         recompute overflowing results in original rounding mode.
2682         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2683         (libc_feholdsetround_ctx): New macro.
2684         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2685         * sysdeps/i386/fpu/libm-test-ulps: Update.
2686         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2687
2688 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2689
2690         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2691         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2692         corresponding .cpsetup call.
2693
2694 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2695
2696         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2697         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2698         * sysdeps/arm/Makefile [$(subdir) = csu]
2699         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2700         (static-only-routines): Add aeabi_read_tp here.
2701         (shared-only-routines): Add libc-aeabi_read_tp here.
2702         (CFLAGS-libc-start.c): Add -fexceptions here.
2703         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2704         (sysdep_routines, static-only-routines, shared-only-routines):
2705         Don't add to these here.
2706         (CFLAGS-libc-start.c): Likewise.
2707
2708         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2709         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2710         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2711         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2712         * sysdeps/arm/Makefile [$(subdir) = rt]
2713         (librt-sysdep_routines, librt-shared-only-routines):
2714         Append rt-aeabi_unwind_cpp_pr1 here.
2715         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2716         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2717         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2718         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2719         Append nptl-aeabi_unwind_cpp_pr1 here.
2720         (tests): Filter out tst-cleanupx4 here.
2721         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2722         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2723         Don't do those here.
2724
2725 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2726
2727         * scripts/list-sources.sh: Do not handle ports specially.
2728
2729 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2730
2731         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2732         * sysdeps/arm/feupdateenv.c: Likewise.
2733
2734         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2735
2736 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2737
2738         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2739         trailing whitespace removed.
2740         * scripts/config.guess: Update to version 2014-03-23.
2741         * scripts/config.sub: Update to version 2014-05-01
2742         * scripts/install-sh: Update to version 2013-12-25.23.
2743         * scripts/move-if-change: Update from gnulib.
2744
2745 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2746
2747         * debug/memmove_chk.c: Remove pagecopy.h include.
2748
2749 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2750
2751         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2752         identical to gnulib mktime.
2753
2754 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2755
2756         * configure.ac: Do not test for machine being rs6000.  Do not test
2757         for powerpc*-*soft.
2758         * configure: Regenerated.
2759
2760         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2761         test.
2762         * configure: Regenerated.
2763         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2764         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2765         Remove configure test.
2766         * sysdeps/arm/configure: Regenerated.
2767         * sysdeps/nptl/configure.ac: Do not check
2768         libc_cv_asm_cfi_directives.
2769         * sysdeps/nptl/configure: Regenerated.
2770         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2771         * sysdeps/x86_64/nptl/configure: Remove generated file.
2772         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2773         unconditional.
2774         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2775
2776 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2777
2778         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2779         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2780         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2781         it is defined.
2782
2783         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2784         instead of whether it is defined.
2785         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2786         * sysdeps/hppa/dl-machine.h: Likewise.
2787         * sysdeps/ia64/dl-machine.h: Likewise.
2788         * sysdeps/m68k/dl-machine.h: Likewise.
2789         * sysdeps/microblaze/dl-machine.h: Likewise.
2790         * sysdeps/mips/dl-machine.: Likewise.
2791         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2792         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2793         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2794         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2795         * sysdeps/sh/dl-machine.h: Likewise.
2796         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2797         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2798         * sysdeps/tile/dl-machine.h: Likewise.
2799         * sysdeps/x86_64/dl-machine.h: Likewise.
2800
2801         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2802         code.
2803         (verify_persistent_db): Likewise.
2804
2805 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2806
2807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2808         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2810         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2812         Moved ...
2813         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2814         ... here.
2815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2816         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2818         Identical file removed.
2819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2820         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2822         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2824         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2826         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2828         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2830         Moved ...
2831         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2833         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2835         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2837         Moved ...
2838         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2840         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2842         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2844         Identical file removed.
2845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2846         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2848         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2850         Moved ...
2851         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2852         ... here.
2853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2854         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2856         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2858         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2860         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2862         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2864         Moved ...
2865         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2867         Moved ...
2868         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2870         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2872         Moved ...
2873         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2875         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2876
2877         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2878         folded into ...
2879         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2880         * sysdeps/unix/sysv/linux/s390/Versions
2881         (libpthread: GLIBC_2.19): New version set.
2882         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2883         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2884         (librt: GLIBC_2.3.3): New version set.
2885         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2886         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2887         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2888         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2889         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2890         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2891         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2892         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2893         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2894         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2895         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2896         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2897         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2898         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2899         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2900         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2901         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2902         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2903         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2904         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2905         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2906         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2907         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2908         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2909         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2910         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2911         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2912         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2913         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2914         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2915         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2916         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2920         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2921         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2923         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2925         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2926         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2927         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2928         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2929         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2930
2931         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2932         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2933         (__libc_vfork): Define the function under this name.
2934         [!NOT_IN_libc] (__vfork): Make this an alias.
2935         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2936         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2937         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2938         (__libc_vfork): Define the function under this name.
2939         [!NOT_IN_libc] (__vfork): Make this an alias.
2940         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2941         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2942         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2943         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2944         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2945         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2946
2947         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2948         code that was previously under [RESET_PID].
2949         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2950         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2951         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2952
2953         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2954         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2955         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2956         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2957         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2958         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2959         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2960         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2961         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2962         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2963         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2964         Moved ...
2965         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2966         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2967         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2968         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2969         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2970         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2971         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2972         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2973         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2974         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2975         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2976         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2977         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2978         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2979         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2980         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2981         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2982         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2983         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2984         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2985         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2986         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2987         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2988         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2989         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2990         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2991         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2992         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2993         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2994
2995 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2996
2997         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2998         that was previously under [RESET_PID].
2999         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3000
3001 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3002
3003         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3004         not undefine and redefine.
3005         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3006         [O_CLOEXEC]: Make code unconditional.
3007         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3008         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3009         <kernel-features.h>.
3010         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3011         conditional variable definition.
3012         (shm_open) [O_CLOEXEC]: Make code unconditional.
3013         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3014         code.
3015
3016         * configure.ac (USE_REGPARMS): Don't define here.
3017         * configure: Regenerated.
3018         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3019         * sysdeps/i386/configure: Regenerated.
3020
3021         * nptl/createthread.c: Don't include kernel-features.h.
3022         * nptl/pthread_cancel.c: Likewise.
3023         * nptl/pthread_condattr_setclock.c: Likewise.
3024         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3025         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3026         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3027         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3028         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3029         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3030         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3031         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3032         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3033         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3034         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3035         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3036         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3037         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3038         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3039         * nscd/gai.c: Likewise.
3040         * nss/nss_db/db-open.c: Likewise.
3041         * sysdeps/generic/ldsodefs.h: Likewise.
3042         * sysdeps/sh/nptl/tls.h: Likewise.
3043         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3044         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3045         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3046         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3047         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3048         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3049         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3050         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3051         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3052         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3053         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3054         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3055         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3056         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3057         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3058         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3059         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3060         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3061         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3062         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3065         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3066         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3069         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3070         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3071         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3072         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3073         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3074         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3075         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3076         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3077         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3078         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3079         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3080         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3081         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3082         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3083         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3084         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3085         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3086         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3087         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3088         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3089         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3090         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3091         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3092         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3093         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3094         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3095         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3096         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3097         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3098         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3099         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3100         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3123         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3124         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3125         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3126         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3127         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3128         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3129         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3130         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3131         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3132         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3133         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3134         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3135         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3136         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3137         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3138         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3139         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3140         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3141         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3142         * sysdeps/unix/sysv/linux/system.c: Likewise.
3143         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3144         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3145         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3146         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3147         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3148         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3149         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3150
3151         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3152         * configure: Regenerated.
3153         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3154
3155         * configure.ac (base_machine): Do not set specially for particular
3156         machines here.
3157         * configure: Regenerated.
3158         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3159         settings from configure.ac.
3160         * sysdeps/i386/preconfigure: New file.
3161         * sysdeps/s390/preconfigure: Likewise.
3162         * sysdeps/sh/preconfigure: Likewise.
3163         * sysdeps/sparc/preconfigure: Likewise.
3164
3165 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3166
3167         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3168         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3169         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3170         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3171         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3172         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3173         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3174         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3175         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3176         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3177         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3178         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3179         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3180         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3181         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3182         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3183         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3184         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3185         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3186
3187         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3188         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3189         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3190         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3191         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3192         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3193         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3194         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3195         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3196         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3197         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3198         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3199         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3200         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3201         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3202         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3203         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3204         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3205         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3206         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3208         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3209         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3210         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3211         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3212         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3214         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3215         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3216         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3217         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3218         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3219         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3220         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3221         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3222         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3223         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3224         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3225
3226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3227         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3229         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3231         Moved ...
3232         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3233         ... here.
3234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3235         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3237         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3239         Moved ...
3240         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3242         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3244         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3246         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3248         Moved ...
3249         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3251         Moved ...
3252         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3254         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3256         Moved ...
3257         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3259         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3261         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3263         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3265         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3267         Moved ...
3268         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3269         ... here.
3270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3271         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3273         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3275         Moved ...
3276         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3278         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3280         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3282         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3284         Moved ...
3285         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3287         Moved ...
3288         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3290         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3292         Moved ...
3293         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3295         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3297         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3298
3299 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3300
3301         * timezone/checktab.awk: Update from tzcode 2014e.
3302         * timezone/private.h: Likewise.
3303         * timezone/tzfile.h: Likewise.
3304         * timezone/zdump.c: Likewise.
3305         * timezone/zic.c: Likewise.
3306
3307         * sysdeps/unix/sysv/linux/kernel-features.h
3308         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3309         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3310         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3311         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3312         Remove conditional code.
3313
3314 2014-06-25  Will Newton  <will.newton@linaro.org>
3315
3316         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3317         (_dl_arm_cap_flags): Add HWCAP2 values.
3318         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3319         (_DL_HWCAP_COUNT): Increase to 37.
3320         (_DL_HWCAP_LAST): New define.
3321         (_DL_HWCAP2_LAST): New define.
3322         (_dl_procinfo): Add support for printing
3323         AT_HWCAP2 entries.
3324         (_dl_string_hwcap): Use _dl_hwcap_string.
3325
3326 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3327
3328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3329
3330 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3331
3332         * README: Do not mention ports directory.
3333
3334         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3335         Remove macro.
3336         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3337         <kernel-features.h>.
3338         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3339         conditional variable definition.
3340         (__futimes): Update comment.
3341         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3342         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3343
3344         [BZ #16560]
3345         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3346         arguments close to 0.
3347         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3348         Likewise.
3349         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3350         Likewise.
3351         * math/auto-libm-test-in: Add more tests of exp10.
3352         * math/auto-libm-test-out: Regenerated.
3353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3354
3355         * sysdeps/unix/sysv/linux/kernel-features.h
3356         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3357         * sysdeps/unix/sysv/linux/readv.c: Do not include
3358         <kernel-features.h>.
3359         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3360         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3361         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3362         unconditional.
3363         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3364         conditional code.
3365         * sysdeps/unix/sysv/linux/writev.c: Do not include
3366         <kernel-features.h>.
3367         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3368         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3369         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3370         unconditional.
3371         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3372         conditional code.
3373
3374 2014-06-25  Will Newton  <will.newton@linaro.org>
3375
3376         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3377         comment changes throughout the file.  Remove checks
3378         for HAVE_*_H definitions that are not required.
3379         (__gen_tempname): Call abort if an unknown kind value is
3380         passed.
3381
3382 2014-06-25  Andreas Schwab  <schwab@suse.de>
3383
3384         [BZ #17086]
3385         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3386         scalbln, scalblnf, scalblnl in libc.
3387
3388 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3389
3390         [BZ #17086]
3391         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3392         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3393         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3394
3395 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3396
3397         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3398         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3399         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3400         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3401         Update #include.
3402         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3403         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3404         Update #include.
3405         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3406         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3407         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3408         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3409         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3410         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3411         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3412         * sysdeps/x86/bits/semaphore.h: ... here.
3413         * sysdeps/x86/nptl/elide.h: Moved ...
3414         * sysdeps/x86/elide.h: ... here.
3415         * sysdeps/x86_64/nptl/Implies: File removed.
3416         * sysdeps/i386/nptl/Implies: File removed.
3417
3418 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3419
3420         [BZ #16539]
3421         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3422         return the argument for normal arguments with exponent below -64.
3423         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3424         Likewise.
3425         * math/auto-libm-test-in: Add another test of expm1.
3426         * math/auto-libm-test-out: Regenerated.
3427
3428         [BZ #16287]
3429         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3430         calling __erfcl for arguments at least 16.
3431         * math/auto-libm-test-in: Add more tests of erf.
3432         * math/auto-libm-test-out: Regenerated.
3433
3434         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3435         individual architectures.
3436         * sysdeps/unix/sysv/linux/configure: Regenerated.
3437         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3438         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3439         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3440         (ldd_rewrite_script): Define variable.
3441         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3443         file.
3444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3445         generated file.
3446         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3447         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3448         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3449         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3450         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3451         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3452         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3453         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3454
3455 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3456
3457         [BZ #17084]
3458         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3459         Rename member __data.d to __data.__elision_data.
3460
3461 2014-06-24  Wilco  <wdijkstr@arm.com>
3462
3463         * NEWS: Add 16918 to fixed bug list.
3464
3465 2014-06-24  Wilco  <wdijkstr@arm.com>
3466
3467         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3468
3469 2014-06-24  Wilco  <wdijkstr@arm.com>
3470
3471         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3472         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3473         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3474         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3475         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3476         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3477         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3478         Use _FPU_MASK_RM.
3479
3480 2014-06-24  Wilco  <wdijkstr@arm.com>
3481
3482         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3483
3484 2014-06-24  Wilco  <wdijkstr@arm.com>
3485
3486         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3487         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3488         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3489         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3490
3491 2014-06-24  Wilco  <wdijkstr@arm.com>
3492
3493         [BZ #16918]
3494         * sysdeps/arm/feupdateenv.c (feupdateenv):
3495         Rewrite to reduce FPSCR accesses and fix return value.
3496
3497 2014-06-24  Wilco  <wdijkstr@arm.com>
3498
3499         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3500         Optimize to avoid unnecessary FPSCR writes.
3501         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3502         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3503         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3504         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3505
3506 2014-06-24  Wilco  <wdijkstr@arm.com>
3507
3508         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3509         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3510         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3511         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3512         Call libc_fetestexcept_vfp.
3513         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3514         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3515         __SOFTFP__ ifdef so that they can be built for softfp.
3516
3517 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3518
3519         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3520         argument type signed char.
3521
3522         * Makerules (check-abi): Dump diff of symlist if the test
3523         fails.
3524
3525 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3526
3527         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3528         using abort.
3529
3530         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3531         Remove unused variable ST.
3532
3533 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3534
3535         [BZ #16354]
3536         [BZ #17061]
3537         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3538         small arguments before calling __expm1.
3539         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3540         small arguments before calling __expm1f.
3541         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3542         small arguments before calling __expm1l.
3543         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3544         Likewise.
3545         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3546         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3547         spurious underflow for some cosh tests.
3548         * math/auto-libm-test-out: Regenerated.
3549         * sysdeps/i386/fpu/libm-test-ulps: Update.
3550
3551         [BZ #17050]
3552         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3553         (__ieee754_y1): Set errno if return value overflows.
3554         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3555         (__ieee754_y1f): Set errno if return value overflows.
3556         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3557         (__ieee754_y1l): Set errno if return value overflows.
3558         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3559         (__ieee754_y1l): Set errno if return value overflows.
3560         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3561         * math/auto-libm-test-out: Regenerated.
3562
3563         * math/gen-auto-libm-tests.c: Document use of
3564         ignore-zero-inf-sign.
3565         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3566         (input_flags): Add ignore-zero-inf-sign.
3567         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3568         * math/gen-libm-test.pl (generate_testfile): Handle
3569         ignore-zero-inf-sign.
3570         * math/auto-libm-test-in: Mark some cpow tests with
3571         ignore-zero-inf-sign and some with xfail-rounding.
3572         * math/auto-libm-test-out: Regenerated.
3573         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3574         * sysdeps/i386/fpu/libm-test-ulps: Update.
3575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3576
3577         [BZ #16315]
3578         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3579         overflowing or underflowing operations take place with sign of
3580         result.
3581         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3582         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3583         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3584         (__ieee754_pow): Recompute overflowing and underflowing results in
3585         original rounding mode.
3586         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3587         (__powl_helper): Allow negative argument X and scale negated value
3588         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3589         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3590         overflowing or underflowing operations take place with sign of
3591         result.
3592         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3593         Include <math.h>.
3594         * math/auto-libm-test-in: Add more tests of pow.
3595         * math/auto-libm-test-out: Regenerated.
3596         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3597         (pow_tonearest_test_data): Remove.
3598         (pow_test_tonearest): Likewise.
3599         (pow_towardzero_test_data): Likewise.
3600         (pow_test_towardzero): Likewise.
3601         (pow_downward_test_data): Likewise.
3602         (pow_test_downward): Likewise.
3603         (pow_upward_test_data): Likewise.
3604         (pow_test_upward): Likewise.
3605         (main): Don't call removed functions.
3606         * sysdeps/i386/fpu/libm-test-ulps: Update.
3607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3608
3609 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3610
3611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3612         Moved ...
3613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3615         Moved ...
3616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3618         Moved ...
3619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3621         Moved ...
3622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3624         File removed.
3625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3626         File removed.
3627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3628         File removed.
3629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3630         File removed.
3631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3632         File removed.
3633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3634         File removed.
3635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3636         File removed.
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3638         File removed.
3639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3640         File removed.
3641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3642         File removed.
3643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3644         File removed.
3645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3646         File removed.
3647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3648         Moved ...
3649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3651         Moved ...
3652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3653         ... here.
3654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3655         Moved ...
3656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3658         Moved ...
3659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3661         Moved ...
3662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3664         Moved ...
3665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3667         Moved ...
3668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3670         Moved ...
3671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3673         Moved ...
3674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3677         ... here.
3678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3679         Moved ...
3680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3682         Moved ...
3683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3684         ... here.
3685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3686         Moved ...
3687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3688         ... here.
3689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3690         Moved ...
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3692         ... here.
3693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3694         Moved ...
3695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3697         Moved ...
3698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3702         Moved ...
3703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3704         ... here.
3705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3706         Moved ...
3707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3708         ... here.
3709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3710         Moved ...
3711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3713         Moved ...
3714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3716         Moved ...
3717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3719         Moved ...
3720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3722         Moved ...
3723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3724         ... here.
3725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3726         Moved ...
3727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3729         Moved ...
3730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3732         Moved ...
3733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3735         Moved ...
3736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3740         Moved ...
3741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3743         Moved ...
3744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3746         Moved ...
3747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3748         ... here.
3749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3750         Moved ...
3751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3752         ... here.
3753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3754         Moved ...
3755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3756         ... here.
3757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3758         Moved ...
3759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3761         Moved ...
3762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3764         Moved ...
3765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3767         Moved ...
3768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3769         ... here.
3770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3771         Moved ...
3772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3773         ... here.
3774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3775         Moved ...
3776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3777         ... here.
3778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3779         Moved ...
3780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3782         Moved ...
3783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3784
3785 2014-06-23  Will Newton  <will.newton@linaro.org>
3786             Wilco  <wdijkstr@arm.com>
3787
3788         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3789         implementation.  Include get-rounding-mode.h.
3790         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3791         [!libc_feholdsetround_noex_ctx]: Define
3792         libc_feholdsetround_noex_ctx.
3793         [!libc_feholdsetround_noexf_ctx]: Define
3794         libc_feholdsetround_noexf_ctx.
3795         [!libc_feholdsetround_noexl_ctx]: Define
3796         libc_feholdsetround_noexl_ctx.
3797         (libc_feholdsetround_ctx): New function.
3798         (libc_feresetround_ctx): New function.
3799         (libc_feholdsetround_noex_ctx): New function.
3800         (libc_feresetround_noex_ctx): New function.
3801
3802 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3803
3804         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3805         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3806         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3807         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3808         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3809         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3810
3811         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3812         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3813         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3814         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3815         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3816         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3817         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3818         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3819         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3820         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3821         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3822         Moved ...
3823         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3824         ... here.
3825         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3826         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3827         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3828         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3829         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3830         Moved ...
3831         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3832         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3833         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3834         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3835         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3836         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3837         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3838         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3839         Moved ...
3840         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3841         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3842         Moved ...
3843         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3844         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3845         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3846         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3847         Moved ...
3848         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3849         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3850         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3851         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3852         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3853         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3854         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3855         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3856         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3857         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3858         Moved ...
3859         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3860         ... here.
3861         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3862         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3863         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3864         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3865         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3866         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3867         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3868         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3869         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3870         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3871         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3872         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3873         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3874         Moved ...
3875         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3876         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3877         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3878         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3879         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3880         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3881         Moved ...
3882         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3883         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3884         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3885         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3886         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3887
3888         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3889         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3890         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3891         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3892         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3893         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3894         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3895         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3896         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3897         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3898         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3899         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3900         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3901         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3902         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3903         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3904         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3905         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3906         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3907         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3908         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3909         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3910         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3911         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3912         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3913         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3914         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3915         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3916
3917 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3918
3919         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3920         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3921         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3922         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3923         (IPV6_PMTUDISC_INTERFACE): Likewise.
3924         (IPV6_PMTUDISC_OMIT): Likewise.
3925
3926 2014-06-23  Andreas Schwab  <schwab@suse.de>
3927
3928         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3929         Remove unused errout label.
3930
3931 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3932
3933         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3934         macro: hardware supports Vector Crypto instructions.
3935
3936 2014-06-23  Will Newton  <will.newton@linaro.org>
3937
3938         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3939         rather than __builtin_expect.
3940
3941         * elf/dl-lookup.c (undefined_msg): Remove variable.
3942         (_dl_lookup_symbol_x): Replace undefined_msg with string
3943         literal.
3944
3945         * elf/dl-lookup.c (do_lookup_unique): New function.
3946         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3947         to a separate function.
3948
3949 2014-06-23  Andreas Schwab  <schwab@suse.de>
3950
3951         [BZ #17079]
3952         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3953         before reading the next line.
3954
3955 2014-06-23  Will Newton  <will.newton@linaro.org>
3956
3957         * test-skeleton.c (signal_handler): Use printf and %m
3958         rather than perror.  Use printf rather than fprintf to
3959         stderr.  Use puts rather than fputs to stderr.
3960         (main): Likewise.
3961
3962 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3963
3964         * nscd/nscd.c (thread_info_t): Remove typedef.
3965         (thread_info): Remove variable.
3966
3967 2014-06-21  Allan McRae  <allan@archlinux.org>
3968
3969         * NEWS: Mention CVE-2014-4043.
3970
3971 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3972
3973         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3974         * nptl/smp.h: ... here.
3975
3976         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3977
3978         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3979         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3980         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3981         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3982
3983         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3984         * nptl/stack-aliasing.h: New file.
3985         * sysdeps/i386/i686/stack-aliasing.h: New file.
3986         * sysdeps/i386/i686/nptl/Makefile: File removed.
3987         * sysdeps/x86_64/stack-aliasing.h: New file.
3988         * sysdeps/x86_64/nptl/Makefile
3989         (CFLAGS-pthread_create.c): Variable removed.
3990
3991         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3992         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3993         old file.
3994         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3995         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3996         old file.
3997
3998 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3999
4000         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4001         (__ASSUME_SIGFRAME_V2): Remove macro.
4002         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4003         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4004         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4005         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4006         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4007         Declare as function.  Remove conditional macro definitions.
4008         (__default_rt_sa_restorer): Likewise.
4009         (__default_sa_restorer_v1): Remove declaration.
4010         (__default_sa_restorer_v2): Likewise.
4011         (__default_rt_sa_restorer_v1): Likewise.
4012         (__default_rt_sa_restorer_v2): Likewise.
4013         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4014         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4015         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4016
4017 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4018
4019         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4020         (libpthread-routines): Add sysdep.
4021         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4022         * sysdeps/unix/sysv/linux/sparc/Versions
4023         (libpthread: GLIBC_2.3.3): New version set.
4024         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4025         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4026         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4027         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4028         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
4029         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4030         Moved ...
4031         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4032         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4033         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4034         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4035         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4036         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4037         * sysdeps/sparc/nptl/sem_init.c: ... here.
4038         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4039         * sysdeps/sparc/nptl/sem_post.c: ... here.
4040         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4041         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4042         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4043         * sysdeps/sparc/nptl/sem_wait.c: ... here.
4044         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4045         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4046         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4047         (libpthread-routines): Add cpu_relax.
4048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4049         File removed.
4050         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4051         (librt: GLIBC_2.3.3): New version set.
4052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4053         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4054         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4055         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4058         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4060         Moved ...
4061         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4063         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4065         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4067         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4069         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4071         Moved ...
4072         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4073         Update #include.
4074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4075         Moved ...
4076         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4077         Update #include.
4078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4079         Moved ...
4080         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4081         Update #include.
4082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4083         Moved ...
4084         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4085         Update #include.
4086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4087         Moved ...
4088         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4089         Update #include.
4090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4091         Moved ...
4092         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4093         Update #include.
4094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4095         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4097         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4099         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4101         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4103         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4105         Moved ...
4106         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4108         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4110         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4111
4112 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4113
4114         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4115         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4116         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4117         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4118         * nscd/nscd.c: Likewise.
4119         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4120         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4121         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4122         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4123
4124         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4125         <kernel-features.h>.
4126         (init_mq_netlink): Remove conditional have_sock_cloexec
4127         definitions.  Remove code conditional on have_sock_cloexec < 0.
4128         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4129         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4130         * sysdeps/unix/sysv/linux/opensock.c: Do not include
4131         <kernel-features.h>.
4132         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4133         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4134
4135 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4136
4137         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4138         Add tests for memset_chk and memset.
4139
4140         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4141         with AVX2_Usable.
4142
4143 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4144
4145         [BZ #16046]
4146         * elf/tst-dl-iter-static.c: New file.
4147         * elf/Makefile (tests-static): Add tst-dl-iter-static.
4148
4149         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4150         error.
4151
4152 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4153
4154         * sysdeps/unix/sysv/linux/kernel-features.h
4155         (__ASSUME_F_GETOWN_EX): Remove macro.
4156         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4157         <kernel-features.h>.
4158         (miss_F_GETOWN_EX): Remove variable or macro.
4159         (do_fcntl): Do not check miss_F_GETOWN_EX.
4160         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4161
4162         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4163         Remove macro.
4164         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4165         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4166         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4167
4168         * sysdeps/unix/sysv/linux/kernel-features.h
4169         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4170         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4171         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4172         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4173
4174 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4175
4176         [BZ #17075]
4177         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4178         Fix calculation of the symbol's value.
4179         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4180         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4181         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4182         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4183         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4184         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4185         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4186         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4187         (modules-names): Add `tst-armtlsdescmod',
4188         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4189         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4190         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4191         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4192         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4193         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4194         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4195         ($(objpfx)tst-armtlsdescloc): New dependency.
4196         ($(objpfx)tst-armtlsdescextnow): Likewise.
4197         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4198         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4199         TLS scheme support.
4200         * sysdeps/arm/configure: Regenerate.
4201
4202 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4203
4204         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4205         (__atfct_seterrno_2): Likewise.
4206         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4207         <kernel-features.h>.
4208         (__ASSUME_ATFCTS): Do not undefine and redefine.
4209         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4210         (__have_atfcts): Remove conditional definition.
4211         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4212         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4213         unreachable if [__ASSUME_ATFCTS].
4214         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4215         not undefine and redefine.
4216         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4217         <kernel-features.h>.
4218         (faccessat) [__NR_faccessat]: Make code unconditional.
4219         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4220         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4221         <kernel-features.h>.
4222         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4223         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4224         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4225         <kernel-features.h>.
4226         (fchownat) [__NR_fchownat]: Make code unconditional.
4227         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4228         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4229         <kernel-features.h>.
4230         (futimesat) [__NR_futimesat]: Make code unconditional.
4231         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4232         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4233         <kernel-features.h>.
4234         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4235         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4236         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4237         <kernel-features.h>.
4238         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4239         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4240         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4241         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4242         <kernel-features.h>.
4243         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4244         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4245         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4246         <kernel-features.h>.
4247         (linkat) [__NR_linkat]: Make code unconditional.
4248         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4249         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4250         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4251         <kernel-features.h>.
4252         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4253         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4254         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4255         <kernel-features.h>.
4256         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4257         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4258         * sysdeps/unix/sysv/linux/openat.c: Do not include
4259         <kernel-features.h>.
4260         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4261         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4262         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4263         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4264         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4265         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4266         <kernel-features.h>.
4267         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4268         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4269         result of INLINE_SYSCALL directly, not via int variable.
4270         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4271         <kernel-features.h>.
4272         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4273         (renameat) [__NR_renameat]: Make code unconditional.
4274         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4275         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4276         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4277         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4278         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4279         (__ASSUME_ATFCTS): Do not undefine and redefine.
4280         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4281         <kernel-features.h>.
4282         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4283         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4284         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4285         <kernel-features.h>.
4286         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4287         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4288         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4289         (__ASSUME_ATFCTS): Do not undefine and redefine.
4290         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4291         <kernel-features.h>.
4292         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4293         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4294         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4295         <kernel-features.h>.
4296         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4297         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4298
4299 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4300
4301         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4302
4303 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4304
4305         [BZ #17069]
4306         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4307         constructed tree before returning error.
4308         * posix/bug-regexp36.c: Expand test case.
4309
4310 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4311
4312         [BZ #6803]
4313         * math/libm-test.inc (scalbln_test_date):
4314         Add errno expectations.
4315         * math/w_scalblnf.c: New File.
4316         Add wrapper which checks for setting errno to ERANGE.
4317         Add weak_alias for corresponding scalbln function.
4318         * math/w_scalbln.c: Likewise.
4319         * math/w_scalblnl.c: Likewise.
4320         * math/Makefile (libm-calls): Add w_scalbln.
4321         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4322         Remove weak_alias for corresponding scalbln function.
4323         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4324         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4325         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4326         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4327         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4328         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4329         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4330         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4331         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4332         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4333         Remove long_double_symbol for scalblnl function in libm, libc.
4334         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4335         Add wrapper which checks for setting errno to ERANGE.
4336         Add long_double_symbol for scalblnl function in libm, libc.
4337         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4338         Remove long_double_symbol for scalblnl in libm.
4339         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4340         Add wrapper which checks for setting errno to ERANGE.
4341         Add long_double_symbol for scalblnl function in libm.
4342         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4343         Do not use wrapper because of own implementation.
4344
4345 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4346
4347         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4348         3 bytes for __pad1 for x32.
4349         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4350
4351 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4352             H.J. Lu  <hongjiu.lu@intel.com>
4353
4354         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4355         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4356         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4357         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4358         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4359
4360 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4361
4362         [BZ #17069]
4363         * posix/regcomp.c (parse_expression): Deallocate partially
4364         constructed tree before returning error.
4365         * posix/Makefile.c (tests): Add bug-regex36.
4366         (generated): Add bug-regex36.mtrace.
4367         (tests-special): Add $(objpfx)bug-regex36-mem.out
4368         (bug-regex36-ENV): New variable.
4369         ($(objpfx)bug-regex36-mem.out): New rule.
4370         * posix/bug-regex36.c: New file.
4371
4372 2014-06-19  Will Newton  <will.newton@linaro.org>
4373
4374         * malloc/malloc.c (systrim): If extra is zero then return
4375         early.
4376
4377 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4378
4379         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4380
4381 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4382
4383         * sysdeps/aarch64/strchr.S: New file.
4384
4385 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4386
4387         [BZ #17022]
4388         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4389         from arguments -2 or below.
4390         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4391         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4392
4393 2014-06-18  Andreas Schwab  <schwab@suse.de>
4394
4395         [BZ #17062]
4396         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4397         of a bracket expr not to run off the end of the string.
4398         * posix/Makefile (tests): Add tst-fnmatch3.
4399         * posix/tst-fnmatch3.c: New file.
4400
4401 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4402
4403         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4404         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4405         [$(cross-compiling) = no]: Likewise.
4406         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4407         [$(cross-compiling) = no]: Likewise.
4408
4409 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4410
4411         [BZ #17031]
4412         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4413         double, adjusted for any remainder from the high double.
4414         * math/libm-test.inc (nearbyint): Add tests.
4415         (rint): Likewise.
4416
4417 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4418
4419         * nptl/sysdeps/powerpc/Makefile: Moved ...
4420         * sysdeps/powerpc/nptl/Makefile: ... here.
4421         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4422         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4423         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4424         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4425         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4426         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4427         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4428         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4429         * nptl/sysdeps/powerpc/tls.h: Moved ...
4430         * sysdeps/powerpc/nptl/tls.h: ... here.
4431
4432 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4433
4434         [BZ #16681]
4435         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4436         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4437         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4438         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4439         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4440         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4441         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4442         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4443         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4444
4445 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4446
4447         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4448
4449 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4450
4451         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4452         defined operator.
4453
4454         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4455         $TIMEOUTFACTOR.
4456
4457 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4458
4459         [BZ #17058]
4460         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4461         non-executed part of the test.
4462
4463 2014-06-16  Andreas Schwab  <schwab@suse.de>
4464
4465         * string/bits/string2.h (strdup, strndup): Update feature guard.
4466
4467 2014-06-14  David S. Miller  <davem@davemloft.net>
4468
4469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4470
4471 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4472
4473         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4474         that was previously under [RESET_PID].
4475         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4476
4477         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4478         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4479         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4480         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4481         (__libc_vfork): New strong alias.
4482         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4483
4484 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4485
4486         * sysdeps/generic/elide.h: New file.
4487
4488 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4489
4490         * Makefile (installed-headers): Adjust path of pthread.h header.
4491
4492 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4493
4494         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4495         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4496         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4497         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4498
4499         * nptl/sysdeps/s390/Makefile: Moved ...
4500         * sysdeps/s390/nptl/Makefile: ... here.
4501         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4502         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4503         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4504         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4505         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4506         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4507         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4508         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4509         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4510         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4511         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4512         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4513         * nptl/sysdeps/s390/tls.h: Moved ...
4514         * sysdeps/s390/nptl/tls.h: ... here.
4515
4516         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4517         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4518
4519 2014-06-13  David S. Miller  <davem@davemloft.net>
4520
4521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4524         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4528         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4529         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4530         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4531         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4532         Remove RESET_PID cpp guards.
4533         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4534         Remove RESET_PID cpp guards.
4535         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4536
4537 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4538
4539         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4540         __sp to uintptr_t.
4541
4542 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4543
4544         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4545         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4546         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4547         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4548         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4549         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4550         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4551         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4552         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4553         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4555         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4556         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4557         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4558         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4559         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4560         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4561         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4562         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4563         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4564
4565         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4566         (pthread_rwlock_rdlock): Add elision.
4567         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4568         (pthread_rwlock_wrlock): Add elision.
4569         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4570         (pthread_rwlock_trywrlock): Add elision.
4571         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4572         (pthread_rwlock_tryrdlock): Add elision.
4573         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4574         (pthread_rwlock_tryrdlock): Add elision unlock.
4575         * nptl/sysdeps/pthread/pthread.h:
4576         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4577         (PTHREAD_RWLOCK_INITIALIZER,
4578         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4579         Handle new elision field.
4580         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4581         * sysdeps/arm/nptl/bits/pthreadtypes.h
4582         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4583         * sysdeps/sh/nptl/bits/pthreadtypes.h
4584         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4585         * sysdeps/tile/nptl/bits/pthreadtypes.h
4586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4587         * sysdeps/a/nptl/bits/pthreadtypes.h
4588         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4589         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4591         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4592         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4593         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4595         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4597         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4598         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4599         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4600         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4601         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4602         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4603         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4604         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4605         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4606         (elision_init): Set try_xbegin to zero when no RTM.
4607         * sysdeps/x86/nptl/bits/pthreadtypes.h
4608         (pthread_rwlock_t): Change __pad1 to __rwelision.
4609         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4610
4611 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4612
4613         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4614         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4615         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4616         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4617
4618 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4619
4620         [BZ #16996]
4621         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4622         that the cached result has been set before returning it.
4623
4624 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4625
4626         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4627         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4628         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4629         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4630         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4631         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4632
4633         * nptl/sysdeps/sparc/Makefile: Moved ...
4634         * sysdeps/sparc/nptl/Makefile: ... here.
4635         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4636         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4637         * nptl/sysdeps/sparc/tls.h: Moved ...
4638         * sysdeps/sparc/nptl/tls.h: ... here.
4639         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4640         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4641         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4642         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4643         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4644         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4645         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4646         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4647         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4648         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4649         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4650         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4651         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4652         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4653         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4654         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4655         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4656         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4657         Update #include.
4658         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4659         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4660         Update #include.
4661         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4662         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4663         Update #include.
4664         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4665         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4666         Update #include.
4667
4668         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4669
4670         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4671         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4672
4673         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4674         (struct list_links): Type removed.
4675         (struct thread_node, struct timer_node): Replace struct list_links
4676         with struct list_head.
4677         (list_unlink_ip): Likewise.
4678         * sysdeps/pthread/timer_routines.c
4679         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4680         (list_append, list_insbefore): Likewise.
4681         (list_init): Function removed.
4682         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4683         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4684         * sysdeps/pthread/Makefile: ... here, new file.
4685
4686         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4687         * sysdeps/nptl/Implies: ... here.
4688         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4689         * nptl/sysdeps/pthread/list.h: Moved ...
4690         * include/list.h: ... here.
4691         * nptl/sysdeps/pthread/createthread.c: Moved ...
4692         * nptl/createthread.c: ... here.
4693         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4694         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4695         * nptl/pt-longjmp.c: ... here.
4696         * nptl/sysdeps/pthread/Makefile: Moved ...
4697         * sysdeps/nptl/Makefile: ... here.
4698         * nptl/sysdeps/pthread/Subdirs: Moved ...
4699         * sysdeps/nptl/Subdirs: ... here.
4700         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4701         * sysdeps/nptl/aio_misc.h: ... here.
4702         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4703         * sysdeps/nptl/bits/libc-lock.h: ... here.
4704         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4705         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4706         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4707         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4708         * nptl/sysdeps/pthread/configure: Moved ...
4709         * sysdeps/nptl/configure: ... here.
4710         * nptl/sysdeps/pthread/configure.ac: Moved ...
4711         * sysdeps/nptl/configure.ac: ... here.
4712         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4713         * sysdeps/nptl/gai_misc.h: ... here.
4714         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4715         * sysdeps/nptl/librt-cancellation.c: ... here.
4716         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4717         * sysdeps/nptl/malloc-machine.h: ... here.
4718         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4719         * sysdeps/nptl/pthread-functions.h: ... here.
4720         * nptl/sysdeps/pthread/pthread.h: Moved ...
4721         * sysdeps/nptl/pthread.h: ... here.
4722         * nptl/sysdeps/pthread/setxid.h: Moved ...
4723         * sysdeps/nptl/setxid.h: ... here.
4724         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4725         * sysdeps/nptl/sigfillset.c: ... here.
4726         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4727         * sysdeps/nptl/tcb-offsets.h: ... here.
4728         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4729         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4730         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4731         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4732         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4733         * sysdeps/pthread/allocalim.h: ... here.
4734         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4735         * sysdeps/pthread/bits/sigthread.h: ... here.
4736         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4737         * sysdeps/pthread/flockfile.c: ... here.
4738         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4739         * sysdeps/pthread/ftrylockfile.c: ... here.
4740         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4741         * sysdeps/pthread/funlockfile.c: ... here.
4742         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4743         * sysdeps/pthread/posix-timer.h: ... here.
4744         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4745         * sysdeps/pthread/timer_create.c: ... here.
4746         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4747         * sysdeps/pthread/timer_delete.c: ... here.
4748         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4749         * sysdeps/pthread/timer_getoverr.c: ... here.
4750         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4751         * sysdeps/pthread/timer_gettime.c: ... here.
4752         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4753         * sysdeps/pthread/timer_routines.c: ... here.
4754         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4755         * sysdeps/pthread/timer_settime.c: ... here.
4756         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4757         * sysdeps/pthread/tst-timer.c: ... here.
4758         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4759         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4760
4761         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4762         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4763
4764         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4765         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4766         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4767         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4768         Update #include target.
4769         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4770         * sysdeps/i386/i686/nptl/Makefile: ... here.
4771         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4772         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4773         Update #include target.
4774         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4775         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4776         * nptl/sysdeps/i386/Makefile: Moved ...
4777         * sysdeps/i386/nptl/Makefile: ... here.
4778         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4779         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4780         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4781         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4782         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4783         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4784         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4785         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4786         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4787         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4788         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4789         * nptl/sysdeps/i386/tls.h: Moved ...
4790         * sysdeps/i386/nptl/tls.h: ... here.
4791
4792         * sysdeps/sh/Makefile [$(subdir) = csu]
4793         (gen-as-const-headers): Add tcb-offsets.sym.
4794         * nptl/sysdeps/sh/Makefile: File removed.
4795         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4796         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4797         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4798         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4799         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4800         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4801         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4802         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4803         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4804         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4805         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4806         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4807         * nptl/sysdeps/sh/tls.h: Moved ...
4808         * sysdeps/sh/nptl/tls.h: ... here.
4809         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4810         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4811         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4812         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4813         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4814         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4815         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4816         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4817         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4818         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4819         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4820         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4821         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4822         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4823         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4824         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4825         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4826         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4827         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4828         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4829         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4830         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4831         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4832         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4833         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4834         Moved ...
4835         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4836         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4837         Moved ...
4838         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4839         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4840         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4841         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4842         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4843         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4844         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4845         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4846         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4847         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4848         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4849         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4850         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4851         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4852         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4853         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4854         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4855         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4856         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4857
4858 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4859
4860         * posix/spawn_faction_addopen.c: Include string.h.
4861
4862 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4863
4864         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4865         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4866         * nptl/sysdeps/x86_64/Makefile: Moved ...
4867         * sysdeps/x86_64/nptl/Makefile: ... here.
4868         * nptl/sysdeps/x86_64/configure: Moved ...
4869         * sysdeps/x86_64/nptl/configure: ... here.
4870         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4871         * sysdeps/x86_64/nptl/configure.ac: ... here.
4872         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4873         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4874         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4875         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4876         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4877         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4878         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4879         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4880         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4881         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4882         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4883         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4884         * nptl/sysdeps/x86_64/tls.h: Moved ...
4885         * sysdeps/x86_64/nptl/tls.h: ... here.
4886         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4887         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4888         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4889         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4890
4891         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4892
4893 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4894
4895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4896
4897 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4898
4899         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4900         type.
4901         [POSIX] (off_t): Likewise.
4902         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4903         [POSIX] (S_ISBLK): Require macro.
4904         [POSIX] (S_ISCHR): Likewise.
4905         [POSIX] (S_ISDIR): Likewise.
4906         [POSIX] (S_ISFIFO): Likewise.
4907         [POSIX] (S_ISREG): Likewise.
4908         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4909         optional-macro.
4910         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4911         type.
4912         [POSIX] (time_t): Likewise.
4913         [POSIX] (timer_t): Likewise.
4914
4915 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4916
4917         [BZ #17048]
4918         * posix/spawn_int.h (struct __spawn_action): Make the path string
4919         non-const to support deallocation.
4920         * posix/spawn_faction_addopen.c
4921         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4922         * posix/spawn_faction_destroy.c
4923         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4924         path in all spawn_do_open actions.
4925         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4926         posix_spawn_file_actions_addopen.
4927
4928 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4929
4930         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4931         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4932         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4933         conditional code always true.
4934         (__libc_vfork): New alias.
4935
4936 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4937
4938         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4939         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4940
4941         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4942
4943         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4944         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4945
4946         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4947         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4948
4949         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4950         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4951
4952 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4953
4954         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4955         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4956         multiarch strcmp for PPC64.
4957         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4958         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4960         multiarch optimizations.
4961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4962         (__libc_ifunc_impl_list): Likewise.
4963
4964 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4965
4966         * benchtests/scripts/validate_benchout.py: New script.
4967         * benchtests/Makefile (bench-func): Call it.
4968         * benchtests/scripts/benchout.schema.json: New file.
4969
4970 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4971
4972         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4973         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4974         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4975         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4976         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4977         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4978         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4979         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4980         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4981         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4982         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4983         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4984         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4985         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4986         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4987         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4989         Moved ...
4990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4991         ... here.
4992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4993         Moved ...
4994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4996         Moved ...
4997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4998         ... here.
4999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5000         Moved ...
5001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5002         ... here.
5003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5004         Moved ...
5005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5007         Moved ...
5008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5009         ... here.
5010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5011         Moved ...
5012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5013         ... here.
5014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5015         Moved ...
5016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5018         Moved ...
5019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5020         ... here.
5021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5022         Moved ...
5023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5024         ... here.
5025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5026         Moved ...
5027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5028         ... here.
5029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5030         Moved ...
5031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5033         Moved ...
5034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5035         ... here.
5036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5037         Moved ...
5038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5039         ... here.
5040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5041         Moved ...
5042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5043         ... here.
5044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5045         Moved ...
5046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5048         Moved ...
5049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5050         ... here.
5051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5052         Moved ...
5053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5054         ... here.
5055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5056         Moved ...
5057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5059         Moved ...
5060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5061         ... here.
5062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5063         Moved ...
5064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5066         Moved ...
5067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5069         Moved ...
5070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5071         ... here.
5072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5073         Moved ...
5074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5075         ... here.
5076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5077         Moved ...
5078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5079         ... here.
5080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5081         Moved ...
5082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5084         Moved ...
5085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5086         ... here.
5087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5088         Moved ...
5089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5090         ... here.
5091         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5092         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5093         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5094         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5095         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5096         Moved ...
5097         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5098         ... here.
5099         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5100         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5101         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5102         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5103         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5104         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5106         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5107         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5108         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5109         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5110         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5111         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5112         Moved ...
5113         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5114         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5115         Moved ...
5116         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5117         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5118         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5119         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5120         Moved ...
5121         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5122         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5123         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5124         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5125         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5126         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5127         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5128
5129 2014-06-10  Wilco  <wdijkstr@arm.com>
5130
5131         * math/test-fenv-return.c: New file.
5132         * math/Makefile: Add new test test-fenv-return.
5133
5134 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
5135
5136         [BZ #17042]
5137         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5138         when x - 1 is zero.
5139         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5140         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5141         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5142         0.0L for an argument of 1.0L.
5143         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5144         Likewise.
5145         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5146         value when x - 1 is zero.
5147         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5148         * sysdeps/i386/fpu/libm-test-ulps: Update.
5149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5150
5151 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5152
5153         [BZ #15119]
5154         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5155
5156 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5157
5158         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5159         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5160
5161 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5162
5163         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5164         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5165
5166         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5167         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5168
5169         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5170         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5171
5172         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5173         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5174
5175         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5176         if not already defined.
5177         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5178         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5179         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5180         (TLS_INIT_TP): Use it.
5181         (TLS_DEFINE_INIT_TP): New macro.
5182         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5183
5184 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5185
5186         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5187         constant.
5188         [POSIX] (IXANY): Likewise.
5189         [POSIX] (OLCUC): Likewise.
5190         [POSIX || POSIX2008] (CBAUD): Do not allow.
5191         [POSIX || POSIX2008] (DEFECHO): Likewise.
5192         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5193         [POSIX || POSIX2008] (ECHOKE): Likewise.
5194         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5195         [POSIX || POSIX2008] (EXTA): Likewise.
5196         [POSIX || POSIX2008] (EXTB): Likewise.
5197         [POSIX || POSIX2008] (FLUSHO): Likewise.
5198         [POSIX || POSIX2008] (LOBLK): Likewise.
5199         [POSIX || POSIX2008] (PENDIN): Likewise.
5200         [POSIX || POSIX2008] (SWTCH): Likewise.
5201         [POSIX || POSIX2008] (VDISCARD): Likewise.
5202         [POSIX || POSIX2008] (VDSUSP): Likewise.
5203         [POSIX || POSIX2008] (VLNEXT): Likewise.
5204         [POSIX || POSIX2008] (VREPRINT): Likewise.
5205         [POSIX || POSIX2008] (VSTATUS): Likewise.
5206         [POSIX || POSIX2008] (VWERASE): Likewise.
5207         (B*): Change to B[0123456789]*.
5208         * conform/data/time.h-data [POSIX || UNIX98]
5209         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5210         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5211         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5212         [POSIX] (tm_*): Do not allow.
5213
5214 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5215
5216         * Makefile (install): Don't set LANGUAGE.
5217         * Makefile.in (install): Likewise.
5218         * assert/Makefile (test-assert-ENV): Remove variable.
5219         (test-assert-perr-ENV): Likewise.
5220         * elf/Makefile (neededtest4-ENV): Likewise.
5221         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5222         [$(cross-compiling) = no]: Don't set LANGUAGE.
5223         * io/ftwtest-sh (LANG): Remove variable.
5224         * libio/Makefile (tst-widetext-ENV): Likewise.
5225         * manual/install.texi (Running make install): Don't refer to
5226         environment settings for make install.
5227         * INSTALL: Regenerated.
5228         * nptl/tst-tls6.sh: Don't set LANG.
5229         * posix/globtest.sh (LANG): Remove variable.
5230         * string/Makefile (tester-ENV): Likewise.
5231         (inl-tester-ENV): Likewise.
5232         (noinl-tester-ENV): Likewise.
5233         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5234         [$(cross-compiling) = no]: Don't set LANGUAGE.
5235         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5236         without explicit environment settings.
5237
5238 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5239
5240         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5241         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5242         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5243         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5244
5245 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5246
5247         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5248         other files in the crypt directory.
5249         * crypt/crypt.c: Remove duplicate includes.
5250         * crypt/crypt-entry.c: Likewise.
5251         * crypt/crypt_util.c: Likewise.
5252
5253 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5254
5255         * Makeconfig (run-program-env): New variable.
5256         (run-program-prefix-before-env): Likewise.
5257         (run-program-prefix-after-env): Likewise.
5258         (run-program-prefix): Define in terms of new variables.
5259         (built-program-cmd-before-env): New variable.
5260         (built-program-cmd-after-env): Likewise.
5261         (built-program-cmd): Define in terms of new variables.
5262         (test-program-prefix-before-env): New variable.
5263         (test-program-prefix-after-env): Likewise.
5264         (test-program-prefix): Define in terms of new variables.
5265         (test-program-cmd-before-env): New variable.
5266         (test-program-cmd-after-env): Likewise.
5267         (test-program-cmd): Define in terms of new variables.
5268         * Rules (make-test-out): Use $(run-program-env).
5269         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5270         (help): Do not mention environment variables.  Mention
5271         --timeoutfactor option.
5272         (timeoutfactor): New variable.
5273         (blacklist_exports): Remove function.
5274         (exports): Remove variable.
5275         (command): Do not include ${exports}.
5276         * manual/install.texi (Configuring and compiling): Do not mention
5277         test wrappers preserving environment variables.  Mention that last
5278         assignment to a variable must take precedence.
5279         * INSTALL: Regenerated.
5280         * benchtests/Makefile (run-bench): Use $(run-program-env).
5281         * catgets/Makefile ($(objpfx)test1.cat): Use
5282         $(built-program-cmd-before-env), $(run-program-env) and
5283         $(built-program-cmd-after-env).
5284         ($(objpfx)test2.cat): Do not specify environment variables
5285         explicitly.
5286         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5287         $(run-program-env) and $(built-program-cmd-after-env).
5288         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5289         $(run-program-env) and $(test-program-cmd-after-env).
5290         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5291         explicitly.
5292         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5293         run_program_env and test_program_cmd_after_env arguments.
5294         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5295         * elf/tst-pathopt.sh: Use run_program_env argument.
5296         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5297         $(test-wrapper-env) and $(run-program-env).
5298         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5299         run_program_env arguments.
5300         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5301         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5302         $(test-program-prefix-before-env), $(run-program-env) and
5303         $(test-program-prefix-after-env).
5304         ($(objpfx)tst-gettext2.out): Likewise.
5305         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5306         run_program_env and test_program_prefix_after_env arguments.
5307         * intl/tst-gettext2.sh: Likewise.
5308         * intl/tst-gettext4.sh: Do not set environment variables
5309         explicitly.
5310         * intl/tst-gettext6.sh: Likewise.
5311         * intl/tst-translit.sh: Likewise.
5312         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5313         $(test-program-prefix-before-env), $(run-program-env) and
5314         $(test-program-prefix-after-env).
5315         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5316         run_program_env and test_program_prefix_after_env arguments.
5317         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5318         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5319         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5320         explicitly with each use of ${test_wrapper_env}.
5321         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5322         $(test-program-prefix-before-env), $(run-program-env) and
5323         $(test-program-prefix-after-env).
5324         * posix/tst-getconf.sh: Do not set environment variables
5325         explicitly.
5326         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5327         run_program_env and test_program_prefix_after_env arguments.
5328         * stdio-common/tst-printf.sh: Do not set environment variables
5329         explicitly.
5330         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5331         $(test-program-prefix-before-env), $(run-program-env) and
5332         $(test-program-prefix-after-env).
5333         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5334         run_program_env and test_program_prefix_after_env arguments.
5335         Split $test calls into $test_pre and $test.
5336         * timezone/Makefile (build-testdata): Use
5337         $(built-program-cmd-before-env), $(run-program-env) and
5338         $(built-program-cmd-after-env).
5339
5340 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5341
5342         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5343         strlen for non SHARED builds.
5344
5345 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5346
5347         * nptl/allocatestack.c (check_list): Inlined function...
5348         (__reclaim_stacks): ... here.
5349
5350 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5351
5352         [BZ #15698]
5353         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5354         memory overrun.
5355
5356 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5357
5358         * Rules (make-test-out): Include
5359         LOCPATH=$(common-objpfx)localedata in default environment.
5360         * debug/Makefile (tst-chk1-ENV): Remove variable.
5361         (tst-chk2-ENV): Likewise.
5362         (tst-chk3-ENV): Likewise.
5363         (tst-chk4-ENV): Likewise.
5364         (tst-chk5-ENV): Likewise.
5365         (tst-chk6-ENV): Likewise.
5366         (tst-lfschk1-ENV): Likewise.
5367         (tst-lfschk2-ENV): Likewise.
5368         (tst-lfschk3-ENV): Likewise.
5369         (tst-lfschk4-ENV): Likewise.
5370         (tst-lfschk5-ENV): Likewise.
5371         (tst-lfschk6-ENV): Likewise.
5372         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5373         (tst-iconv7-ENV): Likewise.
5374         * intl/Makefile (LOCPATH-ENV): Likewise.
5375         (tst-codeset-ENV): Likewise.
5376         (tst-gettext3-ENV): Likewise.
5377         (tst-gettext5-ENV): Likewise.
5378         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5379         (tst-fopenloc-ENV): Likewise.
5380         (tst-fgetws-ENV): Remove variable.
5381         (tst-ungetwc1-ENV): Likewise.
5382         (tst-ungetwc2-ENV): Likewise.
5383         (bug-ungetwc2-ENV): Likewise.
5384         (tst-swscanf-ENV): Likewise.
5385         (bug-ftell-ENV): Likewise.
5386         (tst-fgetwc-ENV): Likewise.
5387         (tst-fseek-ENV): Likewise.
5388         (tst-ftell-partial-wide-ENV): Likewise.
5389         (tst-ftell-active-handler-ENV): Likewise.
5390         (tst-ftell-append-ENV): Likewise.
5391         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5392         (tst-regexloc-ENV): Likewise.
5393         (bug-regex1-ENV): Likewise.
5394         (tst-regex-ENV): Likewise.
5395         (tst-regex2-ENV): Likewise.
5396         (bug-regex5-ENV): Likewise.
5397         (bug-regex6-ENV): Likewise.
5398         (bug-regex17-ENV): Likewise.
5399         (bug-regex18-ENV): Likewise.
5400         (bug-regex19-ENV): Likewise.
5401         (bug-regex20-ENV): Likewise.
5402         (bug-regex22-ENV): Likewise.
5403         (bug-regex23-ENV): Likewise.
5404         (bug-regex25-ENV): Likewise.
5405         (bug-regex26-ENV): Likewise.
5406         (bug-regex30-ENV): Likewise.
5407         (bug-regex32-ENV): Likewise.
5408         (bug-regex33-ENV): Likewise.
5409         (bug-regex34-ENV): Likewise.
5410         (bug-regex35-ENV): Likewise.
5411         (tst-rxspencer-ENV): Likewise.
5412         (tst-rxspencer-no-utf8-ENV): Likewise.
5413         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5414         (tst-sscanf-ENV): Likewise.
5415         (tst-swprintf-ENV): Likewise.
5416         (tst-swscanf-ENV): Likewise.
5417         (test-vfprintf-ENV): Likewise.
5418         (scanf13-ENV): Likewise.
5419         (bug14-ENV): Likewise.
5420         (tst-grouping-ENV): Likewise.
5421         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5422         (tst-strtod3-ENV): Likewise.
5423         (tst-strtod4-ENV): Likewise.
5424         (tst-strtod5-ENV): Likewise.
5425         (testmb2-ENV): Likewise./
5426         * string/Makefile (tst-strxfrm-ENV): Likewise.
5427         (tst-strxfrm2-ENV): Likewise.
5428         (bug-strcoll1-ENV): Likewise.
5429         (test-strcasecmp-ENV): Likewise.
5430         (test-strncasecmp-ENV): Likewise.
5431         * time/Makefile (tst-strptime-ENV): Likewise.
5432         (tst-ftime_l-ENV): Likewise.
5433         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5434         (tst-mbrtowc-ENV): Likewise.
5435         (tst-wcrtomb-ENV): Likewise.
5436         (tst-mbrtowc2-ENV): Likewise.
5437         (tst-c16c32-1-ENV): Likewise.
5438         (tst-mbsnrtowcs-ENV): Likewise.
5439
5440 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5441
5442         * manual/resource.texi (How to get information about the memory
5443         subsystem?): Fix typo.
5444         Reported by Peon de la Parra Ivan <peon@keba.com>
5445
5446 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5447
5448         [BZ #16882]
5449         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5450         (pthread_spin_lock): Branch out of spin loop to proper location.
5451         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5452         (pthread_spin_lock): Likewise.
5453
5454         * nptl/tst-spin4.c: New test.
5455         * nptl/Makefile (tests): Add tst-spin4.
5456
5457 2014-06-03  Andreas Schwab  <schwab@suse.de>
5458
5459         [BZ #15946]
5460         * resolv/res_send.c (send_dg): Reload file descriptor after
5461         calling reopen.
5462
5463 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5464
5465         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5466
5467 2014-06-03  Richard Henderson  <rth@redhat.com>
5468
5469         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5470         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5471         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5472         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5473         in the SAVE_PID block.
5474         (__libc_vfork): New alias.
5475         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5476
5477         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5478         child in registers, not on the stack.  Remove RESET_PID conditionals.
5479         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5480
5481 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5482
5483         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5484
5485 2014-06-03  Wilco  <wdijkstr@arm.com>
5486
5487         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5488         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5489         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5490         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5491         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5492         Likewise.
5493
5494 2014-06-03  Wilco  <wdijkstr@arm.com>
5495
5496         * sysdeps/aarch64/fpu/math_private.h
5497         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5498         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5499         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5500         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5501         Fix declarations.
5502
5503 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5504
5505         * crypt/crypt-private.h: Include ufc-crypt.h.
5506         (__b64_from_24bit): Declare extern.
5507         * crypt/crypt_util.c(__b64_from_24bit): New function.
5508         (b64t): New static const variable.
5509         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5510         (b64t): Remove variable.
5511         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5512         * crypt/sha256-crypt.c: Include crypt-private.h.
5513         (b64t): Remove variable.
5514         (__sha256_crypt_r): Remove b64_from_24bit and replace
5515         with __b64_from_24bit.
5516         * crypt/sha512-crypt.c: Likewise.
5517
5518 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5519
5520         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5521         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5522         Label the code __libc_vfork rather than __vfork.
5523         [!NOT_IN_libc] (vfork): Define as weak alias.
5524         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5525         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5526         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5527
5528 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5529
5530         * malloc/malloc.c (malloc_info): Fix format specifier for
5531         n_mmaps.
5532
5533 2014-06-02  Wilco  <wdijkstr@arm.com>
5534
5535         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5536         FPCR write.
5537
5538 2014-06-02  Wilco  <wdijkstr@arm.com>
5539
5540         [BZ #17009]
5541         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5542         Rewrite to reduce FPCR/FPSR accesses.
5543
5544 2014-06-01  David S. Miller  <davem@davemloft.net>
5545
5546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5547
5548 2014-05-31  David S. Miller  <davem@davemloft.net>
5549
5550         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5551         to occur in round to nearest mode when |x| >= 2.0
5552
5553 2014-05-30  Richard Henderson  <rth@twiddle.net>
5554
5555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5556         (PSEUDO_RET_NOERRNO): Remove.
5557         (ret): Don't redefine.
5558         (ret_NOERRNO): Define in terms of ret.
5559         (ret_ERRVAL): Likewise.
5560
5561         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5562         use of PSEUDO_RET; perform the error check directly.
5563
5564 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5565
5566         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5567         with __int128_t.
5568
5569 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5570
5571         * malloc/malloc (malloc_info): Fix formatting.
5572
5573 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5574             Roland McGrath  <roland@hack.frob.com>
5575
5576         * malloc/malloc (malloc_info): Also print mmapped statistics.
5577
5578 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5579
5580         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5581         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5582
5583 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5584
5585         * malloc/malloc.c (malloc_info): Inline mi_arena.
5586
5587 2014-05-29  Richard Henderson  <rth@twiddle.net>
5588
5589         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5590         Remove comma before expanding ASM_ARGS_##nr.
5591         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5592         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5593         of ASM_ARGS_##nr.
5594         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5595         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5596         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5597         (ASM_ARGS_1): Add leading comma.
5598
5599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5600         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5601         to __errno_location.
5602         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5603         Remove the expected plt for __errno_location.
5604
5605         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5606         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5607         call to __read_tp.
5608
5609         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5610         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5611         it and break it down.
5612         (DOCARGS_0, DOCARGS_1): Do nothing.
5613         (DOCARGS_2): Update to store into the new stack frame.
5614         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5615         (UNDOCARGS_1): Update to restore from the new stack frame.
5616         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5617         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5618
5619         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5620         (SINGLE_THREAD_P): New parameter for result regno.
5621         (PSEUDO): Update to match; use cbz instead of beq.
5622
5623         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5624         Use ENTRY to define the _nocancel entry point.  Share the syscall
5625         and syscall error check paths with the cancel path.
5626         (PSEUDO_END): New.
5627
5628         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5629         whitespace; tabs before and after asm mnemonics.
5630
5631 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5632
5633         [BZ #15132]
5634         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5635         Call fstat64 or stat64 internally, depending on arguments passed.
5636         Replace stat buffer argument with file descriptor argument.
5637         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5638         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5639         Pass fd to __internal_statvfs instead of calling fstat64.
5640         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5641         Pass fd to __internal_statvfs64 instead of calling fstat64.
5642         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5643         Pass -1 to __internal_statvfs instead of calling stat64.
5644         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5645         Pass -1 to __internal_statvfs64 instead of calling stat64.
5646
5647 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5648
5649         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5650         that was previously under [RESET_PID].
5651         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5652
5653         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5654         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5655
5656 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5657
5658         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5659
5660         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5661         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5662
5663 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5664
5665         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5666
5667 2014-05-27  Andreas Schwab  <schwab@suse.de>
5668
5669         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5670         TLS_INIT_TP macro.
5671         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5672         * elf/rtld.c (init_tls, dl_main): Likewise.
5673         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5674         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5675         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5676         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5677         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5678         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5679         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5680         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5681         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5682         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5683         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5684         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5685         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5686         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5687         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5688         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5689         * sysdeps/generic/tls.h: Update description.
5690
5691 2014-05-27  Will Newton  <will.newton@linaro.org>
5692
5693         [BZ #16990]
5694         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5695         and restore r2 rather than just restoring.
5696
5697 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5698
5699         [BZ #16724]
5700         * libio/tst-ftell-append.c: New test case.
5701         * libio/Makefile (tests): Add test case.
5702         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5703         append mode.
5704         * libio/wfileops.c (do_ftell_wide): Likewise.
5705
5706 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5707
5708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5709
5710         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5711         ...
5712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5714         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5715         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5716         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5717         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5718         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5719         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5721         Moved ...
5722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5723         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5724         Moved ...
5725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5726         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5727         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5728         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5729         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5730         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5731         ...
5732         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5733         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5734         Moved ...
5735         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5736         here.
5737         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5738         ...
5739         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5740         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5741         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5742
5743         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5744         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5745         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5746         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5747
5748         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5749         merge into ...
5750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5752         ...
5753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5754         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5755         ...
5756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5758         Moved ...
5759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5760         here.
5761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5762         Moved ...
5763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5765         Moved ...
5766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5767
5768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5769         conditional [RESET_PID].
5770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5771         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5772         removed.
5773         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5774         removed.
5775
5776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5777         <tcb-offsets.h>.
5778         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5779         (__libc_vfork): New strong alias.
5780         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5781         removed.
5782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5783         Removed.
5784
5785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5786         <tcb-offsets.h>.
5787         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5788         (__libc_vfork): New strong alias.
5789         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5790         removed.
5791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5792         removed.
5793
5794 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5795
5796         * malloc/malloc.c (mi_arena): New function.
5797         (malloc_info): Remove nested function mi_arena. Call non-nosted
5798         function mi_arena.
5799
5800 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5801
5802         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5803         by insrwi.
5804         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5805         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5806         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5807         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5808         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5809         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5810         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5811
5812 2014-05-26  Andreas Schwab  <schwab@suse.de>
5813
5814         [BZ #16984]
5815         * locale/programs/repertoire.c (repertoire_read): Add slash
5816         between I18NPATH element and file name.
5817         * locale/programs/locfile.c (locfile_read): Likewise.
5818
5819 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5820
5821         * nptl/pthread_mutexattr_settype.c
5822         (__pthread_mutexattr_settype):
5823         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5824
5825 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5826
5827         * nptl/tst-mutex5 (do_test):
5828         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5829
5830 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5831
5832         * benchtests/README: Document 'init' directive.
5833         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5834         BENCH_INIT.
5835         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5836         (parse_file): Recognize 'init' directive.
5837
5838 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5839
5840         [BZ #16796]
5841         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5842         alignment of struct pthread.
5843
5844 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5845
5846         [BZ #16878]
5847         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5848         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5849         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5850         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5851
5852 2014-05-25  Richard Henderson  <rth@twiddle.net>
5853
5854         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5855         (SINGLE_THREAD_P_PIC): Remove.
5856         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5857         (SINGLE_THREAD_P_PIC): Remove.
5858
5859         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5860         branch to syscall error ...
5861         (PSEUDO): ... here.
5862         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5863         from __local_syscall_error to .Lsyscall_error.
5864         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5865         (SYSCALL_ERROR): Update label name.
5866
5867         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5868         Do not use DOARGS/UNDOARGS.
5869         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5870         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5871         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5872         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5873         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5874
5875         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5876         block comment.
5877
5878         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5879         define if !NOT_IN_libc.
5880         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5881         define with non-default symbol versions.
5882
5883 2014-05-23  Richard Henderson  <rth@twiddle.net>
5884
5885         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5886         (vfork, __vfork): Define via compat_symbol.
5887
5888         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5889         [!HAVE_IFUNC] (vfork_compat): Remove.
5890         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5891
5892 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5893
5894         [BZ #16978]
5895         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5896         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5897         variable.
5898
5899 2014-05-23  Richard Henderson  <rth@twiddle.net>
5900
5901         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5902         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5903         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5904         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5905
5906         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5907         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5908         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5909         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5910         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5911         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5912         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5913         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5914         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5915         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5916         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5917         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5918         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5919         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5920         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5921         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5922         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5923         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5924         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5925         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5926         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5927         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5928         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5929         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5930         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5931         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5932         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5933         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5934         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5935         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5936         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5937         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5938         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5939         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5940         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5941         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5942         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5943         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5944         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5945         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5946         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5947         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5948         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5949         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5950         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5951         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5952         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5953         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5954         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5955         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5956         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5957         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5958         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5959         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5960         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5961         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5962
5963         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5964         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5965         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5966         before exiting on error.
5967         (__libc_vfork): New strong alias.
5968         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5969         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5970
5971         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5972         that was previously under [RESET_PID].
5973         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5974
5975         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5976
5977 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5978
5979         [BZ #16977]
5980         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5981         value when x - 1 is zero.
5982         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5983         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5984         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5985         0.0L for an argument of 1.0L.
5986         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5987         Likewise.
5988         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5989         value when x - 1 is zero.
5990         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5991         * sysdeps/i386/fpu/libm-test-ulps: Update.
5992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5993
5994 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5995
5996         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5997         alphasort and versionsort.
5998
5999 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6000
6001         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6002         macro.
6003         [copysignf]: Likewise.
6004
6005 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6006
6007         * crypt/md5-crypt.c: Fix formatting.
6008
6009 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6010
6011         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6012         (b64_from_24bit): New function.
6013
6014 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6015
6016         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6017         libc_hidden_builtin_def to ifunc.
6018         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6019         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6020
6021 2014-05-21  Roland McGrath  <roland@hack.frob.com>
6022
6023         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6024         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6025
6026 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
6027
6028         * nscd/Depend (linuxthreads): Remove.
6029         (nptl): Add.
6030         * resolv/Depend (linuxthreads): Remove.
6031         * rt/Depend (linuxthreads): Remove.
6032
6033         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6034         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6035         $(common-objpfx)elf/.
6036         (link-libc-before-gnulib): Likewise.
6037         (elfobjdir): Remove variable.
6038         * Makefile (install): Use $(elf-objpfx) instead of
6039         $(common-objpfx)elf/.
6040         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6041         $(elfobjdir)/.
6042         (link-libc-deps): Likewise.
6043         ($(common-objpfx)libc.so): Likewise.
6044         ($(common-objpfx)linkobj/libc.so): Likewise.
6045         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6046         instead of $(common-objpfx)elf/.
6047         (symbolic-link-list): Likewise.
6048         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6049         [$(cross-compiling) = no]: Likewise.
6050         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6051         $(elfobjdir)/.
6052         (static-gnulib-arch): Likewise.
6053         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6054         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6055         $(common-objpfx)elf/.
6056
6057 2014-05-21  Richard Henderson  <rth@redhat.com>
6058
6059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6060         (SINGLE_THREAD_P): Use the correct width load.  Fold
6061         into the ldr offset.
6062
6063         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6064         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6065
6066 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
6067
6068         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6069         (libgcc_s_resume): Use __attribute_used__.
6070         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6071         Likewise.
6072
6073 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6074
6075         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6076         optimization when used with float constants.
6077
6078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6079
6080 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
6081
6082         [BZ #16915]
6083         * locale/nl_langinfo_l.c: Make direct reference to every
6084         _nl_current_CATEGORY symbol.
6085         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6086         (tests-static): Add tst-langinfo-static.
6087         (tests-special): Add tst-langinfo-static.out.
6088         ($(objpfx)tst-langinfo.out): Redirect output.
6089         ($(objpfx)tst-langinfo-static.out): New.
6090         * localedata/tst-langinfo.sh: Send output to stdout.
6091         * localedata/tst-langinfo-static.c: New file.
6092
6093         [BZ #16965]
6094         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6095         when the shift amount is modulo the limb size.
6096
6097 2014-05-20  Richard Henderson  <rth@redhat.com>
6098
6099         [BZ #16967]
6100         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6101         Change type of sa_flags from unsigned int to int.
6102
6103         [BZ #16966]
6104         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6105
6106         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6107
6108 2014-05-20  Will Newton  <will.newton@linaro.org>
6109
6110         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6111         Test the return value of the system call in the nocancel case.
6112
6113 2014-05-20  Will Newton  <will.newton@linaro.org>
6114             Yvan Roux  <yvan.roux@linaro.org>
6115
6116         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6117         #include of asm/ptrace.h.
6118         (PTRACE_GET_THREAD_AREA): Remove #undef.
6119         (PTRACE_GETHBPREGS): Likewise.
6120         (PTRACE_SETHBPREGS): Likewise.
6121         (struct user_regs_struct): New structure.
6122         (struct user_fpsimd_struct): New structure.
6123         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6124         #include of asm/ptrace.h and second #include of sys/user.h.
6125         (PTRACE_GET_THREAD_AREA): Remove #undef.
6126         (PTRACE_GETHBPREGS): Likewise.
6127         (PTRACE_SETHBPREGS): Likewise.
6128         (ELF_NGREG): Use new struct user_regs_struct.
6129         (elf_fpregset_t): Use new struct user_fpsimd_struct.
6130
6131 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6132
6133         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6134         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6135
6136 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
6137
6138         [BZ #16958]
6139         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6140         membar to avoid block loads/stores to overlap previous stores.
6141
6142 2014-05-17  Richard Henderson  <rth@redhat.com>
6143
6144         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6145         Create the __##syscall_name##_nocancel entry point.
6146         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6147         Remove; let the sysdep-cancel.h code create it.
6148
6149 2014-05-17  David S. Miller  <davem@davemloft.net>
6150
6151         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6152         Protect with __USE_GNU.
6153         (TIOCSET_TEMPT): Likewise.
6154         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6155         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6156         these are already provided in bits/ioctl-types.h
6157
6158 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6159
6160         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6161         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6162
6163         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6164         Use wait4 regardless of [__NR_waitpid].
6165
6166 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6167
6168         PR libgcc/60166
6169         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6170         (_FP_NANSIGN_Q): Set the quiet bit.
6171
6172 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6173
6174         * benchtests/Makefile
6175         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6176         not $(common-objpfx)math/libm.so.
6177         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6178         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6179         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6180         $(common-objpfx)dlfcn/libdl.so.
6181         ($(objpfx)tst-audit8): Depend on $(libm), not
6182         $(common-objpfx)math/libm.so.
6183         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6184         not $(common-objpfx)dlfcn/libdl.so.
6185         * math/Makefile
6186         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6187         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6188         [$(build-shared) = yes].
6189         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6190         $(common-objpfx)nptl/libpthread.so.
6191         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6192         $(common-objpfx)math/libm.so$(libm.so-version) or
6193         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6194         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6195         $(common-objpfx)dlfcn/libdl.so.
6196         * setjmp/Makefile (link-libm): Remove variable.
6197         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6198         * stdio-common/Makefile (link-libm): Remove variable.
6199         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6200         * stdlib/Makefile (link-libm): Remove variable.
6201         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6202         ($(objpfx)tst-strtod-round): Likewise.
6203         ($(objpfx)tst-tininess): Likewise.
6204         ($(objpfx)tst-strtod-underflow): Likewise.
6205         ($(objpfx)tst-strtod6): Likewise.
6206         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6207         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6208         $(common-objpfx)dlfcn/libdl.so.
6209
6210 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6211
6212         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6213         BSD terminal modes definitions.
6214
6215 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6216
6217         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6218         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6219
6220         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6221         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6222         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6223         Don't do #include_next.
6224         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6225         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6226         Don't do #include_next.
6227         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6228         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6229         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6230         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6231
6232 2014-05-16  Allan McRae  <allan@archlinux.org>
6233
6234         * po/sv.po: Update Swedish translation from translation project.
6235
6236         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6237         in sed expression.
6238
6239 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6240
6241         [BZ #16917]
6242         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6243         errno if the TIOCGPTN ioctl fails with an error different than
6244         EINVAL.
6245         * login/tst-ptsname.c: New file.
6246         * login/Makefile (tests): Add tst-ptsname.
6247
6248         [BZ #16943]
6249         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6250         and prlimit64.
6251
6252 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6253
6254         [BZ #16849]
6255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6256         herrno to return EAI_AGAIN.
6257
6258 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6259
6260         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6261         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6262         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6263         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6264         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6265         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6266         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6267         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6268         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6269         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6270         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6271         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6272         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6273         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6274         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6275         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6276         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6277         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6278         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6279         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6280         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6281         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6282         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6283         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6284         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6285         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6286         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6287         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6288         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6289         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6291         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6293         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6295         Moved ...
6296         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6298         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6300         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6302         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6304         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6306         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6308         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6310         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6312         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6314         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6316         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6318         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6320         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6322         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6324         Moved ...
6325         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6327         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6329         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6331         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6333         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6335         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6337         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6339         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6341         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6343         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6345         Moved ...
6346         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6348         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6349
6350         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6351         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6352         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6353         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6354         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6355         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6356         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6357         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6358         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6359         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6360         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6361         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6362         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6363         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6364         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6365         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6366         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6367         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6368         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6369         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6370         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6371         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6372         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6373         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6374         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6375         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6376         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6377         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6378         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6379         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6380         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6381
6382         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6383         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6384
6385         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6386         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6387         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6388         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6389         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6390         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6391         Moved ...
6392         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6393         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6394         Moved ...
6395         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6396         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6397         Moved ...
6398         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6399         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6400         Moved ...
6401         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6402         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6403         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6404         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6405         Moved ...
6406         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6407         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6408         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6409         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6410         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6411         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6412         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6413         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6414         Moved ...
6415         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6416         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6417         Moved ...
6418         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6419         ... here.
6420         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6421         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6422         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6423         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6424         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6425         Moved ...
6426         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6427         ... here.
6428         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6429         Moved ...
6430         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6431         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6432         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6433         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6434         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6435         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6436         Moved ...
6437         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6438         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6439         Moved ...
6440         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6441         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6442         Moved ...
6443         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6444         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6445         Moved ...
6446         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6447         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6448         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6449         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6450         Moved ...
6451         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6452         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6453         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6454         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6455         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6456         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6457         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6458         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6459         Moved ...
6460         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6461         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6462         Moved ...
6463         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6464         ... here.
6465         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6466         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6467         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6468         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6469         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6470         Moved ...
6471         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6472         ... here.
6473         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6474         Moved ...
6475         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6476         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6477         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6478         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6479         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6480         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6481         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6482         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6483         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6484         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6485         Moved ...
6486         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6487         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6488         Moved ...
6489         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6490         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6491         Moved ...
6492         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6493         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6494         Moved ...
6495         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6496         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6497         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6498         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6499         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6500         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6501         Moved ...
6502         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6503         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6504         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6505         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6506         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6507         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6508         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6509         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6510         Moved ...
6511         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6512         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6513         Moved ...
6514         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6515         ... here.
6516         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6517         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6518         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6519         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6520         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6521         Moved ...
6522         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6523         ... here.
6524         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6525         Moved ...
6526         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6527         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6528         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6529         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6530         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6531         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6532         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6533         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6534         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6535         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6536         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6537
6538         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6539         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6540
6541         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6542         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6543
6544         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6545         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6546         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6547         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6548         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6549         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6550         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6551         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6552         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6553         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6554         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6555         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6556         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6557         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6558         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6559         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6560         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6561         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6562         Moved ...
6563         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6565         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6566         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6567         Moved ...
6568         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6570         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6572         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6573         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6574         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6575         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6576         Moved ...
6577         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6578         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6579         Moved ...
6580         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6582         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6583         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6584         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6585         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6586         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6587         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6588         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6589         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6590         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6591         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6592         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6593         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6594         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6595         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6596         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6597
6598         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6599         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6600         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6601         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6602         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6603
6604         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6605         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6606         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6607         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6608         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6609         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6610         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6611         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6612         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6613         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6614
6615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6616         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6617
6618         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6619         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6620         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6621         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6622         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6623         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6624         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6625         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6626         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6627         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6628         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6629         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6630         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6631         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6632         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6633         Update #include.
6634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6635         Likewise.
6636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6637         Likewise.
6638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6639         Likewise.
6640         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6641         Likewise.
6642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6643         Likewise.
6644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6645         Likewise.
6646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6647         Likewise.
6648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6649         Likewise.
6650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6651         Likewise.
6652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6658         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6659         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6660         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6661         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6662         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6663         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6664         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6665         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6666         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6667
6668         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6669         that was previously under [RESET_PID].
6670         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6671         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6672         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6673
6674         * sysdeps/i386/nptl/Implies: New file.
6675         * sysdeps/x86_64/nptl/Implies: New file.
6676         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6677         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6678         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6679         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6680
6681         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6682         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6683         (__libc_vfork): New strong alias.
6684         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6685         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6686
6687         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6688         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6689         (__libc_vfork): New strong alias.
6690         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6691         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6692
6693         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6694         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6695         (__libc_vfork): New strong alias.
6696         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6697         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6698         * nptl/pt-vfork.c: New file.
6699         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6700         (libpthread: GLIBC_2.20): New version set (empty).
6701
6702 2014-05-14  Will Newton  <will.newton@linaro.org>
6703
6704         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6705         rather than #if.
6706
6707 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6708
6709         [BZ #16564]
6710         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6711         arguments with exponent 65 or above.
6712         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6713         arguments 0x1p113L or above.
6714         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6715         to arguments 0x1p107L or above.
6716         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6717         positive arguments with exponent 65 or above.
6718         * math/auto-libm-test-in: Add more tests of log1p.
6719         * math/auto-libm-test-out: Regenerated.
6720
6721         [BZ #16928]
6722         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6723         non-finite arguments is +0.
6724         * math/s_cacosf.c (__cacosf): Likewise.
6725         * math/s_cacosl.c (__cacosl): Likewise.
6726         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6727         * sysdeps/i386/fpu/libm-test-ulps: Update.
6728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6729
6730         [BZ #16927]
6731         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6732         value.
6733         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6734         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6735         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6736         for explicit high bit of mantissa when testing for argument equal
6737         to 1.
6738         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6739         * sysdeps/i386/fpu/libm-test-ulps: Update.
6740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6741
6742         [BZ #16516]
6743         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6744         (__erf): Scale by 16 instead of 8 in potentially underflowing
6745         case.  Ensure exception if result actually underflows.
6746         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6747         (__erff): Scale by 16 instead of 8 in potentially underflowing
6748         case.  Ensure exception if result actually underflows.
6749         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6750         (efx8): Remove variable.
6751         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6752         case.  Ensure exception if result actually underflows.
6753         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6754         (efx8): Remove variable.
6755         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6756         case.  Ensure exception if result actually underflows.
6757         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6758         (efx8): Remove variable.
6759         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6760         case.  Ensure exception if result actually underflows.
6761         * math/auto-libm-test-in: Add more tests of erf.
6762         * math/auto-libm-test-out: Regenerated.
6763
6764 2014-05-14  Andreas Schwab  <schwab@suse.de>
6765
6766         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6767         Remove code conditionalized on USE___THREAD.
6768
6769         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6770         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6771         not definedness.
6772
6773 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6774
6775         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6776         Define unconditionally.
6777         (__ASSUME_O_CLOEXEC): Likewise.
6778         (__ASSUME_SOCK_CLOEXEC): Likewise.
6779         (__ASSUME_IN_NONBLOCK): Likewise.
6780         (__ASSUME_PIPE2): Likewise.
6781         (__ASSUME_EVENTFD2): Likewise.
6782         (__ASSUME_SIGNALFD4): Likewise.
6783         (__ASSUME_DUP3): Likewise.
6784         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6785         (__ASSUME_DUP3): Do not define.
6786         (__ASSUME_EVENTFD2): Likewise.
6787         (__ASSUME_IN_NONBLOCK): Likewise.
6788         (__ASSUME_O_CLOEXEC): Likewise.
6789         (__ASSUME_PIPE2): Likewise.
6790         (__ASSUME_SIGNALFD4): Likewise.
6791         (__ASSUME_SOCK_CLOEXEC): Likewise.
6792         (__ASSUME_UTIMES): Undefine.
6793         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6794         (__ASSUME_UTIMES): Do not define.
6795         (__ASSUME_O_CLOEXEC): Likewise.
6796         (__ASSUME_SOCK_CLOEXEC): Likewise.
6797         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6798         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6799         0x020621].
6800         (__ASSUME_PIPE2): Likewise.
6801         (__ASSUME_EVENTFD2): Likewise.
6802         (__ASSUME_SIGNALFD4): Likewise.
6803         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6804         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6805         Do not define.
6806         (__ASSUME_EVENTFD2): Likewise.
6807         (__ASSUME_SIGNALFD4): Likewise.
6808         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6809         (__ASSUME_32BITUIDS): Likewise.
6810         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6811         (__ASSUME_IPC64): Likewise.
6812         (__ASSUME_ST_INO_64_BIT): Likewise.
6813         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6814         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6815         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6816         (__ASSUME_UTIMES): Do not define.
6817         (__ASSUME_PSELECT): Likewise.
6818         (__ASSUME_PPOLL): Likewise.
6819         (__ASSUME_O_CLOEXEC): Likewise.
6820         (__ASSUME_SOCK_CLOEXEC): Likewise.
6821         (__ASSUME_IN_NONBLOCK): Likewise.
6822         (__ASSUME_PIPE2): Likewise.
6823         (__ASSUME_EVENTFD2): Likewise.
6824         (__ASSUME_SIGNALFD4): Likewise.
6825         (__ASSUME_DUP3): Likewise.
6826         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6827         (__ASSUME_UTIMES): Likewise.
6828         (__ASSUME_O_CLOEXEC): Likewise.
6829         (__ASSUME_SOCK_CLOEXEC): Likewise.
6830         (__ASSUME_IN_NONBLOCK): Likewise.
6831         (__ASSUME_PIPE2): Likewise.
6832         (__ASSUME_EVENTFD2): Likewise.
6833         (__ASSUME_SIGNALFD4): Likewise.
6834         (__ASSUME_DUP3): Likewise.
6835         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6836         (__ASSUME_UTIMES): Likewise.
6837         (__ASSUME_O_CLOEXEC): Likewise.
6838         (__ASSUME_SOCK_CLOEXEC): Likewise.
6839         (__ASSUME_IN_NONBLOCK): Likewise.
6840         (__ASSUME_PIPE2): Likewise.
6841         (__ASSUME_EVENTFD2): Likewise.
6842         (__ASSUME_SIGNALFD4): Likewise.
6843         (__ASSUME_DUP3): Likewise.
6844         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6845         Likewise.
6846         (__ASSUME_UTIMES): Likewise.
6847         (__ASSUME_EVENTFD2): Likewise.
6848         (__ASSUME_SIGNALFD4): Likewise.
6849         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6850         (__ASSUME_O_CLOEXEC): Likewise.
6851         (__ASSUME_SOCK_CLOEXEC): Likewise.
6852         (__ASSUME_IN_NONBLOCK): Likewise.
6853         (__ASSUME_PIPE2): Likewise.
6854         (__ASSUME_EVENTFD2): Likewise.
6855         (__ASSUME_SIGNALFD4): Likewise.
6856         (__ASSUME_DUP3): Likewise.
6857         (__ASSUME_UTIMES): Undefine.
6858
6859         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6860         feclearexcept.  Remove symbol versioning code.
6861         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6862         symbol versioning code.
6863         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6864         symbol versioning code.
6865         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6866         feupdateenv.  Remove symbol versioning code.
6867         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6868         fegetexceptflag.  Remove symbol versioning code.
6869         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6870         fesetexceptflag.  Remove symbol versioning code.
6871         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6872         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6873         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6874         (__posix_fadvise64_l32): Remove prototype.
6875         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6876         code.
6877
6878 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6879
6880         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6881         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6882         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6883         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6884
6885 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6886
6887         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6888         current working directory
6889
6890 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6891
6892         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6893         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6894         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6895         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6896         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6897         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6898         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6899         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6900         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6901         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6902         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6903         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6904         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6905         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6906         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6907         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6908         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6909         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6910         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6911         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6912         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6913         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6914         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6915         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6916         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6917         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6918         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6919         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6920         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6921         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6922         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6923         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6924         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6925         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6926         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6927         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6928         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6929         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6930         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6931         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6932         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6933         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6934
6935         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6936         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6937
6938         * sysdeps/unix/sysv/linux/arm/Makefile
6939         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6940         Add rt-aeabi_unwind_cpp_pr1.
6941         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6942         Add nptl-aeabi_unwind_cpp_pr1.
6943         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6944         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6945         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6946         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6947         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6948         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6949
6950         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6951         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6952         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6953         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6954
6955         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6956         Deconditionalize the code that was previously under [RESET_PID].
6957         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6958
6959         * sysdeps/generic/exit-thread.h: New file.
6960         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6961         * include/unistd.h (__exit_thread): Remove declaration.
6962         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6963         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6964         * csu/libc-start.c: Include <exit-thread.h>.
6965         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6966         * nptl/pthread_create.c: Include <exit-thread.h>.
6967         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6968         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6969         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6970         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6971         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6972         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6973         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6974         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6975         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6976         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6977         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6978         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6979         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6980         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6981         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6982         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6983         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6984
6985 2014-05-13  Andreas Schwab  <schwab@suse.de>
6986
6987         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6988
6989 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6990
6991         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6992         (__ASSUME_UTIMES): Do not condition on kernel version.
6993         (__ASSUME_PSELECT): Define unconditionally.
6994         (__ASSUME_PPOLL): Likewise.
6995         (__ASSUME_ATFCTS): Likewise.
6996         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6997         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6998         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6999         (__ASSUME_UTIMENSAT): Define unconditionally.
7000         (__ASSUME_PRIVATE_FUTEX): Likewise.
7001         (__ASSUME_FALLOCATE): Likewise.
7002         (__ASSUME_O_CLOEXEC): Likewise.
7003         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7004         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7005         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7006         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7007         (__ASSUME_IN_NONBLOCK): Likewise.
7008         (__ASSUME_PIPE2): Likewise.
7009         (__ASSUME_EVENTFD2): Likewise.
7010         (__ASSUME_SIGNALFD4): Likewise.
7011         (__ASSUME_DUP3): Likewise.
7012         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7013         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7014         (__ASSUME_AT_RANDOM): Likewise.
7015         (__ASSUME_PREADV): Likewise.
7016         (__ASSUME_PWRITEV): Likewise.
7017         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7018         (__ASSUME_F_GETOWN_EX): Define unconditionally.
7019         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7020         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7021         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7022         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7023         (__ASSUME_O_CLOEXEC): Define unconditionally.
7024         (__ASSUME_PSELECT): Do not undefine conditionally.
7025         (__ASSUME_PPOLL): Likewise.
7026         (__ASSUME_ATFCTS): Likewise.
7027         (__ASSUME_SET_ROBUST_LIST): Likewise.
7028         (__ASSUME_UTIMENSAT): Likewise.
7029         (__ASSUME_FDATASYNC): Define unconditionally.
7030         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7031         (__ASSUME_SIGFRAME_V2): Likewise.
7032         )__ASSUME_EVENTFD2): Likewise.
7033         (__ASSUME_SIGNALFD4): Likewise.
7034         (__ASSUME_PSELECT): Do not undefine conditionally.
7035         (__ASSUME_PPOLL): Likewise.
7036         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7037         (__ASSUME_PSELECT): Define unconditionally.
7038         (__ASSUME_PPOLL): Likewise.
7039         (__ASSUME_O_CLOEXEC): Likewise.
7040         (__ASSUME_SOCK_CLOEXEC): Likewise.
7041         (__ASSUME_IN_NONBLOCK): Likewise.
7042         (__ASSUME_PIPE2): Likewise.
7043         (__ASSUME_EVENTFD2): Likewise.
7044         (__ASSUME_SIGNALFD4): Likewise.
7045         (__ASSUME_DUP3): Likewise.
7046         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7047         (__ASSUME_O_CLOEXEC): Likewise.
7048         (__ASSUME_SOCK_CLOEXEC): Likewise.
7049         (__ASSUME_IN_NONBLOCK): Likewise.
7050         (__ASSUME_PIPE2): Likewise.
7051         (__ASSUME_EVENTFD2): Likewise.
7052         (__ASSUME_SIGNALFD4): Likewise.
7053         (__ASSUME_DUP3): Likewise.
7054         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7055         (__ASSUME_EVENTFD2): Likewise.
7056         (__ASSUME_SIGNALFD4): Likewise.
7057         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7058
7059 2014-05-12  Andreas Schwab  <schwab@suse.de>
7060
7061         [BZ #16932]
7062         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7063         (_nss_nis_gethostbyname4_r): Return error if item length is larger
7064         than maximum RPC packet size.
7065         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7066         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7067         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7068         (_nss_nis_getservbyport_r): Likewise.
7069
7070 2014-05-12  Will Newton  <will.newton@linaro.org>
7071
7072         * malloc/Makefile (tests): Add tst-mallopt.
7073         * malloc/tst-mallopt.c: New file.
7074
7075 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7076
7077         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7078         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7079
7080 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7081
7082         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7083         (tst-tlsmod6.so): Likewise.
7084
7085 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7086
7087         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7088
7089 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
7090
7091         [BZ #16064]
7092         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7093         and <dl-procinfo.h>.
7094         (__fegetenv): Save SSE state in envp->__eip if supported.
7095         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7096         envp->__eip if supported.
7097         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7098         and <dl-procinfo.h>.
7099         (__fesetenv): Always set __eip, __cs_selector, __opcode,
7100         __data_offset and __data_selector in environment to 0.  Set SSE
7101         state if supported.
7102         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7103         test-fenv-sse.
7104         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7105         -mfpmath=sse.
7106         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7107
7108 2014-05-09  Will Newton  <will.newton@linaro.org>
7109
7110         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7111         and libc_relro_required for ARM.
7112         * sysdeps/arm/preconfigure: Regenerate.
7113
7114 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7115             Stefan Liebler  <stli@linux.vnet.ibm.com>
7116
7117         * config.make.in (enable-lock-elision): New Makefile variable.
7118         * configure.ac: Likewise.
7119         * configure: Regenerate.
7120         * sysdeps/s390/configure.ac:
7121         Add check for gcc transactions support.
7122         * sysdeps/s390/configure: Regenerate.
7123         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7124         Build elision files if enabled.
7125         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7126         Add lock elision support for s390.
7127         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7128         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7129         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7130         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7131         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7132         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7133         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7134         Likewise.
7135         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7136         Likewise.
7137         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7138         Likewise.
7139         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7140         Likewise.
7141         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7142         (__lll_timedlock_elision, __lll_lock_elision)
7143         (__lll_unlock_elision, __lll_trylock_elision)
7144         (lll_timedlock_elision, lll_lock_elision)
7145         (lll_unlock_elision, lll_trylock_elision): Add.
7146         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7147         (pthread_mutex_t): Add lock elision support for s390.
7148
7149 2014-05-14  Wilco  <wdijkstr@arm.com>
7150
7151         * sysdeps/arm/fclrexcpt.c: Cleanup.
7152         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7153         * sysdeps/arm/feenablxcpt.c: Cleanup.
7154         * sysdeps/arm/fegetenv.c: Cleanup.
7155         * sysdeps/arm/fegetexcept.c: Cleanup.
7156         * sysdeps/arm/fegetround.c: Cleanup.
7157         * sysdeps/arm/feholdexcpt.c: Cleanup.
7158         * sysdeps/arm/fesetenv.c: Cleanup.
7159         * sysdeps/arm/fesetround.c: Cleanup.
7160         * sysdeps/arm/feupdateenv.c: Cleanup.
7161         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7162         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7163         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7164         * sysdeps/arm/ftestexcept.c: Cleanup.
7165         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7166         * sysdeps/arm/setfpucw.c: Cleanup.
7167
7168 2014-05-09  Will Newton  <will.newton@linaro.org>
7169
7170         * sysdeps/arm/armv7/strcmp.S: New file.
7171         * NEWS: Mention addition of ARMv7 optimized strcmp.
7172
7173 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7174
7175         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7176         look for %.ac rather than %.in.
7177
7178         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7179         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7180         * sysdeps/mach/hurd/configure: Regenerated.
7181         * sysdeps/unix/sysv/linux/configure: Regenerated.
7182
7183         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7184
7185 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7186
7187         [BZ# 16922]
7188         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7189         (LONG_SUB): Ditto.
7190         (PTR_SUB): Ditto.
7191
7192 2014-05-07  Andreas Schwab  <schwab@suse.de>
7193
7194         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7195         when skipping over non-matching result from nscd.
7196
7197 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7198
7199         [BZ #16876]
7200         * nptl/sockperf.c (client): Check socket return value.
7201
7202         [BZ #16877]
7203         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7204         nscd security class.
7205
7206 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7207
7208         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7209         * sysdeps/arm/unwind.h: ... here.
7210
7211 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7212
7213         [BZ# 16916]
7214         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7215         Define.
7216
7217 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7218
7219         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7220         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7221         multiarch strncpy for PPC64.
7222         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7223         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7225         multiarch optimizations.
7226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7227         (__libc_ifunc_impl_list): Likewise.
7228         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7229         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7230         multiarch stpncpy for PPC64.
7231         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7232         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7233
7234 2014-05-06  Andreas Schwab  <schwab@suse.de>
7235
7236         [BZ #16912]
7237         * gmon/mcount.c (_MCOUNT_DECL): Use
7238         atomic_compare_and_exchange_bool_acq instead of
7239         catomic_compare_and_exchange_bool_acq.
7240
7241 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7242
7243         * elf/Makefile (others, install-bin): Remove pldd.
7244         (pldd-modules): Variable removed.
7245         ($(objpfx)pldd): Target removed.
7246         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7247         (others, install-bin): Append pldd here.
7248         ($(objpfx)pldd): New target.
7249
7250         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7251         to 0, so the first #if test emitted later doesn't see it undefined.
7252         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7253         * sysdeps/gnu/errlist.c: Regenerated.
7254
7255 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7256
7257         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7258         [libc_hidden_builtin_def]: Define to empty value.
7259         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7260         [libc_hidden_builtin_def]: Likewise.
7261         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7262         [libc_hidden_builtin_def]: Likewise.
7263         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7264         [libc_hidden_builtin_def]: Likewise.
7265         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7266         __redirect_memcpy and define ifunc as default hidden symbol.
7267         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7268         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7269
7270 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7271
7272         * locale/iso-4217.def: Reintroduce XDR currency.
7273
7274 2014-05-04  Allan McRae  <allan@archlinux.org>
7275
7276         * po/eo.po: Update Esperanto translation from translation project.
7277
7278 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7279
7280         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7281         and FEATURE_INDEX_MAX to 1.
7282         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7283
7284 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7285
7286         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7287         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7288         * iconvdata/big5.c (ONE_DIRECTION): Define.
7289         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7290         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7291         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7292         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7293         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7294         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7295         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7296         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7297         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7298         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7299         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7300         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7301         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7302         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7303         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7304         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7305         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7306         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7307         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7308         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7309         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7310         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7311         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7312         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7313         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7314         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7315         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7316         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7317         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7318         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7319         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7320         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7321         * iconvdata/johab.c (ONE_DIRECTION): Define.
7322         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7323         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7324         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7325         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7326         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7327         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7328         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7329         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7330         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7331         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7332
7333 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7334
7335         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7336         (_IO_JUMPS_OFFSET): Define to 0.
7337
7338         * nptl/sysdeps/pthread/bits/libc-lock.h
7339         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7340         (__libc_lock_define_initialized_recursive): Always define using
7341         initializer.  Modern compilers treat uninitialized (implicit zero) and
7342         explicit zero initializers the same (i.e. put the datum in bss).
7343
7344 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7345
7346         * nscd/nscd-client.h: Include <string.h>.
7347
7348 2014-05-01  David S. Miller  <davem@davemloft.net>
7349
7350         [BZ #16885]
7351         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7352         multiple zero bytes exist at the end of a string.
7353         Reported by Aurelien Jarno <aurelien@aurel32.net>
7354
7355         * string/test-strcmp.c (check): Add explicit test for situations where
7356         there are multiple zero bytes after the first.
7357
7358 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7359
7360         [BZ #16890]
7361         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7362         when compiling wprintf.
7363         * stdio-common/tstdiomisc.c (t3): New function.
7364         (main): Call it.
7365
7366 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7367
7368         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7369         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7370         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7371         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7372
7373 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7374
7375         * stdlib/longlong.h: Updated from GCC.
7376
7377 2014-05-01  Will Newton  <will.newton@linaro.org>
7378             Bernard Ogden  <bernie.ogden@linaro.org>
7379
7380         * NEWS: Update fixed bug list.
7381
7382         [BZ #15119]
7383         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7384
7385 2014-04-30  David S. Miller  <davem@davemloft.net>
7386
7387         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7388         (libc_feholdexcept_setround_sparc_ctx): New function.
7389         (libc_fesetenv_sparc_ctx): Likewise.
7390         (libc_feupdateenv_sparc_ctx): Likewise.
7391         (libc_feholdsetround_sparc_ctx): Likewise.
7392         (libc_feholdexcept_setround_ctx): Define.
7393         (libc_feholdexcept_setroundf_ctx): Likewise.
7394         (libc_feholdexcept_setroundl_ctx): Likewise.
7395         (libc_fesetenv_ctx): Likewise.
7396         (libc_fesetenvf_ctx): Likewise.
7397         (libc_fesetenvl_ctx): Likewise.
7398         (libc_feupdateenv_ctx): Likewise.
7399         (libc_feupdateenvf_ctx): Likewise.
7400         (libc_feupdateenvl_ctx): Likewise.
7401         (libc_feresetround_ctx): Likewise.
7402         (libc_feresetroundf_ctx): Likewise.
7403         (libc_feresetroundl_ctx): Likewise.
7404         (libc_feholdsetround_ctx): Likewise.
7405         (libc_feholdsetroundf_ctx): Likewise.
7406         (libc_feholdsetroundl_ctx): Likewise.
7407
7408         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7409         with __USE_GNU instead of XOPEN cpp guards.
7410
7411         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7412         0.
7413
7414         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7415         with XOPEN cpp guards.
7416
7417 2014-04-30  Julian Brown  <julian@codesourcery.com>
7418
7419         [BZ #16888]
7420         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7421         handling.
7422
7423 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7424
7425         [BZ #9894]
7426         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7427         Change to 2.6.32.
7428         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7429         * sysdeps/unix/sysv/linux/configure: Regenerated.
7430         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7431         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7432         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7433         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7434         * README: Update reference to required Linux kernel version.
7435         * manual/install.texi (Linux): Update reference to required Linux
7436         kernel headers version.
7437         * INSTALL: Regenerated.
7438
7439         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7440         header inclusion.
7441         [POSIX] (limits.h): Likewise.
7442         [POSIX] (math.h): Likewise.
7443         [POSIX] (sys/wait.h): Likewise.
7444         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7445         function.
7446         [POSIX] (stddef.h): Do not allow header inclusion.
7447
7448 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7449
7450         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7451
7452 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7453
7454         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7455         Return immediately after lll_futex_wake.
7456
7457 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7458
7459         [BZ #16791]
7460         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7461         structure.
7462         (datahead_init_pos): Call datahead_init_common early.
7463         (datahead_init_neg): Likewise.
7464
7465         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7466         datahead_init_neg): New functions.
7467         * nscd/aicache.c (addhstaiX): Use them.
7468         * nscd/grpcache.c (cache_addgr): Likewise.
7469         * nscd/hstcache.c (cache_addhst): Likewise.
7470         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7471         * nscd/netgroupcache.c (do_notfound): Likewise.
7472         (addgetnetgrentX): Likewise.
7473         (addinnetgrX): Likewise.
7474         * nscd/pwdcache.c (cache_addpw): Likewise.
7475         * nscd/servicescache.c (cache_addserv): Likewise.
7476
7477 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7478             Atsushi Onoe  <atsushi@onoe.org>
7479
7480         [BZ #14308]
7481         [BZ #12994]
7482         [BZ #13651]
7483         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7484         one response is valid.
7485         * resolv/res_send.c (send_dg): Check for validity of other
7486         response if the current response is a referral.
7487
7488 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7489
7490         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7491
7492 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7493
7494         [BZ #16823]
7495         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7496         Always divide by positive zero when computing -Inf result.
7497         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7498         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7499
7500 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7501
7502         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7503         FPSCR if value do not change.
7504         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7505         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7506         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7507         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7508         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7509         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7510         function.
7511
7512 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7513
7514         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7515         * sysdeps/unix/sysv/linux/hppa: Move directory from
7516         ports/systeps/unix/sysv/linux/hppa.
7517         * README: Update listing for hppa-*-linux-gnu.
7518
7519 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7520
7521         [BZ #16754]
7522         * manual/stdio.texi (Hook functions): Fix types of stream hook
7523         functions.
7524         [BZ #16854]
7525         * socket/sys/socket.h: Fix typo in comment.
7526
7527 2014-04-28  Wilco  <wdijkstr@arm.com>
7528
7529         * sysdeps/arm/fenv_private.h: New file.
7530         * sysdeps/arm/math_private.h: New file.
7531         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7532
7533 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7534
7535         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7536         with __int128_t.
7537         (La_x86_64_retval): Likewise.
7538
7539 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7540
7541         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7542         fpsr if value didn't change.
7543         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7544         to fpcr if value didn't change.
7545         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7546         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7547         fpsr or fpcr if value didn't change.
7548         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7549         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7550         fpcr if value didn't change.
7551         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7552         to fpsr if value didn't change.
7553
7554 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7555
7556         * nptl/tst-sem3.c: Use test-skeleton.c
7557         (main): Rename to do_test.  Use return instead of
7558         exit.
7559         * nptl/tst-sem4.c: Use test-skeleton.c
7560         (main): Rename to do_test.
7561
7562 2014-04-22  David S. Miller  <davem@davemloft.net>
7563
7564         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7565         (struct sigaction): New struct member __glibc_reserved0, change
7566         type of sa_flags to int.
7567
7568 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7569
7570         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7571         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7572
7573 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7574
7575         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7576         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7577
7578 2014-04-22  Will Newton  <will.newton@linaro.org>
7579             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7580
7581         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7582         (__longjmp): Add longjmp and longjmp_target SystemTap
7583         probes.
7584         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7585         (__sigsetjmp): Add setjmp SystemTap probe.
7586
7587 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7588
7589         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7590         match manual order.
7591
7592 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7593
7594         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7595
7596         * sysdeps/powerpc/fpu/fenv_private.h
7597         (libc_feholdexcept_setroundl_ctx): Define to
7598         libc_feholdexcept_setround_ppc_ctx.
7599         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7600         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7601         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7602         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7603
7604 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7605
7606         * sysdeps/aarch64/math-tests.h: New file.
7607
7608 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7609
7610         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7611         New.
7612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7613         Check and set bit_AVX2_Usable.
7614         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7615         macro.
7616         (bit_AVX2): Likewise.
7617         (index_AVX2_Usable): Likewise.
7618         (CPUID_AVX2): Likewise.
7619         (HAS_AVX2): Likewise.
7620
7621 2014-04-17  Will Newton  <will.newton@linaro.org>
7622
7623         * manual/setjmp.texi (System V contexts): Add note that
7624         calling setcontext on a context created by a call to a
7625         signal handler is undefined.  Update text to note that
7626         setcontext from a signal handler is possible but not
7627         recommended.
7628
7629         [BZ #16629]
7630         * stdlib/tst-setcontext.c: Include signal.h.
7631         (main): Check that the signal stack before and
7632         after swapcontext is the same.
7633
7634         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7635         Re-implement to restore registers in user code and avoid
7636         rt_sigreturn system call.
7637
7638 2014-04-17  Wilco  <wdijkstr@arm.com>
7639
7640         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7641         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7642         * math/test-fenv.c: Skip exception trap tests on targets which only
7643         support non-stop mode.
7644
7645 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7646             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7647
7648         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7649         (libc_feholdsetround_aarch64_ctx)
7650         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7651         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7652         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7653         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7654         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7655         (libc_feresetround_noexl_ctx): Define.
7656
7657 2014-04-16  Richard Henderson  <rth@redhat.com>
7658
7659         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7660
7661         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7662         unwind tables.
7663
7664         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7665         const from the non-libc, non-ldso copy.
7666
7667         * sysdeps/alpha/libm-test-ulps: Regenerate.
7668
7669 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7670             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7671
7672         * sysdeps/aarch64/fpu/math_private.h: New file.
7673
7674 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7675
7676         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7677
7678 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7679
7680         [BZ #16275]
7681         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7682         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7683         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7684         Intel MPX bound registers before _dl_profile_fixup.
7685         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7686         registers after _dl_profile_fixup.  Save and restore bound
7687         registers bnd0/bnd1 when calling _dl_call_pltexit.
7688         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7689         (LR_BND_OFFSET): Likewise.
7690         (LRV_BND0_OFFSET): Likewise.
7691         (LRV_BND1_OFFSET): Likewise.
7692
7693 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7694
7695         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7696         to...
7697         * sysdeps/mach/hurd/i386/tls.h: ... here.
7698         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7699         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7700         fields.
7701
7702 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7703
7704         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7705
7706 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7707
7708         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7709
7710 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7711
7712         [BZ #14770]
7713         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7714         * sysdeps/s390/configure: Regenerate.
7715
7716         [BZ #16824]
7717         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7718         Set round-to-nearest internally to reduce error accumulation.
7719
7720 2014-04-16  Alan Modra  <amodra@gmail.com>
7721
7722         [BZ #16740]
7723         [BZ #16619]
7724         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7725         * math/libm-test.inc (frexp_test_data): Add tests.
7726         * NEWS: Update fixed bug list.
7727
7728 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7729
7730         * benchtests/Makefile: Depend on libraries in build directory.
7731         (bench-math): Separate out math tests.
7732         (bench-pthread): Separate out pthread tests.
7733         (bench): Include math and pthread tests.
7734
7735 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7736
7737         [BZ #16831]
7738         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7739         _dl_debug_initialize.
7740
7741         * configure.ac: Remove SELinux header check.
7742         * configure: Regenerate.
7743         * nscd/selinux.c (perms): Array of const char* to permission names.
7744         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7745         default policy. Call string_to_security_class and string_to_av_perm to
7746         translate strings. Enforce default policy and call avs_has_perm with
7747         results of translated strings.
7748
7749 2014-04-13  David S. Miller  <davem@davemloft.net>
7750
7751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7752
7753 2014-04-12  Allan McRae  <allan@archlinux.org>
7754
7755         [BZ #16838]
7756         * manual/string.texi (Collation Functions): Fix qsort argument
7757         order in example.
7758         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7759
7760 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7761
7762         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7763         Make the test a no-op if there are no exceptions defined.
7764
7765 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7766
7767         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7768         enable-hardcoded-path-in-tests
7769
7770 2014-04-11  Will Newton  <will.newton@linaro.org>
7771
7772         * benchtests/Makefile (extra-objs): Add json-lib.o.
7773         (bench-func): Tidy up JSON output.
7774         * benchtests/bench-skeleton.c: Include json-lib.h.
7775         (main): Use JSON library functions to do output of
7776         benchmark results.
7777         * benchtests/bench-timing-type.c (main): Output the
7778         timing type simply, leaving formatting to the user.
7779         * benchtests/json-lib.c: New file.
7780         * benchtests/json-lib.h: Likewise.
7781
7782 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7783
7784         [BZ #15215]
7785         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7786         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7787         memory barriers.  Add comments.
7788         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7789         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7790         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7791         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7792         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7793         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7794
7795 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7796
7797         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7798         * sysdeps/s390/s390-64/configure.ac: ... this ...
7799         * sysdeps/s390/configure.ac: ... to here.
7800         * sysdeps/s390/s390-32/configure: Delete file.
7801         * sysdeps/s390/s390-64/configure: Delete file.
7802         * sysdeps/s390/configure: Regenerate.
7803
7804 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7805
7806         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7807
7808 2014-04-11  Will Newton  <will.newton@linaro.org>
7809
7810         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7811         to zero if it is not defined elsewhere.  (mtrim): Test
7812         the value of MALLOC_DEBUG with #if rather than #ifdef.
7813
7814 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7815
7816         * benchtests/pthread_once-inputs: New file.
7817         * benchtests/pthread_once-source.c: New file.
7818         * benchtests/README: Update documentation.
7819
7820 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7821             H.J. Lu  <hongjiu.lu@intel.com>
7822
7823         [BZ #16275]
7824         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7825         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7826         * sysdeps/x86_64/configure: Regenerated.
7827         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7828         macro.
7829         (REGISTER_SAVE_RAX): Likewise.
7830         (REGISTER_SAVE_RCX): Likewise.
7831         (REGISTER_SAVE_RDX): Likewise.
7832         (REGISTER_SAVE_RSI): Likewise.
7833         (REGISTER_SAVE_RDI): Likewise.
7834         (REGISTER_SAVE_R8): Likewise.
7835         (REGISTER_SAVE_R9): Likewise.
7836         (REGISTER_SAVE_BND0): Likewise.
7837         (REGISTER_SAVE_BND1): Likewise.
7838         (REGISTER_SAVE_BND2): Likewise.
7839         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7840         bound registers when calling _dl_fixup.
7841
7842 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7843
7844         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7845         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7846         of its definition.
7847         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7848         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7849         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7850         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7851         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7852         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7853         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7854
7855 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7856
7857         [BZ #15514]
7858         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7859         pathconf(_PC_NAME_MAX).
7860
7861 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7862
7863         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7864         Remove macro usage.
7865         (__PTHREAD_SPINS): Move definition to ...
7866         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7867         (__PTHREAD_SPINS): ... here.
7868         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7869         (__PTHREAD_SPIN): Likewise.
7870         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7871         (__PTHREAD_SPIN): Likewise.
7872         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7873         (__PTHREAD_SPIN): Likewise.
7874         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7875         (__PTHREAD_SPIN): Likewise.
7876         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7877         (__PTHREAD_SPIN): Likewise.
7878         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7879         (__PTHREAD_SPIN): Likewise.
7880         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7881         (__PTHREAD_SPIN): Likewise.
7882         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7883         (__PTHREAD_SPIN): Likewise.
7884         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7885         (__PTHREAD_SPIN): Likewise.
7886         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7887         (__PTHREAD_SPIN): Likewise.
7888         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7889         (__PTHREAD_SPIN): Likewise.
7890         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7891         (__PTHREAD_SPIN): Likewise.
7892
7893         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7894         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7895         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7896         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7897         imply folder.
7898         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7899         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7900         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7901         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7902         correct imply path.
7903         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7904         strlen symbol for non multi-arch builds.
7905         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7906         missing hidden_def and weak_alias.
7907
7908 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7909
7910         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7911
7912 2014-04-07  Will Newton  <will.newton@linaro.org>
7913
7914         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7915         and contents.  [!_LIBC] Remove #ifndef and contents.
7916         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7917         * string/memccpy.c (__memccpy): Use ANSI prototype.
7918         * string/memfrob.c (memfrob): Likewise.
7919         * string/strcoll.c (STRCOLL): Likewise.
7920         * string/strlen.c (strlen): Likewise.
7921         * string/strtok.c (STRTOK): Likewise.
7922         * string/strcat.c: Remove unused #include of memcopy.h.
7923         (strcat): Use ANSI prototype.
7924         * string/strchr.c: Remove unused #include of memcopy.h.
7925         (strchr): Use ANSI prototype.
7926         * string/strcmp.c: Remove unused #include of memcopy.h.
7927         (strcmp): Use ANSI prototype.
7928         * string/strcpy.c: Remove unused #include of memcopy.h.
7929         (strcpy): Use ANSI prototype.
7930
7931 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7932
7933         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7934         * config.make.in (config-extra-cppflags): Set it from
7935         libc_extra_cppflags.
7936         * configure.ac (libc_extra_cflags): Make it accumulate over
7937         configure fragments.
7938         (libc_extra_cppflags): New flag.
7939         * configure. Regenerate.
7940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7941         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7942         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7944
7945         [BZ #16815]
7946         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7947         result for FE_DOWNWARD rounding mode.
7948         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7949         Likewise.
7950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7951
7952 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7953
7954         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7955         in function argument name.
7956
7957 2014-04-03  David Svoboda  <svoboda@cert.org>
7958
7959         [BZ #5666]
7960         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7961         explicitly.
7962
7963 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7964
7965         * elf/dl-unmap-segments.h: New file.
7966         * sysdeps/generic/ldsodefs.h
7967         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7968         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7969         * elf/dl-fptr.c: Likewise.
7970         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7971         * sysdeps/aarch64/tlsdesc.c: Likewise.
7972         * sysdeps/arm/tlsdesc.c: Likewise.
7973         * sysdeps/i386/tlsdesc.c: Likewise.
7974         * sysdeps/tile/dl-runtime.c: Likewise.
7975         * sysdeps/x86_64/tlsdesc.c: Likewise.
7976         * elf/dl-load.h: New file.
7977         * elf/dl-load.c: Include it.
7978         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7979         Macros moved to dl-load.h.
7980         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7981         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7982         Use _dl_unmap_segments in place of __munmap.
7983         Break out segment-mapping loop into ...
7984         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7985
7986 2014-04-03  Will Newton  <will.newton@linaro.org>
7987
7988         * elf/dl-lookup.c (do_lookup_x): Remove comment
7989         referring to nested function and move variable
7990         declarations down to before first use.
7991
7992 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7993
7994         [BZ #16799]
7995         [BZ #16800]
7996         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7997         with 0 numerator.
7998         * math/s_catanf.c (__catanf): Likewise.
7999         * math/s_catanh.c (__catanh): Likewise.
8000         * math/s_catanhf.c (__catanhf): Likewise.
8001         * math/s_catanhl.c (__catanhl): Likewise.
8002         * math/s_catanl.c (__catanl): Likewise.
8003         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8004         by positive zero when computing -Inf result.
8005         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8006         (catanh_test): Likewise.
8007         * sysdeps/i386/fpu/libm-test-ulps: Update.
8008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8009
8010         [BZ #16789]
8011         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8012         instead of using underflowing value in computing result.
8013         * math/s_clog10.c (__clog10): Likewise.
8014         * math/s_clog10f.c (__clog10f): Likewise.
8015         * math/s_clog10l.c (__clog10l): Likewise.
8016         * math/s_clogf.c (__clogf): Likewise.
8017         * math/s_clogl.c (__clogl): Likewise.
8018         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8019         (clog10_test): Likewise.
8020         * sysdeps/i386/fpu/libm-test-ulps: Update.
8021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8022
8023 2014-04-02  Alan Modra  <amodra@gmail.com>
8024
8025         [BZ #16739]
8026         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8027         output when value is near a power of two.  Use int64_t for lx and
8028         remove casts.  Use decimal rather than hex exponent constants.
8029         Don't use long double multiplication when double will suffice.
8030         * math/libm-test.inc (nextafter_test_data): Add tests.
8031         * NEWS: Add 16739 and 16786 to bug list.
8032
8033         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8034
8035         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8036
8037 2014-04-01  Will Newton  <will.newton@linaro.org>
8038
8039         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8040         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
8041
8042 2014-04-01  Florian Weimer  <fweimer@redhat.com>
8043
8044         [BZ #13347]
8045         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8046         * nptl/tst-setuid2.c: New file.
8047         * nptl/Makefile (xtests): Add tst-setuid2.
8048
8049 2014-04-01  Alan Modra  <amodra@gmail.com>
8050
8051         [BZ #16786]
8052         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8053
8054 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8055
8056         [BZ #6803]
8057         [BZ #6804]
8058         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8059         set errno as appropriate.
8060         * math/w_scalbf.c (__scalbf): Likewise.
8061         * math/w_scalbl.c (__scalbl): Likewise.
8062         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8063         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8064         * math/libm-test.inc (scalb_test_data): Add errno expectations.
8065         Add more NaN tests.
8066
8067         [BZ #16349]
8068         * math/w_atan2.c: Include <errno.h>.
8069         (__atan2): Set errno for result underflowing to zero.
8070         * math/w_atan2f.c: Include <errno.h>.
8071         (__atan2f): Set errno for result underflowing to zero.
8072         * math/w_atan2l.c: Include <errno.h>.
8073         (__atan2l): Set errno for result underflowing to zero.
8074         * math/auto-libm-test-in: Don't allow missing errno for some atan2
8075         tests.
8076         * math/auto-libm-test-out: Regenerated.
8077
8078 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8079
8080         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8081         Encode instruction correctly in little endian.
8082         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8083         Likewise.
8084         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8085         Likewise.
8086         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8087         Likewise.
8088         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8089         Likewise.
8090
8091 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8092
8093         [BZ #9894]
8094         * sysdeps/unix/sysv/linux/kernel-features.h
8095         [__sparc__ && !__arch64__ && !__sparc_v9__]
8096         (__ASSUME_SET_ROBUST_LIST): Do not define.
8097         [__sparc__ && !__arch64__ && !__sparc_v9__]
8098         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8099         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8100         Likewise.
8101         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8102         (__ASSUME_FUTEX_LOCK_PI): Undefine.
8103         (__ASSUME_REQUEUE_PI): Likewise.
8104         (__ASSUME_SET_ROBUST_LIST): Likewise.
8105         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8106         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8107         Undefine.
8108         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8109         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8110         Likewise.
8111         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8112         Likewise.
8113         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8114         Likewise.
8115         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8116         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8117         Undefine.
8118         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8119         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8120         Likewise.
8121
8122         [BZ #16648]
8123         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8124         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8125         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8126
8127 2014-03-31  Will Newton  <will.newton@linaro.org>
8128
8129         * benchtests/Makefile (bench): Add ffs and ffsll to list
8130         of tests.
8131         * benchtests/ffs-inputs: New file.
8132         * benchtests/ffsll-inputs: Likewise.
8133
8134 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
8135
8136         [BZ #16770]
8137         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8138         too large before casting to int.
8139         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8140         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8141         * math/libm-test.inc (scalb_test_data): Add more tests.
8142
8143 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8144
8145         * benchtests/Makefile (DETAILED_OPT): New make option.
8146         (bench-func): Run benchmark program with -d if DETAILED_OPT is
8147         set.
8148         * benchtests/bench-skeleton.c: Include stdbool.h.
8149         (main): Store and print timings per input.
8150         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8151         member to each argument value.
8152         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8153         (_print_arg_data): Initialize per-input timing to 0.
8154
8155         * benchtests/Makefile (timing-type): New binary.
8156         (bench-clean): Also remove bench-timing-type.
8157         (bench): New target for timing-type.
8158         (bench-func): Print output in JSON format.
8159         * benchtests/bench-skeleton.c (main): Print output in JSON
8160         format.
8161         * benchtests/bench-timing-type.c: New file.
8162         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8163         (TIMING_PRINT_STATS): Remove.
8164         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8165         name separately.
8166
8167         * benchtests/bench-modf.c: Remove.
8168         * benchtests/modf-inputs: New inputs file.
8169
8170 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8171
8172         [BZ #16362]
8173         * math/s_clog10.c (M_PI_LOG10E): New macro.
8174         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8175         imaginary parts are 0.
8176         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8177         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8178         imaginary parts are 0.
8179         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8180         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8181         imaginary parts are 0.
8182         * math/libm-test.inc (clog10_test_data): Update expected results
8183         for when real and imaginary parts are 0.
8184
8185 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8186
8187         * elf/dl-load.c: Finish conversion of __builtin_expect into
8188         __glibc_{un}likely.
8189
8190 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8191
8192         [BZ #16348]
8193         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8194         1+x for argument with exponent below -67.
8195         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8196         Likewise.
8197         * math/auto-libm-test-in: Add more tests of exp.
8198         * math/auto-libm-test-out: Regenerated.
8199
8200 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8201
8202         [BZ #16759]
8203         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8204         (nscd_getnetgrent): Use it.
8205
8206         [BZ #16760]
8207         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8208         of stpcpy.
8209
8210 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8211
8212         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8213         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8214         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8215         (lll_robust_unlock): Remove out of line section. Use cfi
8216         intrinsics.
8217         (LLL_STUB_UNWIND_INFO*): Remove.
8218         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8219         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8220         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8221         (lll_robust_unlock): Remove out of line section. Use cfi
8222         intrinsics.
8223         (LLL_STUB_UNWIND_INFO*): Remove.
8224
8225 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8226
8227         [BZ #16758]
8228         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8229         blank values.
8230
8231 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8232
8233         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8234
8235 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8236
8237         [BZ #16198]
8238         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8239         fnstenv.
8240         * math/test-fenv-preserve.c: New file.
8241         * math/Makefile (tests): Add test-fenv-preserve.
8242
8243 2014-03-26  Will Newton <will.newton@linaro.org>
8244
8245         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8246
8247 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8248
8249         * scripts/versionlist.awk: Partition the version sets and emit all
8250         GLIBC_* (sorted) before all others (sorted).
8251
8252 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8253
8254         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8255         GLIBC_2.2.5 version.
8256
8257 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8258
8259         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8260         calls.
8261
8262         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8263         previous change.
8264
8265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8266
8267 2014-03-25  Andreas Schwab  <schwab@suse.de>
8268
8269         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8270         label to be used after in6ailist is initialized.
8271
8272 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8273
8274         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8275         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8276
8277 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8278
8279         [BZ #16357]
8280         [BZ #16599]
8281         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8282         min_plus_half.
8283         (fp_formats): Update initializers.
8284         (init_fp_formats): Initialize new field.
8285         (output_for_one_input_case): Allow underflow for results up to
8286         min_plus_half.
8287         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8288         * math/auto-libm-test-in: Don't mark some underflows from asin and
8289         atanh as spurious.
8290         * math/auto-libm-test-out: Regenerated.
8291         * sysdeps/i386/fpu/libm-test-ulps: Update.
8292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8293
8294 2014-03-25  Andreas Schwab  <schwab@suse.de>
8295
8296         * libio/Makefile (tst-ftell-partial-wide-ENV)
8297         (tst-ftell-active-handler-ENV): Define.
8298
8299 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8300
8301         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8302
8303 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8304
8305         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8306
8307 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8308
8309         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8310         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8311         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8312
8313 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8314
8315         [BZ #16634]
8316         * elf/dl-load.c (open_verify): Add mode parameter.
8317         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8318         (open_path): Change from boolean 'secure' to complete flag 'mode'
8319         (_dl_map_object): Adjust.
8320         * elf/Makefile (tests): Add tst-dlopen-aout.
8321         * elf/tst-dlopen-aout.c: New test.
8322
8323 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8324
8325         [BZ #16714]
8326         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8327         (struct stat): Rename member pad0 to __glibc_reserved0.
8328
8329         [BZ #16712]
8330         * sysdeps/s390/s390-32/bits/wordsize.h
8331         (__WORDSIZE32_SIZE_ULONG): New define.
8332         * sysdeps/s390/s390-64/bits/wordsize.h
8333         (__WORDSIZE32_SIZE_ULONG): Likewise.
8334         * sysdeps/generic/stdint.h (SIZE_MAX):
8335         Define as UL if __WORDSIZE32_SIZE_ULONG.
8336
8337         [BZ #16713]
8338         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8339         (__glibc_reserved0): New variable.
8340         (sa_flags): Change type to int.
8341
8342         * posix/Makefile (before-compile): Use += before-compile instead
8343         of a :=.
8344
8345         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8346         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8347
8348 2014-03-20  Andreas Schwab  <schwab@suse.de>
8349
8350         [BZ #16743]
8351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8352         non-matching result from nscd.
8353
8354 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8355
8356         * scripts/bench.py: Moved to ...
8357         * benchtests/scripts/bench.py: ... here.
8358         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8359
8360 2014-03-24  Andreas Schwab  <schwab@suse.de>
8361
8362         [BZ #16002]
8363         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8364         alloca_account and account alloca use for struct in6ailist.
8365
8366 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8367
8368         [BZ #16284]
8369         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8370         rounding mode to recompute results that overflow to infinity or
8371         underflow to zero.
8372         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8373         bug 16284.
8374         * math/auto-libm-test-out: Regenerated.
8375         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8376         (ccosh_test): Likewise.
8377         (csin_test_data): Use plus_oflow.
8378         (csin_test): Use ALL_RM_TEST.
8379         (csinh_test_data): Use plus_oflow.
8380         (csinh_test): Use ALL_RM_TEST.
8381         * sysdeps/i386/fpu/libm-test-ulps: Update.
8382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8383
8384 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8385
8386         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8387         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8388         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8389
8390         [BZ #16731]
8391         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8392         when x - 1 is zero.
8393         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8394         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8395         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8396         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8397         argument is 1.
8398         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8399         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8400         zero.
8401         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8402         * sysdeps/i386/fpu/libm-test-ulps: Update.
8403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8404
8405 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8406
8407         * scripts/bench.pl: Remove file.
8408         * scripts/bench.py: New benchmark script.
8409         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8410         * benchtests/README: Mention python dependency.
8411         * scripts/pylintrc: New file.
8412         * scripts/pylint: New file.
8413
8414         * bits/mathdef.h: Use #ifdef instead of #if.
8415         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8416         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8417         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8418         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8419         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8420         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8421
8422 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8423             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8424
8425         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8427         and strpbrk-ppc64 objects.
8428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8429         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8430         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8431         multiarch strpbrk for POWER7.
8432         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8433         multiarch strpbrk for PPC64.
8434         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8435         ifunc selector.
8436         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8437         strpbrk for POWER7.
8438
8439 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8440
8441         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8442         (atan_test): Likewise.
8443         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8444         (atanh_test): Use ALL_RM_TEST.
8445         (atan2_test_data): Likewise.
8446         (cabs_test): Likewise.
8447         (cacosh_test): Likewise.
8448         (carg_test): Likewise.
8449         (casin_test): Likewise.
8450         (casinh_test): Likewise.
8451         (cbrt_test): Likewise.
8452         (csqrt_test): Likewise.
8453         (erf_test): Likewise.
8454         (erfc_test): Likewise.
8455         (pow10_test): Likewise.
8456         (exp2_test): Likewise.
8457         (hypot_test): Likewise.
8458         (j0_test): Likewise.
8459         (j1_test): Likewise.
8460         (lgamma_test): Likewise.
8461         (gamma_test): Likewise.
8462         (sincos_test): Likewise.
8463         (tanh_test): Likewise.
8464         (y0_test): Likewise.
8465         (y1_test): Likewise.
8466         * sysdeps/i386/fpu/libm-test-ulps: Update.
8467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8468
8469 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8470
8471         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8473         and strcspn-ppc64 objects.
8474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8475         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8476         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8477         multiarch strcspn for POWER7.
8478         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8479         multiarch strcspn for PPC64.
8480         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8481         ifunc selector.
8482         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8483         strcspn for POWER7.
8484
8485 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8486
8487         * math/gen-libm-test.pl (generate_testfile): Expect only function
8488         name as argument to AUTO_TESTS_* and pass results for all rounding
8489         modes to parse_args.
8490         (parse_auto_input): Separate inputs of automatic tests from
8491         outputs before storing in %auto_tests.
8492         * math/libm-test.inc (acos_test_data): Update call to
8493         AUTO_TESTS_f_f.
8494         (acos_test): Use ALL_RM_TEST.
8495         (acos_tonearest_test_data): Remove.
8496         (acos_test_tonearest): Likewise.
8497         (acos_towardzero_test_data): Likewise.
8498         (acos_test_towardzero): Likewise.
8499         (acos_downward_test_data): Likewise.
8500         (acos_test_downward): Likewise.
8501         (acos_upward_test_data): Likewise.
8502         (acos_test_upward): Likewise.
8503         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8504         (asin_test_data): Likewise.
8505         (asin_test): Use ALL_RM_TEST.
8506         (asin_tonearest_test_data): Remove.
8507         (asin_test_tonearest): Likewise.
8508         (asin_towardzero_test_data): Likewise.
8509         (asin_test_towardzero): Likewise.
8510         (asin_downward_test_data): Likewise.
8511         (asin_test_downward): Likewise.
8512         (asin_upward_test_data): Likewise.
8513         (asin_test_upward): Likewise.
8514         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8515         (atan_test_data): Likewise.
8516         (atanh_test_data): Likewise.
8517         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8518         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8519         (carg_test_data): Likewise.
8520         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8521         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8522         (ccosh_test_data): Likewise.
8523         (cexp_test_data): Likewise.
8524         (clog_test_data): Likewise.
8525         (clog10_test_data): Likewise.
8526         (cos_test_data): Update call to AUTO_TESTS_f_f.
8527         (cos_test): Use ALL_RM_TEST.
8528         (cos_tonearest_test_data): Remove.
8529         (cos_test_tonearest): Likewise.
8530         (cos_towardzero_test_data): Likewise.
8531         (cos_test_towardzero): Likewise.
8532         (cos_downward_test_data): Likewise.
8533         (cos_test_downward): Likewise.
8534         (cos_upward_test_data): Likewise.
8535         (cos_test_upward): Likewise.
8536         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8537         (cosh_test): Use ALL_RM_TEST.
8538         (cosh_tonearest_test_data): Remove.
8539         (cosh_test_tonearest): Likewise.
8540         (cosh_towardzero_test_data): Likewise.
8541         (cosh_test_towardzero): Likewise.
8542         (cosh_downward_test_data): Likewise.
8543         (cosh_test_downward): Likewise.
8544         (cosh_upward_test_data): Likewise.
8545         (cosh_test_upward): Likewise.
8546         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8547         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8548         (ctan_test_data): Likewise.
8549         (ctan_test): Use ALL_RM_TEST.
8550         (ctan_tonearest_test_data): Remove.
8551         (ctan_test_tonearest): Likewise.
8552         (ctan_towardzero_test_data): Likewise.
8553         (ctan_test_towardzero): Likewise.
8554         (ctan_downward_test_data): Likewise.
8555         (ctan_test_downward): Likewise.
8556         (ctan_upward_test_data): Likewise.
8557         (ctan_test_upward): Likewise.
8558         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8559         (ctanh_test): Use ALL_RM_TEST.
8560         (ctanh_tonearest_test_data): Remove.
8561         (ctanh_test_tonearest): Likewise.
8562         (ctanh_towardzero_test_data): Likewise.
8563         (ctanh_test_towardzero): Likewise.
8564         (ctanh_downward_test_data): Likewise.
8565         (ctanh_test_downward): Likewise.
8566         (ctanh_upward_test_data): Likewise.
8567         (ctanh_test_upward): Likewise.
8568         (erf_test_data): Update call to AUTO_TESTS_f_f.
8569         (erfc_test_data): Likewise.
8570         (exp_test_data): Likewise.
8571         (exp_test): Use ALL_RM_TEST.
8572         (exp_tonearest_test_data): Remove.
8573         (exp_test_tonearest): Likewise.
8574         (exp_towardzero_test_data): Likewise.
8575         (exp_test_towardzero): Likewise.
8576         (exp_downward_test_data): Likewise.
8577         (exp_test_downward): Likewise.
8578         (exp_upward_test_data): Likewise.
8579         (exp_test_upward): Likewise.
8580         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8581         (exp10_test): Use ALL_RM_TEST.
8582         (exp10_tonearest_test_data): Remove.
8583         (exp10_test_tonearest): Likewise.
8584         (exp10_towardzero_test_data): Likewise.
8585         (exp10_test_towardzero): Likewise.
8586         (exp10_downward_test_data): Likewise.
8587         (exp10_test_downward): Likewise.
8588         (exp10_upward_test_data): Likewise.
8589         (exp10_test_upward): Likewise.
8590         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8591         (expm1_test_data): Likewise.
8592         (expm1_test): Use ALL_RM_TEST.
8593         (expm1_tonearest_test_data): Remove.
8594         (expm1_test_tonearest): Likewise.
8595         (expm1_towardzero_test_data): Likewise.
8596         (expm1_test_towardzero): Likewise.
8597         (expm1_downward_test_data): Likewise.
8598         (expm1_test_downward): Likewise.
8599         (expm1_upward_test_data): Likewise.
8600         (expm1_test_upward): Likewise.
8601         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8602         (fma_test): Use ALL_RM_TEST.
8603         (fma_towardzero_test_data): Remove.
8604         (fma_test_towardzero): Likewise.
8605         (fma_downward_test_data): Likewise.
8606         (fma_test_downward): Likewise.
8607         (fma_upward_test_data): Likewise.
8608         (fma_test_upward): Likewise.
8609         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8610         (j0_test_data): Update call to AUTO_TESTS_f_f.
8611         (j1_test_data): Likewise.
8612         (jn_test_data): Update call to AUTO_TESTS_if_f.
8613         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8614         (log_test_data): Update call to AUTO_TESTS_f_f.
8615         (log10_test_data): Likewise.
8616         (log1p_test_data): Likewise.
8617         (log2_test_data): Likewise.
8618         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8619         (pow_tonearest_test_data): Likewise.
8620         (sin_test_data): Update call to AUTO_TESTS_f_f.
8621         (sin_test): Use ALL_RM_TEST.
8622         (sin_tonearest_test_data): Remove.
8623         (sin_test_tonearest): Likewise.
8624         (sin_towardzero_test_data): Likewise.
8625         (sin_test_towardzero): Likewise.
8626         (sin_downward_test_data): Likewise.
8627         (sin_test_downward): Likewise.
8628         (sin_upward_test_data): Likewise.
8629         (sin_test_upward): Likewise.
8630         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8631         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8632         (sinh_test): Use ALL_RM_TEST.
8633         (sinh_tonearest_test_data): Remove.
8634         (sinh_test_tonearest): Likewise.
8635         (sinh_towardzero_test_data): Likewise.
8636         (sinh_test_towardzero): Likewise.
8637         (sinh_downward_test_data): Likewise.
8638         (sinh_test_downward): Likewise.
8639         (sinh_upward_test_data): Likewise.
8640         (sinh_test_upward): Likewise.
8641         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8642         (sqrt_test): Use ALL_RM_TEST.
8643         (sqrt_tonearest_test_data): Remove.
8644         (sqrt_test_tonearest): Likewise.
8645         (sqrt_towardzero_test_data): Likewise.
8646         (sqrt_test_towardzero): Likewise.
8647         (sqrt_downward_test_data): Likewise.
8648         (sqrt_test_downward): Likewise.
8649         (sqrt_upward_test_data): Likewise.
8650         (sqrt_test_upward): Likewise.
8651         (tan_test_data): Update call to AUTO_TESTS_f_f.
8652         (tan_test): Use ALL_RM_TEST.
8653         (tan_tonearest_test_data): Remove.
8654         (tan_test_tonearest): Likewise.
8655         (tan_towardzero_test_data): Likewise.
8656         (tan_test_towardzero): Likewise.
8657         (tan_downward_test_data): Likewise.
8658         (tan_test_downward): Likewise.
8659         (tan_upward_test_data): Likewise.
8660         (tan_test_upward): Likewise.
8661         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8662         (tgamma_test_data): Likewise.
8663         (y0_test_data): Likewise.
8664         (y1_test_data): Likewise.
8665         (yn_test_data): Update call to AUTO_TESTS_if_f.
8666         (main): Do not call removed functions.
8667
8668 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8669
8670         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8671         (ldexp_test_data): Remove.
8672         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8673         scalbn_test_data.
8674         (scalb_test): Use ALL_RM_TEST.
8675
8676 2014-03-19  Andreas Schwab  <schwab@suse.de>
8677
8678         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8679
8680 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8681
8682         [BZ #16649]
8683         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8684         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8685         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8686         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8687         (__ASSUME_PREADV): Undefine.
8688         (__ASSUME_PWRITEV): Likewise.
8689
8690 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8691
8692         * bits/mman-linux.h: Add comment about non-Linux use.
8693         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8694         bits/mman-linux.h resting place.
8695
8696         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8697         * bits/mman-linux.h: ... here.
8698
8699 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8700
8701         * conform/conformtest.pl: Add standard definition when calling C
8702         preprocessor on data files.
8703         (checknamespace): Remove unused variable.
8704
8705 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8706
8707         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8708         minus_oflow, plus_uflow and minus_uflow in expected results.
8709         * math/libm-test.inc (scalbn_test_data): Add more tests of
8710         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8711         minus_uflow.
8712         (scalbn_test): Use ALL_RM_TEST.
8713         (scalbln_test_data): Add more tests of negative arguments.  Use
8714         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8715         (scalbln_test): Use ALL_RM_TEST.
8716
8717 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8718
8719         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8720
8721 2014-03-18  Will Newton  <will.newton@linaro.org>
8722
8723         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8724         inaccurate comment.
8725
8726 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8727
8728         * Makerules [!subdir] (check-abi): Exit with error status if a
8729         test failed.
8730
8731 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8732
8733         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8734         for rint.  Include results for all rounding modes.
8735         (nearbyint_test): Use ALL_RM_TEST.
8736         (rint_test_data): Include all tests used for nearbyint.
8737
8738 2014-03-17  Will Newton  <will.newton@linaro.org>
8739
8740         * nptl/sysdeps/pthread/pthread.h: Revert previous
8741         change.
8742
8743         * sysdeps/generic/ldsodefs.h: Revert previous
8744         change.
8745
8746         * libio/genops.c: Revert previous change.
8747         * libio/libioP.h: Likewise.
8748         * stdio-common/vfprintf.c: Likewise.
8749
8750         * sysdeps/generic/math_private.h: Revert previous
8751         change.
8752
8753         * sysdeps/generic/math_private.h: Check whether
8754         HAVE_RM_CTX is defined with #ifdef rather
8755         than #if.
8756
8757         * argp/argp-fmtstream.h: Check whether
8758         __STRICT_ANSI__ is defined with #ifdef rather
8759         than #if.
8760         * argp/argp.h: Likewise.
8761
8762         * libio/genops.c: Check whether
8763         _IO_JUMPS_OFFSET is defined with #ifdef rather
8764         than #if.
8765         * libio/libioP.h: Likewise.
8766         * stdio-common/vfprintf.c: Likewise.
8767
8768         * sysdeps/generic/ldsodefs.h: Check whether
8769         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8770         than #if.
8771
8772         * nptl/sysdeps/pthread/pthread.h: Check
8773         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8774         its value.
8775
8776 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8777
8778         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8779         setting O_APPEND.
8780         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8781         test case.
8782
8783         [BZ #16680]
8784         * libio/fileops.c (_IO_file_open): Seek to end of file but
8785         don't cache the offset.
8786         (get_file_offset): Remove function.
8787         (do_ftell): Use cached offset when available.
8788         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8789         don't cache the offset.
8790         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8791         case.
8792         (do_one_test): Call it.
8793         (do_ftell_test): Fix up expected old offset for a+ mode.
8794         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8795         available.
8796
8797         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8798         up test status with function return status.
8799         (do_write_test): Likewise.
8800         (do_append_test): Likewise.
8801
8802         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8803         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8804         Remove.
8805
8806 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8807
8808         * math/gen-libm-test.pl (parse_args): Handle results specified for
8809         each rounding mode separately.
8810         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8811         tests and results from lrint_tonearest_test_data,
8812         lrint_towardzero_test_data, lrint_downward_test_data and
8813         lrint_upward_test_data.
8814         (lrint_test): Use ALL_RM_TEST.
8815         (lrint_tonearest_test_data): Remove.
8816         (lrint_test_tonearest): Likewise.
8817         (lrint_towardzero_test_data): Likewise.
8818         (lrint_test_towardzero): Likewise.
8819         (lrint_downward_test_data): Likewise.
8820         (lrint_test_downward): Likewise.
8821         (lrint_upward_test_data): Likewise.
8822         (lrint_test_upward): Likewise.
8823         (llrint_test_data): Merge in per-rounding-mode tests and results
8824         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8825         llrint_downward_test_data and llrint_upward_test_data.
8826         (llrint_test): Use ALL_RM_TEST.
8827         (llrint_tonearest_test_data): Remove.
8828         (llrint_test_tonearest): Likewise.
8829         (llrint_towardzero_test_data): Likewise.
8830         (llrint_test_towardzero): Likewise.
8831         (llrint_downward_test_data): Likewise.
8832         (llrint_test_downward): Likewise.
8833         (llrint_upward_test_data): Likewise.
8834         (llrint_test_upward): Likewise.
8835         (rint_test_data): Merge in per-rounding-mode tests and results
8836         from rint_tonearest_test_data, rint_towardzero_test_data,
8837         rint_downward_test_data and rint_upward_test_data.  Add
8838         per-rounding-mode results for tests not in those arrays.
8839         (rint_test): Use ALL_RM_TEST.
8840         (rint_tonearest_test_data): Remove.
8841         (rint_test_tonearest): Likewise.
8842         (rint_towardzero_test_data): Likewise.
8843         (rint_test_towardzero): Likewise.
8844         (rint_downward_test_data): Likewise.
8845         (rint_test_downward): Likewise.
8846         (rint_upward_test_data): Likewise.
8847         (rint_test_upward): Likewise.
8848         (main): Don't call removed functions.
8849
8850 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8851
8852         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8853         "Compiled on ..." crapola.  It is anti-useful.
8854
8855 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8856
8857         * scripts/evaluate-test.sh: Handle fourth argument to determine
8858         whether test run should stop on failure.
8859         * Makeconfig (stop-on-test-failure): New variable.
8860         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8861         $(stop-on-test-failure).
8862         * Makefile (tests): Give a summary of results from testing and
8863         exit with failure status if they include an ERROR or FAIL.
8864         (xtests): Likewise.
8865         * manual/install.texi (Configuring and compiling): Mention
8866         stop-on-test-failure=y.
8867         * INSTALL: Regenerated.
8868
8869 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8870
8871         * scripts/versionlist.awk: New file.
8872         * Makerules [$(build-shared) = yes]
8873         (postclean-generated): Add Versions.def, not Versions.def.v and
8874         Versions.def.v.i.
8875         ($(common-objpfx)Versions.def.v.i): Target removed.
8876         ($(common-objpfx)Versions.def): New target.
8877         ($(common-objpfx)Versions.all): Depend on that rather that
8878         $(common-objpfx)Versions.def.v.
8879         * Versions.def: File removed.
8880
8881         * Makeconfig (+gccwarn): Add -Wundef.
8882         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8883         a dl-sysdep.h breaking its contract.
8884         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8885         * include/stackinfo.h: New file.
8886         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8887         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8888         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8889         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8890         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8891         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8892         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8893         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8894         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8895         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8896         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8897         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8898         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8899         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8900         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8901
8902 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8903
8904         [BZ #16707]
8905         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8906         implementation.
8907         * math/libm-test.inc (round_test_data): Add more tests.
8908
8909         [BZ #16706]
8910         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8911         implementation.
8912         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8913
8914         [BZ #16701]
8915         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8916         implementation.
8917         * math/libm-test.inc (ceil_test_data): Add more tests.
8918
8919         * math/libm-test.inc (trunc_test_data): Add more tests related to
8920         BZ#16414.
8921
8922 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8923
8924         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8925         with #if rather than #ifdef.
8926         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8927
8928 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8929
8930         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8931         first.  Disable AVX-512 GCC support if assembler doesn't support
8932         it.
8933         * sysdeps/x86_64/configure: Regenerated.
8934
8935 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8936
8937         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8938         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8939         (__old_pthread_attr_setstack): Likewise.
8940         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8941         [!_STACK_GROWS_DOWN]: Likewise.
8942
8943 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8944
8945         * config.make.in (have-bash2): Delete.
8946         * configure.ac (libc_cv_have_bash2): Delete.
8947         * configure: Regenerate.
8948         * elf/Makefile (common-ldd-rewrite): Rename to ...
8949         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8950         (sh-ldd-rewrite): Delete.
8951         (bash-ldd-rewrite): Delete.
8952         (have-bash2): Delete checks.
8953         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8954         ldd-rewrite.
8955
8956         * config.make.in (have-ksh): Delete.
8957         (KSH): Delete.
8958         * configure.ac (libc_cv_have_ksh): Delete.
8959         * configure: Regenerate.
8960
8961         * elf/Makefile: Delete $(have-ksh) check.
8962         ($(objpfx)sotruss): Change KSH to BASH.
8963         * elf/sotruss.ksh: Rename to ...
8964         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8965         function style to match POSIX.  Drop ksh vim mode setting.
8966
8967         * manual/time.texi (Specifying the Time Zone with TZ): Change
8968         Tuesday to Thursday.
8969
8970         * debug/tst-longjmp_chk2.c: Update header comment.
8971         (stackoverflow_handler): Add comment.  Call assert on pass value.
8972
8973 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8974
8975         [BZ #16194]
8976         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8977         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8978         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8979         (La_x86_64_vector): Add zmm.
8980         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8981         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8982         ($(objpfx)tst-audit10): New target.
8983         ($(objpfx)tst-audit10.out): Likewise.
8984         (tst-audit10-ENV): New.
8985         (AVX512-CFLAGS): Likewise.
8986         (CFLAGS-tst-audit10.c): Likewise.
8987         (CFLAGS-tst-auditmod10a.c): Likewise.
8988         (CFLAGS-tst-auditmod10b.c): Likewise.
8989         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8990         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8991         * sysdeps/x86_64/configure: Regenerated.
8992         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8993         AVX-512 zmm register support.
8994         (_dl_x86_64_save_sse): Likewise.
8995         (_dl_x86_64_restore_sse): Likewise.
8996         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8997         size vector registers.
8998         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8999         (ZMM_SIZE): Likewise.
9000         * sysdeps/x86_64/tst-audit10.c: New file.
9001         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9002         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9003
9004 2014-03-13  Roland McGrath  <roland@hack.frob.com>
9005
9006         * configure.ac (HAVE_EHDR_START): New check.
9007         * configure: Regenerated.
9008         * config.h.in (HAVE_EHDR_START): New #undef.
9009         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9010         assuming the lowest-addressed segment maps the start of the file.
9011
9012 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
9013
9014         * INSTALL: Regenerated.
9015
9016 2014-03-13  Will Newton  <will.newton@linaro.org>
9017
9018         * manual/setjmp.texi (System V contexts): Improve
9019         clarity and grammar of documentation.
9020
9021 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9022
9023         [BZ #16381]
9024         * elf/Makefile (tests): Add tst-pie2.
9025         (tests-pie): Add tst-pie2.
9026         * elf/tst-pie2.c: New file.
9027         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9028         for ET_EXEC.
9029         * elf/rtld.c (map_doit): Load executable as lt_executable.
9030         (dl_main): Likewise.
9031
9032 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
9033
9034         [BZ #16642]
9035         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9036         (__ASSUME_PSELECT): Undefine.
9037
9038 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9039
9040         [BZ #16689]
9041         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9042         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9043         static build.
9044         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9045         selector for static builds.
9046
9047 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9048
9049         [BZ #16695]
9050         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9051         key in the buffer.
9052
9053 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9054
9055         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9056         IFUNC selector for static builds.
9057
9058 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
9059
9060         * sysdeps/mips/math_private.h [__mips_hard_float]
9061         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9062         libc_feresetround_mips_ctx.
9063         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9064         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9065         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9066
9067         [BZ #16677]
9068         * math/s_nextafter.c (__nextafter): Do not return value from
9069         overflowing computation.
9070         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9071         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9072         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9073         Likewise.
9074         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9075         Likewise.
9076         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9077         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9078
9079 2014-03-11  Roland McGrath  <roland@hack.frob.com>
9080
9081         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9082         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9083         Move sfi_sp use from the load-multiple (that no longer sets sp) to
9084         the new mov targetting sp.
9085
9086 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9087
9088         [BZ #16683]
9089         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9090         Define it for static builds as well.
9091         (NO_BZERO_IMPL): Likewise.
9092
9093 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9094
9095         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9096         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9097         multiarch strspn for PPC64.
9098         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9099         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9101         (__libc_ifunc_impl_list): Likewise.
9102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9103         multiarch optimizations
9104         * string/strspn.c (strspn): Using macro to redefine symbol name.
9105
9106 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9107             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9108
9109         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9110         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9111         multiarch strncat for PPC64.
9112         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9113         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9115         (__libc_ifunc_impl_list): Likewise.
9116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9117         multiarch optimizations
9118
9119 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9120
9121         [BZ #16639]
9122         * nscd/nscd.service: Make service type forking.
9123
9124 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9125
9126         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9127         sign in non default rounding modes.
9128         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9129
9130 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
9131
9132         * math/libm-test.inc (ALL_RM_TEST): New macro.
9133         (ceil_test): Use ALL_RM_TEST.
9134         (cimag_test): Likewise.
9135         (conj_test): Likewise.
9136         (copysign_test): Likewise.
9137         (cproj_test): Likewise.
9138         (creal_test): Likewise.
9139         (fabs_test): Likewise.
9140         (floor_test): Likewise.
9141         (fmax_test): Likewise.
9142         (fmin_test): Likewise.
9143         (fmod_test): Likewise.
9144         (fpclassify_test): Likewise.
9145         (frexp_test): Likewise.
9146         (ilogb_test): Likewise.
9147         (isfinite_test): Likewise.
9148         (finite_test): Likewise.
9149         (isgreater_test): Likewise.
9150         (isgreaterequal_test): Likewise.
9151         (isinf_test): Likewise.
9152         (isless_test): Likewise.
9153         (islessequal_test): Likewise.
9154         (islessgreater_test): Likewise.
9155         (isnan_test): Likewise.
9156         (isnormal_test): Likewise.
9157         (issignaling_test): Likewise.
9158         (isunordered_test): Likewise.
9159         (logb_test): Likewise.
9160         (logb_downward_test_data): Remove.
9161         (logb_test_downward): Likewise.
9162         (lround_test): Use ALL_RM_TEST.
9163         (llround_test): Likewise.
9164         (modf_test): Likewise.
9165         (nexttoward_test): Likewise.
9166         (remainder_test): Likewise.
9167         (drem_test): Likewise.
9168         (remainder_tonearest_test_data): Likewise.
9169         (remainder_test_tonearest): Likewise.
9170         (drem_test_tonearest): Likewise.
9171         (remainder_towardzero_test_data): Likewise.
9172         (remainder_test_towardzero): Likewise.
9173         (drem_test_towardzero): Likewise.
9174         (remainder_downward_test_data): Likewise.
9175         (remainder_test_downward): Likewise.
9176         (drem_test_downward): Likewise.
9177         (remainder_upward_test_data): Likewise.
9178         (remainder_test_upward): Likewise.
9179         (drem_test_upward): Likewise.
9180         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9181         (round_test): Use ALL_RM_TEST.
9182         (signbit_test): Likewise.
9183         (trunc_test): Likewise.
9184         (significand_test): Likewise.
9185         (main): Don't call removed functions.
9186
9187 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9188
9189         [BZ #16674]
9190         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9191         || __USE_XOPEN2K8].
9192         (ILL_ILLOPN): Likewise.
9193         (ILL_ILLADR): Likewise.
9194         (ILL_ILLTRP): Likewise.
9195         (ILL_PRVOPC): Likewise.
9196         (ILL_PRVREG): Likewise.
9197         (ILL_COPROC): Likewise.
9198         (ILL_BADSTK): Likewise.
9199         (FPE_INTDIV): Likewise.
9200         (FPE_INTOVF): Likewise.
9201         (FPE_FLTDIV): Likewise.
9202         (FPE_FLTOVF): Likewise.
9203         (FPE_FLTUND): Likewise.
9204         (FPE_FLTRES): Likewise.
9205         (FPE_FLTINV): Likewise.
9206         (FPE_FLTSUB): Likewise.
9207         (SEGV_MAPERR): Likewise.
9208         (SEGV_ACCERR): Likewise.
9209         (BUS_ADRALN): Likewise.
9210         (BUS_ADRERR): Likewise.
9211         (BUS_OBJERR): Likewise.
9212         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9213         (TRAP_TRACE): Likewise.
9214         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9215         __USE_XOPEN2K8].
9216         (CLD_KILLED): Likewise.
9217         (CLD_DUMPED): Likewise.
9218         (CLD_TRAPPED): Likewise.
9219         (CLD_STOPPED): Likewise.
9220         (CLD_CONTINUED): Likewise.
9221         (POLL_IN): Likewise.
9222         (POLL_OUT): Likewise.
9223         (POLL_MSG): Likewise.
9224         (POLL_ERR): Likewise.
9225         (POLL_PRI): Likewise.
9226         (POLL_HUP): Likewise.
9227         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9228         Likewise.
9229         (ILL_ILLOPN): Likewise.
9230         (ILL_ILLADR): Likewise.
9231         (ILL_ILLTRP): Likewise.
9232         (ILL_PRVOPC): Likewise.
9233         (ILL_PRVREG): Likewise.
9234         (ILL_COPROC): Likewise.
9235         (ILL_BADSTK): Likewise.
9236         (FPE_INTDIV): Likewise.
9237         (FPE_INTOVF): Likewise.
9238         (FPE_FLTDIV): Likewise.
9239         (FPE_FLTOVF): Likewise.
9240         (FPE_FLTUND): Likewise.
9241         (FPE_FLTRES): Likewise.
9242         (FPE_FLTINV): Likewise.
9243         (FPE_FLTSUB): Likewise.
9244         (SEGV_MAPERR): Likewise.
9245         (SEGV_ACCERR): Likewise.
9246         (BUS_ADRALN): Likewise.
9247         (BUS_ADRERR): Likewise.
9248         (BUS_OBJERR): Likewise.
9249         (BUS_MCEERR_AR): Likewise.
9250         (BUS_MCEERR_AO): Likewise.
9251         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9252         (TRAP_TRACE): Likewise.
9253         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9254         __USE_XOPEN2K8].
9255         (CLD_KILLED): Likewise.
9256         (CLD_DUMPED): Likewise.
9257         (CLD_TRAPPED): Likewise.
9258         (CLD_STOPPED): Likewise.
9259         (CLD_CONTINUED): Likewise.
9260         (POLL_IN): Likewise.
9261         (POLL_OUT): Likewise.
9262         (POLL_MSG): Likewise.
9263         (POLL_ERR): Likewise.
9264         (POLL_PRI): Likewise.
9265         (POLL_HUP): Likewise.
9266         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9267         (ILL_ILLOPN): Likewise.
9268         (ILL_ILLADR): Likewise.
9269         (ILL_ILLTRP): Likewise.
9270         (ILL_PRVOPC): Likewise.
9271         (ILL_PRVREG): Likewise.
9272         (ILL_COPROC): Likewise.
9273         (ILL_BADSTK): Likewise.
9274         (FPE_INTDIV): Likewise.
9275         (FPE_INTOVF): Likewise.
9276         (FPE_FLTDIV): Likewise.
9277         (FPE_FLTOVF): Likewise.
9278         (FPE_FLTUND): Likewise.
9279         (FPE_FLTRES): Likewise.
9280         (FPE_FLTINV): Likewise.
9281         (FPE_FLTSUB): Likewise.
9282         (SEGV_MAPERR): Likewise.
9283         (SEGV_ACCERR): Likewise.
9284         (BUS_ADRALN): Likewise.
9285         (BUS_ADRERR): Likewise.
9286         (BUS_OBJERR): Likewise.
9287         (BUS_MCEERR_AR): Likewise.
9288         (BUS_MCEERR_AO): Likewise.
9289         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9290         (TRAP_TRACE): Likewise.
9291         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9292         __USE_XOPEN2K8].
9293         (CLD_KILLED): Likewise.
9294         (CLD_DUMPED): Likewise.
9295         (CLD_TRAPPED): Likewise.
9296         (CLD_STOPPED): Likewise.
9297         (CLD_CONTINUED): Likewise.
9298         (POLL_IN): Likewise.
9299         (POLL_OUT): Likewise.
9300         (POLL_MSG): Likewise.
9301         (POLL_ERR): Likewise.
9302         (POLL_PRI): Likewise.
9303         (POLL_HUP): Likewise.
9304         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9305         Likewise.
9306         (ILL_ILLOPN): Likewise.
9307         (ILL_ILLADR): Likewise.
9308         (ILL_ILLTRP): Likewise.
9309         (ILL_PRVOPC): Likewise.
9310         (ILL_PRVREG): Likewise.
9311         (ILL_COPROC): Likewise.
9312         (ILL_BADSTK): Likewise.
9313         (ILL_BADIADDR): Likewise.
9314         (ILL_BREAK): Likewise.
9315         (FPE_INTDIV): Likewise.
9316         (FPE_INTOVF): Likewise.
9317         (FPE_FLTDIV): Likewise.
9318         (FPE_FLTOVF): Likewise.
9319         (FPE_FLTUND): Likewise.
9320         (FPE_FLTRES): Likewise.
9321         (FPE_FLTINV): Likewise.
9322         (FPE_FLTSUB): Likewise.
9323         (FPE_DECOVF): Likewise.
9324         (FPE_DECDIV): Likewise.
9325         (FPE_DECERR): Likewise.
9326         (FPE_INVASC): Likewise.
9327         (FPE_INVDEC): Likewise.
9328         (SEGV_MAPERR): Likewise.
9329         (SEGV_ACCERR): Likewise.
9330         (SEGV_PSTKOVF): Likewise.
9331         (BUS_ADRALN): Likewise.
9332         (BUS_ADRERR): Likewise.
9333         (BUS_OBJERR): Likewise.
9334         (BUS_MCEERR_AR): Likewise.
9335         (BUS_MCEERR_AO): Likewise.
9336         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9337         (TRAP_TRACE): Likewise.
9338         (TRAP_BRANCH): Likewise.
9339         (TRAP_HWBKPT): Likewise.
9340         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9341         __USE_XOPEN2K8].
9342         (CLD_KILLED): Likewise.
9343         (CLD_DUMPED): Likewise.
9344         (CLD_TRAPPED): Likewise.
9345         (CLD_STOPPED): Likewise.
9346         (CLD_CONTINUED): Likewise.
9347         (POLL_IN): Likewise.
9348         (POLL_OUT): Likewise.
9349         (POLL_MSG): Likewise.
9350         (POLL_ERR): Likewise.
9351         (POLL_PRI): Likewise.
9352         (POLL_HUP): Likewise.
9353         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9354         (ILL_ILLOPN): Likewise.
9355         (ILL_ILLADR): Likewise.
9356         (ILL_ILLTRP): Likewise.
9357         (ILL_PRVOPC): Likewise.
9358         (ILL_PRVREG): Likewise.
9359         (ILL_COPROC): Likewise.
9360         (ILL_BADSTK): Likewise.
9361         (FPE_INTDIV): Likewise.
9362         (FPE_INTOVF): Likewise.
9363         (FPE_FLTDIV): Likewise.
9364         (FPE_FLTOVF): Likewise.
9365         (FPE_FLTUND): Likewise.
9366         (FPE_FLTRES): Likewise.
9367         (FPE_FLTINV): Likewise.
9368         (FPE_FLTSUB): Likewise.
9369         (SEGV_MAPERR): Likewise.
9370         (SEGV_ACCERR): Likewise.
9371         (BUS_ADRALN): Likewise.
9372         (BUS_ADRERR): Likewise.
9373         (BUS_OBJERR): Likewise.
9374         (BUS_MCEERR_AR): Likewise.
9375         (BUS_MCEERR_AO): Likewise.
9376         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9377         (TRAP_TRACE): Likewise.
9378         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9379         __USE_XOPEN2K8].
9380         (CLD_KILLED): Likewise.
9381         (CLD_DUMPED): Likewise.
9382         (CLD_TRAPPED): Likewise.
9383         (CLD_STOPPED): Likewise.
9384         (CLD_CONTINUED): Likewise.
9385         (POLL_IN): Likewise.
9386         (POLL_OUT): Likewise.
9387         (POLL_MSG): Likewise.
9388         (POLL_ERR): Likewise.
9389         (POLL_PRI): Likewise.
9390         (POLL_HUP): Likewise.
9391         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9392         (ILL_ILLOPN): Likewise.
9393         (ILL_ILLADR): Likewise.
9394         (ILL_ILLTRP): Likewise.
9395         (ILL_PRVOPC): Likewise.
9396         (ILL_PRVREG): Likewise.
9397         (ILL_COPROC): Likewise.
9398         (ILL_BADSTK): Likewise.
9399         (FPE_INTDIV): Likewise.
9400         (FPE_INTOVF): Likewise.
9401         (FPE_FLTDIV): Likewise.
9402         (FPE_FLTOVF): Likewise.
9403         (FPE_FLTUND): Likewise.
9404         (FPE_FLTRES): Likewise.
9405         (FPE_FLTINV): Likewise.
9406         (FPE_FLTSUB): Likewise.
9407         (SEGV_MAPERR): Likewise.
9408         (SEGV_ACCERR): Likewise.
9409         (BUS_ADRALN): Likewise.
9410         (BUS_ADRERR): Likewise.
9411         (BUS_OBJERR): Likewise.
9412         (BUS_MCEERR_AR): Likewise.
9413         (BUS_MCEERR_AO): Likewise.
9414         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9415         (TRAP_TRACE): Likewise.
9416         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9417         __USE_XOPEN2K8].
9418         (CLD_KILLED): Likewise.
9419         (CLD_DUMPED): Likewise.
9420         (CLD_TRAPPED): Likewise.
9421         (CLD_STOPPED): Likewise.
9422         (CLD_CONTINUED): Likewise.
9423         (POLL_IN): Likewise.
9424         (POLL_OUT): Likewise.
9425         (POLL_MSG): Likewise.
9426         (POLL_ERR): Likewise.
9427         (POLL_PRI): Likewise.
9428         (POLL_HUP): Likewise.
9429         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9430         (ILL_ILLOPN): Likewise.
9431         (ILL_ILLADR): Likewise.
9432         (ILL_ILLTRP): Likewise.
9433         (ILL_PRVOPC): Likewise.
9434         (ILL_PRVREG): Likewise.
9435         (ILL_COPROC): Likewise.
9436         (ILL_BADSTK): Likewise.
9437         (FPE_INTDIV): Likewise.
9438         (FPE_INTOVF): Likewise.
9439         (FPE_FLTDIV): Likewise.
9440         (FPE_FLTOVF): Likewise.
9441         (FPE_FLTUND): Likewise.
9442         (FPE_FLTRES): Likewise.
9443         (FPE_FLTINV): Likewise.
9444         (FPE_FLTSUB): Likewise.
9445         (SEGV_MAPERR): Likewise.
9446         (SEGV_ACCERR): Likewise.
9447         (BUS_ADRALN): Likewise.
9448         (BUS_ADRERR): Likewise.
9449         (BUS_OBJERR): Likewise.
9450         (BUS_MCEERR_AR): Likewise.
9451         (BUS_MCEERR_AO): Likewise.
9452         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9453         (TRAP_TRACE): Likewise.
9454         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9455         __USE_XOPEN2K8].
9456         (CLD_KILLED): Likewise.
9457         (CLD_DUMPED): Likewise.
9458         (CLD_TRAPPED): Likewise.
9459         (CLD_STOPPED): Likewise.
9460         (CLD_CONTINUED): Likewise.
9461         (POLL_IN): Likewise.
9462         (POLL_OUT): Likewise.
9463         (POLL_MSG): Likewise.
9464         (POLL_ERR): Likewise.
9465         (POLL_PRI): Likewise.
9466         (POLL_HUP): Likewise.
9467         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9468         (ILL_ILLOPN): Likewise.
9469         (ILL_ILLADR): Likewise.
9470         (ILL_ILLTRP): Likewise.
9471         (ILL_PRVOPC): Likewise.
9472         (ILL_PRVREG): Likewise.
9473         (ILL_COPROC): Likewise.
9474         (ILL_BADSTK): Likewise.
9475         (ILL_DBLFLT): Likewise.
9476         (ILL_HARDWALL): Likewise.
9477         (FPE_INTDIV): Likewise.
9478         (FPE_INTOVF): Likewise.
9479         (FPE_FLTDIV): Likewise.
9480         (FPE_FLTOVF): Likewise.
9481         (FPE_FLTUND): Likewise.
9482         (FPE_FLTRES): Likewise.
9483         (FPE_FLTINV): Likewise.
9484         (FPE_FLTSUB): Likewise.
9485         (SEGV_MAPERR): Likewise.
9486         (SEGV_ACCERR): Likewise.
9487         (BUS_ADRALN): Likewise.
9488         (BUS_ADRERR): Likewise.
9489         (BUS_OBJERR): Likewise.
9490         (BUS_MCEERR_AR): Likewise.
9491         (BUS_MCEERR_AO): Likewise.
9492         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9493         (TRAP_TRACE): Likewise.
9494         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9495         __USE_XOPEN2K8].
9496         (CLD_KILLED): Likewise.
9497         (CLD_DUMPED): Likewise.
9498         (CLD_TRAPPED): Likewise.
9499         (CLD_STOPPED): Likewise.
9500         (CLD_CONTINUED): Likewise.
9501         (POLL_IN): Likewise.
9502         (POLL_OUT): Likewise.
9503         (POLL_MSG): Likewise.
9504         (POLL_ERR): Likewise.
9505         (POLL_PRI): Likewise.
9506         (POLL_HUP): Likewise.
9507         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9508         (ILL_ILLOPN): Likewise.
9509         (ILL_ILLADR): Likewise.
9510         (ILL_ILLTRP): Likewise.
9511         (ILL_PRVOPC): Likewise.
9512         (ILL_PRVREG): Likewise.
9513         (ILL_COPROC): Likewise.
9514         (ILL_BADSTK): Likewise.
9515         (FPE_INTDIV): Likewise.
9516         (FPE_INTOVF): Likewise.
9517         (FPE_FLTDIV): Likewise.
9518         (FPE_FLTOVF): Likewise.
9519         (FPE_FLTUND): Likewise.
9520         (FPE_FLTRES): Likewise.
9521         (FPE_FLTINV): Likewise.
9522         (FPE_FLTSUB): Likewise.
9523         (SEGV_MAPERR): Likewise.
9524         (SEGV_ACCERR): Likewise.
9525         (BUS_ADRALN): Likewise.
9526         (BUS_ADRERR): Likewise.
9527         (BUS_OBJERR): Likewise.
9528         (BUS_MCEERR_AR): Likewise.
9529         (BUS_MCEERR_AO): Likewise.
9530         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9531         (TRAP_TRACE): Likewise.
9532         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9533         __USE_XOPEN2K8].
9534         (CLD_KILLED): Likewise.
9535         (CLD_DUMPED): Likewise.
9536         (CLD_TRAPPED): Likewise.
9537         (CLD_STOPPED): Likewise.
9538         (CLD_CONTINUED): Likewise.
9539         (POLL_IN): Likewise.
9540         (POLL_OUT): Likewise.
9541         (POLL_MSG): Likewise.
9542         (POLL_ERR): Likewise.
9543         (POLL_PRI): Likewise.
9544         (POLL_HUP): Likewise.
9545         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9546         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9547
9548         [BZ #16670]
9549         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9550         before #include of <time.h>.
9551         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9552         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9553         (test-xfail-UNIX98/sched.h/conform): Likewise.
9554
9555 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9556
9557         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9558         error absence of trapping exception support.
9559         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9560
9561 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9562
9563         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9564         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9565         * timezone/Makefile (testdata): Move definition above include of
9566         Rules.
9567         (test-zones): New variable.
9568         (tests-special): Add zone files.
9569         (build-testdata): Use $(evaluate-test).
9570
9571         * elf/Makefile (tests-special): Rename tests to end with .out.
9572         ($(objpfx)noload-mem): Likewise.
9573         ($(objpfx)tst-leaks1-mem): Likewise.
9574         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9575         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9576         $(objpfx)test-iconvconfig.out.
9577         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9578         set -e inside subshell and redirect output to file.
9579         * iconvdata/Makefile (generated): Rename tests to end with .out.
9580         Correct type.
9581         (tests-special): Rename tests to end with .out.
9582         ($(objpfx)mtrace-tst-loading): Likewise.
9583         * intl/Makefile (generated): Likewise.
9584         (tests-special): Likewise.
9585         ($(objpfx)mtrace-tst-gettext): Likewise.
9586         * misc/Makefile (generated): Likewise.
9587         (tests-special): Likewise.
9588         ($(objpfx)tst-error1-mem): Likewise.
9589         * nptl/Makefile (tests-special): Likewise.
9590         ($(objpfx)tst-stack3-mem): Likewise.
9591         (generated): Likewise.
9592         * posix/Makefile (generated): Likewise.
9593         (tests-special): Likewise.
9594         (xtests-special): Likewise.
9595         ($(objpfx)tst-fnmatch-mem): Likewise.
9596         ($(objpfx)bug-regex2-mem): Likewise.
9597         ($(objpfx)bug-regex14-mem): Likewise.
9598         ($(objpfx)bug-regex21-mem): Likewise.
9599         ($(objpfx)bug-regex31-mem): Likewise.
9600         ($(objpfx)tst-vfork3-mem): Likewise.
9601         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9602         ($(objpfx)tst-pcre-mem): Likewise.
9603         ($(objpfx)tst-boost-mem): Likewise.
9604         ($(objpfx)bug-ga2-mem): Likewise.
9605         ($(objpfx)bug-glob2-mem): Likewise.
9606         * resolv/Makefile (generate): Likewise.
9607         (tests-special): Likewise.
9608         (xtests-special): Likewise.
9609         (generated): Likewise.
9610         ($(objpfx)mtrace-tst-leaks): Likewise.
9611         ($(objpfx)mtrace-tst-leaks2): Likewise.
9612
9613         * scripts/merge-test-results.sh: New file.
9614         * Makefile (tests-special-notdir): New variable.
9615         (tests): Run merge-test-results.sh.
9616         (xtests): Likewise.
9617         * Rules (tests-special-notdir): New variable.
9618         (xtests-special-notdir): Likewise.
9619         (tests): Run merge-test-results.sh
9620         (xtests): Likewise.
9621
9622         * Makeconfig (test-xfail-name): New variable.
9623         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9624         compute variable name for expected failures.
9625         * conform/Makefile (conformtest-headers-data): New variable.
9626         (conformtest-standards): Likewise.
9627         (conformtest-headers-ISO): Likewise.
9628         (conformtest-headers-ISO99): Likewise.
9629         (conformtest-headers-ISO11): Likewise.
9630         (conformtest-headers-POSIX): Likewise.
9631         (conformtest-headers-XPG3): Likewise.
9632         (conformtest-headers-XPG4): Likewise.
9633         (conformtest-headers-UNIX98): Likewise.
9634         (conformtest-headers-XOPEN2K): Likewise.
9635         (conformtest-headers-POSIX2008): Likewise.
9636         (conformtest-headers-XOPEN2K8): Likewise.
9637         (conformtest-header-list-base): Likewise.
9638         (conformtest-header-list-tests): Likewise.
9639         (conformtest-header-base): Likewise.
9640         (conformtest-header-tests): Likewise.
9641         (tests-special): Add $(conformtest-header-list-tests).  If
9642         [$(fast-check) && !$(cross-compiling)], add
9643         $(conformtest-header-tests) instead of
9644         $(objpfx)run-conformtest.out.
9645         (generated): Add $(conformtest-header-list-base).  If
9646         [$(fast-check) && !$(cross-compiling)], add
9647         $(conformtest-header-base).  Remove previous setting.
9648         ($(conformtest-header-list-tests)): New target.
9649         (test-xfail-run-conformtest): Remove variable.
9650         ($(objpfx)run-conformtest.out): Remove target.
9651         (test-xfail-ISO11/complex.h/conform): New variable.
9652         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9653         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9654         (test-xfail-XPG3/varargs.h/conform): Likewise.
9655         (test-xfail-XPG4/varargs.h/conform): Likewise.
9656         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9657         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9658         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9659         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9660         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9661         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9662         (test-xfail-XPG3/ftw.h/conform): Likewise.
9663         (test-xfail-XPG3/grp.h/conform): Likewise.
9664         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9665         (test-xfail-XPG3/limits.h/conform): Likewise.
9666         (test-xfail-XPG3/pwd.h/conform): Likewise.
9667         (test-xfail-XPG3/search.h/conform): Likewise.
9668         (test-xfail-XPG3/signal.h/conform): Likewise.
9669         (test-xfail-XPG3/stdio.h/conform): Likewise.
9670         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9671         (test-xfail-XPG3/string.h/conform): Likewise.
9672         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9673         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9674         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9675         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9676         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9677         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9678         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9679         (test-xfail-XPG3/termios.h/conform): Likewise.
9680         (test-xfail-XPG3/time.h/conform): Likewise.
9681         (test-xfail-XPG3/unistd.h/conform): Likewise.
9682         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9683         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9684         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9685         (test-xfail-XPG4/netdb.h/conform): Likewise.
9686         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9687         (test-xfail-XPG4/signal.h/conform): Likewise.
9688         (test-xfail-XPG4/stdio.h/conform): Likewise.
9689         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9690         (test-xfail-XPG4/stropts.h/conform): Likewise.
9691         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9692         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9693         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9694         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9695         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9696         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9697         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9698         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9699         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9700         (test-xfail-XPG4/termios.h/conform): Likewise.
9701         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9702         (test-xfail-XPG4/unistd.h/conform): Likewise.
9703         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9704         (test-xfail-POSIX/sched.h/conform): Likewise.
9705         (test-xfail-POSIX/signal.h/conform): Likewise.
9706         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9707         (test-xfail-POSIX/tar.h/conform): Likewise.
9708         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9709         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9710         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9711         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9712         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9713         (test-xfail-UNIX98/sched.h/conform): Likewise.
9714         (test-xfail-UNIX98/signal.h/conform): Likewise.
9715         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9716         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9717         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9718         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9719         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9720         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9721         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9722         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9723         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9724         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9725         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9726         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9727         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9728         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9729         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9730         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9731         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9732         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9733         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9734         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9735         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9736         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9737         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9738         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9739         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9740         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9741         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9742         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9743         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9744         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9745         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9746         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9747         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9748         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9749         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9750         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9751         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9752         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9753         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9754         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9755         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9756         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9757         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9758         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9759         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9760         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9761         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9762         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9763         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9764         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9765         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9766         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9767         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9768         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9769         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9770         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9771         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9772         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9773         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9774         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9775         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9776         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9777         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9778         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9779         (conformtest-cc-flags): Likewise.
9780         ($(conformtest-header-tests): New target.
9781         * conform/check-header-lists.sh: New file.
9782         * conform/run-conformtest.sh: Remove.
9783
9784         * conform/conformtest.pl: Allow ' and \ in values given for
9785         constants.
9786         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9787         inclusion.
9788         [POSIX] (sys/types.h): Likewise.
9789         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9790         inclusion.
9791         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9792         inclusion.
9793         * conform/data/signal.h-data (SIGIO): Remove expectation.
9794         [XPG3] (SIGBUS): Do not expect.
9795         [POSIX || XPG3] (SIGPOLL): Likewise.
9796         [POSIX || XPG3] (SIGPROF): Likewise.
9797         [POSIX || XPG3] (SIGSYS): Likewise.
9798         [XPG3] (SIGTRAP): Likewise.
9799         [POSIX || XPG3] (SIGURG): Likewise.
9800         [POSIX || XPG3] (SIGVTALRM): Likewise.
9801         [POSIX || XPG3] (SIGXCPU): Likewise.
9802         [POSIX || XPG3] (SIGXFSZ): Likewise.
9803         [POSIX] (SA_SIGINFO): Expect.
9804         [XPG3] (siginfo_t): Do not expect type or contents.
9805         [POSIX] (si_pid): Do not expect element.
9806         [POSIX] (si_uid): Likewise.
9807         [POSIX] (si_addr): Likewise.
9808         [POSIX] (si_status): Likewise.
9809         [POSIX] (si_band): Likewise.
9810         [XPG4] (si_value): Likewise.
9811         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9812         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9813         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9814         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9815         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9816         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9817         [POSIX || XPG3] (ILL_COPROC): Likewise.
9818         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9819         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9820         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9821         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9822         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9823         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9824         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9825         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9826         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9827         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9828         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9829         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9830         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9831         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9832         [POSIX || XPG3] (CLD_EXITED): Likewise.
9833         [POSIX || XPG3] (CLD_KILLED): Likewise.
9834         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9835         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9836         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9837         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9838         [POSIX || XPG3] (POLL_IN): Likewise.
9839         [POSIX || XPG3] (POLL_OUT): Likewise.
9840         [POSIX || XPG3] (POLL_MSG): Likewise.
9841         [POSIX || XPG3] (POLL_ERR): Likewise.
9842         [POSIX || XPG3] (POLL_PRI): Likewise.
9843         [POSIX || XPG3] (POLL_HUP): Likewise.
9844         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9845         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9846         (SIG*): Do not allow.
9847         [XPG3] (si_*): Likewise.
9848         [XPG3] (SI_*): Likewise.
9849         [XPG3 || XPG4] (sigev_*): Likewise.
9850         [XPG3 || XPG4] (SIGEV_*): Likewise.
9851         [XPG3 || XPG4] (sival_*): Likewise.
9852         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9853         [POSIX || XPG3] (BUS_*): Likewise.
9854         [POSIX || XPG3] (CLD_*): Likewise.
9855         [POSIX || XPG3] (FPE_*): Likewise.
9856         [POSIX || XPG3] (ILL_*): Likewise.
9857         [POSIX || XPG3] (POLL_*): Likewise.
9858         [POSIX || XPG3] (SEGV_*): Likewise.
9859         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9860         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9861         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9862         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9863         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9864         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9865         Specify type and value.
9866         (TVERSLEN): Likewise.
9867         (REGTYPE): Likewise.
9868         (AREGTYPE): Likewise.
9869         (LNKTYPE): Likewise.
9870         (SYMTYPE): Likewise.
9871         (CHRTYPE): Likewise.
9872         (BLKTYPE): Likewise.
9873         (DIRTYPE): Likewise.
9874         (FIFOTYPE): Likewise.
9875         (CONTTYPE): Likewise.
9876         (TSUID): Likewise.
9877         (TSGID): Likewise.
9878         (TSVTX): Likewise.
9879         (TUREAD): Likewise.
9880         (TUWRITE): Likewise.
9881         (TUEXEC): Likewise.
9882         (TGREAD): Likewise.
9883         (TGWRITE): Likewise.
9884         (TGEXEC): Likewise.
9885         (TOREAD): Likewise.
9886         (TOWRITE): Likewise.
9887         (TOEXEC): Likewise.
9888         [POSIX] (TSVTX): Expect constant.
9889
9890 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9891
9892         * Makefile (tests): Change dependencies to ....
9893         (tests-special): ... additions to this variable.
9894         (tests): Depend on $(tests-special).
9895         * Makerules (check-abi-list): New variable.
9896         (check-abi): Depend on $(check-abi-list).
9897         [$(subdir) = elf] (tests-special): Add
9898         $(objpfx)check-abi-libc.out.
9899         [$(build-shared) = yes && subdir] (tests-special): Add
9900         $(check-abi-list).
9901         [$(build-shared) = yes && subdir] (tests): Do not depend on
9902         check-abi.
9903         * Rules (tests): Depend on $(tests-special).
9904         (xtests): Depend on $(xtests-special).
9905         * catgets/Makefile (tests): Change dependencies to ....
9906         (tests-special): ... additions to this variable.
9907         * conform/Makefile (tests): Change dependencies to ....
9908         (tests-special): ... additions to this variable.
9909         * elf/Makefile (tests): Change dependencies to ....
9910         (tests-special): ... additions to this variable.
9911         * grp/Makefile (tests): Change dependencies to ....
9912         (tests-special): ... additions to this variable.
9913         * iconv/Makefile (xtests): Change dependencies to ....
9914         (xtests-special): ... additions to this variable.
9915         * iconvdata/Makefile (tests): Change dependencies to ....
9916         (tests-special): ... additions to this variable.
9917         * intl/Makefile (tests): Change dependencies to ....
9918         (tests-special): ... additions to this variable.  Also add
9919         $(objpfx)tst-gettext.out.
9920         * io/Makefile (tests): Change dependencies to ....
9921         (tests-special): ... additions to this variable.
9922         * libio/Makefile (tests): Change dependencies to ....
9923         (tests-special): ... additions to this variable.
9924         * malloc/Makefile (tests): Change dependencies to ....
9925         (tests-special): ... additions to this variable.
9926         * misc/Makefile (tests): Change dependencies to ....
9927         (tests-special): ... additions to this variable.
9928         * nptl/Makefile (tests): Change dependencies to ....
9929         (tests-special): ... additions to this variable.
9930         * nptl_db/Makefile (tests): Change dependencies to ....
9931         (tests-special): ... additions to this variable.
9932         * posix/Makefile (tests): Change dependencies to ....
9933         (tests-special): ... additions to this variable.
9934         (xtests): Change dependencies to ....
9935         (xtests-special): ... additions to this variable.
9936         * resolv/Makefile (tests): Change dependencies to ....
9937         (tests-special): ... additions to this variable.
9938         (xtests): Change dependencies to ....
9939         (xtests-special): ... additions to this variable.
9940         * stdio-common/Makefile (tests): Change dependencies to ....
9941         (tests-special): ... additions to this variable.
9942         (do-tst-unbputc): Remove target.
9943         (do-tst-printf): Likewise.
9944         * stdlib/Makefile (tests): Change dependencies to ....
9945         (tests-special): ... additions to this variable.
9946         * string/Makefile (tests): Change dependencies to ....
9947         (tests-special): ... additions to this variable.
9948         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9949         (tests-special): ... additions to this variable.
9950
9951         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9952         whole file.
9953         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9954         whole file.
9955         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9956         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9957
9958         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9959         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9960         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9961         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9962         * conform/data/libgen.h-data [XPG3]: Likewise.
9963         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9964         * conform/data/ndbm.h-data [XPG3]: Likewise.
9965         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9966         * conform/data/netdb.h-data [XPG3]: Likewise.
9967         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9968         * conform/data/poll.h-data [XPG3]: Likewise.
9969         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9970         * conform/data/strings.h-data [XPG3]: Likewise.
9971         * conform/data/stropts.h-data [XPG3]: Likewise.
9972         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9973         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9974         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9975         Likewise.
9976         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9977         * conform/data/sys/time.h-data [XPG3]: Likewise.
9978         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9979         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9980         * conform/data/sys/un.h-data [XPG3]: Likewise.
9981         * conform/data/syslog.h-data [XPG3]: Likewise.
9982         * conform/data/ucontext.h-data [XPG3]: Likewise.
9983         * conform/data/utmpx.h-data [XPG3]: Likewise.
9984         * conform/data/varargs.h-data [UNIX98]: Enable file.
9985
9986         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9987
9988         * math/libm-test.inc (struct test_f_f_data): Move expected results
9989         into structure for each rounding mode.
9990         (struct test_ff_f_data): Likewise.
9991         (struct test_ff_f_data_nexttoward): Likewise.
9992         (struct test_fi_f_data): Likewise.
9993         (struct test_fl_f_data): Likewise.
9994         (struct test_if_f_data): Likewise.
9995         (struct test_fff_f_data): Likewise.
9996         (struct test_c_f_data): Likewise.
9997         (struct test_f_f1_data): Likewise.
9998         (struct test_fF_f1_data): Likewise.
9999         (struct test_ffI_f1_data): Likewise.
10000         (struct test_c_c_data): Likewise.
10001         (struct test_cc_c_data): Likewise.
10002         (struct test_f_i_data): Likewise.
10003         (struct test_ff_i_data): Likewise.
10004         (struct test_f_l_data): Likewise.
10005         (struct test_f_L_data): Likewise.
10006         (struct test_fFF_11_data): Likewise.
10007         (RM_): New macro.
10008         (RM_FE_DOWNWARD): Likewise.
10009         (RM_FE_TONEAREST): Likewise.
10010         (RM_FE_TOWARDZERO): Likewise.
10011         (RM_FE_UPWARD): Likewise.
10012         (RUN_TEST_LOOP_f_f): Update references to expected results.
10013         (RUN_TEST_LOOP_2_f): Likewise.
10014         (RUN_TEST_LOOP_fff_f): Likewise.
10015         (RUN_TEST_LOOP_c_f): Likewise.
10016         (RUN_TEST_LOOP_f_f1): Likewise.
10017         (RUN_TEST_LOOP_fF_f1): Likewise.
10018         (RUN_TEST_LOOP_fI_f1): Likewise.
10019         (RUN_TEST_LOOP_ffI_f1): Likewise.
10020         (RUN_TEST_LOOP_c_c): Likewise.
10021         (RUN_TEST_LOOP_cc_c): Likewise.
10022         (RUN_TEST_LOOP_f_i): Likewise.
10023         (RUN_TEST_LOOP_f_i_tg): Likewise.
10024         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10025         (RUN_TEST_LOOP_f_b): Likewise.
10026         (RUN_TEST_LOOP_f_b_tg): Likewise.
10027         (RUN_TEST_LOOP_f_l): Likewise.
10028         (RUN_TEST_LOOP_f_L): Likewise.
10029         (RUN_TEST_LOOP_fFF_11): Likewise.
10030         * math/gen-libm-test.pl (parse_args): Output four copies of
10031         expected results for each test.
10032
10033         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10034         (__ASSUME_UTIMES): Remove.
10035         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10036         (__ASSUME_UTIMES): Likewise.
10037
10038         * math/gen-auto-libm-tests.c: Update comment on output format.
10039         (output_for_one_input_case): Generate before-rounding and
10040         after-rounding information as conditions on output flags not
10041         floating-point format.
10042         * math/auto-libm-test-out: Regenerated.
10043         * math/gen-libm-test.pl (cond_value): New function.
10044         (or_cond_value): Use cond_value.
10045         (generate_testfile): Handle conditional exceptions.
10046
10047 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
10048
10049         * math/libm-test.inc (max_valid_error): New variable.
10050         (init_max_error): Take new argument specifying whether function
10051         results are exactly determined.  Set max_valid_error and bound
10052         other variables for errors based on this argument.
10053         (set_max_error): Do not record results above max_valid_error.
10054         (check_float_internal): Only accept errors of up to 0.5ulps if
10055         also at most max_valid_error.
10056         (START): Take new argument EXACT and pass it to init_max_error.
10057         (acos_test): Update call to START.
10058         (acos_test_tonearest): Likewise.
10059         (acos_test_towardzero): Likewise.
10060         (acos_test_downward): Likewise.
10061         (acos_test_upward): Likewise.
10062         (acosh_test): Likewise.
10063         (asin_test): Likewise.
10064         (asin_test_tonearest): Likewise.
10065         (asin_test_towardzero): Likewise.
10066         (asin_test_downward): Likewise.
10067         (asin_test_upward): Likewise.
10068         (asinh_test): Likewise.
10069         (atan_test): Likewise.
10070         (atanh_test): Likewise.
10071         (atan2_test): Likewise.
10072         (cabs_test): Likewise.
10073         (cacos_test): Likewise.
10074         (cacosh_test): Likewise.
10075         (carg_test): Likewise.
10076         (casin_test): Likewise.
10077         (casinh_test): Likewise.
10078         (catan_test): Likewise.
10079         (catanh_test): Likewise.
10080         (cbrt_test): Likewise.
10081         (ccos_test): Likewise.
10082         (ccosh_test): Likewise.
10083         (ceil_test): Likewise.
10084         (cexp_test): Likewise.
10085         (cimag_test): Likewise.
10086         (clog_test): Likewise.
10087         (clog10_test): Likewise.
10088         (conj_test): Likewise.
10089         (copysign_test): Likewise.
10090         (cos_test): Likewise.
10091         (cos_test_tonearest): Likewise.
10092         (cos_test_towardzero): Likewise.
10093         (cos_test_downward): Likewise.
10094         (cos_test_upward): Likewise.
10095         (cosh_test): Likewise.
10096         (cosh_test_tonearest): Likewise.
10097         (cosh_test_towardzero): Likewise.
10098         (cosh_test_downward): Likewise.
10099         (cosh_test_upward): Likewise.
10100         (cpow_test): Likewise.
10101         (cproj_test): Likewise.
10102         (creal_test): Likewise.
10103         (csin_test): Likewise.
10104         (csinh_test): Likewise.
10105         (csqrt_test): Likewise.
10106         (ctan_test): Likewise.
10107         (ctan_test_tonearest): Likewise.
10108         (ctan_test_towardzero): Likewise.
10109         (ctan_test_downward): Likewise.
10110         (ctan_test_upward): Likewise.
10111         (ctanh_test): Likewise.
10112         (ctanh_test_tonearest): Likewise.
10113         (ctanh_test_towardzero): Likewise.
10114         (ctanh_test_downward): Likewise.
10115         (ctanh_test_upward): Likewise.
10116         (erf_test): Likewise.
10117         (erfc_test): Likewise.
10118         (exp_test): Likewise.
10119         (exp_test_tonearest): Likewise.
10120         (exp_test_towardzero): Likewise.
10121         (exp_test_downward): Likewise.
10122         (exp_test_upward): Likewise.
10123         (exp10_test): Likewise.
10124         (exp10_test_tonearest): Likewise.
10125         (exp10_test_towardzero): Likewise.
10126         (exp10_test_downward): Likewise.
10127         (exp10_test_upward): Likewise.
10128         (pow10_test): Likewise.
10129         (exp2_test): Likewise.
10130         (expm1_test): Likewise.
10131         (expm1_test_tonearest): Likewise.
10132         (expm1_test_towardzero): Likewise.
10133         (expm1_test_downward): Likewise.
10134         (expm1_test_upward): Likewise.
10135         (fabs_test): Likewise.
10136         (fdim_test): Likewise.
10137         (floor_test): Likewise.
10138         (fma_test): Likewise.
10139         (fma_test_towardzero): Likewise.
10140         (fma_test_downward): Likewise.
10141         (fma_test_upward): Likewise.
10142         (fmax_test): Likewise.
10143         (fmin_test): Likewise.
10144         (fmod_test): Likewise.
10145         (fpclassify_test): Likewise.
10146         (frexp_test): Likewise.
10147         (hypot_test): Likewise.
10148         (ilogb_test): Likewise.
10149         (isfinite_test): Likewise.
10150         (finite_test): Likewise.
10151         (isgreater_test): Likewise.
10152         (isgreaterequal_test): Likewise.
10153         (isinf_test): Likewise.
10154         (isless_test): Likewise.
10155         (islessequal_test): Likewise.
10156         (islessgreater_test): Likewise.
10157         (isnan_test): Likewise.
10158         (isnormal_test): Likewise.
10159         (issignaling_test): Likewise.
10160         (isunordered_test): Likewise.
10161         (j0_test): Likewise.
10162         (j1_test): Likewise.
10163         (jn_test): Likewise.
10164         (ldexp_test): Likewise.
10165         (lgamma_test): Likewise.
10166         (gamma_test): Likewise.
10167         (lrint_test): Likewise.
10168         (lrint_test_tonearest): Likewise.
10169         (lrint_test_towardzero): Likewise.
10170         (lrint_test_downward): Likewise.
10171         (lrint_test_upward): Likewise.
10172         (llrint_test): Likewise.
10173         (llrint_test_tonearest): Likewise.
10174         (llrint_test_towardzero): Likewise.
10175         (llrint_test_downward): Likewise.
10176         (llrint_test_upward): Likewise.
10177         (log_test): Likewise.
10178         (log10_test): Likewise.
10179         (log1p_test): Likewise.
10180         (log2_test): Likewise.
10181         (logb_test): Likewise.
10182         (logb_test_downward): Likewise.
10183         (lround_test): Likewise.
10184         (llround_test): Likewise.
10185         (modf_test): Likewise.
10186         (nearbyint_test): Likewise.
10187         (nextafter_test): Likewise.
10188         (nexttoward_test): Likewise.
10189         (pow_test): Likewise.
10190         (pow_test_tonearest): Likewise.
10191         (pow_test_towardzero): Likewise.
10192         (pow_test_downward): Likewise.
10193         (pow_test_upward): Likewise.
10194         (remainder_test): Likewise.
10195         (drem_test): Likewise.
10196         (remainder_test_tonearest): Likewise.
10197         (drem_test_tonearest): Likewise.
10198         (remainder_test_towardzero): Likewise.
10199         (drem_test_towardzero): Likewise.
10200         (remainder_test_downward): Likewise.
10201         (drem_test_downward): Likewise.
10202         (remainder_test_upward): Likewise.
10203         (drem_test_upward): Likewise.
10204         (remquo_test): Likewise.
10205         (rint_test): Likewise.
10206         (rint_test_tonearest): Likewise.
10207         (rint_test_towardzero): Likewise.
10208         (rint_test_downward): Likewise.
10209         (rint_test_upward): Likewise.
10210         (round_test): Likewise.
10211         (scalb_test): Likewise.
10212         (scalbn_test): Likewise.
10213         (scalbln_test): Likewise.
10214         (signbit_test): Likewise.
10215         (sin_test): Likewise.
10216         (sin_test_tonearest): Likewise.
10217         (sin_test_towardzero): Likewise.
10218         (sin_test_downward): Likewise.
10219         (sin_test_upward): Likewise.
10220         (sincos_test): Likewise.
10221         (sinh_test): Likewise.
10222         (sinh_test_tonearest): Likewise.
10223         (sinh_test_towardzero): Likewise.
10224         (sinh_test_downward): Likewise.
10225         (sinh_test_upward): Likewise.
10226         (sqrt_test): Likewise.
10227         (sqrt_test_tonearest): Likewise.
10228         (sqrt_test_towardzero): Likewise.
10229         (sqrt_test_downward): Likewise.
10230         (sqrt_test_upward): Likewise.
10231         (tan_test): Likewise.
10232         (tan_test_tonearest): Likewise.
10233         (tan_test_towardzero): Likewise.
10234         (tan_test_downward): Likewise.
10235         (tan_test_upward): Likewise.
10236         (tanh_test): Likewise.
10237         (tgamma_test): Likewise.
10238         (trunc_test): Likewise.
10239         (y0_test): Likewise.
10240         (y1_test): Likewise.
10241         (yn_test): Likewise.
10242         (significand_test): Likewise.
10243
10244         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10245         individual tests in comment.
10246         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10247         (prev_max_error): New variable.
10248         (prev_real_max_error): Likewise.
10249         (prev_imag_max_error): Likewise.
10250         (compare_ulp_data): Don't refer to test names in comment.
10251         (find_test_ulps): Remove function.
10252         (find_function_ulps): Likewise.
10253         (find_complex_function_ulps): Likewise.
10254         (init_max_error): Take function name as argument.  Look up ulps
10255         for that function.
10256         (print_ulps): Remove function.
10257         (print_max_error): Use prev_max_error instead of calling
10258         find_function_ulps.
10259         (print_complex_max_error): Use prev_real_max_error and
10260         prev_imag_max_error instead of calling find_complex_function_ulps.
10261         (check_float_internal): Take max_ulp parameter instead of calling
10262         find_test_ulps.  Don't call print_ulps.
10263         (check_float): Update call to check_float_internal.
10264         (check_complex): Update calls to check_float_internal.
10265         (START): Pass argument to init_max_error.
10266         * math/gen-libm-test.pl (%results): Don't include "kind"
10267         information.
10268         (parse_ulps): Don't handle ulps of individual tests.
10269         (print_ulps_file): Likewise.
10270         (output_ulps): Likewise.
10271         * math/README.libm-test: Update.
10272         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10273         individual tests.
10274         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10275         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10276         * sysdeps/arm/libm-test-ulps: Likewise.
10277         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10278         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10279         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10280         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10281         * sysdeps/microblaze/libm-test-ulps: Likewise.
10282         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10283         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10284         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10285         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10286         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10287         * sysdeps/sh/libm-test-ulps: Likewise.
10288         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10289         * sysdeps/tile/libm-test-ulps: Likewise.
10290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10291
10292 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10293
10294         * math/libm-test.inc (print_complex_max_error): Check separately
10295         whether real and imaginary errors are within allowed range and
10296         pass 0 to print_complex_function_ulps instead of value within
10297         allowed range.
10298
10299 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10300
10301         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10302         formatting.
10303         (get_handles_fopen): Likewise.
10304         (do_write_test): Likewise.
10305
10306         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10307
10308         * libio/fileops.c (do_ftell): Use cached offset when
10309         available.
10310         * libio/iofwide.c (do_ftell_wide): Likewise.
10311         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10312         _IO_file_attach.
10313         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10314
10315         [BZ #16532]
10316         * libio/libioP.h (get_file_offset): New function.
10317         * libio/fileops.c (get_file_offset): Likewise.
10318         (do_ftell): Likewise.
10319         (_IO_new_file_seekoff): Split out ftell logic.
10320         * libio/wfileops.c (do_ftell_wide): Likewise.
10321         (_IO_wfile_seekoff): Split out ftell logic.
10322         * libio/tst-ftell-active-handler.c: New test case.
10323         * libio/Makefile (tests): Add it.
10324
10325 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10326
10327         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10328         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10329
10330 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10331
10332         [BZ #16639]
10333         * nscd/connections.c (nscd_init): Call do_exit.
10334         (start_threads): Call do_exit and notify_parent.
10335         (begin_drop_privileges): Call do_exit.
10336         (finish_drop_privileges): Likewise.
10337         * nscd/selinux.c (preserve_capabilities): Likewise.
10338         (install_real_capabilities): Likewise.
10339         (nscd_selinux_enabled): Likewise.
10340         (avc_create_thread): Likewise.
10341         (avc_alloc_lock): Likewise.
10342         (nscd_avc_init): Likewise.
10343         * nscd/nscd.c (parent_fd): New static variable.
10344         (main): Create a pipe between parent and child processes.
10345         Skip closing parent_fd.
10346         (monitor_child): New function.
10347         (do_exit): Likewise.
10348         (notify_parent): Likewise.
10349         * nscd/nscd.h (notify_parent): Likewise.
10350         (do_exit): Likewise.
10351
10352 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10353
10354         * malloc/malloc.c (__libc_calloc): Revert last change.
10355
10356 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10357
10358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10359
10360 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10361
10362         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10364         implementation.
10365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10366         (__libc_ifunc_impl_list): Likewise.
10367         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10368         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10369         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10370         * string/strrchr.c: Define STRRCHR.
10371
10372 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10373
10374         * benchtest/bench-strtok.c (simple_strtok): Delete.
10375         (strtok_string): Use as benchmark.
10376         * string/strtok (STRTOK): New macro.
10377
10378 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10379
10380         * manual/threads.texi: Add header and standard comments to all
10381         functions.
10382
10383         * elf/dl-lookup.c (check_match): New function.
10384         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10385         (do_lookup_x): Remove nested function check_match. Use non-nested
10386         function check_match.
10387
10388 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10389
10390         * csu/Makefile (generated, before-compile): Use += rather than =.
10391         * catgets/Makefile (generated, generated-dirs): Likewise.
10392         * debug/Makefile (generated): Likewise.
10393         * dlfcn/Makefile (generated): Likewise.
10394         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10395         * iconvdata/Makefile (before-compile, generated): Likewise.
10396         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10397         * libio/Makefile (generated): Likewise.
10398         * malloc/Makefile (generated): Likewise.
10399         * manual/Makefile (generated, generated-dirs): Likewise.
10400         * misc/Makefile (generated): Likewise.
10401         * posix/Makefile (generated): Likewise.
10402         * resolv/Makefile (generated): Likewise.
10403         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10404         * timezone/Makefile (generated, generated-dirs): Likewise.
10405
10406         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10407
10408 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10409
10410         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10411         power8 implementation.
10412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10413         file: POWER8 llround ifunc implementation.
10414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10415         (__lllround): Add POWER8 implementation.
10416         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10417         POWER8 llround implementation.
10418
10419         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10420         power8 implementation.
10421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10422         file: POWER8 llrint ifunc implementation.
10423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10424         Add POWER8 implementation.
10425         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10426         POWER8 llrint implementation.
10427
10428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10429         power8 implementation.
10430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10431         file: POWER8 finite ifunc implementation.
10432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10433         Add POWER8 implementation.
10434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10435         Likewise.
10436         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10437         POWER8 finite implementation.
10438         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10439
10440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10441         power8 implementation.
10442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10443         file: POWER8 isinf ifunc implementation.
10444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10445         POWER8 implementation.
10446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10447         Likewise.
10448         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10449         isinf implementation.
10450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10451
10452         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10453         (INIT_ARCH): Add hwcap2 initialization.
10454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10455         power8 implementation.
10456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10457         file: POWER8 isnan ifunc implementation.
10458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10459         POWER8 implementation.
10460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10461         Likewise.
10462         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10463         isnan implementation.
10464         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10465
10466 2014-02-27  Joey Ye  <joey.ye@arm.com>
10467
10468         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10469         (_FP_NANFRAC_Q): Set to zero.
10470
10471 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10472
10473         [BZ #16623]
10474         * math/auto-libm-test-in: New test inputs.
10475         * math/auto-libm-test-out: Regenerate.
10476         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10477         and DA.
10478         (__cos): Likewise.
10479         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10480
10481 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10482
10483         * scripts/evaluate-test.sh: Take new argument indicating whether
10484         failure is expected.
10485         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10486         indicating whether failure is expected.
10487         * conform/Makefile (test-xfail-run-conformtest): New variable.
10488         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10489         level.
10490         * posix/Makefile (test-xfail-annexc): New variable.
10491         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10492
10493 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10494
10495         * argp/Makefile: Include Makeconfig immediately after defining
10496         subdir.
10497         * assert/Makefile: Likewise.
10498         * benchtests/Makefile: Likewise.
10499         * catgets/Makefile: Likewise.
10500         * conform/Makefile: Likewise.
10501         * crypt/Makefile: Likewise.
10502         * csu/Makefile: Likewise.
10503         (all): Remove target.
10504         * ctype/Makefile: Include Makeconfig immediately after defining
10505         subdir.
10506         * debug/Makefile: Likewise.
10507         * dirent/Makefile: Likewise.
10508         * dlfcn/Makefile: Likewise.
10509         * gmon/Makefile: Likewise.
10510         * gnulib/Makefile: Likewise.
10511         * grp/Makefile: Likewise.
10512         * gshadow/Makefile: Likewise.
10513         * hesiod/Makefile: Likewise.
10514         * hurd/Makefile: Likewise.
10515         (all): Remove target.
10516         * iconvdata/Makefile: Include Makeconfig immediately after
10517         defining subdir.
10518         * inet/Makefile: Likewise.
10519         * intl/Makefile: Likewise.
10520         * io/Makefile: Likewise.
10521         * libio/Makefile: Likewise.
10522         (all): Remove target.
10523         * locale/Makefile: Include Makeconfig immediately after defining
10524         subdir.
10525         * login/Makefile: Likewise.
10526         * mach/Makefile: Likewise.
10527         (all): Remove target.
10528         * malloc/Makefile: Include Makeconfig immediately after defining
10529         subdir.
10530         (all): Remove target.
10531         * manual/Makefile: Include Makeconfig immediately after defining
10532         subdir.
10533         * math/Makefile: Likewise.
10534         * misc/Makefile: Likewise.
10535         * nis/Makefile: Likewise.
10536         * nss/Makefile: Likewise.
10537         * po/Makefile: Likewise.
10538         (all): Remove target.
10539         * posix/Makefile: Include Makeconfig immediately after defining
10540         subdir.
10541         * pwd/Makefile: Likewise.
10542         * resolv/Makefile: Likewise.
10543         * resource/Makefile: Likewise.
10544         * rt/Makefile: Likewise.
10545         * setjmp/Makefile: Likewise.
10546         * shadow/Makefile: Likewise.
10547         * signal/Makefile: Likewise.
10548         * socket/Makefile: Likewise.
10549         * soft-fp/Makefile: Likewise.
10550         * stdio-common/Makefile: Likewise.
10551         * stdlib/Makefile: Likewise.
10552         * streams/Makefile: Likewise.
10553         * string/Makefile: Likewise.
10554         * sunrpc/Makefile: Likewise.
10555         (all): Remove target.
10556         * sysvipc/Makefile: Include Makeconfig immediately after defining
10557         subdir.
10558         * termios/Makefile: Likewise.
10559         * time/Makefile: Likewise.
10560         * timezone/Makefile: Likewise.
10561         (all): Remove target.
10562         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10563         subdir.
10564         * wctype/Makefile: Likewise.
10565
10566 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10567
10568         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10569         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10570         (libc_feholdexcept_setround_mips): Ditto.
10571         (libc_feholdsetround): New.
10572         (libc_feholdsetroundf): New.
10573         (libc_feholdsetroundl): New.
10574         (libc_feupdateenv_test_mips): New.
10575         (libc_feupdateenv_test): New.
10576         (libc_feupdateenv_testf): New.
10577         (libc_feupdateenv_testl): New.
10578         (libc_feresetround): New.
10579         (libc_feresetroundf): New.
10580         (libc_feresetroundl): New.
10581         (libc_fetestexcept_mips): New.
10582         (libc_fetestexcept): New.
10583         (libc_fetestexceptf): New.
10584         (libc_fetestexceptl): New.
10585         (HAVE_RM_CTX): New.
10586         (libc_feholdexcept_setround_mips_ctx): New.
10587         (libc_feholdexcept_setround_ctx): New.
10588         (libc_feholdexcept_setroundf_ctx): New.
10589         (libc_feholdexcept_setroundl_ctx): New.
10590         (libc_fesetenv_mips_ctx): New.
10591         (libc_fesetenv_ctx): New.
10592         (libc_fesetenv_ctxf): New.
10593         (libc_fesetenv_ctxl): New.
10594         (libc_feupdateenv_mips_ctx): New.
10595         (libc_feupdateenv_ctx): New.
10596         (libc_feupdateenvf_ctx): New.
10597         (libc_feupdateenvl_ctx): New.
10598         (libc_feholdsetround_mips_ctx): New.
10599         (libc_feholdsetround_ctx): New.
10600         (libc_feholdsetroundf_ctx): New.
10601         (libc_feholdsetroundl_ctx): New.
10602         (libc_feresetround_mips_ctx): New.
10603         (libc_feresetround_ctx): New.
10604         (libc_feresetroundf_ctx): New.
10605         (libc_feresetroundl_ctx): New.
10606
10607 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10608
10609         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10610
10611         * manual/ipc.texi: New file.
10612         * manual/Makefile (chapters): Add ipc.
10613         * manual/job.texi: Add "Inter-Process Communication" to next.
10614         * manual/process.texi: Add "Inter-Process Communication" to prev.
10615
10616 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10617
10618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10619
10620 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10621
10622         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10623
10624         * manual/arith.texi: Fix spaces after sentences.
10625         * manual/charset.texi: Likewise.
10626         * manual/errno.texi: Likewise.
10627         * manual/install.texi: Likewise.
10628         * manual/llio.texi: Likewise.
10629         * manual/locale.texi: Likewise.
10630         * manual/maint.texi: Likewise.
10631         * manual/math.texi: Likewise.
10632         * manual/memory.texi: Likewise.
10633         * manual/message.texi: Likewise.
10634         * manual/probes.texi: Likewise.
10635         * manual/resource.texi: Likewise.
10636         * manual/signal.texi: Likewise.
10637         * manual/socket.texi: Likewise.
10638         * manual/stdio.texi: Likewise.
10639         * manual/string.texi: Likewise.
10640         * manual/time.texi: Likewise.
10641         * manual/users.texi: Likewise.
10642
10643 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10644
10645         [BZ #16632]
10646         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10647         _DEFAULT_SOURCE is defined.
10648
10649 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10650             Carlos O'Donell  <carlos@redhat.com>
10651
10652         [BZ #16613]
10653         * elf/dl-tls.c (_dl_count_modids): New function.
10654         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10655         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10656         audit library and increment generation counter.
10657         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10658         * elf/tst-audit9.c: New file.
10659         * elf/tst-auditmod9a.c: New file.
10660         * elf/tst-auditmod9b.c: New file.
10661         * elf/Makefile: Add rules to build and run tst-audit9.
10662
10663 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10664
10665         [BZ #15347]
10666         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10667
10668 2014-02-25  Will Newton  <will.newton@linaro.org>
10669
10670         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10671         (__longjmp): Restore sp and lr before restoring callee
10672         saved registers.  Add longjmp and longjmp_target
10673         SystemTap probe point.
10674         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10675         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10676         Define to zero to match jmpbuf layout.
10677         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10678         (__sigsetjmp): Save sp and lr before saving callee
10679         saved registers.  Add setjmp SystemTap probe point.
10680
10681 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10682
10683         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10684
10685 2014-02-24  Andreas Schwab  <schwab@suse.de>
10686
10687         [BZ #15804]
10688         * elf/pldd.c (wait_for_ptrace_stop): New function.
10689         (main): Call it after attaching.
10690
10691 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10692
10693         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10694         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10695         Versions files is now verboten.
10696         * hurd/Versions (libc: GLIBC_2.0):
10697         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10698         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10699         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10700         * mach/Versions: Likewise.
10701
10702         * csu/Versions: Remove unused %include.
10703         * resolv/Versions: Likewise.
10704
10705 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10706
10707         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10708         ($(objpfx)check-local-headers.out): Likewise.
10709         ($(objpfx)begin-end-check.out): Likewise.
10710         * Makerules (check-abi-%.out): Likewise.
10711         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10712         ($(objpfx)test2.cat): Likewise.
10713         ($(objpfx)de/libc.cat): Likewise.
10714         ($(objpfx)test-gencat.out): Likewise.
10715         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10716         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10717         ($(objpfx)noload-mem): Likewise.
10718         ($(objpfx)tst-pathopt.out): Likewise.
10719         ($(objpfx)tst-rtld-load-self.out): Likewise.
10720         ($(objpfx)tst-array1-cmp.out): Likewise.
10721         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10722         ($(objpfx)tst-array2-cmp.out): Likewise.
10723         ($(objpfx)tst-array3-cmp.out): Likewise.
10724         ($(objpfx)tst-array4-cmp.out): Likewise.
10725         ($(objpfx)tst-array5-cmp.out): Likewise.
10726         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10727         ($(objpfx)check-textrel.out): Likewise.
10728         ($(objpfx)check-execstack.out): Likewise.
10729         ($(objpfx)check-localplt.out): Likewise.
10730         ($(objpfx)order2-cmp.out): Likewise.
10731         ($(objpfx)tst-leaks1-mem): Likewise.
10732         ($(objpfx)tst-leaks1-static-mem): Likewise.
10733         ($(objpfx)tst-initorder-cmp.out): Likewise.
10734         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10735         ($(objpfx)tst-unused-dep.out): Likewise.
10736         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10737         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10738         * iconv/Makefile (test-iconvconfig): Likewise.
10739         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10740         ($(objpfx)iconv-test.out): Likewise.
10741         ($(objpfx)tst-tables.out): Likewise.
10742         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10743         ($(objpfx)tst-gettext.out): Likewise.
10744         ($(objpfx)tst-translit.out): Likewise.
10745         ($(objpfx)tst-gettext2.out): Likewise.
10746         ($(objpfx)tst-gettext4.out): Likewise.
10747         ($(objpfx)tst-gettext6.out): Likewise.
10748         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10749         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10750         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10751         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10752         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10753         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10754         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10755         ($(objpfx)wordexp-tst.out): Likewise.
10756         ($(objpfx)annexc.out): Likewise.
10757         ($(objpfx)tst-fnmatch-mem): Likewise.
10758         ($(objpfx)bug-regex2-mem): Likewise.
10759         ($(objpfx)bug-regex14-mem): Likewise.
10760         ($(objpfx)bug-regex21-mem): Likewise.
10761         ($(objpfx)bug-regex31-mem): Likewise.
10762         ($(objpfx)tst-vfork3-mem): Likewise.
10763         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10764         ($(objpfx)tst-pcre-mem): Likewise.
10765         ($(objpfx)tst-boost-mem): Likewise.
10766         ($(objpfx)tst-getconf.out): Likewise.
10767         ($(objpfx)bug-ga2-mem): Likewise.
10768         ($(objpfx)bug-glob2-mem): Likewise.
10769         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10770         ($(objpfx)mtrace-tst-leaks2): Likewise.
10771         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10772         ($(objpfx)tst-printf.out): Likewise.
10773         ($(objpfx)tst-setvbuf1.out): Likewise.
10774         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10775         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10776         ($(objpfx)tst-fmtmsg.out): Likewise.
10777         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10778         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10779
10780         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10781         * bits/sigaction.h [__USE_MISC]: Likewise.
10782         * bits/waitstatus.h: Update #endif comments.
10783         * ctype/ctype.h: Likewise.
10784         * dirent/dirent.h: Likewise.
10785         [__USE_MISC]: Remove redundant conditionals.
10786         * grp/grp.h: Update #endif comments.
10787         [__USE_GNU]: Remove redundant conditionals.
10788         [__USE_MISC]: Likewise.
10789         * inet/netinet/in.h [__USE_GNU]: Likewise.
10790         * io/sys/stat.h [__USE_MISC]: Likewise.
10791         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10792         * libio/bits/stdio.h: Update #endif comments.
10793         [__USE_MISC]: Remove redundant conditionals.
10794         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10795         * libio/stdio.h: Update #endif comments.
10796         [__USE_MISC]: Remove redundant conditionals.
10797         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10798         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10799         * math/math.h: Update #else and #endif comments.
10800         [__USE_MISC]: Remove redundant conditionals.
10801         * misc/sys/uio.h: Update #endif comments.
10802         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10803         * posix/glob.h [__USE_MISC]: Likewise.
10804         * posix/sys/types.h: Update #endif comments.
10805         [__USE_MISC]: Remove redundant conditionals.
10806         * posix/sys/wait.h: Update #endif comments.
10807         [__USE_MISC]: Remove redundant conditionals.
10808         * posix/unistd.h: Update #endif comments.
10809         [__USE_MISC]: Remove redundant conditionals.
10810         * pwd/pwd.h [__USE_GNU]: Likewise.
10811         [__USE_MISC]: Likewise.
10812         * resolv/netdb.h [__USE_GNU]: Likewise.
10813         * signal/signal.h: Update #endif comments.
10814         [__USE_MISC]: Remove redundant conditionals.
10815         * stdlib/stdlib.h: Update #else and #endif comments.
10816         [__USE_MISC]: Remove redundant conditionals.
10817         [__USE_GNU]: Likewise.
10818         * string/bits/string2.h [__USE_MISC]: Likewise.
10819         * string/string.h: Update #endif comments.
10820         [__USE_MISC]: Remove redundant conditionals.
10821         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10822         Likewise.
10823         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10824         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10825         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10826         Likewise.
10827         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10828         Likewise.
10829         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10830         comments.
10831         [__USE_MISC]: Remove redundant conditionals.
10832         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10833         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10834         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10835         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10836         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10837         Likewise.
10838         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10839         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10840         Likewise.
10841         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10842         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10843         Likewise.
10844         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10845         Likewise.
10846         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10847         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10848         Likewise.
10849         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10850         Likewise.
10851         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10852         * sysdeps/x86/bits/string.h: Update #endif comments.
10853         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10854         conditionals.
10855         * time/sys/time.h: Update #endif comments.
10856         * time/time.h: Likewise.
10857         [__USE_MISC]: Remove redundant conditionals.
10858
10859 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10860
10861         [BZ #16600]
10862         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10863
10864 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10865
10866         * Versions.def (librt): Add GLIBC_2.17.
10867
10868 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10869
10870         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10871         synonym for _SYS_AUXV_H to allow direct inclusion.
10872         * sysdeps/sparc/bits/hwcap.h: Likewise.
10873         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10874         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10875         * sysdeps/sparc/sysdep.h: Likewise.
10876
10877 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10878
10879         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10880
10881 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10882
10883         * benchtests/bench-strrchr.c: Print length instead of position.
10884
10885 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10886
10887         [BZ #16611]
10888         * sysdeps/unix/sysv/linux/kernel-features.h
10889         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10890         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10891         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10892         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10893         Likewise.
10894         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10895         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10896         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10897         (__ASSUME_SENDMMSG): Define instead of using previous
10898         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10899         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10900         (__ASSUME_SENDMMSG_SYSCALL): Define.
10901         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10902         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10903         Likewise.
10904         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10905         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10906         Likewise.
10907         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10908         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10909         Likewise.
10910         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10911         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10912         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10913         [__ASSUME_SENDMMSG]: Change conditionals to
10914         [__ASSUME_SENDMMSG_SOCKETCALL].
10915         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10916         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10917         Define.
10918         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10919         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10920         Likewise.
10921         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10922         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10923         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10924         [!__ASSUME_SENDMMSG]: Change conditional to
10925         [!__ASSUME_SENDMMSG_SOCKETCALL].
10926         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10927         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10928         Define.
10929
10930         [BZ #16610]
10931         * sysdeps/unix/sysv/linux/kernel-features.h
10932         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10933         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10934         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10935         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10936         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10937         [__i386__ || __sparc__]
10938         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10939         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10940         (__ASSUME_RECVMMSG): Define instead of using previous
10941         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10942         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10943         (__ASSUME_RECVMMSG_SYSCALL): Define.
10944         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10945         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10946         Likewise.
10947         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10948         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10949         Likewise.
10950         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10951         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10952         Likewise.
10953         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10954         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10955         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10956         [__ASSUME_RECVMMSG]: Change condition to
10957         [__ASSUME_RECVMMSG_SOCKETCALL].
10958         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10959         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10960         Define.
10961         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10962         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10963         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10964         Likewise.
10965         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10966         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10967         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10968         [!__ASSUME_RECVMMSG]: Change condition to
10969         [!__ASSUME_RECVMMSG_SOCKETCALL].
10970         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10971         (__ASSUME_RECVMMSG_SYSCALL): Define.
10972
10973         [BZ #16609]
10974         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10975         __powerpc__ || __s390__ || __sh__ || __sparc__]
10976         (__ASSUME_SOCKETCALL): Define.
10977         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10978         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10979         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10980         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10981         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10982         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10983         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10984         (__ASSUME_ACCEPT4): Define instead of using previous
10985         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10986         __powerpc__ || __sparc__ || __s390__)] condition.
10987         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10988         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10989         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10990         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10991         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10992         [!__ASSUME_ACCEPT4]: Change condition to
10993         [!__ASSUME_ACCEPT4_SOCKETCALL].
10994         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10995         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10996         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10997         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10998         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10999         __ASSUME_ACCEPT4_SYSCALL.
11000         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11001         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11002         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11003         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11004         __ASSUME_ACCEPT4_SYSCALL.
11005         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11006         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11007         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11008         [__ASSUME_ACCEPT4]: Change condition to
11009         [__ASSUME_ACCEPT4_SOCKETCALL].
11010         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11011         (__ASSUME_SOCKETCALL): Define.
11012         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11013         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11014         (__ASSUME_SOCKETCALL): Define.
11015         (__ASSUME_ACCEPT4): Remove.
11016         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11017         Define.
11018         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11019         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11020         Likewise.
11021         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11022         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11023
11024         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11025         macro.
11026         (HWCAP_ARM_LPAE): Likewise.
11027         (HWCAP_ARM_EVTSTRM): Likewise.
11028         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11029         Add vpfd32, lpae and evtstrm.
11030         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11031         Increase to 22.
11032
11033 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
11034
11035         * math/auto-libm-test-in: Add tests of clog10.
11036         * math/auto-libm-test-out: Regenerated.
11037         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11038         * sysdeps/i386/fpu/libm-test-ulps: Update.
11039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11040
11041 2014-02-18  Andreas Schwab  <schwab@suse.de>
11042
11043         [BZ #16574]
11044         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11045         Store non-zero if the second buffer was newly allocated.
11046         (send_dg): Likewise.
11047         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11048         to send_vc and send_dg.
11049         (res_nsend): Pass NULL for ansp2_malloced.
11050         * resolv/res_query.c (__libc_res_nquery): Add parameter
11051         answerp2_malloced and pass it down to __libc_res_nsend.
11052         (res_nquery): Pass additional NULL to __libc_res_nquery.
11053         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11054         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
11055         second answer buffer if answerp2_malloced was set.
11056         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11057         (__libc_res_nquerydomain): Add parameter
11058         answerp2_malloced and pass it down to __libc_res_nquery.
11059         (res_nquerydomain): Pass additional NULL to
11060         __libc_res_nquerydomain.
11061         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11062         additional NULL to __libc_res_nsend and __libc_res_nquery.
11063         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11064         additional NULL to __libc_res_nsearch.
11065         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
11066         parameter of __libc_res_nsearch to check for separately allocated
11067         second buffer.
11068         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11069         __libc_res_nquery.
11070         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11071         additional NULL to __libc_res_nquery.
11072         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11073         __libc_res_nsearch.
11074         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11075         * include/resolv.h: Update prototypes of __libc_res_nquery,
11076         __libc_res_nsearch, __libc_res_nsend.
11077
11078 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
11079
11080         * math/auto-libm-test-in: Add tests of fma.
11081         * math/auto-libm-test-out: Regenerated.
11082         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11083         (fma_towardzero_test_data): Likewise.
11084         (fma_downward_test_data): Likewise.
11085         (fma_upward_test_data): Likewise.
11086         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11087         mpc_mode.
11088         (rounding_modes): Add values for new field.
11089         (func_calc_method): Add value mpfr_fff_f.
11090         (func_calc_desc): Add mpfr_fff_f union field.
11091         (test_function): Add field exact_args.
11092         (FUNC): Add macro argument EXACT_ARGS.
11093         (FUNC_mpfr_f_f): Update call to FUNC.
11094         (FUNC_mpfr_f_f): Likewise.
11095         (FUNC_mpfr_ff_f): Likewise.
11096         (FUNC_mpfr_if_f): Likewise.
11097         (FUNC_mpc_c_f): Likewise.
11098         (FUNC_mpc_c_c): Likewise.
11099         (test_functions): Add fma.  Update calls to FUNC.
11100         (handle_input_arg): Add argument exact_args.
11101         (add_test): Update call to handle_input_arg.
11102         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
11103         (output_for_one_input_case): Update call to calc_generic_results.
11104         Recalculate exact zero results in each rounding mode.
11105
11106         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11107         non-negative before setting low bit.
11108         * math/auto-libm-test-in: Mark one asin test possibly having
11109         spurious underflow.
11110         * math/auto-libm-test-out: Regenerated.
11111         * sysdeps/i386/fpu/libm-test-ulps: Update.
11112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11113
11114 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
11115
11116         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11117         * sysdeps/unix/sysv/linux/microblaze: Move directory from
11118         ports/sysdeps/unix/sysv/linux/microblaze.
11119         * README: Add missing listing for microblaze*-*-linux-gnu.
11120
11121 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
11122
11123         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11124         duplicate code
11125
11126 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
11127
11128         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11129         * sysdeps/unix/sysv/linux/ia64: Move directory from
11130         ports/sysdeps/unix/sysv/linux/ia64.
11131         * README: Update listing for ia64-*-linux-gnu.
11132
11133 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
11134             Joseph Myers  <joseph@codesourcery.com>
11135
11136         * Makeconfig (test-name): New variable.
11137         (evaluate-test): Likewise.
11138         * Makerules (do-test-clean): Remove .test-result files.
11139         (common-mostlyclean): Likewise.
11140         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11141         * scripts/evaluate-test.sh: New file.
11142
11143 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
11144
11145         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11146         separate $(objpfx)tst-fopenloc-cmp.out and
11147         $(objpfx)tst-fopenloc-mem.out targets.
11148         (tests): Update dependencies.
11149         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11150         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11151         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11152         (tst-rxspencer-no-utf8-ARGS): New variable.
11153         (tst-rxspencer-no-utf8-ENV): Likewise.
11154         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11155         instead of $(objpfx)tst-rxspencer-mem.
11156         ($(objpfx)tst-rxspencer-mem): Change target to
11157         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11158         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11159         * posix/tst-rxspencer-no-utf8.c: New file.
11160
11161         * elf/Makefile ($(objpfx)order.out): Remove rule.
11162         [$(run-built-tests) = yes] (tests): Depend on
11163         $(objpfx)order-cmp.out.
11164         ($(objpfx)order-cmp.out): New rule.
11165         [$(run-built-tests) = yes] (tests): Depend on
11166         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11167         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11168         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11169         $(objpfx)tst-array5-static-cmp.out.
11170         ($(objpfx)tst-array1.out): Remove rule.
11171         ($(objpfx)tst-array1-cmp.out): New rule.
11172         ($(objpfx)tst-array1-static.out): Remove rule.
11173         ($(objpfx)tst-array1-static-cmp.out): New rule.
11174         ($(objpfx)tst-array2.out): Remove rule.
11175         ($(objpfx)tst-array2-cmp.out): New rule.
11176         ($(objpfx)tst-array3.out): Remove rule.
11177         ($(objpfx)tst-array3-cmp.out): New rule.
11178         ($(objpfx)tst-array4.out): Remove rule.
11179         ($(objpfx)tst-array4-cmp.out): New rule.
11180         ($(objpfx)tst-array5.out): Remove rule.
11181         ($(objpfx)tst-array5-cmp.out): New rule.
11182         ($(objpfx)tst-array5-static.out): Remove rule.
11183         ($(objpfx)tst-array5-static-cmp.out): New rule.
11184         [$(run-built-tests) = yes] (tests): Depend on
11185         $(objpfx)order2-cmp.out.
11186         ($(objpfx)order2.out): Remove rule.
11187         ($(objpfx)order2-cmp.out): New rule.
11188         ($(objpfx)tst-initorder.out): Remove rule.
11189         [$(run-built-tests) = yes] (tests): Depend on
11190         $(objpfx)tst-initorder-cmp.out.
11191         ($(objpfx)tst-initorder-cmp.out): New rule.
11192         ($(objpfx)tst-initorder2.out): Remove rule.
11193         [$(run-built-tests) = yes] (tests): Depend on
11194         $(objpfx)tst-initorder2-cmp.out.
11195         ($(objpfx)tst-initorder2-cmp.out): New rule.
11196         [$(run-built-tests) = yes] (tests): Depend on
11197         $(objpfx)tst-unused-dep-cmp.out.
11198         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11199         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11200         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11201         on $(objpfx)tst-setvbuf1-cmp.out.
11202         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11203         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11204         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11205         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11206         ($(objpfx)tst-svc.out): Remove rule.
11207         ($(objpfx)tst-svc-cmp.out): New rule.
11208
11209 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11210
11211         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11212         * ctype/ctype.h [__USE_MISC]: Likewise.
11213         * dirent/dirent.h [__USE_MISC]: Likewise.
11214         * grp/grp.h [__USE_MISC]: Likewise.
11215         * io/fcntl.h [__USE_MISC]: Likewise.
11216         * io/sys/stat.h [__USE_MISC]: Likewise.
11217         * libio/stdio.h [__USE_MISC]: Likewise.
11218         * posix/unistd.h [__USE_MISC]: Likewise.
11219         * pwd/pwd.h [__USE_MISC]: Likewise.
11220         * stdlib.h [__USE_MISC]: Likewise.
11221         * string/bits/string2.h [__USE_MISC]: Likewise.
11222         * string/string.h [__USE_MISC]: Likewise.
11223         * time/time.h [__USE_MISC]: Likewise.
11224
11225 2014-02-13  Andreas Schwab  <schwab@suse.de>
11226
11227         [BZ #16574]
11228         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11229         second answer buffer if it was separately allocated.
11230
11231 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11232
11233         * sysdeps/mips/math-tests.h: Include <features.h>.
11234         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11235         (ROUNDING_TESTS_long_double): Do not define.
11236         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11237         (EXCEPTION_TESTS_long_double): Likewise.
11238         * sysdeps/mips/mips64/libm-test-ulps: Update.
11239
11240         * include/features.h (__USE_BSD): Remove macro definitions.
11241         (__USE_SVID): Likewise.
11242         (_BSD_SOURCE): Likewise.
11243         (_SVID_SOURCE): Likewise.
11244         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11245         from definition of _DEFAULT_SOURCE.
11246         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11247         [_DEFAULT_SOURCE].
11248         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11249         * bits/mman.h [__USE_BSD]: Likewise.
11250         * bits/termios.h [__USE_BSD]: Likewise.
11251         * bits/waitstatus.h [__USE_BSD]: Likewise.
11252         * ctype/ctype.h [__USE_SVID]: Likewise.
11253         * dirent/dirent.h [__USE_BSD]: Likewise.
11254         * grp/grp.h [__USE_SVID]: Likewise.
11255         [__USE_BSD]: Likewise.
11256         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11257         * io/fcntl.h [__USE_BSD]: Likewise.
11258         * io/ftw.h [__USE_BSD]: Likewise.
11259         * io/sys/stat.h [__USE_BSD]: Likewise.
11260         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11261         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11262         * libio/stdio.h [__USE_SVID]: Likewise.
11263         [__USE_BSD]: Likewise.
11264         * math/math.h [__USE_SVID]: Likewise.
11265         [__USE_BSD]: Likewise.
11266         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11267         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11268         * misc/search.h [__USE_SVID]: Likewise.
11269         * misc/sys/mman.h [__USE_BSD]: Likewise.
11270         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11271         * misc/sys/uio.h [__USE_BSD]: Likewise.
11272         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11273         * posix/glob.h [__USE_BSD]: Likewise.
11274         * posix/regex.h [__USE_BSD]: Likewise.
11275         * posix/sys/types.h [__USE_BSD]: Likewise.
11276         [__USE_SVID]: Likewise.
11277         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11278         * posix/sys/wait.h [__USE_BSD]: Likewise.
11279         [__USE_SVID]: Likewise.
11280         * posix/unistd.h [__USE_BSD]: Likewise.
11281         [__USE_SVID]: Likewise.
11282         * pwd/pwd.h [__USE_SVID]: Likewise.
11283         * resolv/netdb.h [__USE_BSD]: Likewise.
11284         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11285         * signal/signal.h [__USE_BSD]: Likewise.
11286         [__USE_SVID]: Likewise.
11287         * socket/sys/socket.h [__USE_BSD]: Likewise.
11288         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11289         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11290         [__USE_SVID]: Likewise.
11291         * string/bits/string2.h [__USE_BSD]: Likewise.
11292         [__USE_SVID]: Likewise.
11293         * string/bits/string3.h [__USE_BSD]: Likewise.
11294         * string/endian.h [__USE_BSD]: Likewise.
11295         * string/string.h [__USE_SVID]: Likewise.
11296         [__USE_BSD]: Likewise.
11297         * string/strings.h [__USE_BSD]: Likewise.
11298         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11299         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11300         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11301         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11302         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11303         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11304         Likewise.
11305         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11306         Likewise.
11307         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11308         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11309         Likewise.
11310         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11311         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11312         Likewise.
11313         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11314         Likewise.
11315         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11316         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11317         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11318         Likewise.
11319         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11320         Likewise.
11321         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11322         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11323         * termios/termios.h [__USE_BSD]: Likewise.
11324         * time/sys/time.h [__USE_BSD]: Likewise.
11325         * time/time.h [__USE_BSD]: Likewise.
11326         [__USE_SVID]: Likewise.
11327
11328         * Makefile (subdir_targets): Remove subdir_lint.out.
11329
11330         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11331         (do-tst-printf): Likewise.
11332         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11333         $(objpfx)tst-printf.out.
11334
11335         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11336
11337         * Makerules (check-abi-%): Change target to
11338         $(objpfx)check-abi-%.out.
11339         (check-abi target): Update dependencies.
11340         (check-abi-pattern variable): Redirect output of diff to $@.
11341         (check-abi variable): Likewise.
11342         * elf/Makefile (check-abi): Update dependencies.
11343
11344         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11345         unused.
11346         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11347         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11348         subnormal range.
11349         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11350         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11351         value has largest subnormal exponent.
11352         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11353         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11354         * sysdeps/aarch64/soft-fp/sfp-machine.h
11355         (_FP_TININESS_AFTER_ROUNDING): New macro.
11356         * sysdeps/alpha/soft-fp/sfp-machine.h
11357         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11358         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11359         Likewise.
11360         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11361         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11362         * sysdeps/mips/soft-fp/sfp-machine.h
11363         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11364         * sysdeps/powerpc/soft-fp/sfp-machine.h
11365         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11366         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11367         Likewise.
11368         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11369         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11370         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11371         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11372         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11373         Likewise.
11374
11375 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11376
11377         [BZ #16545]
11378         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11379         model 1.
11380
11381 2014-02-12  Richard Henderson  <rth@redhat.com>
11382
11383         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11384         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11385         * sysdeps/unix/sysv/linux/alpha: Move directory from
11386         ports/sysdeps/unix/sysv/linux/alpha.
11387         * README: Update listing for alpha-*-linux-gnu.
11388
11389 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11390
11391         * include/features.h: Update comment documenting feature test
11392         macros.
11393         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11394         _DEFAULT_SOURCE.
11395         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11396         (_SVID_SOURCE): Likewise.
11397         (_DEFAULT_SOURCE): Update description of default features.
11398         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11399         with _GNU_SOURCE.
11400         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11401         (S_ISVTX): Likewise.
11402         * manual/math.texi (Mathematical Constants): Likewise.
11403         * manual/signal.texi (Interrupted Primitives): Likewise.
11404         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11405         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11406         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11407         Don't refer to _SVID_SOURCE in warning text.
11408
11409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11410
11411         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11412         already defined.
11413         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11414         * sysdeps/mips/dl-lookup.c: Remove.
11415         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11416
11417 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11418
11419         [BZ #16447]
11420         * math/auto-libm-test-in: Add testcase for expl.
11421         * math/auto-libm-test-out: Regenerate.
11422         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11423         calculation of unsafe.
11424         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11425
11426 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11427
11428         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11429         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11430         ports/sysdeps/unix/sysv/linux/aarch64.
11431         * README: Update listing for aarch64*-*-linux-gnu.
11432
11433 2014-02-11  Will Newton  <will.newton@linaro.org>
11434
11435         * manual/probes.texi (Mathematical Function Probes): Use
11436         "triggered" instead of "hit".
11437
11438         * manual/probes.texi (Internal Probes): Add documentation
11439         of setjmp, longjmp and longjmp_target probes.
11440
11441         * include/stap-probe.h: Add comment about probe argument
11442         format.
11443
11444         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11445         definition.  (tr_where, tr_freehook, tr_mallochook,
11446         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11447
11448 2014-02-11  David S. Miller  <davem@davemloft.net>
11449
11450         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11451         processing int_tests.
11452
11453 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11454
11455         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11456         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11457         * sysdeps/unix/sysv/linux/mips: Move directory from
11458         ports/sysdeps/unix/sysv/linux/mips.
11459         * README: Update listing for mips-*-linux-gnu and
11460         mips64-*-linux-gnu.
11461
11462 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11463
11464         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11465         * sysdeps/unix/sysv/linux/m68k: Move directory from
11466         ports/sysdeps/unix/sysv/linux/m68k.
11467         * README: Update listing for m68k-*-linux-gnu.
11468
11469 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11470
11471         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11472         * sysdeps/unix/sysv/linux/generic: Move directory from
11473         ports/sysdeps/unix/sysv/linux/generic.
11474         * sysdeps/unix/sysv/linux/tile: Move directory from
11475         ports/sysdeps/unix/sysv/linux/tile.
11476         * README: Update listing for tile*-*-linux-gnu.
11477
11478 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11479
11480         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11481         __builtin_expect.
11482         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11483         * catgets/open_catalog.c (__open_catalog): Likewise.
11484         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11485         * debug/confstr_chk.c: Likewise.
11486         * debug/fread_chk.c (__fread_chk): Likewise.
11487         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11488         * debug/getgroups_chk.c: Likewise.
11489         * debug/mbsnrtowcs_chk.c: Likewise.
11490         * debug/mbsrtowcs_chk.c: Likewise.
11491         * debug/mbstowcs_chk.c: Likewise.
11492         * debug/memcpy_chk.c: Likewise.
11493         * debug/memmove_chk.c: Likewise.
11494         * debug/mempcpy_chk.c: Likewise.
11495         * debug/memset_chk.c: Likewise.
11496         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11497         * debug/strcat_chk.c (__strcat_chk): Likewise.
11498         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11499         * debug/strncat_chk.c (__strncat_chk): Likewise.
11500         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11501         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11502         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11503         * debug/wcpncpy_chk.c: Likewise.
11504         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11505         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11506         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11507         * debug/wcsncpy_chk.c: Likewise.
11508         * debug/wcsnrtombs_chk.c: Likewise.
11509         * debug/wcsrtombs_chk.c: Likewise.
11510         * debug/wcstombs_chk.c: Likewise.
11511         * debug/wmemcpy_chk.c: Likewise.
11512         * debug/wmemmove_chk.c: Likewise.
11513         * debug/wmempcpy_chk.c: Likewise.
11514         * debug/wmemset_chk.c: Likewise.
11515         * dirent/scandirat.c (SCANDIRAT): Likewise.
11516         * dlfcn/dladdr1.c (dladdr1): Likewise.
11517         * dlfcn/dladdr.c (dladdr): Likewise.
11518         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11519         * dlfcn/dlerror.c (__dlerror): Likewise.
11520         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11521         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11522         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11523         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11524         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11525         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11526         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11527         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11528         Likewise.
11529         * elf/dl-conflict.c: Likewise.
11530         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11531         * elf/dl-dst.h: Likewise.
11532         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11533         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11534         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11535         * elf/dl-init.c (call_init, _dl_init): Likewise.
11536         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11537         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11538         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11539         Likewise.
11540         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11541         Likewise.
11542         * elf/dl-minimal.c (__libc_memalign): Likewise.
11543         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11544         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11545         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11546         * elf/dl-sym.c (do_sym): Likewise.
11547         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11548         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11549         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11550         * elf/dl-writev.h (_dl_writev): Likewise.
11551         * elf/ldconfig.c (search_dir): Likewise.
11552         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11553         (dl_main): Likewise.
11554         * elf/setup-vdso.h (setup_vdso): Likewise.
11555         * grp/compat-initgroups.c (compat_call): Likewise.
11556         * grp/fgetgrent.c (fgetgrent): Likewise.
11557         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11558         * grp/putgrent.c (putgrent): Likewise.
11559         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11560         Likewise.
11561         * hurd/hurdinit.c: Likewise.
11562         * iconvdata/8bit-gap.c (struct): Likewise.
11563         * iconvdata/ansi_x3.110.c : Likewise.
11564         * iconvdata/big5.c : Likewise.
11565         * iconvdata/big5hkscs.c : Likewise.
11566         * iconvdata/cp1255.c: Likewise.
11567         * iconvdata/cp1258.c : Likewise.
11568         * iconvdata/cp932.c : Likewise.
11569         * iconvdata/euc-cn.c: Likewise.
11570         * iconvdata/euc-jisx0213.c : Likewise.
11571         * iconvdata/euc-jp.c: Likewise.
11572         * iconvdata/euc-jp-ms.c : Likewise.
11573         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11574         * iconvdata/gb18030.c : Likewise.
11575         * iconvdata/gbbig5.c (const): Likewise.
11576         * iconvdata/gbgbk.c: Likewise.
11577         * iconvdata/gbk.c : Likewise.
11578         * iconvdata/ibm1364.c : Likewise.
11579         * iconvdata/ibm930.c : Likewise.
11580         * iconvdata/ibm932.c: Likewise.
11581         * iconvdata/ibm933.c : Likewise.
11582         * iconvdata/ibm935.c : Likewise.
11583         * iconvdata/ibm937.c : Likewise.
11584         * iconvdata/ibm939.c : Likewise.
11585         * iconvdata/ibm943.c: Likewise.
11586         * iconvdata/iso_11548-1.c: Likewise.
11587         * iconvdata/iso-2022-cn.c : Likewise.
11588         * iconvdata/iso-2022-cn-ext.c : Likewise.
11589         * iconvdata/iso-2022-jp-3.c: Likewise.
11590         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11591         * iconvdata/iso-2022-kr.c : Likewise.
11592         * iconvdata/iso646.c (gconv_end): Likewise.
11593         * iconvdata/iso_6937-2.c : Likewise.
11594         * iconvdata/iso_6937.c : Likewise.
11595         * iconvdata/iso8859-1.c: Likewise.
11596         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11597         * iconvdata/shift_jisx0213.c : Likewise.
11598         * iconvdata/sjis.c : Likewise.
11599         * iconvdata/t.61.c : Likewise.
11600         * iconvdata/tcvn5712-1.c : Likewise.
11601         * iconvdata/tscii.c: Likewise.
11602         * iconvdata/uhc.c : Likewise.
11603         * iconvdata/unicode.c (gconv_end): Likewise.
11604         * iconvdata/utf-16.c (gconv_end): Likewise.
11605         * iconvdata/utf-32.c (gconv_end): Likewise.
11606         * iconvdata/utf-7.c (base64): Likewise.
11607         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11608         * iconv/gconv_close.c (__gconv_close): Likewise.
11609         * iconv/gconv_open.c (__gconv_open): Likewise.
11610         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11611         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11612         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11613         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11614         (ucs4le_internal_loop_single): Likewise.
11615         * iconv/iconv.c (iconv): Likewise.
11616         * iconv/iconv_close.c: Likewise.
11617         * iconv/loop.c (SINGLE): Likewise.
11618         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11619         * include/atomic.h: Likewise.
11620         * inet/inet6_option.c (option_alloc): Likewise.
11621         * intl/bindtextdom.c (set_binding_values): Likewise.
11622         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11623         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11624         * intl/localealias.c (read_alias_file): Likewise.
11625         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11626         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11627         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11628         * libio/fmemopen.c (fmemopen): Likewise.
11629         * libio/iofgets.c (_IO_fgets): Likewise.
11630         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11631         * libio/iofgetws.c (fgetws): Likewise.
11632         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11633         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11634         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11635         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11636         * locale/findlocale.c (_nl_find_locale): Likewise.
11637         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11638         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11639         Likewise.
11640         * locale/setlocale.c (setlocale): Likewise.
11641         * login/programs/pt_chown.c (main): Likewise.
11642         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11643         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11644         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11645         (mmap, mmap64, mremap, munmap): Likewise.
11646         * math/e_exp2l.c: Likewise.
11647         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11648         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11649         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11650         * math/s_catan.c (__catan): Likewise.
11651         * math/s_catanf.c (__catanf): Likewise.
11652         * math/s_catanh.c (__catanh): Likewise.
11653         * math/s_catanhf.c (__catanhf): Likewise.
11654         * math/s_catanhl.c (__catanhl): Likewise.
11655         * math/s_catanl.c (__catanl): Likewise.
11656         * math/s_ccosh.c (__ccosh): Likewise.
11657         * math/s_ccoshf.c (__ccoshf): Likewise.
11658         * math/s_ccoshl.c (__ccoshl): Likewise.
11659         * math/s_cexp.c (__cexp): Likewise.
11660         * math/s_cexpf.c (__cexpf): Likewise.
11661         * math/s_cexpl.c (__cexpl): Likewise.
11662         * math/s_clog10.c (__clog10): Likewise.
11663         * math/s_clog10f.c (__clog10f): Likewise.
11664         * math/s_clog10l.c (__clog10l): Likewise.
11665         * math/s_clog.c (__clog): Likewise.
11666         * math/s_clogf.c (__clogf): Likewise.
11667         * math/s_clogl.c (__clogl): Likewise.
11668         * math/s_csin.c (__csin): Likewise.
11669         * math/s_csinf.c (__csinf): Likewise.
11670         * math/s_csinh.c (__csinh): Likewise.
11671         * math/s_csinhf.c (__csinhf): Likewise.
11672         * math/s_csinhl.c (__csinhl): Likewise.
11673         * math/s_csinl.c (__csinl): Likewise.
11674         * math/s_csqrt.c (__csqrt): Likewise.
11675         * math/s_csqrtf.c (__csqrtf): Likewise.
11676         * math/s_csqrtl.c (__csqrtl): Likewise.
11677         * math/s_ctan.c (__ctan): Likewise.
11678         * math/s_ctanf.c (__ctanf): Likewise.
11679         * math/s_ctanh.c (__ctanh): Likewise.
11680         * math/s_ctanhf.c (__ctanhf): Likewise.
11681         * math/s_ctanhl.c (__ctanhl): Likewise.
11682         * math/s_ctanl.c (__ctanl): Likewise.
11683         * math/w_pow.c: Likewise.
11684         * math/w_powf.c: Likewise.
11685         * math/w_powl.c: Likewise.
11686         * math/w_scalb.c (sysv_scalb): Likewise.
11687         * math/w_scalbf.c (sysv_scalbf): Likewise.
11688         * math/w_scalbl.c (sysv_scalbl): Likewise.
11689         * misc/error.c (error_tail): Likewise.
11690         * misc/pselect.c (__pselect): Likewise.
11691         * nis/nis_callback.c (__nis_create_callback): Likewise.
11692         * nis/nis_call.c (__nisfind_server): Likewise.
11693         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11694         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11695         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11696         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11697         * nis/nis_lookup.c (nis_lookup): Likewise.
11698         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11699         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11700         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11701         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11702         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11703         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11704         * nis/nss_compat/compat-initgroups.c (add_group)
11705         (internal_getgrent_r): Likewise.
11706         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11707         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11708         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11709         (internal_getspnam_r): Likewise.
11710         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11711         (_nss_nis_getaliasbyname_r): Likewise.
11712         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11713         (_nss_nis_getntohost_r): Likewise.
11714         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11715         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11716         (_nss_nis_getgrgid_r): Likewise.
11717         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11718         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11719         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11720         (_nss_nis_gethostbyname4_r): Likewise.
11721         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11722         (initgroups_netid): Likewise.
11723         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11724         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11725         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11726         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11727         (_nss_nis_getprotobynumber_r): Likewise.
11728         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11729         (_nss_nis_getsecretkey): Likewise.
11730         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11731         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11732         (_nss_nis_getpwuid_r): Likewise.
11733         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11734         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11735         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11736         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11737         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11738         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11739         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11740         Likewise.
11741         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11742         (_nss_nisplus_getntohost_r): Likewise.
11743         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11744         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11745         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11746         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11747         Likewise.
11748         * nis/nss_nisplus/nisplus-initgroups.c
11749         (_nss_nisplus_initgroups_dyn): Likewise.
11750         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11751         (_nss_nisplus_getnetbyaddr_r): Likewise.
11752         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11753         (_nss_nisplus_getprotobynumber_r): Likewise.
11754         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11755         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11756         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11757         Likewise.
11758         * nis/nss_nisplus/nisplus-service.c
11759         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11760         (_nss_nisplus_getservbyport_r): Likewise.
11761         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11762         (_nss_nisplus_getspnam_r): Likewise.
11763         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11764         Likewise.
11765         * nscd/aicache.c (addhstaiX): Likewise.
11766         * nscd/cache.c (cache_search, prune_cache): Likewise.
11767         * nscd/connections.c (register_traced_file, send_ro_fd)
11768         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11769         (main_loop_epoll): Likewise.
11770         * nscd/grpcache.c (addgrbyX): Likewise.
11771         * nscd/hstcache.c (addhstbyX): Likewise.
11772         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11773         * nscd/mem.c (gc, mempool_alloc): Likewise.
11774         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11775         (addinnetgrX): Likewise.
11776         * nscd/nscd-client.h (__nscd_acquire_maplock)
11777         (__nscd_drop_map_ref): Likewise.
11778         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11779         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11780         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11781         Likewise.
11782         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11783         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11784         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11785         (__nscd_get_map_ref): Likewise.
11786         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11787         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11788         Likewise.
11789         * nscd/pwdcache.c (addpwbyX): Likewise.
11790         * nscd/selinux.c (preserve_capabilities): Likewise.
11791         * nscd/servicescache.c (addservbyX): Likewise.
11792         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11793         * posix/fnmatch.c (fnmatch): Likewise.
11794         * posix/getopt.c (_getopt_internal_r): Likewise.
11795         * posix/glob.c (glob, glob_in_dir): Likewise.
11796         * posix/wordexp.c (exec_comm_child): Likewise.
11797         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11798         (getanswer_r, gaih_getanswer_slice): Likewise.
11799         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11800         * resolv/res_init.c: Likewise.
11801         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11802         * resolv/res_query.c (__libc_res_nquery): Likewise.
11803         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11804         Likewise.
11805         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11806         * stdio-common/perror.c (perror): Likewise.
11807         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11808         * stdio-common/tmpnam.c (tmpnam): Likewise.
11809         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11810         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11811         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11812         Likewise.
11813         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11814         * stdlib/putenv.c (putenv): Likewise.
11815         * stdlib/setenv.c (__add_to_environ): Likewise.
11816         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11817         * stdlib/strtol_l.c (INTERNAL): Likewise.
11818         * string/memmem.c (memmem): Likewise.
11819         * string/strerror.c (strerror): Likewise.
11820         * string/strnlen.c (__strnlen): Likewise.
11821         * string/test-memmem.c (simple_memmem): Likewise.
11822         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11823         * sunrpc/pm_getport.c (__get_socket): Likewise.
11824         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11825         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11826         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11827         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11828         Likewise.
11829         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11830         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11831         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11832         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11833         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11834         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11835         Likewise.
11836         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11837         Likewise.
11838         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11839         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11840         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11841         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11842         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11843         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11844         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11845         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11846         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11847         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11848         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11849         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11850         Likewise.
11851         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11852         Likewise.
11853         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11854         Likewise.
11855         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11856         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11857         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11858         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11859         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11860         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11861         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11862         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11863         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11864         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11865         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11866         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11867         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11868         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11869         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11870         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11871         Likewise.
11872         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11873         Likewise.
11874         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11875         Likewise.
11876         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11877         Likewise.
11878         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11879         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11880         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11881         Likewise.
11882         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11883         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11884         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11885         * sysdeps/posix/sleep.c: Likewise.
11886         * sysdeps/posix/tempname.c: Likewise.
11887         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11888         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11889         Likewise.
11890         * sysdeps/powerpc/powerpc32/dl-machine.h
11891         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11892         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11894         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11895         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11896         Likewise.
11897         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11898         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11899         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11900         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11901         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11902         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11903         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11904         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11905         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11906         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11907         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11908         (elf_machine_lazy_rel): Likewise.
11909         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11910         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11911         (elf_machine_lazy_rel): Likewise.
11912         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11913         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11914         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11915         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11916         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11917         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11918         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11919         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11920         Likewise.
11921         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11922         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11923         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11924         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11925         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11926         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11927         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11928         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11929         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11930         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11931         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11932         Likewise.
11933         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11934         (__posix_fallocate64_l64): Likewise.
11935         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11936         (posix_fallocate): Likewise.
11937         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11938         Likewise.
11939         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11940         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11941         (getifaddrs_internal): Likewise.
11942         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11943         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11944         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11945         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11946         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11947         (__posix_fallocate64_l64): Likewise.
11948         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11949         Likewise.
11950         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11951         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11952         (__get_clockfreq): Likewise.
11953         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11954         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11955         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11956         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11957         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11958         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11959         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11960         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11961         Likewise.
11962         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11963         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11964         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11965         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11966         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11967         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11968         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11969         Likewise.
11970         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11971         (posix_fallocate): Likewise.
11972         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11973         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11974         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11975         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11976         (elf_machine_rela, elf_machine_rela_relative)
11977         (elf_machine_lazy_rel): Likewise.
11978         * time/asctime.c (asctime_internal): Likewise.
11979         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11980         * time/tzset.c (__tzset_parse_tz): Likewise.
11981         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11982         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11983         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11984         * wcsmbs/wcsmbsload.h: Likewise.
11985
11986         [BZ #15894]
11987         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11988
11989         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11990         (arena_get2): Remove THREAD_STATS conditionals.
11991         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11992         (__malloc_stats, int): Likewise.
11993
11994 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11995
11996         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11997         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11998
11999         * manual/setjmp.texi: Fix typos/grammar errors.
12000
12001         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12002         Only return early when n is <= 0.  Delete unused return statement.
12003
12004         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12005         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12006         * debug/tst-longjmp_chk3.c: New file.
12007
12008         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12009         (test_main): Replace code with set_fortify_handler call.
12010         * debug/test-strcpy_chk.c: Likewise.
12011         * debug/tst-chk1.c: Likewise.
12012         * debug/tst-longjmp_chk.c: Likewise.
12013         * test-skeleton.c: Include fcntl.h & paths.h
12014         (set_fortify_handler): Define.
12015
12016         * debug/tst-longjmp_chk.c: Add header comment and include
12017         ../test-skeleton.c.
12018         (do_test): Mark static.
12019         (TEST_FUNCTION): Define.
12020
12021         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12022         (IP_PMTUDISC_INTERFACE): Likewise.
12023         (IP_MULTICAST_IF): Likewise.
12024         (IP_MULTICAST_TTL): Likewise.
12025         (IP_MULTICAST_LOOP): Likewise.
12026         (IP_ADD_MEMBERSHIP): Likewise.
12027         (IP_DROP_MEMBERSHIP): Likewise.
12028         (IP_UNBLOCK_SOURCE): Likewise.
12029         (IP_BLOCK_SOURCE): Likewise.
12030         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12031         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12032         (IP_MSFILTER): Likewise.
12033         (MCAST_JOIN_GROUP): Likewise.
12034         (MCAST_BLOCK_SOURCE): Likewise.
12035         (MCAST_UNBLOCK_SOURCE): Likewise.
12036         (MCAST_LEAVE_GROUP): Likewise.
12037         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12038         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12039         (MCAST_MSFILTER): Likewise.
12040         (IP_MULTICAST_ALL): Likewise.
12041         (IP_UNICAST_IF): Likewise.
12042
12043         * timezone/Makefile: Delete $(have-ksh) check.
12044         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12045         * timezone/tzselect.ksh: Add +x mode bits.
12046
12047         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12048         (ANON_INODE_FS_MAGIC): Likewise.
12049         (BDEVFS_MAGIC): Likewise.
12050         (BINFMTFS_MAGIC): Likewise.
12051         (BTRFS_TEST_MAGIC): Likewise.
12052         (CRAMFS_MAGIC_WEND): Likewise.
12053         (DEBUGFS_MAGIC): Likewise.
12054         (ECRYPTFS_SUPER_MAGIC): Likewise.
12055         (EXT3_SUPER_MAGIC): Likewise.
12056         (EXT4_SUPER_MAGIC): Likewise.
12057         (FUTEXFS_SUPER_MAGIC): Likewise.
12058         (HOSTFS_SUPER_MAGIC): Likewise.
12059         (HUGETLBFS_MAGIC): Likewise.
12060         (MINIX3_SUPER_MAGIC): Likewise.
12061         (MTD_INODE_FS_MAGIC): Likewise.
12062         (NILFS_SUPER_MAGIC): Likewise.
12063         (OPENPROM_SUPER_MAGIC): Likewise.
12064         (PIPEFS_MAGIC): Likewise.
12065         (PSTOREFS_MAGIC): Likewise.
12066         (QNX6_SUPER_MAGIC): Likewise.
12067         (RAMFS_MAGIC): Likewise.
12068         (REISERFS_SUPER_MAGIC_STRING): Likewise.
12069         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12070         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12071         (SECURITYFS_MAGIC): Likewise.
12072         (SELINUX_MAGIC): Likewise.
12073         (SMACK_MAGIC): Likewise.
12074         (SOCKFS_MAGIC): Likewise.
12075         (SQUASHFS_MAGIC): Likewise.
12076         (STACK_END_MAGIC): Likewise.
12077         (TMPFS_MAGIC): Likewise.
12078         (USBDEVICE_SUPER_MAGIC): Likewise.
12079         (V9FS_MAGIC): Likewise.
12080         (XENFS_SUPER_MAGIC): Likewise.
12081         (CRAMFS_MAGIC): Fix typo in comment.
12082         (EXT2_SUPER_MAGIC): Update comment.
12083         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12084
12085 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
12086
12087         * sysdeps/arm: Move directory from ports/sysdeps/arm.
12088         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12089         * sysdeps/unix/sysv/linux/arm: Move directory from
12090         ports/sysdeps/unix/sysv/linux/arm.
12091         * README: Update listing for arm-*-linux-gnueabi.
12092
12093         * README: Remove mention of am33.
12094
12095 2014-02-07  Roland McGrath  <roland@hack.frob.com>
12096
12097         * bits/sigset.h (__sigemptyset): Use a statement expression rather
12098         than the comma operator, to avoid "rhs of comma has no effect"
12099         compiler warnings.
12100         (__sigfillset, __sigandset, __sigorset): Likewise.
12101         * include/signal.h (__sigemptyset): Likewise.
12102         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12103
12104 2014-02-07  Allan McRae  <allan@archlinux.org>
12105
12106         * version.h (RELEASE): Set to "development".
12107         (VERSION): Set to "2.19.90"
12108         * NEWS: Add 2.20 section.
12109
12110 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
12111
12112         [BZ #16529]
12113         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12114
12115 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12116
12117         * manual/contrib.texi: Update entry for Carlos O'Donell,
12118         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12119
12120 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12121
12122         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12123
12124         * sysdeps/unix/sysv/linux/kernel-features.h
12125         [__LINUX_KERNEL_VERSION >= 0x020621]
12126         (__ASSUME_PROC_PID_TASK_COMM): Define.
12127
12128 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12129
12130         [BZ #16398]
12131         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12132         conversion when destination buffer does not have enough space.
12133         * libio/tst-ftell-partial-wide.c: New test case.
12134         * libio/Makefile (tests): Add tst-ftell-partial-wide.
12135
12136         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12137         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
12138         Leonard and Allan McRae.
12139
12140 2014-02-04  David S. Miller  <davem@davemloft.net>
12141
12142         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12143         32-bit.
12144
12145 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12146
12147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12148         New file
12149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12150         New file
12151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12152         New file.
12153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12154         New file.
12155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12156         New file.
12157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12158         New file.
12159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12160         New file.
12161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12162         New file.
12163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12164         New file.
12165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12166         New file.
12167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12168         New file.
12169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12170         New file.
12171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12172         New file.
12173
12174 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12175
12176         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12177         * shlib-versions: Likewise.
12178
12179 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12180             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12181
12182         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12183         (abilist-pattern): New variable, set to %-le.abilist.
12184
12185         * Makerules (abilist-pattern): New variable.
12186         (vpath): Use $(abilist-pattern) in place of %.abilist.
12187         (check-abi-% pattern rule): Likewise.
12188         (check-abi, update-abi): Likewise.
12189
12190 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12191
12192         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12193
12194 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12195
12196         * manual/startup.texi: Add next, previous, and top entries for
12197         the `Program Arguments' and `Environment Variables' nodes.
12198
12199 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12200
12201         * manual/macros.texi: Add comments before MTASC-safety macros.
12202
12203         * manual/users.texi: Document MTASC-safety properties.
12204
12205         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12206         (pthread_getspecific, pthread_setspecific): Format with
12207         @deftypefun, and add @safety note.
12208         * manual/signal.texi: Move comments that analyze the above
12209         functions to their home place.
12210
12211 2014-02-03  Allan McRae  <allan@archlinux.org>
12212
12213         * po/sl.po: Update Slovenian translation from translation project.
12214
12215 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12216
12217         * manual/time.texi (timegm): Add missing blank after @c.
12218         Reported by Joseph Myers <joseph@codesourcery.com>.
12219
12220 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12221
12222         * manual/check-safety.sh: New.
12223         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12224
12225         * manual/terminal.texi: Document MTASC-safety properties.
12226
12227         * manual/filesys.texi: Document MTASC-safety properties.
12228
12229         * manual/errno.texi: Document MTASC-safety properties.
12230
12231         * manual/intro.texi: Document safety identifiers and
12232         conditionals.
12233
12234         * manual/string.texi (wcstok): Fix prototype.
12235         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12236
12237         * manual/time.texi: Document MTASC-safety properties.
12238
12239         * manual/string.texi: Document MTASC-safety properties.
12240
12241         * manual/threads.texi: Document MTASC-safety properties.
12242
12243         * manual/stdio.texi: Document MTASC-safety properties.
12244
12245         * manual/syslog.texi: Document MTASC-safety properties.
12246
12247         * manual/sysinfo.texi: Document MTASC-safety properties.
12248
12249         * manual/startup.texi: Document MTASC-safety properties.
12250
12251         * manual/socket.texi: Document MTASC-safety properties.
12252
12253         * manual/signal.texi: Document MTASC-safety properties.
12254
12255 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12256
12257         * manual/setjmp.texi: Document MTASC-safety properties.
12258
12259         * manual/search.texi: Document MTASC-safety properties.
12260
12261         * manual/resource.texi: Document MTASC-safety properties.
12262
12263         * manual/process.texi: Document MTASC-safety properties.
12264
12265         * manual/platform.texi: Document MTASC-safety properties.
12266
12267         * manual/pipe.texi: Document MTASC-safety properties.
12268
12269         * manual/pattern.texi: Document MTASC-safety properties.
12270
12271         * manual/message.texi: Document MTASC-safety properties.
12272
12273         [BZ #12751]
12274         * manual/memory.texi: Document MTASC-safety properties.
12275
12276         * manual/math.texi: Document MTASC-safety properties.
12277
12278         * manual/locale.texi: Document MTASC-safety properties.
12279
12280         * manual/llio.texi: Document MTASC-safety properties.
12281
12282         * manual/libdl.texi: New.
12283
12284         * manual/lang.texi: Document MTASC-safety properties.
12285
12286         * manual/job.texi: Document MTASC-safety properties.
12287
12288         * manual/getopt.texi: Document MTASC-safety properties.
12289
12290         * manual/ctype.texi: Document MTASC-safety properties.
12291
12292 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12293
12294         [BZ #16046]
12295         * csu/libc-tls.c (static_map): Remove variable.
12296         (__libc_setup_tls): Use main executable's link map for TLS data.
12297         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12298         casing for LM_ID_BASE and GL(dl_nns).
12299         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12300         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12301         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12302         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12303         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12304         member.
12305         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12306         l_phnum members.
12307
12308 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12309
12310         * manual/debug.texi: Document MTASC-safety properties.
12311
12312 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12313
12314         [BZ #16510]
12315         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12316         of __x86_64__ when disabling x87 inline functions.
12317
12318 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12319
12320         * manual/charset.texi: Document MTASC-safety properties.
12321
12322         * manual/crypt.texi: Document MTASC-safety properties.
12323
12324         * manual/conf.texi: Document MTASC-safety properties.
12325
12326         * manual/arith.texi: Document MTASC-safety properties.
12327
12328         * manual/argp.texi: Document MTASC-safety properties.
12329
12330         * manual/macros.texi: Introduce macros to document multi
12331         thread, asynchronous signal and asynchronous cancellation
12332         safety properties.
12333         * manual/intro.texi: Introduce the properties themselves.
12334
12335 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12336
12337         * sysdeps/sh/sh4/Makefile: New file.
12338
12339 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12340
12341         * math/gen-libm-test.pl ($srcdir): New variable.
12342         ($auto_input): Use it.
12343
12344 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12345
12346         [BZ #16506]
12347         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12348         access beyond array bounds when parsing netgroups file.
12349
12350         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12351         the old buffer before realloc.
12352
12353 2014-01-27  Allan McRae  <allan@archlinux.org>
12354
12355         * po/fr.po: Update French translation from translation project.
12356
12357 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12358
12359         * sysdeps/sh/libm-test-ulps: Regenerate.
12360
12361 2014-01-24  David S. Miller  <davem@davemloft.net>
12362
12363         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12364
12365 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12366
12367         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12368         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12369
12370 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12371
12372         [BZ #16474]
12373         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12374         string pointers after reallocation.
12375
12376 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12377
12378         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12379         __SH4A__ instead of __SH_FPU_ANY__.
12380
12381 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12382
12383         * sysdeps/sh/fpu_control.h: New file.
12384         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12385         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12386         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12387         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12388         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12389         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12390         * sysdeps/sh/sys/ucontext.h: Remove.
12391         * sysdeps/sh/sys: Remove directory.
12392
12393 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12394
12395         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12396         s390/sys/ucontext.h.
12397         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12398         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12399
12400 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12401
12402         [BZ #15605]
12403         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12404
12405 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12406
12407         [BZ#16431]
12408         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12409         Adjust the vDSO correctly for internal calls.
12410         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12411
12412 2014-01-20  Allan McRae  <allan@archlinux.org>
12413
12414         * po/ca.po: Update Catalan translation from translation project.
12415
12416 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12417
12418         * sysdeps/s390/sotruss-lib.c: New file.
12419
12420 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12421
12422         [BZ#16430]
12423         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12424         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12425         local calls issues by not having a PLT stub required for IFUNC calls.
12426         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12427
12428 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12429
12430         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12431         * math/test-fpucw-static.c: Likewise.
12432
12433 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12434
12435         [BZ #16453]
12436         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12437
12438 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12439
12440         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12441         implementation for powerpc.
12442
12443 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12444
12445         [BZ #14782]
12446         * sysdeps/posix/system.c (__libc_system): Do not enable
12447         asynchronous cancellation.
12448
12449 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12450
12451         [BZ #16427]
12452         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12453         handling only for numbers special also in the IEEE case.
12454
12455 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12456
12457         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12458
12459 2014-01-11  Allan McRae  <allan@archlinux.org>
12460
12461         * po/bg.po: Update Bulgarian translation from translation project.
12462
12463         * po/de.po: Update German translation from translation project.
12464
12465 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12466
12467         * sysdeps/generic/gcc-compat.h: New file.
12468
12469 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12470
12471         * benchtests/asin-inputs: Correct slow inputs.
12472         * benchtests/acos-inputs: Likewise.
12473
12474 2014-01-10  Allan McRae  <allan@archlinux.org>
12475
12476         * po:sv.po: Update Swedish translation from translation project.
12477
12478         * po/vi.po: Update Vietnamese translation from translation project.
12479
12480         * po/eo.po: Update Esperanto translation from translation project.
12481
12482         * po/cs.po: Update Czech translation from translation project.
12483
12484         * po/nl.po: Update Dutch translation from translation project.
12485
12486         * po/pl.po: Update Polish translation from translation project.
12487
12488         * po/ru.po: Update Russian translation from translation project.
12489
12490         * po/uk.po: Update Ukrainian translation from translation project.
12491
12492 2014-01-08  Brooks Moses  <bmoses@google.com>
12493
12494         * elf/dl-load.c: Fix comment typo.
12495
12496 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12497
12498         * po/header.pot: Rename to...
12499         * po/pot.header: ... this.
12500         * po/Makefile: Use pot.header.
12501
12502 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12503             Maxim Kuvyrkov  <maxim@kugelworks.com>
12504
12505         [BZ #16394]
12506         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12507         SRC and DEST against LEN.
12508
12509 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12510
12511         [BZ #16414]
12512         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12513         implementation.
12514         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12515
12516 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12517
12518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12519
12520 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12521
12522         [BZ #16408]
12523         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12524         for large positive arguments.
12525
12526 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12527
12528         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12529
12530         * math/auto-libm-test-in: Mark various tests with
12531         xfail-rounding:ldbl-128ibm.
12532         * math/auto-libm-test-out: Regenerated.
12533
12534         [BZ #16407]
12535         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12536         Increase overflow threshold.
12537
12538 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12539
12540         [BZ #14286]
12541         * stdio-common/vfprintf.c: Check for integer overflow.
12542
12543 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12544
12545         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12546         the first argument and return value of __tls_get_addr_internal.
12547
12548 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12549
12550         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12551         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12552
12553 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12554
12555         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12556         * sysdeps/s390/rtld-global-offsets.sym: New file.
12557         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12558         GLIBC_2.19 symbol.
12559         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12560         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12561         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12562         ... this.
12563         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12564         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12565         ... this.
12566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12567         Regenerate.
12568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12569         Regenerate.
12570         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12571         halfs of GPRs for high_gprs contexts.
12572         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12573         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12574         field.
12575         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12576         uc_flags field.
12577         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12578         64 bit versions:
12579         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12580         for high GPRs (uc_high_gprs) and for future extensions
12581         (__reserved).
12582         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12583         for future extensions (__reserved).
12584         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12585         64 bit versions:
12586         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12587         SC_HIGHGPRS offset definition.
12588         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12589         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12590
12591         * Versions.def: Add GLIBC_2.19 for libpthread.
12592         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12593         siglongjmp for libpthread with GLIBC_2.19 symver.
12594         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12595         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12596         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12597         * sysdeps/s390/__longjmp.c: New file.
12598         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12599         * sysdeps/s390/longjmp.c: New file.
12600         * sysdeps/s390/setjmp.S: New file.
12601         * sysdeps/s390/sigjmp.S: New file.
12602         * sysdeps/s390/v1-longjmp.c: New file.
12603         * sysdeps/s390/v1-setjmp.h: New file.
12604         * sysdeps/s390/v1-sigjmp.c: New file.
12605         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12606         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12607         GLIBC_2.19 version.
12608         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12609         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12610         versioned symbols for ____longjmp_chk.
12611         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12612         Likewise.
12613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12614         Regenerate.
12615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12616         Regenerate.
12617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12618         Regenerate.
12619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12620         Regenerate.
12621         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12622         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12623         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12624         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12625         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12626         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12627         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12628         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12629         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12630         * sysdeps/s390/rtld-__longjmp.c: New file.
12631         * sysdeps/s390/rtld-setjmp.S: New file.
12632
12633 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12634
12635         [BZ #16400]
12636         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12637         Return -__logl (x) for small positive arguments without evaluating
12638         a polynomial.
12639
12640 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12641
12642         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12643         Rename to ...
12644         (__ptrace_peeksiginfo_args): ... this.
12645         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12646         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12647         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12648
12649 2014-01-06  Allan McRae  <allan@archlinux.org>
12650
12651         * inet/netinet/in.h: Fix typo in comment.
12652
12653 2014-01-05  Andreas Jaeger  <aj@suse.de>
12654
12655         * sysdeps/i386/fpu/libm-test-ulps: Update.
12656
12657 2014-01-05  Allan McRae  <allan@archlinux.org>
12658
12659         * po/libc.pot: Regenerated.
12660
12661         * malloc/memusagestat.c: Fix gettext call formatting.
12662
12663 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12664
12665         * nscd/nscd.c: Improve usage() output.
12666
12667 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12668
12669         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12670         * sysdeps/unix/sysv/linux/configure: Regenerated.
12671         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12672         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12673
12674 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12675
12676         [BZ #16390]
12677         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12678         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12679
12680 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12681
12682         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12683         extra tokens at end of #undef directive.
12684         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12685         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12686         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12687
12688 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12689
12690         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12691
12692         * math/auto-libm-test-in: Mark various tests with
12693         xfail-rounding:ldbl-128ibm.
12694         * math/auto-libm-test-out: Regenerated.
12695
12696 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12697
12698         [BZ #16386]
12699         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12700         numbers with subnormal high part when calculating exponent.
12701
12702         [BZ #16385]
12703         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12704         fabs.
12705
12706         [BZ #16384]
12707         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12708         M_LN2l.
12709         (__ieee754_acoshl): Use __log1pl not __log1p.
12710
12711 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12712
12713         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12714         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12715         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12716         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12717         (reused_arena, arena_get2): Convert to GNU style.
12718         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12719         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12720         (memalign_check, __malloc_set_state): Likewise.
12721         * malloc/mallocbug.c (main): Likewise.
12722         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12723         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12724         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12725         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12726         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12727         (__posix_memalign, malloc_info): Likewise.
12728         * malloc/malloc.h: Likewise.
12729         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12730         (mallochook, memalignhook, reallochook, mabort): Likewise.
12731         * malloc/mcheck.h: Likewise.
12732         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12733         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12734         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12735         * malloc/morecore.c (__default_morecore): Likewise.
12736         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12737         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12738         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12739         (print_and_abort): Likewise.
12740         * malloc/obstack.h: Likewise.
12741         * malloc/set-freeres.c (__libc_freeres): Likewise.
12742         * malloc/tst-mallocstate.c (main): Likewise.
12743         * malloc/tst-mtrace.c (main): Likewise.
12744         * malloc/tst-realloc.c (do_test): Likewise.
12745
12746 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12747
12748         [BZ #16366]
12749         * nscd/netgroupcache.c (do_notfound): New function.
12750         (addgetnetgrentX): Use it.
12751
12752         [BZ # 16365]
12753         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12754         NSS_STATUS_NOTFOUND.
12755
12756 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12757
12758         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12760
12761 2014-01-01  Allan McRae  <allan@archlinux.org>
12762
12763         * scripts/update-copyrights: Update configure input file suffix.
12764
12765         * NEWS: Update copyright year.
12766         * catgets/gencat.c: Likewise.
12767         * csu/version.c: Likewise.
12768         * debug/catchsegv.sh: Likewise.
12769         * debug/pcprofiledump.c: Likewise.
12770         * debug/xtrace.sh: Likewise.
12771         * elf/ldconfig.c: Likewise.
12772         * elf/ldd.bash.in: Likewise.
12773         * elf/pldd.c: Likewise.
12774         * elf/sotruss.ksh: Likewise.
12775         * elf/sprof.c: Likewise.
12776         * iconv/iconv_prog.c: Likewise.
12777         * iconv/iconvconfig.c: Likewise.
12778         * locale/programs/locale.c: Likewise.
12779         * locale/programs/localedef.c: Likewise.
12780         * login/programs/pt_chown.c: Likewise.
12781         * malloc/memusage.sh: Likewise.
12782         * malloc/memusagestat.c: Likewise.
12783         * malloc/mtrace.pl: Likewise.
12784         * manual/libc.texinfo: Likewise.
12785         * nscd/nscd.c: Likewise.
12786         * nss/getent.c: Likewise.
12787         * nss/makedb.c: Likewise.
12788         * posix/getconf.c: Likewise.
12789         * scripts/test-installation.pl: Likewise.
12790
12791         * All files with FSF copyright notices: Update copyright dates
12792         using scripts/update-copyrights.
12793         * intl/plural.c: Regenerated.
12794         * locale/programs/charmap-kw.h: Likewise.
12795         * locale/programs/locfile-kw.h: Likewise.
12796
12797 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12798
12799         * sysdeps/unix/sysv/linux/configure: Regenerated.
12800         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12801         the linux/fanotify.h header.
12802         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12803         HAVE_LINUX_FANOTIFY_H is defined.
12804
12805 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12806
12807         * benchtests/cos-inputs: New inputs.
12808         * benchtests/sin-inputs: Likewise.
12809
12810         * benchtests/atan-inputs: New inputs. Fix name of multiple
12811         precision fallback inputs.
12812
12813         * benchtests/atanh-inputs: New inputs.
12814         * benchtests/tanh-inputs: Likewise.
12815
12816         * benchtests/acosh-inputs: New inputs.
12817         * benchtests/asinh-inputs: Likewise.
12818
12819         * benchtests/cosh-inputs: New inputs.
12820         * benchtests/sinh-inputs: Likewise.
12821
12822         * benchtests/acos-inputs: Add more inputs.
12823         * benchtests/asin-inputs: Likewise.
12824
12825 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12826
12827         [BZ #16375]
12828         * manual/arith.texi: Fix spelling.
12829         * manual/charset.texi: Likewise.
12830         * manual/errno.texi: Likewise.
12831         * manual/filesys.texi: Likewise.
12832         * manual/lang.texi: Likewise.
12833         * manual/llio.texi: Likewise.
12834         * manual/locale.texi: Likewise.
12835         * manual/message.texi: Likewise.
12836         * manual/resource.texi: Likewise.
12837         * manual/search.texi: Likewise.
12838         * manual/setjmp.texi: Likewise.
12839         * manual/stdio.texi: Likewise.
12840         * manual/string.texi: Likewise.
12841         * manual/sysinfo.texi: Likewise.
12842         * manual/time.texi: Likewise.
12843
12844 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12845
12846         * po/sl.po: New file.
12847
12848 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12849
12850         * .gitignore: Add core/.gdbinit/.gdb_history.
12851
12852 2013-12-27  Allan McRae  <allan@archlinux.org>
12853
12854         [BZ #16369]
12855         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12856         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12857
12858 2013-12-24  Brooks Moses  <bmoses@google.com>
12859
12860         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12861         all compilers that claim C++98 compliance, not just GCC.
12862         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12863         Likewise.
12864
12865 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12866
12867         * NEWS: Restore accidentally deleted bug-fix entries.
12868
12869 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12870             Ondřej Bílka  <neleai@seznam.cz>
12871
12872         [BZ #15073]
12873         * malloc/malloc.c (_int_free): Perform sanity check only if we
12874         have_lock.
12875
12876 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12877
12878         [BZ #12986]
12879         * manual/stdio.texi (String Input Conversions): Clarify that character
12880         classes are not supported.
12881
12882 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12883
12884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12885
12886 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12887
12888         [BZ #16337]
12889         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12890         Calculate results for small negative arguments directly rather
12891         than using reflection formula with special underflow handling.
12892
12893         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12894         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12895         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12896         (fchflags): Likewise.
12897         (revoke): Likewise.
12898         (setlogin): Likewise.
12899         (sigaltstack): Likewise.
12900         (wait4): Likewise.
12901         (sigblock): Remove.
12902         (sigsetmask): Likewise.
12903         (wait3): Likewise.
12904         (waitpid): Likewise.
12905         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12906         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12907         file.
12908         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12909         * sysdeps/unix/bsd/Makefile: ... here.
12910         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12911         * sysdeps/unix/bsd/Versions: ... here.
12912         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12913         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12914         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12915         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12916         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12917         * sysdeps/unix/bsd/sigblock.c: ... here.
12918         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12919         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12920         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12921         * sysdeps/unix/bsd/sigvec.c: ... here.
12922         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12923         * sysdeps/unix/bsd/tcdrain.c: ... here.
12924         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12925         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12926         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12927         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12928         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12929         * sysdeps/unix/bsd/wait.c: ... here.
12930         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12931         * sysdeps/unix/bsd/wait3.c: ... here.
12932         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12933         * sysdeps/unix/bsd/waitpid.c: ... here.
12934
12935 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12936
12937         [BZ #16356]
12938         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12939         round-to-nearest for [!USE_AS_EXPM1L].
12940         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12941         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12942         more tests of exp and exp10.  Expect some exp10 tests to miss
12943         exceptions or fail in directed rounding modes.
12944         * math/auto-libm-test-out: Regenerated.
12945         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12946         (exp10_test_tonearest): New function.
12947         (exp10_towardzero_test_data): New array.
12948         (exp10_test_towardzero): New function.
12949         (exp10_downward_test_data): New array.
12950         (exp10_test_downward): New function.
12951         (exp10_upward_test_data): New array.
12952         (exp10_test_upward): New function.
12953         (main): Call the new functions.
12954         * sysdeps/i386/fpu/libm-test-ulps: Update.
12955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12956
12957 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12958
12959         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12960         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12961         * math/auto-libm-test-out: Regenerated.
12962         * math/libm-test.inc (acosh_test_data): Add more tests.
12963         (atanh_test_data): Likewise.
12964         (ceil_test_data): Likewise.
12965         (copysign_test_data): Likewise.
12966         * sysdeps/i386/fpu/libm-test-ulps: Update.
12967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12968
12969         * timezone/checktab.awk: Update from tzcode 2013i.
12970         * timezone/private.h: Likewise.
12971         * timezone/scheck.c: Likewise.
12972         * timezone/tzfile.h: Likewise.
12973         * timezone/tzselect.ksh: Likewise.
12974         * timezone/zdump.c: Likewise.
12975         * timezone/zic.c: Likewise.
12976
12977         * math/auto-libm-test-in: Add tests of cpow.
12978         * math/auto-libm-test-out: Regenerated.
12979         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12980         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12981         mpc_cc_c.
12982         (func_calc_desc): Add mpc_cc_c union field.
12983         (test_functions): Add cpow.
12984         (special_fill_2pi): New function.
12985         (special_real_inputs): Add 2pi.
12986         (calc_generic_results): Handle mpc_cc_c.
12987         * sysdeps/i386/fpu/libm-test-ulps: Update.
12988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12989
12990         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12991         csqrt, ctan and ctanh.
12992         * math/auto-libm-test-out: Regenerated.
12993         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12994         (TEST_COND_x86): Likewise.
12995         (ccos_test_data): Use AUTO_TESTS_c_c.
12996         (ccosh_test_data): Likewise.
12997         (cexp_test_data): Likewise.
12998         (clog_test_data): Likewise.
12999         (csqrt_test_data): Likewise.
13000         (ctan_test_data): Likewise.
13001         (ctan_tonearest_test_data): Likewise.
13002         (ctan_towardzero_test_data): Likewise.
13003         (ctan_downward_test_data): Likewise.
13004         (ctan_upward_test_data): Likewise.
13005         (ctanh_test_data): Likewise.
13006         (ctanh_tonearest_test_data): Likewise.
13007         (ctanh_towardzero_test_data): Likewise.
13008         (ctanh_downward_test_data): Likewise.
13009         (ctanh_upward_test_data): Likewise.
13010         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13011         mpc_c_c.
13012         (func_calc_desc): Add mpc_c_c union field.
13013         (FUNC_mpc_c_c): New macro.
13014         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13015         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13016         ctanh.
13017         (special_fill_min_subnorm_p120): New function.
13018         (special_real_inputs): Add min_subnorm_p120.
13019         (calc_generic_results): Handle mpc_c_c.
13020         * sysdeps/i386/fpu/libm-test-ulps: Update.
13021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13022
13023 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13024
13025         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13026         (do_sin_slow): New functions.
13027         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13028         (cslow2, csloww1, csloww2): Use the new functions.
13029
13030         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13031         Use M to change sign of result instead of X.  Assume X is
13032         positive.
13033         (csloww1): Likewise.
13034         (__sin): Adjust.
13035         (__cos): Adjust.
13036
13037         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13038         arguments A and DA.
13039         (__sin): Adjust.
13040         (__cos): Likewise.
13041
13042         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13043         (__cos): Likewise.
13044         (sloww1): Don't adjust sign of DX.
13045         (csloww1): Likewise.
13046         (sloww2): Use X directly and don't adjust sign of DX.
13047         (csloww2): Likewise.
13048
13049 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13050
13051         * math/auto-libm-test-in: Add tests of cabs and carg.
13052         * math/auto-libm-test-out: Regenerated.
13053         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13054         (carg_test_data): Likewise.
13055         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13056         mpc_c_f.
13057         (func_calc_desc): Add mpc_c_f union field.
13058         (test_functions): Add cabs and carg.
13059         (calc_generic_results): Handle mpc_c_f.
13060
13061         * sysdeps/powerpc/powerpc32/libgcc-compat.S
13062         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13063         as a macro and a compat symbol.
13064         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13065         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13066         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13067         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13068         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13069         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13070         not use .hidden.
13071         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13072         Likewise.
13073         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13074         Likewise.
13075         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13076         Likewise.
13077         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13078         Likewise.
13079         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13080         Likewise.
13081         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13082         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13083         from GLIBC_2.3.2.
13084
13085 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13086
13087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13088
13089 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13090
13091         * manual/texinfo.tex: Update to version 2013-11-26.10 with
13092         trailing whitespace removed.
13093         * scripts/config.guess: Update to version 2013-11-29.
13094         * scripts/config.sub: Update to version 2013-10-01.
13095
13096         * math/auto-libm-test-in: Add tests of sincos.
13097         * math/auto-libm-test-out: Regenerated.
13098         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13099         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13100         mpfr_f_11.
13101         (func_calc_desc): Add mpfr_f_11 union field.
13102         (test_functions): Add sincos.
13103         (calc_generic_results): Handle mpfr_f_11.
13104         * sysdeps/i386/fpu/libm-test-ulps: Update.
13105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13106
13107 2013-12-19  Andreas Schwab  <schwab@suse.de>
13108
13109         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13110         CALL_MCOUNT.
13111         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13112         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13113         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13114
13115 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13116
13117         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13118         * sysdeps/i386/fpu/libm-test-ulps: Update.
13119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13120
13121         [BZ #16293]
13122         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13123         round-to-nearest mode when using frndint.
13124         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13125         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13126         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13127         Likewise.
13128         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
13129         sinh test to fail.
13130         * math/auto-libm-test-out: Regenerated.
13131         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13132         (TEST_COND_x86): Likewise.
13133         (expm1_tonearest_test_data): New array.
13134         (expm1_test_tonearest): New function.
13135         (expm1_towardzero_test_data): New array.
13136         (expm1_test_towardzero): New function.
13137         (expm1_downward_test_data): New array.
13138         (expm1_test_downward): New function.
13139         (expm1_upward_test_data): New array.
13140         (expm1_test_upward): New function.
13141         (main): Run the new test functions.
13142         * sysdeps/i386/fpu/libm-test-ulps: Update.
13143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13144
13145         * include/features.h: Update comment documenting feature test
13146         macros.  Mention _DEFAULT_SOURCE in comment.
13147         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13148         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13149         _BSD_SOURCE and _SVID_SOURCE.
13150         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13151         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13152         !_SVID_SOURCE]: Likewise.
13153         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13154         (__USE_POSIX_IMPLICITLY): Define.
13155         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13156         (_POSIX_SOURCE): Undefine and redefine.
13157         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13158         (_POSIX_C_SOURCE): Likewise.
13159         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13160         (Feature Test Macros): Update documentation of default features.
13161
13162 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13163
13164         * benchtests/Makefile: Add bench-strtok.
13165         * benchtests/bench-strtok.c: New file: strtok benchtest.
13166
13167 2013-12-19  Allan McRae  <allan@archlinux.org>
13168
13169         * manual/install.texi: Suppress menu for plain text output.
13170         * INSTALL: Regenerated.
13171
13172 2013-12-18  Brooks Moses  <bmoses@google.com>
13173
13174         [BZ #15846]
13175         * misc/getauxval.c: Include errno.h.
13176         (__getauxval): Set errno to ENOENT if the requested type is not
13177         found.
13178         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13179         don't declare with __attribute_const__.
13180         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13181         * manual/startup.texi: Document that getauxval sets errno.
13182
13183 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13184
13185         * math/auto-libm-test-in: Add tests of jn and yn.
13186         * math/auto-libm-test-out: Regenerated.
13187         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13188         (yn_test_data): Likewise.
13189         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13190         mpfr_if_f.
13191         (func_calc_desc): Add mpfr_if_f union field.
13192         (FUNC_mpfr_if_f): New macro.
13193         (test_functions): Add jn and yn.
13194         (calc_generic_results): Assert type of second input for
13195         mpfr_ff_f.  Handle mpfr_if_f.
13196         (output_for_one_input_case): Disable all checking for arguments
13197         fitting floating-point types in case of an integer argument.
13198         * sysdeps/i386/fpu/libm-test-ulps: Update.
13199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13200
13201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13202         Don't expect fegetround reference in libm.so.
13203
13204 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13205
13206         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13207         $(config-cflags-nofma).
13208
13209 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13210
13211         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13212         * math/auto-libm-test-out: Regenerated.
13213
13214         [BZ #16338]
13215         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13216         to determine exponent and adjust argument to have exponent of -1.
13217         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13218         log2.
13219         * math/auto-libm-test-out: Regenerated.
13220         * sysdeps/i386/fpu/libm-test-ulps: Update.
13221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13222
13223 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13224
13225         * manual/probes.texi: Remove cases when per-thread arenas are
13226         disabled.
13227
13228 2013-12-18  Andreas Schwab  <schwab@suse.de>
13229
13230         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13231         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13232         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13233         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13234         * sysdeps/i386/i686/multiarch/Makefile: Update.
13235         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13236
13237 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13238
13239         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13240         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13241
13242 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13243
13244         [BZ #15968]
13245         Support TZ transition times < 00:00:00.
13246         This is needed for version-3 tz-format files; it supports time
13247         stamps past 2037 for America/Godthab (the only entry in the tz
13248         database for which this change is relevant).
13249         * manual/time.texi (TZ Variable): Document transition times
13250         from -167:59:59 through -00:00:01.
13251         * time/tzset.c (tz_rule): Time of day is now signed.
13252         (__tzset_parse_tz): Parse negative time of day.
13253
13254         Document TZ transition times >= 25:00:00.
13255         * manual/time.texi (TZ Variable): Document transition times from
13256         25:00:00 through 167:59:59.  These are already supported, and this
13257         support will help with version-3 tz-format files.
13258
13259         * manual/time.texi (TZ Variable): Modernize North America example
13260         to reflect current (i.e., 2007-and-later) daylight saving rules.
13261
13262         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13263
13264 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13265
13266         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13267         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13268         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13269         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13270         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13271         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13272         * sysdeps/unix/bsd/clock.c: Likewise.
13273         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13274         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13275         * sysdeps/unix/bsd/init-posix.c: Likewise.
13276         * sysdeps/unix/bsd/poll.c: Likewise.
13277         * sysdeps/unix/bsd/ptsname.c: Likewise.
13278         * sysdeps/unix/bsd/seekdir.c: Likewise.
13279         * sysdeps/unix/bsd/setegid.c: Likewise.
13280         * sysdeps/unix/bsd/seteuid.c: Likewise.
13281         * sysdeps/unix/bsd/setgid.c: Likewise.
13282         * sysdeps/unix/bsd/setrgid.c: Likewise.
13283         * sysdeps/unix/bsd/setruid.c: Likewise.
13284         * sysdeps/unix/bsd/setsid.c: Likewise.
13285         * sysdeps/unix/bsd/setuid.c: Likewise.
13286         * sysdeps/unix/bsd/sigaction.c: Likewise.
13287         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13288         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13289         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13290         * sysdeps/unix/bsd/telldir.c: Likewise.
13291         * sysdeps/unix/bsd/times.c: Likewise.
13292         * sysdeps/unix/bsd/usleep.c: Likewise.
13293
13294         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13295         ($(objpfx)libbsd-compat.a): Remove rule.
13296
13297         * include/features.h (__FAVOR_BSD): Do not define.
13298         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13299         features conflicting with POSIX.
13300         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13301         (_BSD_SOURCE): Remove description of not being a subset of other
13302         feature test macros.
13303         * manual/job.texi (getpgrp): Do not document BSD version.
13304         (getpgid): Do not document by reference to BSD getpgrp.
13305         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13306         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13307         * signal/signal.h [__FAVOR_BSD]: Likewise.
13308         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13309         instead of making contents conditional on [__FAVOR_BSD].
13310         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13311
13312 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13313
13314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13315
13316 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13317
13318         [BZ #16314]
13319         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13320         values below 2**-450, not 2**-500.
13321         * math/auto-libm-test-in: Don't allow spurious underflow from
13322         hypot.
13323         * math/auto-libm-test-out: Regenerated.
13324
13325         [BZ #16316]
13326         [BZ #16330]
13327         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13328         values of ha and hb and sort them after adjusting subnormal
13329         arguments.
13330         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13331         Likewise.
13332         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13333         values of ea and eb and sort them after adjusting subnormal
13334         arguments.
13335         * math/auto-libm-test-in: Do not expect some hypot tests of
13336         subnormals to fail.  Add more hypot tests.
13337         * math/auto-libm-test-out: Regenerated.
13338
13339 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13340
13341         [BZ #13304]
13342         * sysdeps/sh/s_fma.c: New file.
13343         * sysdeps/sh/s_fmaf.c: New file.
13344         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13345         version.
13346         * sysdeps/sh/Implies: Add sh/soft-fp.
13347
13348 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13349
13350         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13351         level of indirection to members `objname', `errstring', `malloced'.
13352         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13353         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13354         it as the __longjmp argument (just pass 1 instead).
13355         (_dl_catch_error): Initialize C with argument pointers and address of
13356         volatile local ERRCODE rather than copying values out of C at return.
13357
13358 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13359
13360         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13361         * math/auto-libm-test-out: Regenerated.
13362         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13363         (hypot_test_data): Likewise.
13364         (pow_test_data): Likewise.
13365         (pow_tonearest_test_data): Likewise.
13366         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13367         mpfr_ff_f.
13368         (func_calc_desc): Add mpfr_ff_f union field.
13369         (FUNC_mpfr_ff_f): New macro.
13370         (test_functions): Add atan2, hypot and pow.
13371         (special_fill_min): New function.
13372         (special_fill_minus_min): Likewise.
13373         (special_fill_min_subnorm): Likewise.
13374         (special_fill_minus_min_subnorm): Likewise.
13375         (special_real_inputs): Add min, -min, min_subnorm and
13376         -min_subnorm.
13377         (calc_generic_results): Handle mpfr_ff_f.
13378         * sysdeps/i386/fpu/libm-test-ulps: Update.
13379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13380
13381 2013-12-16  Will Newton  <will.newton@linaro.org>
13382
13383         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13384         (Aligned Memory Blocks): Add documentation for aligned_alloc
13385         and suggest it as an alternative to posix_memalign.
13386         (Hooks for Malloc): Document __memalign_hook is also called
13387         for aligned_alloc.  (Summary of Malloc): Add summary for
13388         aligned alloc.  Document __memalign_hook is also called
13389         for aligned_alloc.
13390
13391 2013-12-16  Will Newton  <will.newton@linaro.org>
13392
13393         * manual/memory.texi (Malloc Examples): Clarify default
13394         alignment documentation.  Suggest posix_memalign rather
13395         than memalign or valloc.
13396         (Aligned Memory Blocks): Remove suggestion to use memalign
13397         or valloc.  Remove obsolete comment about BSD.
13398         Document memalign errno values and mark the function obsolete.
13399         Document posix_memalign returned error codes.  Mark valloc
13400         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13401         called for posix_memalign and valloc.
13402         (Summary of Malloc): Add posix_memalign to function summary.
13403         __memalign_hook is also called for posix_memalign and valloc.
13404
13405 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13406
13407         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13408         TAYLOR_SIN.
13409         (__sin): Adjust.
13410         (__cos): Likewise.
13411         (sloww): Use mynumber union.  Expand ternary operator into
13412         if-else statements.
13413         (cslow): use mynumber union.
13414
13415 2013-12-16  Allan McRae  <allan@archlinux.org>
13416
13417         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13418         * configure: Regenerated.
13419
13420         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13421
13422         [BZ #14120]
13423         * configure.ac: Added --enable-maintainer-mode. Check for
13424         autoconf when enabled.
13425         * configure: Regenerated.
13426
13427         * nscd/nscd.service: New file.
13428         * nscd/nscd.tmpfiles: New file.
13429
13430 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13431
13432         [BZ #12100]
13433         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13434         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13435         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13436         (strstr): Add __strstr_sse2_unaligned ifunc.
13437         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13438         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13439         (strcasestr): Remove __strcasestr_sse42 ifunc.
13440         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13441         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13442         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13443
13444 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13445
13446         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13447         * sysdeps/sh/bits/fenv.h: ... here.
13448         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13449
13450 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13451
13452         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13453
13454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13455         hypotf multiarch implementations.
13456         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13457         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13458         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13459         multiarch hypot for PPC64.
13460         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13461         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13462         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13463         multiarch hypotf for PPC64.
13464
13465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13466         modff multiarch implementations.
13467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13470         multiarch modf for PPC64.
13471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13474         multiarch modff for PPC64.
13475
13476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13477         and logl multiarch implementations.
13478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13481         multiarch logb for PPC64.
13482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13485         multiarch logb for PPC64.
13486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13489         multiarch logb for PPC64.
13490
13491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13492         isinff multiarch implementation.
13493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13494         file.
13495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13497         multiarch isinf for PPC64.
13498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13499         file.
13500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13501         multiarch isinff for PPC64.
13502
13503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13504         finitef multiarch implementation.
13505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13506         file.
13507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13509         multiarch finite for PPC64.
13510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13511         file.
13512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13513         multiarch finitef for PPC64.
13514
13515         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13516         lrint multiarch implementation.
13517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13518         file.
13519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13521         multiarch llrint for PPC64.
13522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13523         multiarch lrint for PPC64.
13524
13525         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13526         copysignf multiarch implementation.
13527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13528         file.
13529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13530         file.
13531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13532         multiarch copysign for PPC64.
13533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13534         multiarch copysignf for PPC64.
13535
13536         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13537         multiarch implementation.
13538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13539         file.
13540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13541         file.
13542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13543         file.
13544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13545         file.
13546         multiarch llround for PPC64.
13547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13548         multiarch trunc for PPC64.
13549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13550         multiarch truncf for PPC64.
13551
13552         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13553         multiarch implementation.
13554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13555         file.
13556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13557         file.
13558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13559         file.
13560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13561         file.
13562         multiarch llround for PPC64.
13563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13564         multiarch round for PPC64.
13565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13566         multiarch roundf for PPC64.
13567
13568         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13569         multiarch implementation.
13570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13571         file.
13572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13573         file.
13574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13575         file.
13576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13577         file.
13578         multiarch llround for PPC64.
13579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13580         multiarch floor for PPC64.
13581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13582         multiarch floorf for PPC64.
13583
13584         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13585         multiarch implementation.
13586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13587         file.
13588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13589         file.
13590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13591         file.
13592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13593         file.
13594         multiarch llround for PPC64.
13595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13596         multiarch ceil for PPC64.
13597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13598         multiarch ceilf for PPC64.
13599
13600         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13601         multiarch implementation.
13602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13603         file.
13604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13605         file.
13606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13607         file.
13608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13609         multiarch llround for PPC64.
13610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13611         multiarch lround for PPC64.
13612
13613         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13614         multiarch implementation.
13615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13618         file.
13619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13622         multiarch isnan for PPC64.
13623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13624         multiarch isnanf for PPC64.
13625
13626         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13627         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13628         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13629         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13630         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13632
13633         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13634         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13635         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13636         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13637
13638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13639         multiarch implementations.
13640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13641         (__libc_ifunc_impl_list): Likewise.
13642         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13643         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13644         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13645         multiarch stpcpy for PPC64.
13646
13647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13648         multiarch implementations.
13649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13650         (__libc_ifunc_impl_list): Likewise.
13651         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13652         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13653         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13654         multiarch strcpy for PPC64.
13655
13656         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13657         redefine function name.
13658         (_wordcopy_fwd_dest_aligned): Likewise.
13659         (_wordcopy_bwd_aligned): Likewise.
13660         (_wordcopy_bwd_dest_aligned): Likewise.
13661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13662         multiarch implementations.
13663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13664         (__libc_ifunc_impl_list): Likewise.
13665         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13666         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13667         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13668         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13669         multiarch wcscpy for PPC64.
13670
13671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13672         multiarch implementations.
13673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13674         (__libc_ifunc_impl_list): Likewise.
13675         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13676         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13677         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13678         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13679         multiarch wcscpy for PPC64.
13680
13681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13682         multiarch implementations.
13683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13684         (__libc_ifunc_impl_list): Likewise.
13685         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13686         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13687         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13688         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13689         multiarch wcsrchr for PPC64.
13690
13691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13692         multiarch implementations.
13693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13694         (__libc_ifunc_impl_list): Likewise.
13695         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13696         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13697         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13698         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13699         multiarch wcschr for PPC64.
13700
13701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13702         multiarch implementations.
13703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13704         (__libc_ifunc_impl_list): Likewise.
13705         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13706         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13707         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13708         multiarch strchrnul for PPC64.
13709
13710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13711         implementations.
13712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13713         (__libc_ifunc_impl_list): Likewise.
13714         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13715         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13716         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13717         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13718         strchr for PPC64.
13719
13720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13721         implementations.
13722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13723         (__libc_ifunc_impl_list): Likewise.
13724         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13725         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13726         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13727         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13728         strncmp for PPC64.
13729
13730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13731         multiarch implementations.
13732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13733         (__libc_ifunc_impl_list): Likewise.
13734         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13735         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13736         strncasecmp for PPC64.
13737         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13738         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13739         multiarch strncasecmp_l for PPC64.
13740
13741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13742         multiarch implementations.
13743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13744         (__libc_ifunc_impl_list): Likewise.
13745         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13746         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13747         multiarch strcasecmp for PPC64.
13748         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13749         file.
13750         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13751         multiarch strcasecmp_l for PPC64.
13752
13753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13754         implementations.
13755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13756         (__libc_ifunc_impl_list): Likewise.
13757         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13758         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13759         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13760         strnlen for PPC64.
13761
13762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13763         implementations.
13764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13765         (__libc_ifunc_impl_list): Likewise.
13766         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13767         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13768         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13769         strlen for PPC64.
13770
13771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13772         implementations.
13773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13774         (__libc_ifunc_impl_list): Likewise.
13775         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13776         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13777         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13778         rawmemrchr for PPC64.
13779
13780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13781         implementation.
13782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13783         (__libc_ifunc_impl_list): Likewise.
13784         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13785         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13786         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13787         memrchr for PPC64.
13788
13789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13790         implementation.
13791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13792         (__libc_ifunc_impl_list): Likewise.
13793         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13794         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13795         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13796         memchr for PPC64.
13797
13798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13799         implementation.
13800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13801         (__libc_ifunc_impl_list): Likewise.
13802         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13803         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13804         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13805         mempcpy for PPC64.
13806
13807         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13808         avoid cretion of __bzero symbol.
13809         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13810         Likewise.
13811         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13812         Likewise.
13813         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13814         Likewise.
13815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13816         multiarch implementations.
13817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13818         (__libc_ifunc_impl_list): Likewise.
13819         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13820         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13821         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13822         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13823         bzero for PPC32.
13824         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13825         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13826         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13827         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13828         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13829         memset for PPC64.
13830         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13831
13832         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13833         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13834         implementations.
13835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13836         (__libc_ifunc_impl_list): Likewise.
13837         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13838         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13839         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13840         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13841         memcmp for PPC64.
13842
13843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13844         multiarch for POWER/PPC64.
13845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13846         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13847         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13848         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13849         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13850         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13851         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13852         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13853         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13854         memcpy for PPC64.
13855
13856         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13857         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13858         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13859         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13860         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13861         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13862         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13863         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13864         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13865         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13866         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13867         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13868         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13869         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13870         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13878
13879 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13880
13881         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13882
13883 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13884
13885         * benchtests/Makefile (bench): Add exp2 and log2.
13886         (LDLIBS-bench-exp2): Add -lm.
13887         (LDLIBS-bench-log2): Likewise.
13888         * benchtests/exp2-inputs: New inputs file.
13889         * benchtests/log2-inputs: New inputs file.
13890         * benchtests/log-inputs: Add new inputs.
13891         * benchtests/tan-inputs: Likewise.
13892
13893 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13894
13895         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13896         definition...
13897         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13898         (csloww2): ... from here.
13899
13900         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13901         instead of structures.
13902         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13903         (POLYNOMIAL): Likewise.
13904         (TAYLOR_SLOW): Likewise.
13905         (__sin): Likewise.
13906         (__cos): Likewise.
13907         (slow1): Likewise.
13908         (slow2): Likewise.
13909         (sloww): Likewise.
13910         (sloww1); Likewise.
13911         (sloww2): Likewise.
13912         (bsloww1): Likewise.
13913         (bsloww2): Likewise.
13914         (cslow2): Likewise.
13915         (csloww): Likewise.
13916         (csloww1): Likewise.
13917         (csloww2): Likewise.
13918
13919 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13920
13921         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13922         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13923         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13924         * malloc/hooks.c (realloc_check): Likewise.
13925
13926         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13927         * malloc/arena.c: Remove PER_THREAD conditional.
13928         [!PER_THREAD]: Remove code.
13929         (ptmalloc_unlock_all2): Likewise.
13930         (ptmalloc_init): Likewise.
13931         (_int_new_arena): Likewise.
13932         (arena_get2): Likewise.
13933         * malloc/hooks.c (__malloc_get_state): Likewise.
13934         (__malloc_set_state): Likewise.
13935         * malloc/malloc.c: Likewise.
13936         (struct malloc_state): Likewise.
13937         (struct malloc_par): Likewise.
13938         (__libc_realloc): Likewise.
13939         (__libc_mallopt): Likewise.
13940
13941 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13942
13943         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13944
13945 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13946
13947         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13948         macro to a function.  Check for zero perturb_byte.
13949         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13950
13951         * malloc/malloc.c: (force_reg): Remove.
13952         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13953         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13954         force_reg by atomic_forced_read.
13955         * malloc/arena.c (ptmalloc_init): Likewise.
13956         * malloc/hooks.c (top_check): Likewise.
13957
13958 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13959
13960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13961
13962 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13963
13964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13965
13966 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13967
13968         * math/auto-libm-test-in: Add tests of lgamma.
13969         * math/auto-libm-test-out: Regenerated.
13970         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13971         (M_LOG_2_SQRT_PIl): Likewise.
13972         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13973         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13974         mpfr_f_f1.
13975         (func_calc_desc): Add mpfr_f_f1 union field.
13976         (ARGS1): New macro.
13977         (ARGS2): Likewise.
13978         (ARGS3): Likewise.
13979         (ARGS4): Likewise.
13980         (RET1): Likewise.
13981         (RET2): Likewise.
13982         (CALC): Likewise.
13983         (FUNC): Likewise.
13984         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13985         (test_functions): Add lgamma.
13986         (calc_generic_results): Handle mpfr_f_f1.
13987         * sysdeps/i386/fpu/libm-test-ulps: Update.
13988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13989
13990 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13991
13992         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13993         __mpn_add_n for PowerPC64/POWER7.
13994         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13995         __mpn_sub_n for PowerPC64/POWER7.
13996
13997         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13998         __mpn_addmul_1 for PowerPC64.
13999         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14000         __mpn_submul_1 for PowerPC64.
14001         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14002         for PowerPC64.
14003         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14004         for PowerPC64.
14005
14006 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
14007
14008         [BZ #15089]
14009         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14010
14011 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14012
14013         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14014
14015         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14016         add multiarch folders.
14017         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14018         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14019         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14020         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14021         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14022         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14023         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14024         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14025         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14026         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14027         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14034
14035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14036         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14038         New file.
14039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14040         New file.
14041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14042         multiarch __ieee754_hypot for PowerPC32.
14043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14044         New file.
14045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14046         New file.
14047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14048         multiarch __ieee754_hypotf for PowerPC32.
14049
14050         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14051         long_double_symbol only if __logbl is defined.
14052         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14053         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14054         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14055         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14056         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14057         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14058         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14059         path for implementation.
14060         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14061         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14063         logb, and logbl multiarch implementations for PowerPC32.
14064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14065         file.
14066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14067         file.
14068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14069         multiarch logb for PowerPC32.
14070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14071         file.
14072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14073         file.
14074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14075         multiarch logbf for PowerPC32.
14076         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14078         file.
14079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14080         multiarch logbl implementation for PowerPC32.
14081
14082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14083         and modff multiarch implementations.
14084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14085         New file.
14086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14087         New file.
14088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14089         multiarch modf for PowerPC32.
14090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14091         New file.
14092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14093         New file.
14094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14095         multiarch modff for PowerPC32.
14096
14097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14098         and lrintf multiarch implementations.
14099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14100         New file.
14101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14102         New file.
14103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14104         multiarch lrint for PowerPC32.
14105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14106         file: multiarch lrintf for PowerPC32.
14107
14108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14109         and lroundf multiarch implementations.
14110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14111         New file.
14112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14113         New file.
14114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14115         New file.
14116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14117         multiarch lround for PowerPC32.
14118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14119         file: multiarch lroundf for PowerPC32.
14120
14121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14122         copysign and copysignf multiarch implementations.
14123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14124         New file.
14125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14126         New file.
14127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14128         file: multiarch copysign for PowerPC32.
14129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14130         file: multiarch copysignf for PowerPC32.
14131
14132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14133         and truncf multiarch implementations.
14134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14135         New file.
14136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14137         file.
14138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14139         multiarch trunc for PowerPC32.
14140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14141         New file.
14142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14143         New file.
14144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14145         multiarch truncf for PowerPC32.
14146
14147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14148         and roundf multiarch implementations.
14149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14150         New file.
14151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14152         file.
14153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14154         multiarch round for PowerPC32.
14155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14156         New file.
14157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14158         New file.
14159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14160         multiarch roundf for PowerPC32.
14161
14162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14163         and floorf multiarch implementations.
14164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14165         New file.
14166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14167         file.
14168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14169         multiarch floor for PowerPC32.
14170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14171         New file.
14172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14173         New file.
14174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14175         multiarch floorf for PowerPC32.
14176
14177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14178         and ceilf multiarch implementations.
14179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14180         New file.
14181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14182         file.
14183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14184         multiarch ceil for PowerPC32.
14185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14186         New file.
14187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14188         file.
14189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14190         multiarch ceilf for PowerPC32.
14191
14192         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14193         is defined.
14194         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14195         FINITEF is defined.
14196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14197         and finitef multiarch implementations.
14198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14199         New file.
14200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14201         file.
14202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14203         multiarch finite for PowerPC32.
14204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14205         New file.
14206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14207         file: multiarch finitef for PowerPC32.
14208
14209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14210         and isinff multiarch implementations.
14211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14212         file.
14213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14214         file.
14215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14216         multiarch isinf for PowerPC32.
14217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14218         New file.
14219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14220         multiarch isinff for PowerPC32.
14221
14222         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14223         alias when __isnan is defined.
14224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14225         and isnanf multiarch implementations.
14226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14227         file.
14228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14229         file.
14230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14231         file.
14232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14233         file.
14234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14235         multiarch isnan for PowerPC32.
14236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14237         New file.
14238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14239         New file.
14240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14241         multiarch isnanf for PowerPC32.
14242
14243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14244         and sqrtf multiarch implementations.
14245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14246         file.
14247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14248         file.
14249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14250         multiarch sqrt for PowerPC32.
14251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14252         file.
14253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14254         file.
14255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14256         multiarch sqrtf for PowerPC32.
14257
14258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14259         and llroundf multiarch implementations.
14260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14261         New file.
14262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14263         New file.
14264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14265         New file.
14266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14267         file: multiarch llround for PowerPC32.
14268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14269         file: multiarch llroundf for PowerPC32.
14270
14271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14272         multiarch PowerPC32 fpu implementations.
14273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14274         New file.
14275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14276         New file.
14277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14278         multiarch llrint for PowerPC32.
14279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14280         New file.
14281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14282         New file.
14283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14284         file.
14285
14286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14287
14288         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14289         file.
14290         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14291         file.
14292         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14293         file.
14294         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14295         multiarch wordcopy for PPC32.
14296         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14297         wordcopy objects.
14298         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14299         (__libc_ifunc_impl_list): Likewise.
14300         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14301         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14302         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14303         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14304         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14305         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14306
14307         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14309         file.
14310         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14311         file.
14312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14313         file.
14314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14315         multiarch wcscpy for PPC32.
14316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14317         multiarch objects.
14318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14319         (__libc_ifunc_impl_list): Likewise.
14320         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14321         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14322         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14323         sysdeps/powerpc/power6/wcscpy.c.
14324
14325         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14327         file.
14328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14329         file.
14330         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14331         file.
14332         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14333         multiarch wcsrchr for PPC32.
14334         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14335         multiarch objects.
14336         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14337         (__libc_ifunc_impl_list): Likewise.
14338         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14339         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14340         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14341         sysdeps/powerpc/power6/wcsrchr.c.
14342
14343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14344         file.
14345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14346         file.
14347         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14348         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14349         multiarch wcschr for PPc32.
14350         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14351         multiarch objects.
14352         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14353         (__libc_ifunc_impl_list): Likewise.
14354         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14355         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14356         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14357         sysdeps/powerpc/power6/wcschr.c.
14358
14359         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14360         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14361         file.
14362         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14363         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14364         file: multiarch strchr for PPC32.
14365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14366         multiarch objects.
14367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14368         (__libc_ifunc_impl_list): Likewise.
14369
14370         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14371         name.
14372         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14373         file.
14374         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14375         file.
14376         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14377         multiarch strchrnul for PPC32.
14378         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14379         multiarch objects.
14380         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14381         (__libc_ifunc_impl_list): Likewise.
14382
14383         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14384         file.
14385         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14386         multiarch strncasecmp for PPC32.
14387         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14388         file.
14389         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14390         multiarch strncasecmp_l for PPC32.
14391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14392         strncasecmp multiarch objects.
14393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14394         (__libc_ifunc_impl_list): Likewise.
14395
14396         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14397         file.
14398         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14399         multiarch strncasecmp for PPC32.
14400         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14401         New file.
14402         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14403         multiarch strcasecmp_l for PPC32.
14404         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14405         multiarch objects.
14406         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14407         (__libc_ifunc_impl_list): Likewise.
14408
14409         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14410         file.
14411         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14412         file.
14413         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14414         multiarch strncmp for PPC32.
14415         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14416         multiarch objects.
14417         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14418         (__libc_ifunc_impl_list): Likewise.
14419
14420         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14421         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14422         file.
14423         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14424         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14426         multiarch objects.
14427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14428         (__libc_ifunc_impl_list): Likewise.
14429
14430         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14431         file.
14432         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14433         file.
14434         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14435         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14436         multiarch objects.
14437         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14438         (__libc_ifunc_impl_list): Likewise.
14439
14440         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14441         file.
14442         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14443         file.
14444         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14445         multiarch rawmemchr for PPC32.
14446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14447         multiarch objects.
14448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14449         (__libc_ifunc_impl_list): Likewise.
14450
14451         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14452         file.
14453         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14454         file.
14455         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14456         file: memrchr multiarch for PPC32.
14457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14458         multiarch objects.
14459         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14460         (__libc_ifunc_impl_list): Likewise.
14461
14462         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14463         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14464         file.
14465         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14466         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14467         multiarch memchr for PPC32.
14468         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14469         multiarch objects.
14470         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14471         (__libc_ifunc_impl_list): Likewise.
14472
14473         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14474         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14475         file.
14476         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14477         file.
14478         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14479         file: multiarch mempcpy for PPC32.
14480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14481         multiarch objects.
14482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14483         (__libc_ifunc_impl_list): Likewise.
14484
14485         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14486         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14487         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14488         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14489         multiarch bzero for PPC32.
14490         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14491         file.
14492         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14493         file.
14494         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14495         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14496         file: multiarch memset for PPC32.
14497         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14498         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14499         memset multiarch objects.
14500         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14501         (__libc_ifunc_impl_list): Likewise.
14502
14503         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14504         file.
14505         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14506         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14507         memcmp for PPC32.
14508         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14509         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14510         multiarch objects.
14511         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14512         (__libc_ifunc_impl_list): Likewise.
14513
14514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14517         file.
14518         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14519         file.
14520         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14521         file.
14522         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14523         multiarch memcpy for PPC32.
14524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14525         multiarch objects.
14526         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14527         (__libc_ifunc_impl_list): Likewise.
14528
14529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14530         support multiarch for POWER/PPC32.
14531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14532         Likewise.
14533         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14535         Implies file to make multiarch folder appers before the fpu and
14536         default folder for power4 configuration.
14537
14538 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14539
14540         * scripts/bench.pl: Append volatile keyword to type.
14541
14542 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14543
14544         * sysdeps/sh/sotruss-lib.c: New file.
14545         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14546
14547 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14548
14549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14550
14551 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14552
14553         [BZ #6810]
14554         * math/w_tgamma.c: Include <errno.h>.
14555         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14556         * math/w_tgammaf.c: Include <errno.h>.
14557         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14558         * math/w_tgammal.c: Include <errno.h>.
14559         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14560         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14561         underflow.  Add more tgamma tests.
14562         * math/auto-libm-test-out: Regenerated.
14563         * sysdeps/i386/fpu/libm-test-ulps: Update.
14564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14565
14566         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14567         sin, sinh, tan, tanh, tgamma, y0 and y1.
14568         * math/auto-libm-test-out: Regenerated.
14569         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14570         (TEST_COND_x86): Likewise.
14571         (M_E2l): Remove macro.
14572         (M_E3l): Likewise.
14573         (M_2_SQRT_PIl): Likewise.
14574         (M_SQRT_PIl): Likewise.
14575         (M_1_DIV_El): Likewise.
14576         (log_test_data): Use AUTO_TESTS_f_f.
14577         (log10_test_data): Likewise.
14578         (log1p_test_data): Likewise.
14579         (log2_test_data): Likewise.
14580         (sin_test_data): Likewise.
14581         (sin_tonearest_test_data): Likewise.
14582         (sin_towardzero_test_data): Likewise.
14583         (sin_downward_test_data): Likewise.
14584         (sin_upward_test_data): Likewise.
14585         (sinh_test_data): Likewise.
14586         (sinh_tonearest_test_data): Likewise.
14587         (sinh_towardzero_test_data): Likewise.
14588         (sinh_downward_test_data): Likewise.
14589         (sinh_upward_test_data): Likewise.
14590         (tan_test_data): Likewise.
14591         (tan_tonearest_test_data): Likewise.
14592         (tan_towardzero_test_data): Likewise.
14593         (tan_downward_test_data): Likewise.
14594         (tan_upward_test_data): Likewise.
14595         (tanh_test_data): Likewise.
14596         (tgamma_test_data): Likewise.
14597         (y0_test_data): Likewise.
14598         (y1_test_data): Likewise.
14599         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14600         (special_real_inputs): Add pi/4.
14601         * sysdeps/i386/fpu/libm-test-ulps: Update.
14602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14603
14604 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14605
14606         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14607         "longjmp_target" static probes.
14608         (__longjmp): Rename to __longjmp_symbol.
14609         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14610         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14611         on which longjmp to generate.
14612         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14613         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14614         probe.
14615         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14616         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14617         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14618         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14619         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14620         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14622         __longjmp_symbol based on which __longjmp to generate.
14623         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14624         probe.
14625         (setjmp): Rename to setjmp_symbol.
14626         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14627         (_setjmp): Rename to _setjmp_symbol.
14628         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14629         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14630         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14631         which setjmp to generate.
14632         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14633         "longjmp_target" static probes.
14634
14635 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14636
14637         * benchtests/README: Add note about output arguments.
14638         * benchtests/bench-sincos.c: Remove file.
14639         * benchtests/sincos-inputs: New file.
14640         * scripts/bench.pl: Identify output arguments and define
14641         static variables for them.
14642
14643         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14644
14645         [BZ #15941]
14646         * Makefile (INSTALL): Add install-plain.texi as the primary
14647         dependency.
14648         * manual/install-plain.texi: New file.
14649         * manual/install.texi: Include node directive only for
14650         non-plaintext output.
14651
14652 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14653
14654         * stdlib/longlong.h: Update from GCC.
14655
14656         [BZ #6807]
14657         [BZ #15901]
14658         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14659         * math/w_j0f.c (y0f): Likewise.
14660         * math/w_j0l.c (__y0l): Likewise.
14661         * math/w_j1.c (y1): Likewise.
14662         * math/w_j1f.c (y1f): Likewise.
14663         * math/w_j1l.c (__y1l): Likewise
14664         * math/w_jn.c (yn): Likewise.
14665         * math/w_jnf.c (ynf): Likewise.
14666         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14667         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14668         value for Bessel function domain errors outside _SVID_ mode.
14669         Adjust sign of return value for yn (negative integer, 0).
14670         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14671         by zero in return for negative x and set sign appropriately for
14672         negative n.
14673         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14674         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14675         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14676         expectations in error cases.
14677         (y1_test_data): Likewise.
14678         (yn_test_data): Likewise.
14679         * sysdeps/i386/fpu/libm-test-ulps: Update.
14680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14681
14682 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14683
14684         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14685         "64" to "64-v1".  Add "64-v2".
14686         (abi-64-options): Rename to ...
14687         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14688         (abi-64-condition): Rename to ...
14689         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14690         (abi-64-ld-soname): Rename to ...
14691         (abi-64-v1-ld-soname): ... this.
14692         (abi-64-v2-options): Define.
14693         (abi-64-v2-condition): Likewise.
14694         (abi-64-v2-ld-soname): Likewise.
14695         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14696         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14700
14701 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14702             Alan Modra  <amodra@gmail.com>
14703
14704         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14705         New versions for use with the ELFv2 ABI.
14706         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14707         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14708         declaration.
14709         (struct La_ppc64v2_retval): Likewise.
14710         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14711         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14712         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14713         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14714         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14715         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14716         Do not save or restore CR.
14717         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14718         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14719         return values for ELFv2 ABI.  Fix location of FPR return registers.
14720         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14721         updated values for _CALL_ELF == 2.
14722         (La_regs, La_retval, int_retval): Likewise.
14723
14724 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14725
14726         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14727         (FRAME_MIN_SIZE_PARM): Likewise.
14728         (FRAME_BACKCHAIN): Likewise.
14729         (FRAME_CR_SAVE): Likewise.
14730         (FRAME_LR_SAVE): Likewise.
14731         (FRAME_TOC_SAVE): Likewise.
14732         (FRAME_PARM_SAVE): Likewise.
14733         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14734         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14735         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14736         (call_mcount_parm_offset): New macro.
14737         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14738         (PROF): Use symbolic stack frame offsets.
14739         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14740         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14741         Redefine in terms of FRAME_MIN_SIZE.
14742         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14743         (_dl_profile_resolve): Likewise.  Update comment.
14744         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14745         symbols stack frame offsets.
14746         (__sigsetjmp): Likewise.
14747         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14748         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14749         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14750         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14751
14752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14753         (FRAME_BACKCHAIN): Remove.
14754         (FRAME_CR_SAVE): Likewise.
14755         (FRAME_LR_SAVE): Likewise.
14756         (FRAME_COMPILER_DW): Likewise.
14757         (FRAME_LINKER_DW): Likewise.
14758         (FRAME_TOC_SAVE): Likewise.
14759         (FRAME_PARM_SAVE): Likewise.
14760         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14761         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14762         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14764         (CHECK_SP): Use symbolic stack frame offsets.
14765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14766         zone" instead of caller's parameter save area for temp storage.
14767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14768         Likewise.  Also, use symbolic stack frame offsets.
14769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14770         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14771         our own stack frame instead of the caller's.
14772         (__socket): Use symbolic stack frame offsets.
14773
14774 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14775             Alan Modra  <amodra@gmail.com>
14776
14777         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14778         Define.
14779         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14780         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14781         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14782         New function.
14783         (elf_machine_fixup_plt): Call it.
14784         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14785         reloc arguments.
14786         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14787         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14788         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14789         r2 before calling target.
14790
14791 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14792             Alan Modra  <amodra@gmail.com>
14793
14794         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14795         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14796         versions of macros to support ELFv2 ABI.
14797         (LOCALENTRY): New macro.
14798         (ENTRY, EALIGN): Use it.
14799         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14800         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14801         fall through into ENTRY entry point.
14802         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14803         Only define if _CALL_ELF != 2.
14804
14805         (elf_machine_matches_host): Verify ABI version matches.
14806         (RTLD_START): Use LOCALENTRY.
14807         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14808         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14809         (PLT_ENTRY_WORDS): New macro.
14810         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14811         (elf_machine_runtime_setup): Support ELFv2 ABI.
14812         (elf_machine_fixup_plt): Likewise.
14813         (elf_machine_plt_conflict): Likewise.
14814         (resolve_ifunc): Likewise.
14815         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14816         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14817         Likewise.
14818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14819         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14821         (makecontext): Support ELFv2 ABI.
14822         * elf/elf.h (EF_PPC64_ABI): Define.
14823
14824 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14825
14826         * sysdeps/powerpc/powerpc64/sysdep.h
14827         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14828         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14829         (ENTRY) [ASSEMBLER]: ... but instead here ...
14830         (EALIGN) [ASSEMBLER]: ... and here.
14831         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14832         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14833         (ENTRY_2) [!ASSEMBLER]: Use it.
14834         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14835         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14836         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14837         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14838         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14840         Use PPC64_LOAD_FUNCPTR.
14841
14842         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14843
14844 2013-12-04  Alan Modra  <amodra@gmail.com>
14845
14846         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14847         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14848         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14849         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14850
14851         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14852         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14853         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14854         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14855         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14856         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14857
14858 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14859
14860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14861         (__makecontext): Fix incorrect CFI when backtracing out of
14862         context created via makecontext.
14863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14864         (__setcontext): Fix incorrect CFI during switch to new context.
14865         (__novec_setcontext): Likewise.
14866
14867 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14868
14869         [BZ #4772]
14870         * time/strptime_l.c (__strptime_internal): Allow modifiers
14871         in strptime.
14872         * time/tst-strptime.c (day_tests): Add testcase.
14873
14874 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14875
14876         * scripts/bench.pl: Skip over blank lines.
14877
14878 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14879
14880         [BZ #926]
14881         * manual/time.texi (Calendar Time): Clarify what timezone functions
14882         use.
14883
14884 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14885
14886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14887
14888 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14889
14890         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14891         implementation.
14892         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14893         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14894         * debug/memset_chk.c (__memset_chk): Likewise.
14895         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14896         * debug/strncpy_chk.c: Likewise.
14897
14898 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14899
14900         [BZ #15268]
14901         [BZ #15425]
14902         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14903         (__ieee754_exp): For possibly underflowing results, check size of
14904         result and force underflow exception if required.
14905         * math/auto-libm-test-in: Add more tests of exp.
14906         * math/auto-libm-test-out: Regenerated.
14907         * sysdeps/i386/fpu/libm-test-ulps: Update.
14908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14909
14910         [BZ #16283]
14911         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14912         * math/w_exp2f.c (__exp2f): Likewise.
14913         * math/w_exp2l.c (__exp2l): Likewise.
14914         * math/auto-libm-test-in: Do not allow missing errno on exp2
14915         underflow.
14916         * math/auto-libm-test-out: Regenerated.
14917
14918 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14919
14920         [BZ #16274]
14921         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14922         handle filename validation.
14923         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14924         (do_open): Delete.
14925
14926 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14927
14928         [BZ #6786]
14929         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14930         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14931         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14932         <float.h>.
14933         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14934         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14935         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14936         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14937         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14938         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14939         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14940         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14941         Add more erfc tests.
14942         * math/auto-libm-test-out: Regenerated.
14943         * sysdeps/i386/fpu/libm-test-ulps: Update.
14944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14945
14946         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14947         exp2, expm1, j0 and j1.
14948         * math/auto-libm-test-out: Regenerated.
14949         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14950         (erfc_test_data): Likewise.
14951         (exp_test_data): Likewise.
14952         (exp_tonearest_test_data): Likewise.
14953         (exp_towardzero_test_data): Likewise.
14954         (exp_downward_test_data): Likewise.
14955         (exp_upward_test_data): Likewise.
14956         (exp10_test_data): Likewise.
14957         (exp2_test_data): Likewise.
14958         (expm1_test_data): Likewise.
14959         (j0_test_data): Likewise.
14960         (j1_test_data): Likewise.
14961         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14962         (input_flag_type): Add flag_xfail_rounding.
14963         (input_flags): Add xfail-rounding.
14964         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14965         (output_for_one_input_case): Handle flag_xfail_rounding.
14966         * sysdeps/i386/fpu/libm-test-ulps: Update.
14967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14968
14969 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14970
14971         [BZ #16289]
14972         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14973         division by 0.
14974
14975 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14976
14977         [BZ #16195]
14978         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14979         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14980         (STAP_PROBE0): New macro.
14981         (STAP_PROBE1): Likewise.
14982         (STAP_PROBE2): Likewise.
14983         (STAP_PROBE3): Likewise.
14984         (STAP_PROBE4): Likewise.
14985
14986 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14987
14988         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14989
14990 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14991
14992         * benchtests/Makefile (bench): Add sqrt.
14993         (LDLIBS-bench-sqrt): New.
14994         * benchtests/sqrt-input: New.
14995
14996 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14997
14998         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14999         (GAIH_EAI): Likewise.
15000         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15001         (gaih_inet): Likewise.
15002         (getaddrinfo): Don't use GAIH_EAI.
15003
15004         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15005         (struct gaih): Remove definition.
15006
15007 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15008
15009         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15010         Use HERRNOP directly.
15011
15012 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15013
15014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15015
15016 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
15017
15018         * math/gen-auto-libm-tests.c (test_functions): Add more
15019         single-argument functions.
15020         (special_fill_pi_2): New function.
15021         (special_fill_minus_pi_2): Likewise.
15022         (special_fill_pi_6): Likewise.
15023         (special_fill_minus_pi_6): Likewise.
15024         (special_fill_pi_3): Likewise.
15025         (special_fill_2pi_3): Likewise.
15026         (special_fill_e): Likewise.
15027         (special_fill_1_e): Likewise.
15028         (special_fill_e_minus_1): Likewise.
15029         (special_real_inputs): Add more special inputs.
15030         (output_for_one_input_case): Do not require ERANGE on underflow to
15031         zero if round-to-nearest result does not underflow to zero, unless
15032         exact results required.
15033         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15034         atan, atanh, cbrt, cos and cosh.
15035         * math/auto-libm-test-out: Regenerated.
15036         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15037         (acos_tonearest_test_data): Likewise.
15038         (acos_towardzero_test_data): Likewise.
15039         (acos_downward_test_data): Likewise.
15040         (acos_upward_test_data): Likewise.
15041         (acosh_test_data): Likewise.
15042         (asin_test_data): Likewise.
15043         (asin_tonearest_test_data): Likewise.
15044         (asin_towardzero_test_data): Likewise.
15045         (asin_upward_test_data): Likewise.
15046         (asinh_test_data): Likewise.
15047         (atan_test_data): Likewise.
15048         (atanh_test_data): Likewise.
15049         (cbrt_test_data): Likewise.
15050         (cos_test_data): Likewise.
15051         (cos_tonearest_test_data): Likewise.
15052         (cos_towardzero_test_data): Likewise.
15053         (cos_downward_test_data): Likewise.
15054         (cos_upward_test_data): Likewise.
15055         (cosh_test_data): Likewise.
15056         (cosh_tonearest_test_data): Likewise.
15057         (cosh_towardzero_test_data): Likewise.
15058         (cosh_downward_test_data): Likewise.
15059         (cosh_upward_test_data): Likewise.
15060         * sysdeps/i386/fpu/libm-test-ulps: Update.
15061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15062
15063 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
15064
15065         [BZ #6787]
15066         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15067         * math/w_exp10f.c (__exp10f): Likewise.
15068         * math/w_exp10l.c (__exp10l): Likewise.
15069         * math/libm-test.inc (exp10_test_data): Add more tests and expect
15070         errno settings in existing tests.
15071
15072         [BZ #14032]
15073         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15074         precision control set to double precision.
15075         * sysdeps/i386/fpu/w_sqrt.c: New file.
15076         * math/auto-libm-test-in: Add more tests.
15077         * math/auto-libm-test-out: Update.
15078
15079         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15080         (sqrt_test_tonearest): New function.
15081         (sqrt_towardzero_test_data): New variable.
15082         (sqrt_test_towardzero): New function.
15083         (sqrt_downward_test_data): New variable.
15084         (sqrt_test_downward): New function.
15085         (sqrt_upward_test_data): New variable.
15086         (sqrt_test_upward): New function.
15087         (main): Call the new functions.
15088
15089         * math/gen-auto-libm-tests.c: New file.
15090         * math/auto-libm-test-in: Likewise.
15091         * math/auto-libm-test-out: New generated file.
15092         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15093         variables.
15094         (%beautify): Add generated representations of zero.
15095         (top level): Set $auto_input and call parse_auto_input.
15096         (beautify): Remove trailing "f" from hex float constants.
15097         (parse_args): Handle XFAIL_TEST.
15098         (convert_condition): New function.
15099         (or_value): Likewise.
15100         (or_cond_value): Likewise.
15101         (generate_testfile): Handle AUTO_TESTS_* lines.
15102         (parse_auto_input): New function.
15103         * math/libm-test.inc (XFAIL_TEST): New macro.
15104         (ERRNO_UNCHANGED): Update value.
15105         (ERRNO_EDOM): Likewise.
15106         (ERRNO_ERANGE): Likewise.
15107         (IGNORE_RESULT): Likewise.
15108         (TEST_COND_flt_32): New macro.
15109         (TEST_COND_dbl_64): Likewise.
15110         (TEST_COND_ldbl_96_intel): Likewise.
15111         (TEST_COND_ldbl_96_m68k): Likewise.
15112         (TEST_COND_ldbl_128): Likewise.
15113         (TEST_COND_ldbl_128ibm): Likewise.
15114         (TEST_COND_long32): Likewise.
15115         (TEST_COND_long64): Likewise.
15116         (TEST_COND_before_rounding): Likewise.
15117         (TEST_COND_after_rounding): Likewise.
15118         (enable_test): Handle XFAIL_TEST flag.
15119         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15120         with finite results.
15121         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15122         auto-libm-test-out.
15123
15124 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15125             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15126
15127         [BZ #16214]
15128         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15129         __tls_get_addr_internal instead of __tls_get_offset in order to
15130         avoid GOT pointer dependency.  Make rtld export
15131         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15132         __tls_get_addr since we are a __tls_get_offset platform.
15133         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15134         GOT pointer being set up before.
15135         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15136
15137 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
15138
15139         * manual/math.texi (Errors in Math Functions): Document accuracy
15140         goals.
15141
15142         [BZ #15004]
15143         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15144         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15145         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15146         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15147         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15148         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15149         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15150         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15151         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15152         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15153         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15154         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15155         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15156         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15157         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15158         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15159
15160         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15161         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15162         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15163         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15164         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15165         Likewise.
15166         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15167         Likewise.
15168         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15169         Likewise.
15170         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15171         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15172         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15173         atomic-feupdateenv and flt-rounds.
15174         * sysdeps/powerpc/nofpu/Versions (libc): Add
15175         __atomic_feholdexcept, __atomic_feclearexcept,
15176         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15177         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15178         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15179         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15180         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15181         here.
15182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15183         Update.
15184
15185         * manual/arith.texi (FP Exceptions): Document that exceptions may
15186         not be raised when matherr is used.
15187         (Math Error Reporting): Document overflow in directed rounding
15188         modes.  Document that errno may not be set when finite values are
15189         returned on overflow.  Document intent to set errno on underflow
15190         only for underflow to zero.
15191
15192         [BZ #16271]
15193         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15194         round-to-nearest then adjust result for other rounding modes.
15195         * include/fenv.h (fegetround): Use libm_hidden_proto.
15196         * math/fegetround.c (fegetround): Use libm_hidden_def.
15197         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15198         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15199         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15200         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15201         Likewise.
15202         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15203         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15204         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15205         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15206
15207 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15208
15209         [BZ #16077]
15210         * nss/Versions (libnss_files): Add
15211         _nss_files_gethostbyname3_r.
15212         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15213         New function.
15214         (HOST_DB_LOOKUP): Remove macro.
15215         (_nss_files_gethostbyname_r): Implement function without the
15216         HOST_DB_LOOKUP macro.
15217         (_nss_files_gethostbyname2_r): Likewise.
15218
15219 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15220
15221         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15222
15223 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15224
15225         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15226         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15227         warning.
15228
15229 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15230
15231         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15232         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15233         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15234         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15235         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15236         __fe_nomask_env_priv and attribute_hidden.
15237         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15238         (libc_feupdateenv_test_ppc): Likewise.
15239         (libc_feresetround_ppc): Likewise.
15240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15241         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15242         compat_symbol macro.
15243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15244         (__fe_nomask_env): Likewise.
15245         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15246
15247 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15248
15249         * string/Makefile: Remove ifunc tests.
15250         * string/test-string.h: Define TEST_IFUNC.
15251         * string/test-bcopy-ifunc.c: Remove.
15252         * string/test-bzero-ifunc.c: Likewise.
15253         * string/test-memccpy-ifunc.c: Likewise.
15254         * string/test-memchr-ifunc.c: Likewise.
15255         * string/test-memcmp-ifunc.c: Likewise.
15256         * string/test-memcpy-ifunc.c: Likewise.
15257         * string/test-memmem-ifunc.c: Likewise.
15258         * string/test-memmove-ifunc.c: Likewise.
15259         * string/test-mempcpy-ifunc.c: Likewise.
15260         * string/test-memrchr-ifunc.c: Likewise.
15261         * string/test-memset-ifunc.c: Likewise.
15262         * string/test-rawmemchr-ifunc.c: Likewise.
15263         * string/test-stpcpy-ifunc.c: Likewise.
15264         * string/test-stpncpy-ifunc.c: Likewise.
15265         * string/test-strcasecmp-ifunc.c: Likewise.
15266         * string/test-strcasestr-ifunc.c: Likewise.
15267         * string/test-strcat-ifunc.c: Likewise.
15268         * string/test-strchr-ifunc.c: Likewise.
15269         * string/test-strchrnul-ifunc.c: Likewise.
15270         * string/test-strcmp-ifunc.c: Likewise.
15271         * string/test-strcpy-ifunc.c: Likewise.
15272         * string/test-strcspn-ifunc.c: Likewise.
15273         * string/test-strlen-ifunc.c: Likewise.
15274         * string/test-strncasecmp-ifunc.c: Likewise.
15275         * string/test-strncat-ifunc.c: Likewise.
15276         * string/test-strncmp-ifunc.c: Likewise.
15277         * string/test-strncpy-ifunc.c: Likewise.
15278         * string/test-strnlen-ifunc.c: Likewise.
15279         * string/test-strpbrk-ifunc.c: Likewise.
15280         * string/test-strrchr-ifunc.c: Likewise.
15281         * string/test-strspn-ifunc.c: Likewise.
15282         * string/test-strstr-ifunc.c: Likewise.
15283
15284 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15285
15286         * benchtests/Makefile: Remove ifunc tests.
15287         * benchtests/bench-string.h: Define TEST_IFUNC.
15288         * benchtests/bench-bcopy-ifunc.c: Remove.
15289         * benchtests/bench-bzero-ifunc.c: Likewise.
15290         * benchtests/bench-memccpy-ifunc.c: Likewise.
15291         * benchtests/bench-memchr-ifunc.c: Likewise.
15292         * benchtests/bench-memcmp-ifunc.c: Likewise.
15293         * benchtests/bench-memcpy-ifunc.c: Likewise.
15294         * benchtests/bench-memmem-ifunc.c: Likewise.
15295         * benchtests/bench-memmove-ifunc.c: Likewise.
15296         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15297         * benchtests/bench-memrchr-ifunc.c: Likewise.
15298         * benchtests/bench-memset-ifunc.c: Likewise.
15299         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15300         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15301         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15302         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15303         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15304         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15305         * benchtests/bench-strcat-ifunc.c: Likewise.
15306         * benchtests/bench-strchr-ifunc.c: Likewise.
15307         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15308         * benchtests/bench-strcmp-ifunc.c: Likewise.
15309         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15310         * benchtests/bench-strcpy-ifunc.c: Likewise.
15311         * benchtests/bench-strcspn-ifunc.c: Likewise.
15312         * benchtests/bench-strlen-ifunc.c: Likewise.
15313         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15314         * benchtests/bench-strncat-ifunc.c: Likewise.
15315         * benchtests/bench-strncmp-ifunc.c: Likewise.
15316         * benchtests/bench-strncpy-ifunc.c: Likewise.
15317         * benchtests/bench-strnlen-ifunc.c: Likewise.
15318         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15319         * benchtests/bench-strrchr-ifunc.c: Likewise.
15320         * benchtests/bench-strsep-ifunc.c: Likewise.
15321         * benchtests/bench-strspn-ifunc.c: Likewise.
15322         * benchtests/bench-strstr-ifunc.c: Likewise.
15323
15324 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15325
15326         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15327
15328 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15329
15330         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15331         * rt/aio.h: Likewise.
15332         * sysdeps/gnu/bits/utmp.h: Likewise.
15333         * sysdeps/gnu/bits/utmpx.h: Likewise.
15334         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15335         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15336         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15337         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15338         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15339         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15340         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15341         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15342         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15343         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15344         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15345         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15346         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15348         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15349         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15350         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15351         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15352         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15353         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15354         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15355         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15356         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15357         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15358         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15359         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15360         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15361         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15362         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15363         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15364         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15365         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15366         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15367         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15368         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15369         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15370         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15371         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15372         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15373         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15374         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15375         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15376
15377 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15378
15379         [BZ #16245]
15380         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15381         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15382
15383 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15384
15385         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15386         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15387         Likewise.
15388
15389 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15390
15391         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15392         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15393         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15394         (__fesetround): Remove define.
15395         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15396         rounding and exceptions handling.
15397         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15398         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15399         (__fe_nomask_env): Likewise.
15400         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15401         __fegetround instead of fegetround.
15402         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15403         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15404
15405 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15406
15407         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15408         it's there.
15409
15410         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15411
15412 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15413
15414         [BZ #11157]
15415         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15416         (encrypt_r): Likewise.
15417         * malloc/obstack.h (obstack_free): Likewise.
15418         * posix/unistd.h (encrypt): Likewise.
15419
15420 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15421
15422         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15423         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15424         DL_CALL_DT_FINI() that call the functions directly.
15425         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15426         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15427         * elf/dl-fini.c: Likewise.
15428
15429 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15430
15431         * malloc/hooks.c (memalign_check): Add alignment rounding.
15432         * malloc/malloc.c (_mid_memalign): New function.
15433         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15434         Implement by calling _mid_memalign.
15435         * manual/probes.texi (Memory Allocation Probes): Remove
15436         memory_valloc_retry and memory_pvalloc_retry.
15437
15438 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15439
15440         * locale/programs/locarchive.c (open_archive): Add const
15441         qualifier to ARCHIVEFNAME and copy default fname to
15442         DEFAULT_FNAME.
15443
15444         [BZ #15601]
15445         * libio/tst-widetext.input: Rename Oriya to Odia.
15446         * locale/iso-639.def: Likewise.
15447
15448         * manual/probes.texi (Mathematical Function Probes): Add
15449         documentation for sin, cos, asin and acos probes.
15450         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15451         (__sin32): Add slowasin probe.
15452         (__cos32): Add slowacos probe.
15453         (__mpsin): Add slowsin probe.
15454         (__mpcos): Add slowcos probe.
15455
15456 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15457
15458         [BZ #15483]
15459         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15460         thread-local __sim_exceptions_thread and global
15461         __sim_exceptions_global.
15462         (__sim_disabled_exceptions): Change to thread-local
15463         __sim_disabled_exceptions_thread and global
15464         __sim_disabled_exceptions_global.
15465         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15466         and global __sim_round_mode_global.
15467         (__simulate_exceptions): Use thread-local floating-point state and
15468         set global state from it as needed.
15469         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15470         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15471         __sim_round_mode_thread.
15472         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15473         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15474         and global __sim_exceptions_global.
15475         (__sim_disabled_exceptions): Change to thread-local
15476         __sim_disabled_exceptions_thread and global
15477         __sim_disabled_exceptions_global.
15478         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15479         and global __sim_round_mode_global.
15480         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15481         (SIM_SET_GLOBAL): Likewise.
15482         * sysdeps/powerpc/soft-fp/sfp-machine.h
15483         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15484         __sim_round_mode_thread.
15485         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15486         __sim_disabled_exceptions_thread.
15487         (__sim_exceptions): Change to __sim_exceptions_thread.
15488         (__sim_disabled_exceptions): Change to
15489         __sim_disabled_exceptions_thread.
15490         (__sim_round_mode): Change to __sim_round_mode_thread.
15491         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15492         thread-local floating-point state and set global state from it as
15493         needed.
15494         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15495         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15496         (__sim_disabled_exceptions): Remove extern declaration.
15497         (feenableexcept): Use thread-local floating-point state and set
15498         global state from it as needed.
15499         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15500         extern declaration.
15501         (__sim_disabled_exceptions): Likewise.
15502         (__sim_round_mode): Likewise.
15503         (__fegetenv): Use thread-local floating-point state.
15504         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15505         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15506         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15507         floating-point state and set global state from it as needed.
15508         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15509         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15510         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15511         Likewise.
15512         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15513         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15514         Likewise.
15515         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15516         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15517         Use __sim_round_mode_thread.
15518         * math/test-fenv-tls.c: New file.
15519         * math/Makefile (tests): Add test-fenv-tls.
15520         ($(objpfx)test-fenv-tls): Depend on
15521         $(common-objpfx)nptl/libpthread.so.
15522
15523 2013-11-19  Andreas Schwab  <schwab@suse.de>
15524
15525         * locale/programs/locale.c (show_info): Decode wordarray elements.
15526         * locale/categories.def (LC_MONETARY): Add element for
15527         _NL_MONETARY_CRNCYSTR.
15528         * locale/C-monetary.c (conversion_rate): New variable.
15529         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15530         element.
15531
15532 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15533
15534         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15535         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15536
15537 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15538
15539         * elf/Makefile (tst-auxv): New test.
15540         * elf/tst-auxv.c: New
15541         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15542
15543 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15544
15545         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15546         (hidden_proto): Caller changed.
15547         (hidden_tls_proto): New macro.
15548         (libc_hidden_tls_proto): Likewise.
15549         (rtld_hidden_tls_proto): Likewise.
15550         (libm_hidden_tls_proto): Likewise.
15551         (libresolv_hidden_tls_proto): Likewise.
15552         (librt_hidden_tls_proto): Likewise.
15553         (libdl_hidden_tls_proto): Likewise.
15554         (libnss_files_hidden_tls_proto): Likewise.
15555         (libnsl_hidden_tls_proto): Likewise.
15556         (libnss_nisplus_hidden_tls_proto): Likewise.
15557         (libutil_hidden_tls_proto): Likewise.
15558
15559 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15560
15561         [BZ #10253]
15562         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15563         (decompose_rpath): Defer expansion to fillin_rpath.
15564         (_dl_init_paths): Pass linkmap to fillin_rpath.
15565
15566 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15567
15568         * benchtests/Makefile: Add strsep.
15569         * benchtests/bench-strsep.c: New file: strsep benchtest.
15570         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15571
15572 2013-11-18  Andreas Schwab  <schwab@suse.de>
15573
15574         * locale/programs/locale.c (show_info) [case byte]: Check for
15575         '\377' instead of '\177'.
15576         * locale/C-monetary.c (not_available): Always use "\377".
15577         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15578         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15579         detect unavailable sign_posn locale elements.
15580         * locale/localeconv.c (__localeconv): For grouping and
15581         mon_grouping handle "\177" and "\377" like no grouping.
15582         (INT_ELEM): New macro.  Use it to set all numeric members.
15583         * locale/programs/ld-monetary.c (monetary_read)
15584         <tok_mon_grouping>: Normalize single -1 to the empty string.
15585         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15586         Likewise.
15587
15588 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15589
15590         [BZ #16055]
15591         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15592         when we match (nil).
15593         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15594
15595 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15596
15597         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15598         (NO_TEST_INLINE): Update value.
15599         (ERRNO_UNCHANGED): Likewise.
15600         (ERRNO_EDOM): Likewise.
15601         (ERRNO_ERANGE): Likewise.
15602         (IGNORE_RESULT): Likewise.
15603         (check_float_internal): Check signs of NaN results if
15604         TEST_NAN_SIGN used.
15605         (check_complex): Pass TEST_NAN_SIGN flag through to second
15606         check_float_internal call.
15607         (copysign_test_data): Add tests with quiet NaNs as second
15608         argument.  Use TEST_NAN_SIGN.
15609         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15610         TEST_NAN_SIGN.
15611         (signbit_test_data): Add tests of quiet NaN argument.
15612         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15613
15614         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15615         $ignore_result.
15616         (parse_args): Handle function results specified as IGNORE.
15617         * math/libm-test.inc (IGNORE_RESULT): New macro.
15618         (check_float_internal): Do not check numerical result if flag
15619         IGNORE_RESULT set.
15620         (check_complex): Pass through IGNORE_RESULT to second
15621         check_float_internal call.
15622         (check_int): Do not check numerical result if flag IGNORE_RESULT
15623         set.
15624         (check_long): Likewise.
15625         (check_bool): Likewise.
15626         (check_longlong): Likewise.
15627         (lrint_test_data): Add tests of infinite and NaN arguments.
15628         (lrint_tonearest_test_data): Likewise.
15629         (lrint_towardzero_test_data): Likewise.
15630         (lrint_downward_test_data): Likewise.
15631         (lrint_upward_test_data): Likewise.
15632         (llrint_test_data): Likewise.
15633         (llrint_tonearest_test_data): Likewise.
15634         (llrint_towardzero_test_data): Likewise.
15635         (llrint_downward_test_data): Likewise.
15636         (llrint_upward_test_data): Likewise.
15637         (lround_test_data): Likewise.
15638         (llround_test_data): Likewise.
15639
15640         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15641         (ERRNO_UNCHANGED): Update value.
15642         (ERRNO_EDOM): Likewise.
15643         (ERRNO_ERANGE): Likewise.
15644         (NO_TEST_INLINE_FLOAT): New macro.
15645         (NO_TEST_INLINE_DOUBLE): Likewise.
15646         (enable_test): New function.
15647         (RUN_TEST_f_f): Check enable_test before running test.
15648         (RUN_TEST_2_f): Likewise.
15649         (RUN_TEST_fff_f): Likewise.
15650         (RUN_TEST_c_f): Likewise.
15651         (RUN_TEST_f_f1): Likewise.
15652         (RUN_TEST_fF_f1): Likewise.
15653         (RUN_TEST_fI_f1): Likewise.
15654         (RUN_TEST_ffI_f1): Likewise.
15655         (RUN_TEST_c_c): Likewise.
15656         (RUN_TEST_cc_c): Likewise.
15657         (RUN_TEST_f_i): Likewise.
15658         (RUN_TEST_f_i_tg): Likewise.
15659         (RUN_TEST_ff_i_tg): Likewise.
15660         (RUN_TEST_f_b): Likewise.
15661         (RUN_TEST_f_b_tg): Likewise.
15662         (RUN_TEST_f_l): Likewise.
15663         (RUN_TEST_f_L): Likewise.
15664         (RUN_TEST_fFF_11): Likewise.
15665         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15666         conditionals.
15667         (cosh_test_data): Likewise.
15668         (exp_test_data): Likewise.
15669         (expm1_test_data): Likewise.
15670         (hypot_test_data): Likewise.
15671         (pow_test_data): Likewise.
15672         (sinh_test_data): Likewise.
15673         (tanh_test_data): Likewise.
15674         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15675         flags argument.
15676
15677         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15678         tests with quiet NaN input and output.
15679         (acosh_test_data): Likewise.
15680         (asin_test_data): Likewise.
15681         (asinh_test_data): Likewise.
15682         (atan_test_data): Likewise.
15683         (atanh_test_data): Likewise.
15684         (atan2_test_data): Likewise.
15685         (cbrt_test_data): Likewise.
15686         (cos_test_data): Likewise.
15687         (cosh_test_data): Likewise.
15688         (erf_test_data): Likewise.
15689         (erfc_test_data): Likewise.
15690         (exp_test_data): Likewise.
15691         (exp10_test_data): Likewise.
15692         (exp2_test_data): Likewise.
15693         (expm1_test_data): Likewise.
15694         (hypot_test_data): Likewise.
15695         (j0_test_data): Likewise.
15696         (j1_test_data): Likewise.
15697         (jn_test_data): Likewise.
15698         (lgamma_test_data): Likewise.
15699         (log_test_data): Likewise.
15700         (log10_test_data): Likewise.
15701         (log1p_test_data): Likewise.
15702         (log2_test_data): Likewise.
15703         (pow_test_data): Likewise.
15704         (scalb_test_data): Likewise.
15705         (sin_test_data): Likewise.
15706         (sincos_test_data): Likewise.
15707         (sinh_test_data): Likewise.
15708         (tan_test_data): Likewise.
15709         (tanh_test_data): Likewise.
15710         (tgamma_test_data): Likewise.
15711         (y0_test_data): Likewise.
15712         (y1_test_data): Likewise.
15713         (yn_test_data): Likewise.
15714
15715         [BZ #16167]
15716         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15717         argument being NaN and avoid computations with second argument in
15718         that case.
15719         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15720         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15721         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15722
15723 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15724
15725         * locale/iso-639.def: Add Chitwani Tharu (the).
15726
15727 2013-11-14  Andreas Schwab  <schwab@suse.de>
15728
15729         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15730         word instead of empty string.
15731
15732 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15733
15734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15735         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15737         (__fe_nomask_env): Likewise.
15738
15739 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15740
15741         * benchtests/bench-timing.h: Include time.h.
15742
15743 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15744
15745         [BZ #15997]
15746         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15747         to 3.4.0 for x32.
15748         * sysdeps/unix/sysv/linux/configure: Regenerated.
15749
15750 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15751
15752         [BZ #16151]
15753         * stdlib/strtod_l.c (round_and_return): Do not consider
15754         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15755         exponent one less than half the least subnormal exponent.
15756         * stdlib/test-strtod-round-data: Add more tests.
15757         * stdlib/tst-strtod-round.c (tests): Regenerated.
15758
15759 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15760
15761         [BZ #14143]
15762         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15763         (__fe_mask_env): Likewise.
15764         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15765         libm_hidden_proto and add function prototype.
15766         (__fe_mask_env): Add function prototype.
15767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15768         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15770         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15772         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15773
15774 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15775
15776         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15777         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15778
15779 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15780
15781         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15782         of htab_find_slot().
15783
15784 2013-11-11  David S. Miller  <davem@davemloft.net>
15785
15786         [BZ #16150]
15787         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15788         symbol in the non-vis3 case in static builds.
15789         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15790         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15791         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15792         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15793
15794 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15795
15796         [BZ #387]
15797         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15798         it is empty.
15799
15800 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15801
15802         * benchtests/Makefile: Add bench-strtod.
15803         * benchtests/bench-strtod.c: New file: strtod benchtest
15804
15805 2013-11-11  Andreas Schwab  <schwab@suse.de>
15806
15807         [BZ #16153]
15808         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15809         terminating NUL in key length.
15810
15811 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15812
15813         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15814         Add artificial ODP entry for vDSO symbol for PPC64.
15815         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15816         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15817
15818 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15819
15820         [BZ #15374]
15821         * nss/getent.c (services_keys): Recognize services starting with digit.
15822
15823 2013-11-06  David S. Miller  <davem@davemloft.net>
15824
15825         [BZ #15985]
15826         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15827         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15828
15829 2013-11-06  Will Newton  <will.newton@linaro.org>
15830
15831         * manual/memory.texi (Malloc Examples): Remove register
15832         keyword from examples.
15833
15834 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15835
15836         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15837
15838 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15839
15840         [BZ #6981]
15841         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15842         depending on [__GCC_IEC_559 > 0].
15843         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15844         depending on [__GCC_IEC_559_COMPLEX > 0].
15845
15846 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15847
15848         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15849         to iso-639.def.
15850
15851 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15852
15853         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15854
15855 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15856
15857         [BZ #16112]
15858         * malloc/malloc (malloc_info): Do not handle first bin as
15859         special case.
15860
15861 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15862
15863         * locale/iso-639.def: Add Central Nahuatl (nhn).
15864
15865 2013-11-01  Bruno Haible  <bruno@clisp.org>
15866
15867         [BZ #7003]
15868         * manual/math.texi (BSD Random): Specify range upper bound as
15869         in POSIX.
15870
15871 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15872
15873         * locale/iso-639.def: Add Meadow Mari (mhr).
15874
15875 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15876
15877         [BZ #14752], [BZ #15763]
15878         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15879         Validate name.
15880         * rt/tst_shm.c: Add test for escaping directory.
15881
15882 2013-10-31  Andreas Schwab  <schwab@suse.de>
15883
15884         [BZ #15917]
15885         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15886         followed by 'x' as part of digit sequence.
15887         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15888
15889 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15890
15891         [BZ #16037]
15892         * configure.ac: allow GNU Make 4.0 and greater.
15893         * configure: Regenerated.
15894
15895 2013-10-30  Will Newton  <will.newton@linaro.org>
15896
15897         [BZ #16038]
15898         * malloc/hooks.c (memalign_check): Limit alignment to the
15899         maximum representable power of two.
15900         * malloc/malloc.c (__libc_memalign): Likewise.
15901         * malloc/tst-memalign.c (do_test): Add test for very
15902         large alignment values.
15903         * malloc/tst-posix_memalign.c (do_test): Likewise.
15904
15905 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15906
15907         [BZ #11087]
15908         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15909         (munmap_chunk): Likewise.
15910         (mremap_chunk): Likewise.
15911
15912 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15913
15914         [BZ #15799]
15915         * stdlib/div.c (div): Remove obsolete code.
15916         * stdlib/ldiv.c (ldiv): Likewise.
15917         * stdlib/lldiv.c (lldiv): Likewise.
15918
15919 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15920
15921         [BZ #16071]
15922         * nss/nss_files/files-XXX.c (get_contents_ret): New
15923         enumerator.
15924         (get_contents): New function.
15925         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15926
15927 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15928
15929         * configure.in: Moved to ...
15930         * configure.ac: ... here. Change reference to configure.in
15931         to configure.ac.
15932         * sysdeps/arm/preconfigure.ac: ... here.
15933         configure.in to configure.ac.
15934         * sysdeps/gnu/configure.in: Moved to ...
15935         * sysdeps/gnu/configure.ac: ... here.
15936         * sysdeps/i386/configure.in: Moved to ...
15937         * sysdeps/i386/configure.ac: ... here.
15938         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15939         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15940         * sysdeps/mach/configure.in: Moved to ...
15941         * sysdeps/mach/configure.ac: ... here.
15942         * sysdeps/mach/hurd/configure.in: Moved to ...
15943         * sysdeps/mach/hurd/configure.ac: ... here.
15944         * sysdeps/powerpc/configure.in: Moved to ...
15945         * sysdeps/powerpc/configure.ac: ... here.
15946         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15947         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15948         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15949         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15950         * sysdeps/s390/s390-32/configure.in: Moved to ...
15951         * sysdeps/s390/s390-32/configure.ac: ... here.
15952         * sysdeps/s390/s390-64/configure.in: Moved to ...
15953         * sysdeps/s390/s390-64/configure.ac: ... here.
15954         * sysdeps/sh/configure.in: Moved to ...
15955         * sysdeps/sh/configure.ac: ... here.
15956         * sysdeps/sparc/configure.in: Moved to ...
15957         * sysdeps/sparc/configure.ac: ... here.
15958         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15959         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15960         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15961         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15962         * sysdeps/x86_64/configure.in: Moved to ...
15963         * sysdeps/x86_64/configure.ac: ... here.
15964         * sysdeps/x86_64/preconfigure.in: Moved to ...
15965         * sysdeps/x86_64/preconfigure.ac: ... here.
15966         * aclocal.m4: Change reference to configure.in to configure.ac.
15967         * config.h.in: Likewise.
15968         * manual/install.texi: Likewise.
15969         * manual/maint.texi: Likewise.
15970         * Makefile: Likewise.
15971         * malloc/Makefile: Likewise.
15972         * nscd/Makefile: Likewise.
15973         * Makeconfig: Change reference to configure.in and
15974         preconfigure.in to configure.ac and preconfigure.ac
15975         respectively.
15976         * INSTALL: Regenerated.
15977         * configure: Likewise.
15978         * sysdeps/gnu/configure: Likewise.
15979         * sysdeps/i386/configure: Likewise.
15980         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15981         * sysdeps/mach/configure: Likewise.
15982         * sysdeps/mach/hurd/configure: Likewise.
15983         * sysdeps/powerpc/configure: Likewise.
15984         * sysdeps/powerpc/powerpc32/configure: Likewise.
15985         * sysdeps/powerpc/powerpc64/configure: Likewise.
15986         * sysdeps/s390/s390-32/configure: Likewise.
15987         * sysdeps/s390/s390-64/configure: Likewise.
15988         * sysdeps/sh/configure: Likewise.
15989         * sysdeps/sparc/configure: Likewise.
15990         * sysdeps/unix/sysv/linux/configure: Likewise.
15991         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15992         * sysdeps/x86_64/configure: Likewise.
15993         * sysdeps/x86_64/preconfigure: Likewise.
15994
15995 2013-10-29  Andreas Schwab  <schwab@suse.de>
15996
15997         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15998
15999 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16000
16001         * benchtests/pow-inputs: Add new inputs.
16002
16003         * benchtests/exp-inputs: Add new inputs.
16004
16005         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16006         conditional check for return value.
16007         (__cos32): Likewise.
16008
16009 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16010
16011         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16012         to provide a boost for large inputs with word alignment.
16013         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16014         implementation based on optimized PPC64 strcpy.
16015         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16016         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16017         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16018         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16019
16020 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16021
16022         [BZ #2801]
16023         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16024
16025 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16026
16027         [BZ #14876]
16028         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16029         * time/tst-strptime.c (day_tests): Add testcase.
16030
16031 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16032
16033         [BZ #14029]
16034         * manual/pattern.texi: Acknowledge that fnmatch can fail.
16035
16036 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
16037
16038         [BZ #16074]
16039         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16040         MAP_FAILED on error.
16041
16042 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16043
16044         [BZ #16072]
16045         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16046         heap for large requests.
16047
16048 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
16049
16050         [BZ #9954]
16051         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16052         result if the result has no associated interface.
16053         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16054         interface for all 127.X.Y.Z addresses.
16055
16056 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
16057
16058         * locale/iso-639.def: Add Ligurian (lij)
16059
16060 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
16061
16062         [BZ #15825]
16063         * sunrpc/rpc_main.c: Document rpcgen -5.
16064
16065 2013-10-19  Michael Stahl  <mstahl@redhat.com>
16066
16067         * elf/rtld.c (do_preload): Print the reason why preloading failed.
16068
16069 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16070
16071         [BZ #10278]
16072         * posix/glob.c: Match only directories when trailing slash is present.
16073         * posix/tst-gnuglob.c (my_opendir): Do not open files.
16074         (main): Add testcase.
16075
16076 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16077
16078         [BZ #15670]
16079         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16080
16081 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
16082
16083         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16084         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16085         AUTH_DES and cindex for FIPS 140-2.
16086         (DES Encryption): Add cindex FIPS 46-3.
16087
16088         * locale/locarchive.h (struct locarhandle): Add fname.
16089         * locale/programs/localedef.c (main): Pass ARGV[remaining]
16090         if an optional argument was specified to --list-archive,
16091         otherwise NULL.
16092         * locale/programs/locarchive.c (show_archive_content): Take new
16093         argument fname and pass it via ah.fname to open_archive.
16094         * locale/programs/localedef.h: Update decl.
16095         (open_archive): If AH->fname is non-null, open that file
16096         rather than the default file name, and don't ignore ENOENT.
16097         (create_archive): Set AH.fname to NULL.
16098         (delete_locales_from_archive): Likewise.
16099         (add_locales_to_archive): Likewise.
16100         * locale/programs/locfile.c (write_all_categories): Likewise.
16101
16102 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
16103             Aldy Hernandez  <aldyh@redhat.com>
16104
16105         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16106         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16107         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16108         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16109         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16110         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16111         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16112         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16113         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16114         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16115         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16116         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16117         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16118         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16119         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16120         Likewise.
16121         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16122         Likewise.
16123         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16124         Likewise.
16125         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16126         Likewise.
16127         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16128         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16129         Likewise.
16130         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16131         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16132         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16133         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16134         Likewise.
16135         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16136         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16137         * sysdeps/powerpc/preconfigure: Likewise.
16138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16139         Likewise.
16140         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16141         Replace contents of file by #include of <fenv_libc.h>.
16142         * sysdeps/powerpc/soft-fp/sfp-machine.h
16143         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16144         and <sys/prctl.h>.
16145         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16152         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16153         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16154         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16155         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16156         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16158         Allow copysignl PLT reference to be missing.
16159
16160 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16161             Joseph Myers  <joseph@codesourcery.com
16162
16163         [BZ #15948]
16164         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16165         single character.
16166         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16167
16168 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16169
16170         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16171         * elf/tst-tls1.c: Likewise.
16172         * elf/tst-tls10.h: Likewise.
16173         * elf/tst-tls14.c: Likewise.
16174         * elf/tst-tls2.c: Likewise.
16175         * elf/tst-tls3.c: Likewise.
16176         * elf/tst-tls4.c: Likewise.
16177         * elf/tst-tls5.c: Likewise.
16178         * elf/tst-tls6.c: Likewise.
16179         * elf/tst-tls7.c: Likewise.
16180         * elf/tst-tls8.c: Likewise.
16181         * elf/tst-tls9.c: Likewise.
16182         * elf/tst-tlsmod1.c: Likewise.
16183         * elf/tst-tlsmod13.c: Likewise.
16184         * elf/tst-tlsmod13a.c: Likewise.
16185         * elf/tst-tlsmod14a.c: Likewise.
16186         * elf/tst-tlsmod16a.c: Likewise.
16187         * elf/tst-tlsmod16b.c: Likewise.
16188         * elf/tst-tlsmod2.c: Likewise.
16189         * elf/tst-tlsmod3.c: Likewise.
16190         * elf/tst-tlsmod4.c: Likewise.
16191         * elf/tst-tlsmod5.c: Likewise.
16192         * elf/tst-tlsmod6.c: Likewise.
16193
16194 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16195
16196         [BZ #12486]
16197         * malloc/malloc.c: remove checks for statistics.
16198
16199 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16200
16201         [BZ #15277]
16202         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16203         * inet/tst-network.c: Add testcase.
16204
16205 2013-10-17  Andreas Schwab  <schwab@suse.de>
16206
16207         [BZ #15218]
16208         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16209         to determine canonical name.
16210
16211 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16212
16213         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16214         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16215         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16216         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16217         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16218         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16219         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16220         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16221         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16222         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16223         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16224         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16225         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16226         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16227         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16228         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16229         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16230         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16231         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16232         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16233         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16234         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16235         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16236         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16237         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16238         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16239         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16240         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16241         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16242         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16243         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16244         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16245         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16246         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16247         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16248         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16249         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16250         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16251         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16252         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16253         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16254         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16255         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16256         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16257         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16258         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16259         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16260         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16261         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16262         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16263         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16264         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16265         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16266         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16267         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16268         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16269         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16270         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16271
16272 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16273
16274         [BZ #16041]
16275         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16276         make result into a quiet NaN.
16277
16278 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16279
16280         * soft-fp/adddf3.c: Fix horizontal whitespace.
16281         * soft-fp/addsf3.c: Likewise.
16282         * soft-fp/addtf3.c: Likewise.
16283         * soft-fp/divdf3.c: Likewise.
16284         * soft-fp/divsf3.c: Likewise.
16285         * soft-fp/divtf3.c: Likewise.
16286         * soft-fp/double.h: Likewise.
16287         * soft-fp/eqdf2.c: Likewise.
16288         * soft-fp/eqsf2.c: Likewise.
16289         * soft-fp/eqtf2.c: Likewise.
16290         * soft-fp/extenddftf2.c: Likewise.
16291         * soft-fp/extended.h: Likewise.
16292         * soft-fp/extendsfdf2.c: Likewise.
16293         * soft-fp/extendsftf2.c: Likewise.
16294         * soft-fp/extendxftf2.c: Likewise.
16295         * soft-fp/fixdfdi.c: Likewise.
16296         * soft-fp/fixdfsi.c: Likewise.
16297         * soft-fp/fixdfti.c: Likewise.
16298         * soft-fp/fixsfdi.c: Likewise.
16299         * soft-fp/fixsfsi.c: Likewise.
16300         * soft-fp/fixsfti.c: Likewise.
16301         * soft-fp/fixtfdi.c: Likewise.
16302         * soft-fp/fixtfsi.c: Likewise.
16303         * soft-fp/fixtfti.c: Likewise.
16304         * soft-fp/fixunsdfdi.c: Likewise.
16305         * soft-fp/fixunsdfsi.c: Likewise.
16306         * soft-fp/fixunsdfti.c: Likewise.
16307         * soft-fp/fixunssfdi.c: Likewise.
16308         * soft-fp/fixunssfsi.c: Likewise.
16309         * soft-fp/fixunssfti.c: Likewise.
16310         * soft-fp/fixunstfdi.c: Likewise.
16311         * soft-fp/fixunstfsi.c: Likewise.
16312         * soft-fp/fixunstfti.c: Likewise.
16313         * soft-fp/floatdidf.c: Likewise.
16314         * soft-fp/floatdisf.c: Likewise.
16315         * soft-fp/floatditf.c: Likewise.
16316         * soft-fp/floatsidf.c: Likewise.
16317         * soft-fp/floatsisf.c: Likewise.
16318         * soft-fp/floatsitf.c: Likewise.
16319         * soft-fp/floattidf.c: Likewise.
16320         * soft-fp/floattisf.c: Likewise.
16321         * soft-fp/floattitf.c: Likewise.
16322         * soft-fp/floatundidf.c: Likewise.
16323         * soft-fp/floatundisf.c: Likewise.
16324         * soft-fp/floatunditf.c: Likewise.
16325         * soft-fp/floatunsidf.c: Likewise.
16326         * soft-fp/floatunsisf.c: Likewise.
16327         * soft-fp/floatunsitf.c: Likewise.
16328         * soft-fp/floatuntidf.c: Likewise.
16329         * soft-fp/floatuntisf.c: Likewise.
16330         * soft-fp/floatuntitf.c: Likewise.
16331         * soft-fp/fmadf4.c: Likewise.
16332         * soft-fp/fmasf4.c: Likewise.
16333         * soft-fp/fmatf4.c: Likewise.
16334         * soft-fp/gedf2.c: Likewise.
16335         * soft-fp/gesf2.c: Likewise.
16336         * soft-fp/getf2.c: Likewise.
16337         * soft-fp/ledf2.c: Likewise.
16338         * soft-fp/lesf2.c: Likewise.
16339         * soft-fp/letf2.c: Likewise.
16340         * soft-fp/muldf3.c: Likewise.
16341         * soft-fp/mulsf3.c: Likewise.
16342         * soft-fp/multf3.c: Likewise.
16343         * soft-fp/negdf2.c: Likewise.
16344         * soft-fp/negsf2.c: Likewise.
16345         * soft-fp/negtf2.c: Likewise.
16346         * soft-fp/op-1.h: Likewise.
16347         * soft-fp/op-2.h: Likewise.
16348         * soft-fp/op-4.h: Likewise.
16349         * soft-fp/op-8.h: Likewise.
16350         * soft-fp/op-common.h: Likewise.
16351         * soft-fp/quad.h: Likewise.
16352         * soft-fp/single.h: Likewise.
16353         * soft-fp/soft-fp.h: Likewise.
16354         * soft-fp/sqrtdf2.c: Likewise.
16355         * soft-fp/sqrtsf2.c: Likewise.
16356         * soft-fp/sqrttf2.c: Likewise.
16357         * soft-fp/subdf3.c: Likewise.
16358         * soft-fp/subsf3.c: Likewise.
16359         * soft-fp/subtf3.c: Likewise.
16360         * soft-fp/truncdfsf2.c: Likewise.
16361         * soft-fp/trunctfdf2.c: Likewise.
16362         * soft-fp/trunctfsf2.c: Likewise.
16363         * soft-fp/trunctfxf2.c: Likewise.
16364         * soft-fp/unorddf2.c: Likewise.
16365         * soft-fp/unordsf2.c: Likewise.
16366         * soft-fp/unordtf2.c: Likewise.
16367
16368 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16369
16370         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16371         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16372
16373 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16374
16375         * elf/dl-libc.c: Clear initfini list after freeing.
16376
16377 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16378
16379         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16380         * soft-fp/addsf3.c: Likewise.
16381         * soft-fp/addtf3.c: Likewise.
16382         * soft-fp/divdf3.c: Likewise.
16383         * soft-fp/divsf3.c: Likewise.
16384         * soft-fp/divtf3.c: Likewise.
16385         * soft-fp/double.h: Likewise.
16386         * soft-fp/eqdf2.c: Likewise.
16387         * soft-fp/eqsf2.c: Likewise.
16388         * soft-fp/eqtf2.c: Likewise.
16389         * soft-fp/extenddftf2.c: Likewise.
16390         * soft-fp/extended.h: Likewise.
16391         * soft-fp/extendsfdf2.c: Likewise.
16392         * soft-fp/extendsftf2.c: Likewise.
16393         * soft-fp/extendxftf2.c: Likewise.
16394         * soft-fp/fixdfdi.c: Likewise.
16395         * soft-fp/fixdfsi.c: Likewise.
16396         * soft-fp/fixdfti.c: Likewise.
16397         * soft-fp/fixsfdi.c: Likewise.
16398         * soft-fp/fixsfsi.c: Likewise.
16399         * soft-fp/fixsfti.c: Likewise.
16400         * soft-fp/fixtfdi.c: Likewise.
16401         * soft-fp/fixtfsi.c: Likewise.
16402         * soft-fp/fixtfti.c: Likewise.
16403         * soft-fp/fixunsdfdi.c: Likewise.
16404         * soft-fp/fixunsdfsi.c: Likewise.
16405         * soft-fp/fixunsdfti.c: Likewise.
16406         * soft-fp/fixunssfdi.c: Likewise.
16407         * soft-fp/fixunssfsi.c: Likewise.
16408         * soft-fp/fixunssfti.c: Likewise.
16409         * soft-fp/fixunstfdi.c: Likewise.
16410         * soft-fp/fixunstfsi.c: Likewise.
16411         * soft-fp/fixunstfti.c: Likewise.
16412         * soft-fp/floatdidf.c: Likewise.
16413         * soft-fp/floatdisf.c: Likewise.
16414         * soft-fp/floatditf.c: Likewise.
16415         * soft-fp/floatsidf.c: Likewise.
16416         * soft-fp/floatsisf.c: Likewise.
16417         * soft-fp/floatsitf.c: Likewise.
16418         * soft-fp/floattidf.c: Likewise.
16419         * soft-fp/floattisf.c: Likewise.
16420         * soft-fp/floattitf.c: Likewise.
16421         * soft-fp/floatundidf.c: Likewise.
16422         * soft-fp/floatundisf.c: Likewise.
16423         * soft-fp/floatunsidf.c: Likewise.
16424         * soft-fp/floatunsisf.c: Likewise.
16425         * soft-fp/floatuntidf.c: Likewise.
16426         * soft-fp/floatuntisf.c: Likewise.
16427         * soft-fp/floatuntitf.c: Likewise.
16428         * soft-fp/fmadf4.c: Likewise.
16429         * soft-fp/fmasf4.c: Likewise.
16430         * soft-fp/fmatf4.c: Likewise.
16431         * soft-fp/gedf2.c: Likewise.
16432         * soft-fp/gesf2.c: Likewise.
16433         * soft-fp/getf2.c: Likewise.
16434         * soft-fp/ledf2.c: Likewise.
16435         * soft-fp/lesf2.c: Likewise.
16436         * soft-fp/letf2.c: Likewise.
16437         * soft-fp/muldf3.c: Likewise.
16438         * soft-fp/mulsf3.c: Likewise.
16439         * soft-fp/multf3.c: Likewise.
16440         * soft-fp/negdf2.c: Likewise.
16441         * soft-fp/negsf2.c: Likewise.
16442         * soft-fp/negtf2.c: Likewise.
16443         * soft-fp/op-1.h: Likewise.
16444         * soft-fp/op-2.h: Likewise.
16445         * soft-fp/op-4.h: Likewise.
16446         * soft-fp/op-8.h: Likewise.
16447         * soft-fp/op-common.h: Likewise.
16448         * soft-fp/quad.h: Likewise.
16449         * soft-fp/single.h: Likewise.
16450         * soft-fp/soft-fp.h: Likewise.
16451         * soft-fp/sqrtdf2.c: Likewise.
16452         * soft-fp/sqrtsf2.c: Likewise.
16453         * soft-fp/sqrttf2.c: Likewise.
16454         * soft-fp/subdf3.c: Likewise.
16455         * soft-fp/subsf3.c: Likewise.
16456         * soft-fp/subtf3.c: Likewise.
16457         * soft-fp/truncdfsf2.c: Likewise.
16458         * soft-fp/trunctfdf2.c: Likewise.
16459         * soft-fp/trunctfsf2.c: Likewise.
16460         * soft-fp/trunctfxf2.c: Likewise.
16461         * soft-fp/unorddf2.c: Likewise.
16462         * soft-fp/unordsf2.c: Likewise.
16463         * soft-fp/unordtf2.c: Likewise.
16464
16465 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16466
16467         [BZ #15672]
16468         * misc/error.c (error_tail): Fix possible buffer overflow.
16469
16470 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16471
16472         [BZ #13028]
16473         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16474         address.
16475
16476 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16477
16478         [BZ #832]
16479         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16480         testing pipefail option.
16481
16482 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16483
16484         * soft-fp/double.h: Indent preprocessor directives inside #if.
16485         * soft-fp/extended.h: Likewise.
16486         * soft-fp/op-2.h: Likewise.
16487         * soft-fp/op-4.h: Likewise.
16488         * soft-fp/op-common.h: Likewise.
16489         * soft-fp/quad.h: Likewise.
16490         * soft-fp/single.h: Likewise.
16491         * soft-fp/soft-fp.h: Likewise.
16492
16493 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16494
16495         * iconv/iconv_prog.c: Fix typos.
16496         * stdio-common/psiginfo-data.h: Likewise.
16497
16498 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16499
16500         [BZ #15764]
16501         * locale/setlocale.c: Fix typo.
16502
16503 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16504
16505         [BZ #16036]
16506         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16507         signaling NaN arguments.
16508         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16509         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16510
16511         [BZ #14910]
16512         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16513         unordered operands.
16514         * soft-fp/gesf2.c (__gesf2): Likewise.
16515         * soft-fp/getf2.c (__getf2): Likewise.
16516         * soft-fp/ledf2.c (__ledf2): Likewise.
16517         * soft-fp/lesf2.c (__lesf2): Likewise.
16518         * soft-fp/letf2.c (__letf2): Likewise.
16519
16520         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16521         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16522         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16523         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16524         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16525         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16526         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16527         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16528         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16529         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16530         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16531         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16532         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16533         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16534         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16535         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16536         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16537         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16538         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16539         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16540         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16541         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16542         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16543         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16544         * soft-fp/floattidf.c (__floattidf): Likewise.
16545         * soft-fp/floattisf.c (__floattisf): Likewise.
16546         * soft-fp/floattitf.c (__floattitf): Likewise.
16547         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16548         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16549         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16550         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16551         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16552         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16553         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16554         * soft-fp/gesf2.c (__gesf2): Likewise.
16555         * soft-fp/getf2.c (__getf2): Likewise.
16556         * soft-fp/ledf2.c (__ledf2): Likewise.
16557         * soft-fp/lesf2.c (__lesf2): Likewise.
16558         * soft-fp/letf2.c (__letf2): Likewise.
16559
16560         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16561         Undefine and redefine.
16562         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16563         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16564         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16565         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16566         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16567         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16568         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16569         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16570         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16571         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16572         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16573         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16574         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16575         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16576         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16577
16578         [BZ #16032]
16579         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16580         without decrementing exponent if mantissa >= that for the
16581         denominator, not >.
16582         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16583         denominator, not >.  Decrement exponent in < case instead of
16584         incrementing in >= case.
16585         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16586         without decrementing exponent if mantissa >= that for the
16587         denominator, not >.
16588
16589         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16590         computing saturated result for unsigned overflow.
16591
16592 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16593             Jeff Law  <law@redhat.com>
16594
16595         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16596         (atan2Mp): Add systemtap probe marker.
16597         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16598         (__ieee754_log): Add systemtap probe marker.
16599         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16600         (atanMp): Add systemtap probe marker.
16601         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16602         (tanMp): Add systemtap probe marker.
16603         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16604         (__slowexp): Add systemtap probe marker.
16605         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16606         (__slowpow): Add systemtap probe marker.
16607         * manual/probes.texi: Document probes.
16608
16609 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16610
16611         [BZ #15362]
16612         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16613         written.
16614         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16615         written.
16616         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16617         written to buffer but not flushed.
16618         * libio/iofwrite_u.c:  Likewise.
16619         * libio/iopadn.c:  Return bytes returned even if EOF was
16620         encountered.
16621         * libio/iowpadn.c:  Likewise.
16622         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16623         if _IO_padn does not write the whole buffer.
16624         [!COMPILE_WPRINTF] (PAD): Likewise.
16625
16626 2013-10-10  David S. Miller  <davem@davemloft.net>
16627
16628         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16629         directory block.
16630
16631 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16632
16633         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16634         instead of FSF address.
16635         * soft-fp/fixdfti.c: Likewise.
16636         * soft-fp/fixsfti.c: Likewise.
16637         * soft-fp/fixtfti.c: Likewise.
16638         * soft-fp/fixunsdfti.c: Likewise.
16639         * soft-fp/fixunssfti.c: Likewise.
16640         * soft-fp/fixunstfti.c: Likewise.
16641         * soft-fp/floattidf.c: Likewise.
16642         * soft-fp/floattisf.c: Likewise.
16643         * soft-fp/floattitf.c: Likewise.
16644         * soft-fp/floatuntidf.c: Likewise.
16645         * soft-fp/floatuntisf.c: Likewise.
16646         * soft-fp/floatuntitf.c: Likewise.
16647         * soft-fp/trunctfxf2.c: Likewise.
16648
16649         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16650         * soft-fp/fixdfti.c: Likewise.
16651         * soft-fp/fixsfti.c: Likewise.
16652         * soft-fp/fixtfti.c: Likewise.
16653         * soft-fp/fixunsdfti.c: Likewise.
16654         * soft-fp/fixunssfti.c: Likewise.
16655         * soft-fp/fixunstfti.c: Likewise.
16656         * soft-fp/floattidf.c: Likewise.
16657         * soft-fp/floattisf.c: Likewise.
16658         * soft-fp/floattitf.c: Likewise.
16659         * soft-fp/floatuntidf.c: Likewise.
16660         * soft-fp/floatuntisf.c: Likewise.
16661         * soft-fp/floatuntitf.c: Likewise.
16662         * soft-fp/trunctfxf2.c: Likewise.
16663
16664 2013-10-10  David S. Miller  <davem@davemloft.net>
16665
16666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16667
16668 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16669
16670         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16671         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16672         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16673         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16674         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16675         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16676         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16677
16678         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16679         for NaNs before doing comparisons on argument.
16680         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16681         Likewise.
16682
16683 2013-10-10  Will Newton  <will.newton@linaro.org>
16684
16685         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16686         passed to _int_memalign does not overflow.
16687
16688 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16689
16690         * scripts/bench.pl: Add include-sources directive.
16691         * benchtests/README: Update documentation.
16692
16693 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16694
16695         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16696         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16697         instead of FP_INIT_ROUNDMODE.
16698         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16699         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16700
16701         [BZ #16034]
16702         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16703         copy class of input value.
16704         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16705         not handle exceptions.
16706         * soft-fp/negsf2.c (__negsf2): Likewise.
16707         * soft-fp/negtf2.c (__negtf2): Likewise.
16708         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16709
16710 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16711
16712         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16713         semicolon.  From Linux kernel.
16714
16715 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16716
16717         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16718
16719 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16720
16721         [BZ #156]
16722         * manual/socket.texi: Added statement about buffer
16723         for gethostbyname2_r.
16724
16725 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16726
16727         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16728         Use .p2align directive instead, throughout.
16729         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16730         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16731         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16732         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16733         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16734         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16735         * sysdeps/x86_64/strchr.S: Likewise.
16736         * sysdeps/x86_64/strrchr.S: Likewise.
16737
16738 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16739
16740         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16741
16742         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16743
16744         * sysdeps/generic/math_private.h (__mpsin1): Remove
16745         declaration.
16746         (__mpcos1): Likewise.
16747         (__mpsin): New argument __range_reduce.
16748         (__mpcos): Likewise.
16749         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16750         (slow): Use __mpsin and __mpcos.
16751         (slow1): Likewise.
16752         (slow2): Likewise.
16753         (sloww): Likewise.
16754         (sloww1): Likewise.
16755         (sloww2): Likewise.
16756         (bsloww): Likewise.
16757         (bsloww1): Likewise.
16758         (bsloww2): Likewise.
16759         (cslow2): Likewise.
16760         (csloww): Likewise.
16761         (csloww1): Likewise.
16762         (csloww2): Likewise.
16763         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16764         range_reduce.  Merge in __mpsin1.
16765         (__mpcos): Likewise.
16766         (__mpsin1): Remove.
16767         (__mpcos1): Likewise.
16768
16769 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16770
16771         * locale/loadlocale.c (_nl_intern_locale_data): Use
16772         LOCFILE_ALIGNED_P.
16773         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16774         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16775         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16776         obstack data is appropriately aligned.
16777         (obstack_int32_grow_fast): Likewise.
16778         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16779         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16780         (add_locale_uint32_array): Likewise.
16781
16782 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16783
16784         * benchtests/Makefile: Remove ARGLIST and RET variables.
16785         ($(objpfx)bench-%.c): Pass only function name to the script.
16786         * benchtests/README: Update documentation.
16787         * benchtests/acos-inputs: Add new directives.
16788         * benchtests/acosh-inputs: Likewise.
16789         * benchtests/asin-inputs: Likewise.
16790         * benchtests/asinh-inputs: Likewise.
16791         * benchtests/atan-inputs: Likewise.
16792         * benchtests/atanh-inputs: Likewise.
16793         * benchtests/cos-inputs: Likewise.
16794         * benchtests/cosh-inputs: Likewise.
16795         * benchtests/exp-inputs: Likewise.
16796         * benchtests/log-inputs: Likewise.
16797         * benchtests/pow-inputs: Likewise.
16798         * benchtests/rint-inputs: Likewise.
16799         * benchtests/sin-inputs: Likewise.
16800         * benchtests/sinh-inputs: Likewise.
16801         * benchtests/tan-inputs: Likewise.
16802         * benchtests/tanh-inputs: Likewise.
16803         * scripts/bench.pl: Add support for new directives.
16804
16805 2013-10-07  Alan Modra  <amodra@gmail.com>
16806
16807         * README: Fix careless merge.
16808
16809 2013-10-05  Alan Modra  <amodra@gmail.com>
16810
16811         * NEWS: Mention powerpc64le support and bugs fixed.
16812         * README: Both big-endian and little-endian powerpc64 supported.
16813
16814 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16815
16816         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16817         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16818         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16819         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16820
16821 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16822
16823         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16824         match prototype.
16825
16826 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16827
16828         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16829         Move -mhard-float appending from
16830         ports/sysdeps/powerpc/powerpc32/Makefile.
16831         [$(with-fp) = yes] (ASFLAGS): Likewise.
16832         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16833         * sysdeps/powerpc/nofpu: Move directory from
16834         ports/sysdeps/powerpc/nofpu.
16835         * sysdeps/powerpc/soft-fp: Move directory from
16836         ports/sysdeps/powerpc/soft-fp.
16837         * sysdeps/powerpc/powerpc32/405: Move directory from
16838         ports/sysdeps/powerpc/powerpc32/405.
16839         * sysdeps/powerpc/powerpc32/440: Move directory from
16840         ports/sysdeps/powerpc/powerpc32/440.
16841         * sysdeps/powerpc/powerpc32/464: Move directory from
16842         ports/sysdeps/powerpc/powerpc32/464.
16843         * sysdeps/powerpc/powerpc32/476: Move directory from
16844         ports/sysdeps/powerpc/powerpc32/476.
16845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16846         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16848         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16850         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16852         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16854         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16855         * README: Update for powerpc-*-linux-gnu software floating point
16856         support in libc.
16857
16858         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16859         case to powerpc/powerpc32*.
16860         * sysdeps/unix/sysv/linux/configure: Regenerated.
16861
16862         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16863         (_FPU_MASK_OM): Define as 0x04.
16864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16866         0x00c10080.
16867         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16868         0x0000003c.
16869         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16870
16871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16872         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16873         getcontext_e500.
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16875         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16876         setcontext_e500.
16877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16878         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16879         and setcontext_e500.
16880
16881 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16882
16883         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16884
16885 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16886
16887         * manual/threads.texi (Default Thread Attributes): Fix typo.
16888
16889 2013-10-04  Will Newton  <will.newton@linaro.org>
16890
16891         * malloc/Makefile: Add tst-memalign.
16892         * malloc/tst-memalign.c: New file.
16893
16894         * malloc/tst-posix_memalign.c: Add comments.
16895         (do_test): Add comments and call free on all potentially
16896         allocated pointers. Add space after cast.
16897
16898         * malloc/tst-pvalloc.c: Add comments.
16899         (do_test): Add comments and call free on all potentially
16900         allocated pointers. Remove duplicate check for NULL pointer.
16901         Add space after cast.
16902
16903         * malloc/tst-valloc.c: Add comments.
16904         (do_test): Add comments and call free on all potentially
16905         allocated pointers. Remove duplicate check for NULL pointer.
16906         Add space after cast.
16907
16908 2013-10-04  Alan Modra  <amodra@gmail.com>
16909
16910         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16911         Use stdint types in rather than __attribute__((mode())).
16912         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16913
16914 2013-10-04  Alan Modra  <amodra@gmail.com>
16915
16916         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16917         Correct handling of unaligned relocs for little-endian.
16918         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16919
16920 2013-10-04  Alan Modra  <amodra@gmail.com>
16921
16922         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16923         * configure: Regenerate.
16924         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16925         * shlib-versions: Likewise.
16926
16927 2013-10-04  Alan Modra  <amodra@gmail.com>
16928
16929         * string/tester.c (test_memrchr): Increment reported test cycle.
16930
16931 2013-10-04  Alan Modra  <amodra@gmail.com>
16932
16933         * string/test-memcpy.c (do_one_test): When reporting errors, print
16934         string address and don't overrun end of string.
16935
16936 2013-10-04  Alan Modra  <amodra@gmail.com>
16937
16938         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16939         insrdi.  Make better use of reg selection to speed exit slightly.
16940         Schedule entry path a little better.  Remove useless "are we done"
16941         checks on entry to main loop.  Handle wrapping around zero address.
16942         Correct main loop count.  Handle single left-over word from main
16943         loop inline rather than by using loop_small.  Remove extra word
16944         case in loop_small caused by wrong loop count.  Add little-endian
16945         support.
16946         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16947         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16948         cache hint.
16949         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16950         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16951         support.  Avoid rlwimi.
16952         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16953
16954 2013-10-04  Alan Modra  <amodra@gmail.com>
16955
16956         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16957         insrdi.  Formatting.
16958         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16959         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16960         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16961         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16962         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16963         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16964
16965 2013-10-04  Alan Modra  <amodra@gmail.com>
16966
16967         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16968         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16969         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16970         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16971         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16972         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16973         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16974         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16975         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16976         use of regs.  Use power7 mtocrf.  Tidy function tails.
16977
16978 2013-10-04  Alan Modra  <amodra@gmail.com>
16979
16980         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16981         Formatting.  Consistently use rXXX register defines or rN defines.
16982         Use early exit labels that avoid restoring unused non-volatile regs.
16983         Make cr field use more consistent with rWORDn compares.  Rename
16984         regs used as shift registers for unaligned loop, using rN defines
16985         for short lifetime/multiple use regs.
16986         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16987         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16988         addi 1,1,64 to pop stack frame.  Simplify return value code.
16989         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16990
16991 2013-10-04  Alan Modra  <amodra@gmail.com>
16992
16993         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16994         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16995         rather than rlwimi.
16996         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16997         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16998         little-endian support.  Correct typos.
16999         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
17000         rather than rlwimi.
17001         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
17002         in loop and entry code to keep "and." results.
17003         (strchr): Add little-endian support.  Comment.  Move cntlzd
17004         earlier in tail.
17005         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17006
17007 2013-10-04  Alan Modra  <amodra@gmail.com>
17008
17009         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17010         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17011         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17012         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17013
17014 2013-10-04  Alan Modra  <amodra@gmail.com>
17015
17016         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17017         (rTMP): Define as r11.
17018         (strcmp): Add little-endian support.  Optimise tail.
17019         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17020         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17021         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17022         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17023         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17024         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17025         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17026
17027 2013-10-04  Alan Modra  <amodra@gmail.com>
17028
17029         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17030         little-endian support.  Remove unnecessary "are we done" tests.
17031         Handle "s" wrapping around zero and extremely large "size".
17032         Correct main loop count.  Handle single left-over word from main
17033         loop inline rather than by using small_loop.  Correct comments.
17034         Delete "zero" tail, use "end_max" instead.
17035         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17036
17037 2013-10-04  Alan Modra  <amodra@gmail.com>
17038
17039         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17040         support.  Don't branch over align.
17041         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17042         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17043         support.  Rearrange tmp reg use to suit.  Comment.
17044         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17045
17046 2013-10-04  Alan Modra  <amodra@gmail.com>
17047
17048         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17049
17050 2013-10-04  Alan Modra  <amodra@gmail.com>
17051
17052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17053         conditional form of branch and link when obtaining pc.
17054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17055
17056 2013-10-04  Alan Modra  <amodra@gmail.com>
17057
17058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17059         HIWORD/LOWORD.
17060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17062
17063 2013-10-04  Alan Modra  <amodra@gmail.com>
17064
17065         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17066         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17067         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17068         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17069         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17070         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17071         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17072         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17073         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17074         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17075
17076 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17077             Alistair Popple <alistair@ozlabs.au.ibm.com>
17078             Alan Modra <amodra@gmail.com>
17079
17080         [BZ #15723]
17081         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17082         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17083         _dl_hwcap access for little-endian.
17084         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
17085         destroy vmx regs when saving unaligned.
17086         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17087         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
17088         destroy vmx regs when saving unaligned.
17089
17090 2013-10-04  Alan Modra  <amodra@gmail.com>
17091
17092         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17093         Don't use a union to pack hi/low value.
17094
17095 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17096
17097         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17098         for little-endian.
17099         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17100         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17101         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17102         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17103         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17104
17105 2013-10-04  Alan Modra  <amodra@gmail.com>
17106
17107         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17108         constants to usual value for .cst8 section, and remove redundant
17109         high address load.
17110         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17111         constant for 0x1p52.  Load little-endian words of double from
17112         correct stack offsets.
17113
17114 2013-10-04  Alan Modra  <amodra@gmail.com>
17115
17116         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17117         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17118         words of double from correct stack offsets.
17119         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17120         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17121         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17122         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17123         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17124         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17125         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17126         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17127         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17128         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17129         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17130         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17131         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17132         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17133         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17134         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17135         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17136
17137 2013-10-04  Alan Modra  <amodra@gmail.com>
17138
17139         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17140         64-bit int/double union.
17141         (_FPU_SETCW): Likewise.
17142         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17143         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17144
17145 2013-10-04  Alan Modra  <amodra@gmail.com>
17146
17147         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17148         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17149
17150 2013-10-04  Alan Modra  <amodra@gmail.com>
17151
17152         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17153         use vector int constants.
17154         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17155
17156 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17157
17158         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17159         array with long long.
17160         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17161         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17162         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17163         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17164         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17165         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17166         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17167         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17168         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17169         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17170         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17171         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17172         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17173
17174 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17175
17176         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17177         (__signbit): Likewise.  Correct for little-endian.
17178         (__signbitl): Call __signbit.
17179         (lrint): Correct for little-endian.
17180         (lrintf): Call lrint.
17181
17182 2013-10-04  Alan Modra  <amodra@gmail.com>
17183
17184         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17185         union 32-bit int array member with 64-bit int array.
17186         (t515, tm256): Double rather than long double.
17187         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17188
17189 2013-10-04  Alan Modra  <amodra@gmail.com>
17190
17191         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17192         Delete.
17193         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17194         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17195         version of math_ldbl.h.
17196
17197 2013-10-04  Alan Modra  <amodra@gmail.com>
17198
17199         [BZ #15734], [BZ #15735]
17200         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17201         all uses of ieee875 long double macros and unions.  Simplify test
17202         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17203         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17204         normalize after ldbl_extract_mantissa, and don't add hidden bit
17205         already handled.  Don't treat low word of ieee854 mantissa like
17206         low word of IBM long double and mask off bit when testing for
17207         zero.
17208         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17209         all uses of ieee875 long double macros and unions.  Simplify tests
17210         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17211         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17212         two1022, instead use their values.  Recognise that tests for large
17213         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17214         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17215         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17216         test for 0.0L and nan.  Correct negation.
17217         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17218         ieee875 long double macros and unions.  Correct output for large
17219         magnitude x.  Correct absolute value calculation.
17220         (__erfcl): Likewise.
17221         * math/libm-test.inc: Add tests for errors discovered in IBM long
17222         double versions of fmodl, remainderl, erfl and erfcl.
17223
17224 2013-10-04  Alan Modra  <amodra@gmail.com>
17225
17226         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17227         all uses of ieee854 long double macros and unions.  Simplify tests
17228         for long doubles that are fully specified by the high double.
17229         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17230         Likewise.
17231         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17232         Remove dead code too.
17233         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17234         (__ieee754_ynl): Likewise.
17235         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17236         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17237         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17238         Remove dead code too.
17239         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17240         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17241         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17242         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17243         Simplify.
17244         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17245         Simplify.
17246         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17247         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17248         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17249         Comment on variable precision.
17250         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17251         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17252         Likewise.
17253         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17254         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17255         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17256         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17257         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17258
17259 2013-10-04  Alan Modra  <amodra@gmail.com>
17260
17261         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17262         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17263         all uses of ieee854 long double macros and unions.
17264         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17265         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17266         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17267         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17268         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17269         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17270         Likewise.
17271         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17272         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17273         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17274         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17275         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17276         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17277         Simplify sign and nan test too.
17278         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17279         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17280         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17281         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17282         Likewise.
17283         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17284         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17285         Likewise.
17286         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17287         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17288         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17289         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17290         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17291         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17292
17293 2013-10-04  Alan Modra  <amodra@gmail.com>
17294
17295         * stdio-common/printf_size.c (__printf_size): Don't use
17296         union ieee854_long_double in fpnum union.
17297         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17298         signbit macro to retrieve sign from long double.
17299         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17300         retrieve sign from long double.
17301         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17302         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17303         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17304         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17305         * math/test-misc.c (main): Don't use union ieee854_long_double.
17306
17307 2013-10-04  Alan Modra  <amodra@gmail.com>
17308
17309         [BZ #15680]
17310         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17311         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17312         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17313         calculation.  Remove unnecessary test for denormal exponent.
17314         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17315         Correct handling of denormals.  Avoid undefined shift behaviour.
17316         Correct normalisation of low mantissa when low double is denormal.
17317         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17318         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17319         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17320         Correct normalisation of low mantissa.  Test for overflow of high
17321         mantissa and normalise.
17322         (ldbl_nearbyint): Use more readable constant for two52.
17323         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17324         (__mpn_construct_long_double): Fix test for overflow of high
17325         mantissa and correct normalisation.  Avoid undefined shift.
17326
17327 2013-10-04  Alan Modra  <amodra@gmail.com>
17328
17329         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17330         (union ibm_extended_long_double): Define as an array of ieee754_double.
17331         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17332         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17333         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17334         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17335         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17336         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17337         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17338         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17339         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17340         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17341         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17342
17343 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17344
17345         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17346         page size instead of calling getpagesize.
17347
17348         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17349         (LOCFILE_ALIGN_MASK): Likewise.
17350         (LOCFILE_ALIGN_UP): Likewise.
17351         (LOCFILE_ALIGNED_P): Likewise.
17352         * locale/programs/ld-collate.c (collate_output): Use the new
17353         macros instead of __alignof__ (int32_t).
17354         * locale/weight.h (findidx): Likewise.
17355
17356 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17357
17358         [BZ #431]
17359         * manual/string.texi: Fix strncat and wcsncat.
17360
17361 2013-10-03  Brooks Moses  <bmoses@google.com>
17362
17363         [BZ #15915]
17364         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17365         * Makerules: ...here, and adjust associated comments.
17366
17367 2013-10-02  Will Newton  <will.newton@linaro.org>
17368
17369         * malloc/Makefile: Add tst-pvalloc.
17370         * malloc/tst-pvalloc.c: New file.
17371
17372 2013-10-02  Will Newton  <will.newton@linaro.org>
17373
17374         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17375         improve test coverage.
17376
17377 2013-10-02  Will Newton  <will.newton@linaro.org>
17378
17379         * malloc/Makefile: Add tst-posix_memalign.
17380         * malloc/tst-posix_memalign.c: New file.
17381
17382 2013-10-01  Eric Blake  <eblake@redhat.com>
17383
17384         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17385         Use __THROWNL rather than __THROW on static functions.
17386
17387 2013-09-30  Petr Machata  <pmachata@redhat.com>
17388
17389         * elf/elf.h (R_AARCH64_ABS16): New macro.
17390         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17391         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17392         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17393         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17394         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17395         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17396         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17397         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17398         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17399         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17400         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17401         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17402         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17403         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17404         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17405         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17406         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17407         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17408         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17409         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17410         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17411         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17412         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17413         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17414         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17415         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17416         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17417         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17418         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17419         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17420         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17421         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17422         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17423         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17424         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17425         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17426         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17427         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17428         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17429         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17430         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17431         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17432         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17433         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17434         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17435         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17436         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17437         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17438         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17439         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17440         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17441         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17442         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17443         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17444         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17445         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17446         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17447         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17448         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17449         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17450         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17451         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17452         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17453         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17454         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17455         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17456         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17457         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17458         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17459         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17460         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17461         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17462         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17463         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17464         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17465         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17466         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17467         (R_AARCH64_TLSDESC_LDR): Likewise.
17468         (R_AARCH64_TLSDESC_ADD): Likewise.
17469         (R_AARCH64_TLSDESC_CALL): Likewise.
17470
17471 2013-09-30  Andreas Schwab  <schwab@suse.de>
17472
17473         [BZ #15048]
17474         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17475         the nss database lookup.
17476         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17478
17479 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17480
17481         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17482
17483 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17484
17485         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17486         ${Bash-specific parameter/pattern/string} parameter expansion.
17487         * sysdeps/unix/make-syscalls.sh: Likewise.
17488
17489 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17490
17491         * sysdeps/sh/stackguard-macros.h: New file.
17492
17493 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17494
17495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17496         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17497         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17498         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17499         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17500         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17501
17502 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17503
17504         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17505         Fix thread ID register.
17506
17507 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17508
17509         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17510         [POSIX || UNIX98]: Require rather than permitting all symbols from
17511         <time.h>.
17512         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17513         element of struct sched_param.
17514         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17515         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17516         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17517         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17518         constant.
17519
17520 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17521
17522         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17523         argument calculation.
17524
17525 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17526
17527         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17528         Expect macro.
17529         [POSIX] (pthread_attr_t): Do not require type.
17530         [POSIX] (pthread_cond_t): Likewise.
17531         [POSIX] (pthread_condattr_t): Likewise.
17532         [POSIX] (pthread_key_t): Likewise.
17533         [POSIX] (pthread_mutex_t): Likewise.
17534         [POSIX] (pthread_mutexattr_t): Likewise.
17535         [POSIX] (pthread_once_t): Likewise.
17536         [POSIX] (pthread_t): Likewise.
17537         [POSIX-based standards] (pthread_atfork): Expect function.
17538
17539 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17540             Richard Sandiford  <richard@codesourcery.com>
17541
17542         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17543         (swap_endianness_p): New extern variable.
17544         (set_big_endian): New inline function.
17545         (maybe_swap_uint32): Likewise.
17546         (maybe_swap_uint32_array): Likewise.
17547         (maybe_swap_uint32_obstack): Likewise.
17548         * locale/programs/locfile.c: Include <stdbool.h>.
17549         (swap_endianness_p): New variable.
17550         (add_locale_uint32): Call maybe_swap_uint32.
17551         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17552         (write_locale_data): Call maybe_swap_uint32_array.
17553         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17554         maybe_swap_uint32.
17555         (obstack_int32_grow_fast): Likewise.
17556         (output_weightwc): Call maybe_swap_uint32_obstack.
17557         (collate_output): Likewise.
17558         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17559         (OPT_LITTLE_ENDIAN): Likewise.
17560         (options): Add --little-endian and --big-endian options.
17561         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17562         * locale/programs/locarchive.c: Include "locfile.h".
17563         (GET): New macro.
17564         (SET): Likewise.
17565         (INC): Likewise.
17566         (create_archive): Use the new macros to access fields of
17567         structures directly mapped from or written to locale archives.
17568         (oldlocrecentcmp): Likewise.
17569         (enlarge_archive): Likewise.
17570         (insert_name): Likewise.
17571         (add_alias): Likewise.
17572         (add_locale): Likewise.
17573         (delete_locales_from_archive): Likewise.
17574         (show_archive_content): Likewise.
17575         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17576         locale data.
17577
17578 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17579
17580         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17581         http://www.gnu.org/doc/freemanuals.texi.
17582         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17583
17584 2013-09-24  Will Newton  <will.newton@linaro.org>
17585
17586         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17587         macro.
17588
17589 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17590
17591         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17592         unsigned char.
17593
17594 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17595
17596         * manual/threads.texi (POSIX Threads): Fix a typo.
17597
17598 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17599
17600         [BZ #14547]
17601         * string/tst-strcoll-overflow.c: New test case.
17602         * string/Makefile (xtests): Add tst-strcoll-overflow.
17603         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17604         cache if string sizes may cause integer overflow.
17605
17606         [BZ #14547]
17607         * string/strcoll_l.c (coll_seq): New members rule, idx,
17608         save_idx and back_us.
17609         (get_next_seq_nocache): New function.
17610         (do_compare_nocache): New function.
17611         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17612         when malloc fails.
17613
17614 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17615
17616         [BZ #15754]
17617         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17618         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17619         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17620
17621         [BZ #15754]
17622         * elf/Makefile (tests): Add tst-ptrguard1.
17623         (tests-static): Add tst-ptrguard1-static.
17624         (tst-ptrguard1-ARGS): Define.
17625         (tst-ptrguard1-static-ARGS): Define.
17626         * elf/tst-ptrguard1.c: New file.
17627         * elf/tst-ptrguard1-static.c: New file.
17628         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17629         * sysdeps/i386/stackguard-macros.h: Likewise.
17630         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17631         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17632         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17633         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17634         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17635         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17636
17637 2013-09-23  Hector Marco  <hecmargi@upv.es>
17638             Ismael Ripoll  <iripoll@disca.upv.es>
17639             Carlos O'Donell  <carlos@redhat.com>
17640
17641         [BZ #15754]
17642         * sysdeps/generic/stackguard-macros.h: Define
17643         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17644         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17645         Define __pointer_chk_guard_local.
17646         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17647         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17648
17649 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17650
17651         [BZ #15859]
17652         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17653
17654 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17655
17656         * include/string.h (__ffs): Declare as hidden.
17657         * string/ffs.c (__ffs): Define as hidden.
17658         * sysdeps/i386/ffs.c (__ffs): Likewise.
17659         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17660         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17661         * sysdeps/s390/ffs.c (__ffs): Likewise.
17662         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17663
17664 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17665
17666         * NEWS: Mention malloc probes.
17667
17668         * malloc/arena.c (new_heap): New memory_heap_new probe.
17669         (grow_heap): New memory_heap_more probe.
17670         (shrink_heap): New memory_heap_less probe.
17671         (heap_trim): New memory_heap_free probe.
17672         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17673         (systrim): New memory_sbrk_less probe.
17674         * manual/probes.texi: Document them.
17675
17676         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17677         * manual/probes.texi: Document it.
17678
17679         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17680         (__libc_realloc): Add memory_realloc_retry probe.
17681         (__libc_memalign): Add memory_memalign_retry probe.
17682         (__libc_valloc): Add memory_valloc_retry probe.
17683         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17684         (__libc_calloc): Add memory_calloc_retry probe.
17685         * manual/probes.texi: Document them.
17686
17687         * malloc/arena.c (get_free_list): Add probe
17688         memory_arena_reuse_free_list.
17689         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17690         and memory_arena_reuse.
17691         (arena_get2) [!PER_THREAD]: Likewise.
17692         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17693         memory_arena_reuse_realloc.
17694         * manual/probes.texi: Document them.
17695
17696         * malloc/malloc.c (__libc_free): Add
17697         memory_mallopt_free_dyn_thresholds probe.
17698         (__libc_mallopt): Add multiple memory_mallopt probes.
17699         * manual/probes.texi: Document them.
17700
17701         * malloc/malloc.c: Include stap-probe.h.
17702         (__libc_mallopt): Add memory_mallopt probe.
17703         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17704         * manual/probes.texi: New.
17705         * manual/Makefile (chapters): Add probes.
17706         * manual/threads.texi: Set next node.
17707
17708 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17709
17710         [BZ #15963, #13985]
17711         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17712         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17713         Add `Chinese' to `nan' entry name.
17714
17715 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17716
17717         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17718         (POLYNOMIAL): Likewise.
17719         (TAYLOR_SINCOS): Likewise.
17720         (TAYLOR_SLOW): Likewise.
17721         (__sin): Use TAYLOR_SINCOS.
17722         (__cos): Likewise.
17723         (slow): Use TAYLOR_SLOW.
17724         (sloww): Likewise.
17725         (bsloww): Likewise.
17726         (csloww): Likewise.
17727
17728 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17729
17730         * stdlib/strtod_l.c: Fix buffer overrun.
17731
17732 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17733
17734         * benchtests/Makefile (bench): Add sincos.
17735         * benchtests/bench-sincos.c: New file.
17736
17737         * math/libm-test.inc (cos_test_data): New test inputs.
17738         (sin_test_data): Likewise.
17739
17740         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17741         macro.
17742         (__sin): Use it.
17743         (__cos): Likewise.
17744         (slow1): Likewise.
17745         (slow2): Likewise.
17746         (sloww1): Likewise.
17747         (sloww2): Likewise.
17748         (bsloww1): Likewise.
17749         (bsloww2): Likewise.
17750         (cslow2): Likewise.
17751         (csloww1): Likewise.
17752         (csloww2): Likewise.
17753
17754         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17755         function.
17756         (__sin): Use it.
17757         (__cos): Likewise.
17758
17759         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17760         gotos.
17761         (__cos): Likewise.
17762
17763 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17764
17765         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17766         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17767         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17768         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17769         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17770         * elf/cache.c (print_entry): Handle the new cache flags.
17771
17772 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17773             Aldy Hernandez  <aldyh@redhat.com>
17774
17775         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17776         Change condition to [_SOFT_FLOAT].
17777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17789         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17790         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17792         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17793         declaration.
17794
17795 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17796
17797         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17798         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17799         (__longjmp): Use LOAD_GP to load saved GPRs.
17800         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17801         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17802         (__sigsetjmp): Use SAVE_GP to save GPRs.
17803
17804         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17805         Do not append -msoft-float.
17806         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17807
17808 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17809
17810         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17811
17812 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17813
17814         [BZ #15966]
17815         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17816         (_FPU_GETCW): Use initial "__" on variable and field names but not
17817         on macro parameter name.
17818         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17819         parentheses around reference to macro parameter.
17820
17821 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17822
17823         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17824         prototype.
17825         (ctype_startup): Use uint32_t in cast and sizeof for
17826         ctype->charnames.
17827
17828 2013-09-11  Jia Liu  <proljc@gmail.com>
17829
17830         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17831         __daddr_t_defined.
17832         [__FreeBSD__]: Likewise.
17833
17834 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17835
17836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17837         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17838         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17839         (strchr): Remove __strchr_sse42 ifunc selection.
17840         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17841         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17842
17843 2013-09-11  Will Newton  <will.newton@linaro.org>
17844
17845         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17846         parameter to RES. Remove hardcoded 1000 value.
17847         * benchtests/bench-skeleton.c (main): Pass RES parameter
17848         to TIMING_INIT and multiply result by 1000.
17849
17850 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17851
17852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17853
17854 2013-09-11  Andreas Schwab  <schwab@suse.de>
17855
17856         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17857         if not defined.
17858         (O_TMPFILE) [__USE_GNU]: Define.
17859         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17860         Define.
17861
17862 2013-09-11  Will Newton  <will.newton@linaro.org>
17863
17864         [BZ #15857]
17865         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17866         does not overflow.
17867
17868 2013-09-11  Will Newton  <will.newton@linaro.org>
17869
17870         [BZ #15856]
17871         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17872         does not overflow.
17873
17874 2013-09-11  Will Newton  <will.newton@linaro.org>
17875
17876         [BZ #15855]
17877         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17878         does not overflow.
17879
17880 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17881
17882         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17883         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17884         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17885         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17886         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17887
17888 2013-09-10  Allan McRae  <allan@archlinux.org>
17889
17890         [BZ #15748]
17891         * manual/arith.texi (Parsing of Floats): Clarify
17892         cross-reference.
17893
17894         [BZ #15849]
17895         * manual/install.texi (Running make install): Mention
17896         --enable-pt-chown.
17897         * INSTALL: Regenerated.
17898
17899 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17900
17901         * csu/init-first.c (_init): Remove the !SHARED condition around
17902         FPU control word initialization.
17903         * elf/dl-support.c (_dl_fpu_control): New variable.
17904         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17905         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17906         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17907         * math/test-fpucw-static.c: New file.
17908         * math/test-fpucw-ieee.c: New file.
17909         * math/test-fpucw-ieee-static.c: New file.
17910         * math/Makefile (tests): Add `test-fpucw-ieee' and
17911         `$(tests-static)'.
17912         (tests-static): New variable.
17913         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17914         dependency to...
17915         [($(build-shared),yes)]
17916         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17917         ... this.
17918         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17919         New dependency.
17920
17921 2013-09-09  Allan McRae  <allan@archlinux.org>
17922
17923         [BZ #15939]
17924         * manual/string.texi (Collation Functions): Fix typo in
17925         strcoll example.
17926         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17927
17928         [BZ #15893]
17929         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17930
17931         [BZ #15892]
17932         * libio/memstream.c (open_memstream): Fix memory leak.
17933         * libio/wmemstream.c (open_wmemstream): Likewise.
17934
17935         [BZ #15895]
17936         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17937
17938 2013-09-09  Will Newton  <will.newton@linaro.org>
17939
17940         * malloc/Makefile: Add tst-realloc to tests.
17941         * malloc/tst-realloc.c: New file.
17942
17943 2013-09-09  Allan McRae  <allan@archlinux.org>
17944
17945         [BZ #15844]
17946         * COPYING: Update from GNU website to fix FSF address.
17947         * COPYING.LIB: Likewise.
17948
17949 2013-09-06  David S. Miller  <davem@davemloft.net>
17950
17951         * po/zh_TW.po: Update Chinese (traditional) translation from
17952         translation project.
17953
17954 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17955             Joseph Myers  <joseph@codesourcery.com>
17956
17957         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17958         "localeinfo.h".
17959         (obstack_chunk_alloc): New macro.
17960         (obstack_chunk_free): Likewise.
17961         (record_offset): New function.
17962         (init_locale_data): Likewise.
17963         (align_locale_data): Likewise.
17964         (add_locale_empty): Likewise.
17965         (add_locale_raw_data): Likewise.
17966         (add_locale_raw_obstack): Likewise.
17967         (add_locale_string): Likewise.
17968         (add_locale_wstring): Likewise.
17969         (add_locale_uint32): Likewise.
17970         (add_locale_uint32_array): Likewise.
17971         (add_locale_char): Likewise.
17972         (start_locale_structure): Likewise.
17973         (end_locale_structure): Likewise.
17974         (start_locale_prelude): Likewise.
17975         (end_locale_prelude): Likewise.
17976         (write_locale_data): Take locale_file structure rather than an
17977         iovec.
17978         * locale/programs/locfile.h: Include "obstack.h".
17979         (struct locale_file): Change to store locale file contents instead
17980         of header.
17981         (init_locale_data): New prototype.
17982         (align_locale_data): Likewise.
17983         (add_locale_empty): Likewise.
17984         (add_locale_raw_data): Likewise.
17985         (add_locale_raw_obstack): Likewise.
17986         (add_locale_string): Likewise.
17987         (add_locale_wstring): Likewise.
17988         (add_locale_uint32): Likewise.
17989         (add_locale_uint32_array): Likewise.
17990         (add_locale_char): Likewise.
17991         (start_locale_structure): Likewise.
17992         (end_locale_structure): Likewise.
17993         (start_locale_prelude): Likewise.
17994         (end_locale_prelude): Likewise.
17995         (write_locale_data): Update prototype.
17996         * locale/programs/3level.h (struct TABLE): Remove result field.
17997         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17998         Use new locale_file interface.
17999         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18000         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18001         * locale/programs/ld-address.c (address_output): Use new
18002         locale_file interface.
18003         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18004         NO_ADD_LOCALE.
18005         (collate_finish): Don't call collseq_table_finalize.
18006         (collate_output): Use new locale_file interface.
18007         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18008         in file.
18009         (NO_FINALIZE): Change to NO_ADD_LOCALE.
18010         (TABLE): Move defines earlier in file.
18011         (ELEMENT): Likewise.
18012         (DEFAULT): Likewise.
18013         (wctrans_table_add): Move macro and inline function earlier in
18014         file.
18015         (struct wctype_table): Move type earlier in file.
18016         (add_locale_wctype_table): New static prototype.
18017         (struct locale_ctype_t): Use logical types instead of struct iovec
18018         pointers for members.
18019         (ctype_output): Use new locale_file interface.
18020         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
18021         new locale_file interface.
18022         (allocate_arrays): Update for use of new locale_file interface.
18023         * locale/programs/ld-identification.c (identification_output): Use
18024         new locale_file interface.
18025         * locale/programs/ld-measurement.c (measurement_output): Likewise.
18026         * locale/programs/ld-messages.c (messages_output): Likewise.
18027         * locale/programs/ld-monetary.c (monetary_output): Likewise.
18028         * locale/programs/ld-name.c (name_output): Likewise.
18029         * locale/programs/ld-numeric.c (numeric_output): Likewise.
18030         * locale/programs/ld-paper.c (paper_output): Likewise.
18031         * locale/programs/ld-telephone.c (telephone_output): Likewise.
18032         * locale/programs/ld-time.c (time_output): Likewise.
18033
18034 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18035
18036         * benchtests/Makefile: Add memrchr benchmark.
18037         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18038         benchmark as memrchr.
18039         * benchtests/bench-memrchr-ifunc.c: New file.
18040         * benchtests/bench-memrchr.c: New file.
18041
18042 2013-09-06   Will Newton  <will.newton@linaro.org>
18043
18044         * benchtests/Makefile (string-bench): Add memcpy.
18045
18046 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
18047             Cong Wang  <amwang@redhat.com>
18048
18049         [BZ #15850]
18050         * sysdeps/unix/sysv/linux/bits/in.h
18051         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18052         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18053         before __USE_KERNEL_IPV6_DEFS uses.
18054         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18055         IPPROTO_BEETPH.
18056         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18057         sockaddr_in6, or ipv6_mreq.
18058
18059 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18060
18061         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18062         memory access for final bytes in some large inputs.
18063         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18064
18065 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18066
18067         * string/test-memrchr.c: New file.
18068         * string/test-memrchr-ifunc.c: New file.
18069         * string/Makefile: Add new memrchr testcase.
18070
18071 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
18072
18073         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18074         fanotify_init returns EPERM.
18075
18076 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18077
18078         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18079         errors.
18080         (top level): Treat second token from macro or constant entries for
18081         allowed headers as allowed.
18082         * include/complex.h: Condition internal declarations on
18083         [!_ISOMAC].
18084         * include/fenv.h: Condition include of <stdbool.h> and internal
18085         declarations on [!_ISOMAC].
18086
18087 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
18088
18089         [BZ #15923]
18090         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18091
18092 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18093
18094         * configure.in (--enable-versioning): Remove configure option.
18095         (libc_cv_asm_symver_directive): Remove configure test.
18096         (libc_cv_ld_version_script_option): Likewise.
18097         (VERSIONING): Remove variable and AC_SUBST.
18098         (DO_VERSIONING): Remove AC_DEFINE.
18099         * configure: Regenerated.
18100         * config.h.in (DO_VERSIONING): Remove macro.
18101         * Makerules [$(versioning) = yes]: Change conditionals to
18102         [$(build-shared) = yes].
18103         * config.make.in (versioning): Remove variable.
18104         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18105         [$(build-shared) = yes].
18106         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18107         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18108         * elf/Makefile [$(versioning) = yes]: Change conditionals to
18109         [$(build-shared) = yes].
18110         * extra-lib.mk [$(versioning) = yes]: Likewise.
18111         * hurd/Makefile [$(versioning) = yes]: Likewise.
18112         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18113         [SHARED].
18114         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18115         [SHARED].
18116         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18117         [SHARED && !NO_HIDDEN].
18118         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18119         [SHARED].
18120         [SHARED && DO_VERSIONING]: Likewise..
18121         * libio/Makefile [$(versioning) = yes]: Change conditionals to
18122         [$(build-shared) = yes].
18123         * manual/install.texi (--disable-versioning): Remove
18124         documentation.
18125         * INSTALL: Regenerated.
18126         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18127         to [SHARED].
18128         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18129         [$(build-shared) = yes].
18130         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18131         * sysdeps/i386/i686/multiarch/strstr-c.c
18132         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18133         [SHARED && !NO_HIDDEN].
18134         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18135         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18136         * sysdeps/powerpc/powerpc32/dl-machine.c
18137         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18138         * sysdeps/powerpc/powerpc32/sysdep.h
18139         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18140         to [SHARED && PIC && !NO_HIDDEN].
18141         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18142         conditional to [SHARED].
18143
18144 2013-09-04   Will Newton  <will.newton@linaro.org>
18145
18146         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18147         * benchtests/bench-string.h: Include bench-timing.h instead
18148         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18149         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18150         call to HP_TIMING_DIFF_INIT.
18151         * benchtests/bench-memccpy.c: Use bench-timing.h macros
18152         instead of hp-timing.h macros.
18153         * benchtests/bench-memchr.c: Likewise.
18154         * benchtests/bench-memcmp.c: Likewise.
18155         * benchtests/bench-memcpy.c: Likewise.
18156         * benchtests/bench-memmem.c: Likewise.
18157         * benchtests/bench-memmove.c: Likewise.
18158         * benchtests/bench-memset.c: Likewise.
18159         * benchtests/bench-rawmemchr.c: Likewise.
18160         * benchtests/bench-strcasecmp.c: Likewise.
18161         * benchtests/bench-strcasestr.c: Likewise.
18162         * benchtests/bench-strcat.c: Likewise.
18163         * benchtests/bench-strchr.c: Likewise.
18164         * benchtests/bench-strcmp.c: Likewise.
18165         * benchtests/bench-strcpy.c: Likewise.
18166         * benchtests/bench-strcpy_chk.c: Likewise.
18167         * benchtests/bench-strlen.c: Likewise.
18168         * benchtests/bench-strncasecmp.c: Likewise.
18169         * benchtests/bench-strncat.c: Likewise.
18170         * benchtests/bench-strncmp.c: Likewise.
18171         * benchtests/bench-strncpy.c: Likewise.
18172         * benchtests/bench-strnlen.c: Likewise.
18173         * benchtests/bench-strpbrk.c: Likewise.
18174         * benchtests/bench-strrchr.c: Likewise.
18175         * benchtests/bench-strspn.c: Likewise.
18176         * benchtests/bench-strstr.c: Likewise.
18177
18178 2013-09-04  Will Newton  <will.newton@linaro.org>
18179
18180         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18181
18182 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18183
18184         [BZ #15427]
18185         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18186         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18187         * math/libm-test.inc (lgamma_test_data): Add more tests.
18188         * sysdeps/i386/fpu/libm-test-ulps: Update.
18189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18190
18191 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18192
18193         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18195         Add ifunc.
18196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18197         Add strcmp-sse2-unaligned
18198         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18199
18200 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18201
18202         * Versions.def (libc): Add GLIBC_2.19.
18203
18204 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18205
18206         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18207         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18208
18209 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18210
18211         [BZ #14155]
18212         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18213         intermediate calculations in recurrence.
18214         (__ieee754_ynf): Likewise.
18215         * math/libm-test.inc (jn_test_data): Do not allow spurious
18216         underflow exception.  Add more tests.
18217         (yn_test_data): Add more tests.
18218         * sysdeps/i386/fpu/libm-test-ulps: Update.
18219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18220
18221 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18222
18223         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18224
18225 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18226
18227         * csu/init-first.c: Fix then/than typos.
18228         * locale/programs/ld-collate.c: Likewise.
18229         * locale/programs/linereader.h: Likewise.
18230         * manual/charset.texi: Likewise.
18231         * manual/filesys.texi: Likewise.
18232         * manual/stdio.texi: Likewise.
18233         * manual/string.texi: Likewise.
18234         * stdlib/fmtmsg.c: Likewise.
18235         * sysdeps/i386/stpncpy.S: Likewise.
18236         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18237         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18238         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18239         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18240
18241 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18242
18243         * elf/dl-open.c: Fix typos.
18244         * iconvdata/gbbig5.c: Likewise.
18245         * iconvdata/iso-2022-jp.c: Likewise.
18246         * iconv/gconv_int.h: Likewise.
18247         * iconv/loop.c: Likewise.
18248         * nis/rpcsvc/nis.h: Likewise.
18249         * resolv/ns_name.c: Likewise.
18250         * stdio-common/vfscanf.c: Likewise.
18251         * streams/stropts.h: Likewise.
18252         * sunrpc/rpc_thread.c: Likewise.
18253         * sysdeps/i386/strpbrk.S: Likewise.
18254         * sysdeps/ieee754/k_standard.c: Likewise.
18255         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18256         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18257         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18258         * sysdeps/mach/hurd/profil.c: Likewise.
18259         * sysdeps/s390/dl-procinfo.h: Likewise.
18260         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18261         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18262         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18263         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18264         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18265
18266 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18267
18268         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18269         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18270
18271 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18272
18273         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18274         aix specific files.
18275         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18276         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18277         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18278         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18279         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18280         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18281         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18282         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18283
18284 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18285             Roland McGrath  <roland@hack.frob.com>
18286
18287         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18288         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18289
18290 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18291
18292         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18293         __executable_start symbol instead of _start.
18294
18295 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18296
18297         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18298         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18299         Move macros to...
18300         * sysdeps/gnu/ldsodefs.h: ... this new file.
18301
18302         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18303         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18304         instead of ELFOSABI_LINUX.
18305
18306         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18307         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18308         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18309         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18310         Likewise.
18311         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18312         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18313         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18314         Likewise.
18315         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18316         (ibm_extended_long_double): Add ieee_nan member.
18317         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18318         (do_test): New function.
18319
18320         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18321         TEST_TRUNC.
18322         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18323         functions, renamed from truncdfsf_test, trunctfsf_test,
18324         trunctfdf_test.
18325         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18326         functions.
18327         (do_test): Run all these.
18328
18329 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18330
18331         * argp/argp-help.c: Fix typos.
18332         * argp/argp-parse.c: Likewise.
18333         * debug/backtracesyms.c: Likewise.
18334         * elf/elf.h: Likewise.
18335         * malloc/malloc.c: Likewise.
18336         * nis/nis_print.c: Likewise.
18337         * resolv/res_comp.c: Likewise.
18338         * stdlib/stdlib.h: Likewise.
18339         * sunrpc/clnt_tcp.c: Likewise.
18340         * sunrpc/clnt_udp.c: Likewise.
18341         * sunrpc/clnt_unix.c: Likewise.
18342         * sysdeps/unix/bsd/ptsname.c: Likewise.
18343         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18344         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18346         Likewise.
18347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18348         Likewise.
18349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18350         Likewise.
18351         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18352
18353 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18354
18355         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18357
18358 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18359
18360         [BZ #15897]
18361         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18362         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18363         ($(objpfx)bug-dl-leaf): New rule.
18364         ($(objpfx)bug-dl-leaf.so): Likewise.
18365         ($(objpfx)bug-dl-leaf.out): Likewise.
18366         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18367         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18368         * dlfcn/bug-dl-leaf.c: New test.
18369         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18370         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18371         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18372         (dlclose): Likewise.
18373         (dlmopen): Likewise.
18374
18375 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18376
18377         * include/netdb.h [!_ISOMAC]:
18378         Don't include <tls.h>.
18379         (h_errno, __libc_h_errno): Move declaration and macros out of
18380         [_LIBC_REENTRANT].
18381
18382         * include/resolv.h [_RESOLV_H_]:
18383         Don't include <tls.h>.
18384         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18385         * resolv/res_libc.c: Don't include <tls.h>.
18386         (_res): Use __attribute__ ((nocommon)) in place of
18387         __attribute__ ((section (".bss"))).
18388
18389         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18390         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18391
18392         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18393
18394         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18395         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18396
18397         * resolv/res_mkquery.c: Include <sys/time.h>.
18398
18399         * inet/ifreq.c: Moved to ...
18400         * sysdeps/unix/ifreq.c: ... here.
18401         * inet/ifreq.c: New file, true stub version.
18402
18403         * socket/sa_len.c: New file.
18404         * socket/Makefile (aux): Add it.
18405         * sysdeps/unix/sysv/linux/Makefile
18406         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18407         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18408         and #include <socket/sa_len.c>.
18409         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18410         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18411
18412         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18413         * bits/socket.h: ... here.
18414
18415         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18416         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18417         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18418
18419 2013-08-27  Andreas Schwab  <schwab@suse.de>
18420
18421         [BZ #15736]
18422         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18423         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18424         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18425         * string/test-strcasecmp.c (test_main): Run tests in several
18426         locales.
18427         * string/test-strncasecmp.c (test_main): Likewise.
18428
18429         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18430         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18431         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18432         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18433         (__strncasecmp_ssse3) [PIC]: Likewise.
18434
18435 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18436
18437         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18438
18439         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18440         instead of explicitly declaring xdecrypt.
18441         * nis/nss_nis/nis-publickey.c: Likewise.
18442
18443 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18444
18445         [BZ #15890]
18446         * nscd/aicache.c: Include res_hconf.h.
18447         (addhstaiX): Initialize res_hconf.
18448
18449 2013-08-26  Andreas Schwab  <schwab@suse.de>
18450
18451         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18452         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18453
18454 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18455
18456         * nscd/aicache.c (addhstaiX): Fix indentation.
18457
18458 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18459
18460         * configure.ac: Quote $build_pt_chown test.
18461         * configure: Regenerated.
18462
18463 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18464
18465         [BZ #15532]
18466         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18467         * math/s_cexpf.c (__cexpf): Likewise.
18468         * math/s_cexpl.c (__cexpl): Likewise.
18469         * math/libm-test.inc (cexp_test_data): Correct expected return
18470         value for NaN + i0.  Add another test.
18471
18472 2013-08-22  David S. Miller  <davem@davemloft.net>
18473
18474         * po/ca.po: Update Catalan translation from translation project.
18475         * po/uk.po: Add Ukrainian translations from translation project.
18476
18477 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18478
18479         [BZ #15797]
18480         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18481         is infinite, not alongside NaN test.
18482         * math/s_fdimf.c (__fdimf): Likewise.
18483         * math/s_fdiml.c (__fdiml): Likewise.
18484         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18485         errno is unchanged.
18486
18487 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18488
18489         * argp/argp-help.c: Fix typos.
18490         * crypt/speeds.c: Likewise.
18491         * csu/check_fds.c: Likewise.
18492         * elf/dl-load.c: Likewise.
18493         * elf/dl-open.c: Likewise.
18494         * elf/reldep3.c: Likewise.
18495         * elf/reldep.c: Likewise.
18496         * elf/sprof.c: Likewise.
18497         * iconv/iconv_charmap.c: Likewise.
18498         * iconv/skeleton.c: Likewise.
18499         * iconv/strtab.c: Likewise.
18500         * io/lockf64.c: Likewise.
18501         * libio/libioP.h: Likewise.
18502         * resolv/gai_notify.c: Likewise.
18503         * resolv/ns_name.c: Likewise.
18504         * resolv/ns_samedomain.c: Likewise.
18505         * resolv/res_send.c: Likewise.
18506         * stdlib/random.c: Likewise.
18507         * sunrpc/rpc/xdr.h: Likewise.
18508         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18509         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18510         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18511         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18512         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18513         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18514         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18515         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18516         * sysdeps/mach/hurd/check_fds.c: Likewise.
18517         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18518         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18519         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18520         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18521         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18522         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18523         * sysdeps/pthread/aio_notify.c: Likewise.
18524         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18525         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18526         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18527         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18528         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18529
18530 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18531
18532         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18533         version if bit_Slow_SSE4_2 is set.
18534         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18535         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18536
18537 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18538
18539         [BZ #15867]
18540         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18541         trampoline stack frame information.
18542         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18543         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18544         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18545         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18546         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18547         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18548         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18549         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18550         sa_flags value.
18551         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18552         interrupting a syscall and set with option SA_SIGINFO.
18553
18554 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18555
18556         [BZ #15531]
18557         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18558         argument is infinite.
18559         * math/s_cprojf.c (__cprojf): Likewise.
18560         * math/s_cprojl.c (__cprojl): Likewise.
18561         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18562         * math/libm-test.inc (cproj_test_data): Add more tests.
18563
18564         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18565
18566         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18567         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18568         size.  Use __ffs to determine corresponding shift.
18569
18570 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18571             Roland McGrath  <roland@hack.frob.com>
18572
18573         * Makefile (INSTALL): Remove trailing blank lines from output of
18574         makeinfo.
18575
18576 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18577
18578         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18579         Align 32 bit compat elf_greg to 8 bytes.
18580
18581 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18582
18583         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18584
18585 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18586
18587         * string/strcoll_l.c (coll_seq): New structure.
18588         (get_next_seq_cached): New function.
18589         (get_next_seq): New function.
18590         (do_compare): New function.
18591         (STRCOLL): Use GNU style definition.  Simplify implementation
18592         by using get_next_seq, get_next_seq_cached and do_compare.
18593
18594 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18595
18596         [BZ #14699]
18597         CVE-2013-4237
18598         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18599         member.
18600         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18601         member.
18602         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18603         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18604         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18605         conditional.
18606         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18607         GETDENTS_64BIT_ALIGNED.
18608         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18609         * manual/filesys.texi (Reading/Closing Directory): Document
18610         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18611         strongly.
18612         * manual/conf.texi (Limits for Files): Add portability note to
18613         NAME_MAX, PATH_MAX.
18614         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18615
18616 2013-08-13  Andreas Schwab  <schwab@suse.de>
18617
18618         [BZ #15749]
18619         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18620         of fabs.
18621         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18622         LDBL_MAX_EXP >= 16384]: Add tests for it.
18623
18624 2013-08-12  David S. Miller  <davem@davemloft.net>
18625
18626         * version.h (RELEASE): Set to "development".
18627         (VERSION): Set to "2.18.90".
18628         * NEWS: Add 2.19 section.
18629
18630 2013-08-03  David S. Miller  <davem@davemloft.net>
18631
18632         * po/ko.po: Update Korean translation from translation project.
18633
18634 2013-08-01  David S. Miller  <davem@davemloft.net>
18635
18636         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18637         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18638         Bilka.
18639
18640 2013-07-30  David S. Miller  <davem@davemloft.net>
18641
18642         * po/fr.po: Update French translation from translation project.
18643
18644 2013-07-28  David S. Miller  <davem@davemloft.net>
18645
18646         * po/cs.po: Update Czech translation from translation project.
18647
18648         * po/sv.po: Update Swedish translation from translation project.
18649
18650 2013-07-27  David S. Miller  <davem@davemloft.net>
18651
18652         * po/eo.po: Update Esperanto translation from translation project.
18653
18654         * po/vi.po: Update Vietnamese translation from translation project.
18655
18656         * po/de.po: Update German translation from translation project.
18657
18658 2013-07-26  David S. Miller  <davem@davemloft.net>
18659
18660         * po/bg.po: Update Bulgarian translation from translation project.
18661
18662         * po/nl.po: Update Dutch translation from translation project.
18663         * po/pl.po: Update Polish translation from translation project.
18664         * po/ru.po: Update Russian translation from translation project.
18665
18666 2013-07-24  David S. Miller  <davem@davemloft.net>
18667
18668         * po/libc.pot: Update.
18669
18670 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18671
18672         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18673         variable page size.
18674         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18675         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18676         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18677
18678 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18679
18680         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18681
18682 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18683             Andreas Schwab  <schwab@suse.de>
18684             Roland McGrath  <roland@hack.frob.com>
18685             Joseph Myers  <joseph@codesourcery.com>
18686             Carlos O'Donell  <carlos@redhat.com>
18687
18688         [BZ #15755]
18689         * config.h.in: Define HAVE_PT_CHOWN.
18690         * config.make.in (build-pt-chown): New variable.
18691         * configure.in (--enable-pt_chown): New configure option.
18692         * configure: Regenerate.
18693         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18694         build-pt-chown is enabled.
18695         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18696         pt_chown to fix pty ownership.
18697         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18698         CLOSE_ALL_FDS.
18699         * manual/install.texi (Configuring and compiling): Mention
18700         --enable-pt_chown. Add @findex for grantpt.
18701         * INSTALL: Regenerate.
18702
18703 2013-07-20  David S. Miller  <davem@davemloft.net>
18704
18705         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18706         difference between 32-bit and 64-bit.
18707
18708 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18709
18710         [BZ #15711]
18711         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18712         Avoid system header dependency with -ffreestanding.
18713         ($(objpfx)bits/syscall%d): Likewise.
18714
18715 2013-07-13  David S. Miller  <davem@davemloft.net>
18716
18717         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18718         underflows from atanl/atan2l due to bug 15319.
18719         (casinh_test_data): Likewise.
18720
18721 2013-07-07  David S. Miller  <davem@davemloft.net>
18722
18723         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18724
18725 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18726
18727         * sysdeps/i386/fpu/libm-test-ulps: Update.
18728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18729
18730 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18731
18732         * configure.in (--enable-lock-elision): Fix message text.
18733         * INSTALL: Regenerate.
18734         * configure: Regenerate.
18735
18736 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18737
18738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18739
18740 2013-07-03  Andreas Jaeger  <aj@suse.de>
18741
18742         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18743         define.
18744         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18745         (ptrace_peeksiginfo_args): Add.
18746         (__ptrace_peeksiginfo_flags): Add.
18747         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18748         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18749         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18750
18751 2013-07-03  Allan McRae  <allan@archlinux.org>
18752
18753         * sysdeps/i386/fpu/libm-test-ulps: Update.
18754
18755 2013-07-02  David S. Miller  <davem@davemloft.net>
18756
18757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18758
18759 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18760
18761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18762
18763 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18764
18765         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18767
18768 2013-07-02  Andi Kleen <ak@linux.intel.com>
18769
18770         * config.h.in (ENABLE_LOCK_ELISION): Add.
18771         * configure.in (--enable-lock-elision): Add option.
18772         * manual/install.texi: Document --enable lock elision.
18773         * configure: Regenerate
18774         * INSTALL: Regenerate.
18775
18776 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18777
18778         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18779         SSE4.2 strcasecmp for libc.a.
18780         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18781
18782 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18783
18784         [BZ #13304]
18785         * soft-fp/op-common.h (_FP_FMA): New macro.
18786         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18787         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18788         (_FP_MUL_MEAT_1_imm): ... here.
18789         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18790         (_FP_MUL_MEAT_1_wide): ... here.
18791         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18792         (_FP_MUL_MEAT_1_hard): ... here.
18793         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18794         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18795         (_FP_MUL_MEAT_2_wide): ... here.
18796         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18797         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18798         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18799         (_FP_MUL_MEAT_2_gmp): ... here.
18800         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18801         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18802         (_FP_MUL_MEAT_4_wide): ... here.
18803         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18804         (_FP_MUL_MEAT_4_gmp): ... here.
18805         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18806         (_FP_WFRACBITS_DW_S): Likewise.
18807         (_FP_WFRACXBITS_DW_S): Likewise.
18808         (_FP_HIGHBIT_DW_S): Likewise.
18809         (FP_FMA_S): Likewise.
18810         (_FP_FRAC_HIGH_DW_S): Likewise.
18811         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18812         (_FP_WFRACBITS_DW_D): Likewise.
18813         (_FP_WFRACXBITS_DW_D): Likewise.
18814         (_FP_HIGHBIT_DW_D): Likewise.
18815         (FP_FMA_D): Likewise.
18816         (_FP_FRAC_HIGH_DW_D): Likewise.
18817         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18818         (_FP_WFRACBITS_DW_E): Likewise.
18819         (_FP_WFRACXBITS_DW_E): Likewise.
18820         (_FP_HIGHBIT_DW_E): Likewise.
18821         (FP_FMA_E): Likewise.
18822         (_FP_FRAC_HIGH_DW_E): Likewise.
18823         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18824         (_FP_WFRACBITS_DW_Q): Likewise.
18825         (_FP_WFRACXBITS_DW_Q): Likewise.
18826         (_FP_HIGHBIT_DW_Q): Likewise.
18827         (FP_FMA_Q): Likewise.
18828         (_FP_FRAC_HIGH_DW_Q): Likewise.
18829         * soft-fp/fmasf4.c: New file.
18830         * soft-fp/fmadf4.c: Likewise.
18831         * soft-fp/fmatf4.c: Likewise.
18832
18833 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18834
18835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18836         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18837         Silvermont.
18838         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18839         macro.
18840         (index_Slow_SSE4_2): Likewise.
18841         (index_Prefer_PMINUB_for_stringop): Likewise.
18842         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18843         bit_Slow_SSE4_2 is set.
18844         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18845         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18846
18847 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18848
18849         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18850         rtld_global._dl_hwcap2.
18851         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18852         POWER8.
18853         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18854         POWER8 feature descriptions defined in _dl_hwcap2.
18855         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18856         string handling for POWER8 feature bits.
18857         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18858         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18859         _dl_powerpc_cap_flags.
18860         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18861         * sysdeps/powerpc/rtld-global-offsets.sym
18862         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18863         _dl_hwcap2 in the rtld_global_ro structure.
18864
18865 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18866
18867         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18868         hardware capabilities in support of AT_HWCAP2.
18869         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18870         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18871         GLRO(dl_hwcap2).
18872         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18873         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18874         explicitly the unknown a_type display mechanism is used.
18875         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18876         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18877         struct member.
18878         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18879         to macro prototype for AT_HWCAP2 support.
18880         * sysdeps/i386/dl-procinfo.h: Likewise.
18881         * sysdeps/s390/dl-procinfo.h: Likewise.
18882         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18883         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18884         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18885         return -1 for unknown a_type display fallback.
18886         * sysdeps/sparc/dl-procinfo.h: Likewise.
18887         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18888         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18889
18890 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18891
18892         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18893         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18894
18895 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18896
18897         [BZ #12492]
18898         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18899         mprotect making __stack_prot writable.
18900
18901 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18902             Joseph Myers  <joseph@codesourcery.com>
18903
18904         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18905         as being properly aligned.
18906
18907 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18908
18909         * dlfcn/modstatic5.c: New file.
18910         * dlfcn/tststatic5.c: New file.
18911         * dlfcn/Makefile (tests): Add tststatic5.
18912         (tests-static): Likewise.
18913         (modules-names): Add modstatic5.
18914         (tststatic5-ENV): New variable.
18915         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18916
18917         [BZ #15022]
18918         * elf/dl-support.c (_dl_main_map): New variable.
18919         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18920         (_dl_nns, _dl_load_adds): Set to 1.
18921         (_dl_initial_searchlist): Refer to _dl_main_map.
18922         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18923         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18924         call to _dl_get_origin.
18925         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18926         around call_map.
18927         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18928         * dlfcn/modstatic3.c: New file.
18929         * dlfcn/tststatic3.c: New file.
18930         * dlfcn/tststatic4.c: New file.
18931         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18932         (tests-static): Likewise.
18933         (modules-names): Add modstatic3.
18934         (tststatic3-ENV, tststatic4-ENV): New variables.
18935         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18936         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18937
18938 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18939
18940         * configure.in (CC): Require GCC version 4.4 or later.
18941         * configure: Regenerated.
18942         * manual/install.texi (Tools for Compilation): Update GCC version
18943         requirement.
18944         * INSTALL: Regenerated.
18945
18946 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18947
18948         [BZ #15674]
18949         * string/test-memcmp.c (check2): New.
18950         (main): Call check2.
18951
18952         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18953
18954 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18955
18956         [BZ #15022]
18957         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18958         over to...
18959         (dl_open_worker) [!SHARED]: ... here.
18960
18961 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18962
18963         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18964
18965 2013-06-25  Richard Henderson  <rth@redhat.com>
18966
18967         * locale/programs/locarchive.c: Include <libc-internal.h>
18968
18969 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18970
18971         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18972         trailing whitespace removed.
18973
18974 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18975
18976         [BZ #10283]
18977         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18978         * locale/programs/locarchive.c: Include libc-mmap.h.
18979         (prepare_address_space): Take two new outputs (the mmap base and len).
18980         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18981         values.
18982         (create_archive): Declare new mmap base and len values for
18983         prepare_address_space, and store the result in ah.
18984         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18985         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18986         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18987         Declare new mmap base and len values for
18988         prepare_address_space, and store the result in new_ah.
18989         (open_archive): Declare new mmap base and len values for
18990         prepare_address_space, and store the result in ah.
18991         (close_archive): If ah->mmap_base is not NULL, use that and
18992         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18993         * sysdeps/generic/libc-mmap.h: New file.
18994
18995 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18996
18997         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18998         (ALIGN_UP): Likewise.
18999         (PTR_ALIGN_DOWN): Likewise.
19000         (PTR_ALIGN_UP): Likewise.
19001
19002 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19003
19004         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19005         entry mapped to PPC_PLATFORM_POWER8.
19006         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19007         POWER8.
19008         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19009         (_dl_string_platform): Add case for exporting platform position for
19010         POWER8.
19011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19012         search path to sysdeps/powerpc/powerpc32/power8 directory.
19013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19014         search path to sysdeps/powerpc/powerpc64/power8 directory.
19015         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19016         power7 directories.
19017         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19018         power7 directories.
19019
19020 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19021
19022         * INSTALL: Regenerate.
19023
19024         * nscd/connections.c (nscd_init): Fix comment.
19025
19026 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
19027
19028         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19029
19030         [BZ #15667]
19031         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19032         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19033
19034 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19035
19036         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19037         DL_DST_REQ_STATIC.
19038         (DL_DST_REQ_STATIC): Remove macro.
19039
19040 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
19041
19042         [BZ #7006]
19043         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19044         with a shift of 0 bits.
19045
19046 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19047
19048         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19049         $(tststatic-ENV).
19050
19051 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19052
19053         [BZ #15655]
19054         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19055
19056 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19057
19058         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19059         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19060         accepts -fno-tree-loop-distribute-patterns.
19061         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19062         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19063         recursive call.
19064         * string/memset.c (memset): Likewise.
19065         * string/test-memmove.c (simple_memmove): Disable loop transformation
19066         to library calls.
19067         * string/test-memset.c (simple_memset): Likewise.
19068         * benchtests/bench-memmove.c (simple_memmove): Likewise.
19069         * benchtests/bench-memset.c (simple_memset): Likewise.
19070         * configure: Regenerated.
19071
19072 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
19073
19074         * math/test-misc.c (main): Ignore fesetround failure when failures
19075         of subsequent rounding tests would be ignored.
19076
19077         [BZ #15654]
19078         * math/fedisblxcpt.c (fedisableexcept): Return 0.
19079         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19080         * math/fegetenv.c (__fegetenv): Return 0.
19081         * math/fegetexcept.c (fegetexcept): Return 0.
19082         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19083         FE_TONEAREST.
19084         * math/feholdexcpt.c (feholdexcept): Return 0.
19085         * math/fesetenv.c (__fesetenv): Return 0.
19086         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19087         argument FE_TONEAREST.
19088         * math/feupdateenv.c (__feupdateenv): Return 0.
19089         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19090
19091 2013-06-18  Roland McGrath  <roland@hack.frob.com>
19092
19093         * elf/rtld-Rules (rtld-compile-command.S): New variable.
19094         (rtld-compile-command.s, rtld-compile-command.c): New variables.
19095         ($(objpfx)rtld-%.os rules): Use them.
19096
19097 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19098
19099         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19100         fields.
19101
19102 2013-06-17  Roland McGrath  <roland@hack.frob.com>
19103
19104         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19105         length of target pattern, then descending length of dependency pattern.
19106         * configure.in (AWK): Require gawk 3.1.2 or newer.
19107         * manual/install.texi (Tools for Compilation): Say that we do.
19108         * configure: Regenerated.
19109
19110         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19111         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19112         * scripts/sysd-rules.awk: ... this new script.
19113         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19114         than a glob-style pattern.
19115
19116 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
19117
19118         * math/test-misc.c (main): Do not treat incorrectly rounded
19119         conversions as failure unless ROUNDING_TESTS passes.
19120
19121 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
19122
19123         [BZ #15631]
19124         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19125         restore exception state around main square root computation, then
19126         check for inexactness explicitly.
19127
19128         * math/libm-test.inc (fma_test_data): Add another test.
19129
19130 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19131
19132         * manual/threads.texi (Non-POSIX Extensions): New document
19133         node.  Document pthread_getattr_default_np and
19134         pthread_setattr_default_np.
19135
19136         * Versions.def (libpthread): Add GLIBC_2.18.
19137         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19139         Likewise.
19140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19141         Likewise.
19142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19143         Likewise.
19144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19145         Likewise.
19146         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19147         Likewise.
19148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19149         Likewise.
19150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19151         Likewise.
19152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19153         Likewise.
19154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19155         Likewise.
19156
19157 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19158
19159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19160         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19161
19162 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19163             H.J. Lu  <hjl.tools@gmail.com>
19164
19165         [BZ #15627]
19166         * sysdeps/x86_64/rtld-memset.c: Remove file.
19167         * sysdeps/x86_64/rtld-memset.S: New file.
19168
19169 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19170
19171         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19172         (test_in_one_mode): Take arguments for whether the rounding mode
19173         is supported for each floating-point type.
19174         (do_test): Pass new arguments to test_in_one_mode using
19175         ROUNDING_TESTS.
19176
19177 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19178
19179         * posix/tst-waitid.c (do_test): Distinguish different instances of
19180         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19181         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19182         before entering the kernel for waitpid.
19183
19184 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19185
19186         * NEWS: Fix note on clock function precision.  Text by Roland
19187         McGrath.
19188
19189 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19190
19191         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19192         it into place only when and if the sanity check passes.
19193
19194 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19195
19196         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19197         output for whether conversion result is exact.  Take argument
19198         indicating whether type is IBM long double.
19199         (round_for_all): Change need_exact field to ibm_ld.
19200         * stdlib/tst-strtod-round.c (struct exactness): New type.
19201         (struct test): Change bool ld_ok field to struct exactness exact.
19202         (TEST): Update all definitions for change to field.
19203         (tests): Regenerate array contents.
19204         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19205         field value.  Check for IBM long double here.
19206         (do_test): Update calls to test_in_one_mode.
19207
19208 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19209
19210         [BZ #12515]
19211         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19212         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19213
19214 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19215
19216         [BZ #15605]
19217         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19218         generated by the compiler on loop optimizations.
19219         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19220         general definitions.
19221
19222 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19223
19224         * math/bug-nextafter.c: Include <math-tests.h>.
19225         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19226         the relevant type.
19227         * math/bug-nexttoward.c: Include <math-tests.h>.
19228         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19229         the relevant type.
19230         * math/test-misc.c: Include <math-tests.h>.
19231         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19232         the relevant type.
19233
19234 2013-06-12  Andreas Jaeger  <aj@suse.de>
19235
19236         * po/ia.po: Update Interlingua translation from translation
19237         project.
19238
19239 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19240
19241         * include/fenv.h: Include stdbool.h.
19242         (struct rm_ctx): New structure.
19243         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19244         Define macro.
19245         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19246         (SET_RESTORE_ROUNDF): Likewise.
19247         (SET_RESTORE_ROUNDL): Likewise.
19248         (SET_RESTORE_ROUND_NOEX): Likewise.
19249         (SET_RESTORE_ROUND_NOEXF): Likewise.
19250         (SET_RESTORE_ROUND_NOEXL): Likewise.
19251         (SET_RESTORE_ROUND_53BIT): Likewise.
19252         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19253         (libc_feresetround_noexf_ctx): Likewise.
19254         (libc_feresetround_noexl_ctx): Likewise.
19255         (libc_feholdsetround_53bit_ctx): Likewise.
19256         (libc_feresetround_53bit_ctx): Likewise.
19257         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19258         (libc_feholdexcept_setround_sse_ctx): New function.
19259         (libc_fesetenv_sse_ctx): Likewise.
19260         (libc_feupdateenv_sse_ctx): Likewise.
19261         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19262         (libc_feholdexcept_setround_387_ctx): Likewise.
19263         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19264         (libc_feholdsetround_387_prec_ctx): Likewise.
19265         (libc_feholdsetround_387_ctx): Likewise.
19266         (libc_feholdsetround_387_53bit_ctx): Likewise.
19267         (libc_feholdsetround_sse_ctx): Likewise.
19268         (libc_feresetround_sse_ctx): Likewise.
19269         (libc_feresetround_387_ctx): Likewise.
19270         (libc_feupdateenv_387_ctx): Likewise.
19271         (libc_feholdexcept_setroundf_ctx): Define macro.
19272         (libc_fesetenvf_ctx): Likewise.
19273         (libc_feupdateenvf_ctx): Likewise.
19274         (libc_feholdsetroundf_ctx): Likewise.
19275         (libc_feresetroundf_ctx): Likewise.
19276         (libc_feholdexcept_setround_ctx): Likewise.
19277         (libc_fesetenv_ctx): Likewise.
19278         (libc_feupdateenv_ctx): Likewise.
19279         (libc_feholdsetround_ctx): Likewise.
19280         (libc_feresetround_ctx): Likewise.
19281         (libc_feholdexcept_setroundl_ctx): Likewise.
19282         (libc_feupdateenvl_ctx): Likewise.
19283         (libc_feholdsetroundl_ctx): Likewise.
19284         (libc_feresetroundl_ctx): Likewise.
19285         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19286         (libc_feresetround_53bit_ctx): Likewise.
19287
19288 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19289
19290         * locale/iso-639.def: Convert to UTF-8.
19291
19292 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19293
19294         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19295         (EXCEPTION_TESTS_double): Likewise.
19296         (EXCEPTION_TESTS_long_double): Likewise.
19297         (EXCEPTION_TESTS): Likewise.
19298         * math/libm-test.inc (test_exceptions): Only test exceptions if
19299         EXCEPTION_TESTS (FLOAT).
19300
19301 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19302
19303         * benchtests/Makefile (string-bench): Add strcpy_chk and
19304         stpcpy_chk.
19305         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19306         * benchtests/bench-stpcpy_chk.c: New file.
19307         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19308         * benchtests/bench-strcpy_chk.c: New file.
19309         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19310         code.
19311         (do_test): Likewise.
19312
19313 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19314
19315         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19316         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19317         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19318         with tabs where appropriate.
19319         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19320         dl-procinfo.h.
19321         [PPC_PLATFORM_PPC440]: Likewise.
19322         [PPC_PLATFORM_PPC464]: Likewise.
19323         [PPC_PLATFORM_PPC476]: Likewise.
19324         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19325         ppc464, and ppc476 platform strings merging from ports/
19326         dl-procinfo.h.
19327
19328 2013-06-11  Andreas Schwab  <schwab@suse.de>
19329
19330         [BZ #14991]
19331         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19332         (from_ucs4_idx): Regenerate.
19333         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19334         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19335         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19336         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19337         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19338         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19339         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19340         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19341         from FROM_LOOP and TO_LOOP specific macros.
19342         (BODY): Handle combining characters.
19343         * iconvdata/BIG5HKSCS.irreversible: Update.
19344         * iconvdata/BIG5HKSCS.precomposed: New file.
19345         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19346         characters.
19347         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19348
19349 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19350
19351         * include/sys/time.h: Fix indentation and add copyright header.
19352
19353         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19354         (do_test): Likewise.
19355         * string/test-memchr.c (do_one_test): Likewise.
19356         (do_test): Likewise.
19357         * string/test-memcmp.c (do_one_test): Likewise.
19358         (do_test): Likewise.
19359         * string/test-memcpy.c (do_one_test): Likewise.
19360         (do_test): Likewise.
19361         * string/test-memmem.c (do_one_test): Likewise.
19362         (do_test): Likewise.
19363         (do_random_tests): Likewise.
19364         * string/test-memmove.c (do_one_test): Likewise.
19365         (do_test): Likewise.
19366         * string/test-memset.c (do_one_test): Likewise.
19367         (do_test): Likewise.
19368         * string/test-rawmemchr.c (do_one_test): Likewise.
19369         (do_test): Likewise.
19370         * string/test-strcasecmp.c (do_one_test): Likewise.
19371         (do_test): Likewise.
19372         * string/test-strcasestr.c (do_one_test): Likewise.
19373         (do_test): Likewise.
19374         * string/test-strcat.c (do_one_test): Likewise.
19375         (do_test): Likewise.
19376         * string/test-strchr.c (do_one_test): Likewise.
19377         (do_test): Likewise.
19378         * string/test-strcmp.c (do_one_test): Likewise.
19379         (do_test): Likewise.
19380         * string/test-strcpy.c (do_one_test): Likewise.
19381         (do_test): Likewise.
19382         * string/test-string.h: Likewise.
19383         (test_init): Likewise.
19384         * string/test-strlen.c (do_one_test): Likewise.
19385         (do_test): Likewise.
19386         * string/test-strncasecmp.c (do_one_test): Likewise.
19387         (do_test): Likewise.
19388         * string/test-strncat.c (do_one_test): Likewise.
19389         (do_test): Likewise.
19390         * string/test-strncmp.c (do_one_test): Likewise.
19391         (do_test_limit): Likewise.
19392         (do_test): Likewise.
19393         * string/test-strncpy.c (do_one_test): Likewise.
19394         (do_test): Likewise.
19395         * string/test-strnlen.c (do_one_test): Likewise.
19396         (do_test): Likewise.
19397         * string/test-strpbrk.c (do_one_test): Likewise.
19398         (do_test): Likewise.
19399         * string/test-strrchr.c (do_one_test): Likewise.
19400         (do_test): Likewise.
19401         * string/test-strspn.c (do_one_test): Likewise.
19402         (do_test): Likewise.
19403         * string/test-strstr.c (do_one_test): Likewise.
19404         (do_test): Likewise.
19405
19406         * benchtests/Makefile (string-bench): Add string benchmarks.
19407         * benchtests/bench-bcopy-ifunc.c: New file.
19408         * benchtests/bench-bcopy.c: New file.
19409         * benchtests/bench-bzero-ifunc.c: New file.
19410         * benchtests/bench-bzero.c: New file.
19411         * benchtests/bench-memccpy-ifunc.c: New file.
19412         * benchtests/bench-memccpy.c: New file.
19413         * benchtests/bench-memchr-ifunc.c: New file.
19414         * benchtests/bench-memchr.c: New file.
19415         * benchtests/bench-memcmp-ifunc.c: New file.
19416         * benchtests/bench-memcmp.c: New file.
19417         * benchtests/bench-memmem-ifunc.c: New file.
19418         * benchtests/bench-memmem.c: New file.
19419         * benchtests/bench-memmove-ifunc.c: New file.
19420         * benchtests/bench-memmove.c: New file.
19421         * benchtests/bench-mempcpy-ifunc.c: New file.
19422         * benchtests/bench-mempcpy.c: New file.
19423         * benchtests/bench-memset-ifunc.c: New file.
19424         * benchtests/bench-memset.c: New file.
19425         * benchtests/bench-rawmemchr-ifunc.c: New file.
19426         * benchtests/bench-rawmemchr.c: New file.
19427         * benchtests/bench-stpcpy-ifunc.c: New file.
19428         * benchtests/bench-stpcpy.c: New file.
19429         * benchtests/bench-stpncpy-ifunc.c: New file.
19430         * benchtests/bench-stpncpy.c: New file.
19431         * benchtests/bench-strcasecmp-ifunc.c: New file.
19432         * benchtests/bench-strcasecmp.c: New file.
19433         * benchtests/bench-strcasestr-ifunc.c: New file.
19434         * benchtests/bench-strcasestr.c: New file.
19435         * benchtests/bench-strcat-ifunc.c: New file.
19436         * benchtests/bench-strcat.c: New file.
19437         * benchtests/bench-strchr-ifunc.c: New file.
19438         * benchtests/bench-strchr.c: New file.
19439         * benchtests/bench-strchrnul-ifunc.c: New file.
19440         * benchtests/bench-strchrnul.c: New file.
19441         * benchtests/bench-strcmp-ifunc.c: New file.
19442         * benchtests/bench-strcmp.c: New file.
19443         * benchtests/bench-strcpy-ifunc.c: New file.
19444         * benchtests/bench-strcpy.c: New file.
19445         * benchtests/bench-strcspn-ifunc.c: New file.
19446         * benchtests/bench-strcspn.c: New file.
19447         * benchtests/bench-strlen-ifunc.c: New file.
19448         * benchtests/bench-strlen.c: New file.
19449         * benchtests/bench-strncasecmp-ifunc.c: New file.
19450         * benchtests/bench-strncasecmp.c: New file.
19451         * benchtests/bench-strncat-ifunc.c: New file.
19452         * benchtests/bench-strncat.c: New file.
19453         * benchtests/bench-strncmp-ifunc.c: New file.
19454         * benchtests/bench-strncmp.c: New file.
19455         * benchtests/bench-strncpy-ifunc.c: New file.
19456         * benchtests/bench-strncpy.c: New file.
19457         * benchtests/bench-strnlen-ifunc.c: New file.
19458         * benchtests/bench-strnlen.c: New file.
19459         * benchtests/bench-strpbrk-ifunc.c: New file.
19460         * benchtests/bench-strpbrk.c: New file.
19461         * benchtests/bench-strrchr-ifunc.c: New file.
19462         * benchtests/bench-strrchr.c: New file.
19463         * benchtests/bench-strspn-ifunc.c: New file.
19464         * benchtests/bench-strspn.c: New file.
19465         * benchtests/bench-strstr-ifunc.c: New file.
19466         * benchtests/bench-strstr.c: New file.
19467
19468         * benchtests/Makefile: Disable parallel execution of targets.
19469         (string-bench): Add memcpy.
19470         (benchset): New variable to store a list of benchmark sets.
19471         (bench-func): Renamed from bench.
19472         (bench-set): New target.
19473         (bench): Depend on bench-func and bench-set.
19474         * benchtests/README: Add section on benchmark sets.
19475         * benchtests/bench-memcpy-ifunc.c: New file.
19476         * benchtests/bench-memcpy.c: New file.
19477         * benchtests/bench-string.h: New file.
19478
19479 2013-06-11  Andreas Schwab  <schwab@suse.de>
19480
19481         [BZ #15577]
19482         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19483         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19484         values in the triple.
19485         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19486         terminator in the group key.
19487
19488 2013-06-11  Andreas Jaeger  <aj@suse.de>
19489
19490         * po/zh_TW.po: Update Chinese (traditional) translation from
19491         translation project.
19492
19493 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19494
19495         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19496         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19497         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19498         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19499         (clock_getcpuclockid): Likewise.
19500         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19501         Add weak_alias and libc_hidden_def.
19502         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19503         * rt/clock_gettime.c (clock_gettime): Rename to
19504         __clock_gettime.  Add weak_alias and libc_hidden_def.
19505         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19506         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19507         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19508         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19509         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19510         Likewise.
19511         * rt/clock_settime.c (clock_settime): Rename to
19512         __clock_settime.  Add weak_alias and libc_hidden_def.
19513         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19514
19515 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19516
19517         * mach/err_boot.sub: Remove trailing whitespace.
19518         * mach/err_ipc.sub: Likewise.
19519         * mach/err_mach.sub: Likewise.
19520
19521         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19522         (ROUNDING_TESTS_double): Likewise.
19523         (ROUNDING_TESTS_long_double): Likewise.
19524         (ROUNDING_TESTS): Likewise.
19525         * math/libm-test.inc: Include <math-tests.h>.
19526         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19527         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19528         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19529         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19530
19531 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19532
19533         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19534         of assigning.
19535
19536 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19537
19538         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19539         otherwise empty TRANS lines.
19540         * sysdeps/gnu/errlist.c: Regenerated.
19541
19542         * catgets/gencat.c (error_print): Use (void) in function
19543         definition.
19544         * crypt/crypt_util.c (__init_des): Likewise.
19545         * crypt/speeds.c (Stop): Likewise.
19546         (main): Likewise.
19547         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19548         * inet/ruserpass.c (token): Likewise.
19549         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19550         * intl/localealias.c (extend_alias_table): Likewise.
19551         * intl/plural-exp.c (init_germanic_plural): Likewise.
19552         * libio/fcloseall.c (__fcloseall): Likewise.
19553         * libio/genops.c (_IO_flush_all): Likewise.
19554         (_IO_flush_all_linebuffered): Likewise.
19555         (_IO_cleanup): Likewise.
19556         (_IO_iter_begin): Likewise.
19557         (_IO_iter_end): Likewise.
19558         (_IO_list_lock): Likewise.
19559         (_IO_list_unlock): Likewise.
19560         (_IO_list_resetlock): Likewise.
19561         * libio/getchar.c (getchar): Likewise.
19562         * libio/getchar_u.c (getchar_unlocked): Likewise.
19563         * libio/getwchar.c (getwchar): Likewise.
19564         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19565         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19566         * login/getpt.c (__getpt): Likewise.
19567         * login/tst-utmp.c (main): Likewise.
19568         * malloc/hooks.c (__malloc_check_init): Likewise.
19569         * malloc/malloc.c (__malloc_stats): Likewise.
19570         * malloc/mtrace.c (tr_break): Likewise.
19571         (mtrace): Likewise.
19572         (muntrace): Likewise.
19573         * misc/fstab.c (endfsent): Likewise.
19574         * misc/getclktck.c (__getclktck): Likewise.
19575         * misc/getdtsz.c (__getdtablesize): Likewise.
19576         * misc/gethostid.c (gethostid): Likewise.
19577         * misc/getpagesize.c (__getpagesize): Likewise.
19578         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19579         (__get_nprocs): Likewise.
19580         (__get_phys_pages): Likewise.
19581         (__get_avphys_pages): Likewise.
19582         * misc/getttyent.c (getttyent): Likewise.
19583         (setttyent): Likewise.
19584         (endttyent): Likewise.
19585         * misc/getusershell.c (getusershell): Likewise.
19586         (endusershell): Likewise.
19587         (setusershell): Likewise.
19588         (initshells): Likewise.
19589         * misc/hsearch.c (__hdestroy): Likewise.
19590         * misc/sync.c (sync): Likewise.
19591         * misc/syslog.c (closelog_internal): Likewise.
19592         (closelog): Likewise.
19593         * misc/ttyslot.c (ttyslot): Likewise.
19594         * misc/vhangup.c (vhangup): Likewise.
19595         * posix/fork.c (__fork): Likewise.
19596         * posix/getegid.c (__getegid): Likewise.
19597         * posix/geteuid.c (__geteuid): Likewise.
19598         * posix/getgid.c (__getgid): Likewise.
19599         * posix/getpid.c (__getpid): Likewise.
19600         * posix/getppid.c (__getppid): Likewise.
19601         * posix/getuid.c (__getuid): Likewise.
19602         * posix/pause.c (pause): Likewise.
19603         * posix/setpgrp.c (setpgrp): Likewise.
19604         * posix/setsid.c (__setsid): Likewise.
19605         * posix/test-vfork.c (noop): Likewise.
19606         * resolv/gethnamaddr.c (_endhtent): Likewise.
19607         (_gethtent): Likewise.
19608         (ht_endhostent): Likewise.
19609         (gethostent): Likewise.
19610         (dns_service): Likewise.
19611         * stdlib/drand48.c (drand48): Likewise.
19612         * stdlib/lrand48.c (lrand48): Likewise.
19613         * stdlib/mrand48.c (mrand48): Likewise.
19614         * stdlib/rand.c (rand): Likewise.
19615         * stdlib/random.c (__random): Likewise.
19616         * stdlib/setenv.c (clearenv): Likewise.
19617         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19618         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19619         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19620         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19621         (__get_nprocs): Likewise.
19622         (__get_phys_pages): Likewise.
19623         (__get_avphys_pages): Likewise.
19624         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19625         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19626         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19627         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19628         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19629         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19630         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19631         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19632         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19633         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19634         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19635         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19636         * sysdeps/posix/clock.c (clock): Likewise.
19637         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19638         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19639         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19640         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19641         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19642         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19643         (__get_nprocs_conf): Likewise.
19644         (__get_phys_pages): Likewise.
19645         (__get_avphys_pages): Likewise.
19646         * time/clock.c (clock): Likewise.
19647         * time/tzset.c (__tzname_max): Likewise.
19648
19649 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19650
19651         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19652         (__bswap_32): Do not use "register".
19653         * crypt/crypt.c (_ufc_doit_r): Likewise.
19654         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19655         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19656         * gmon/gmon.c (__monstartup): Likewise.
19657         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19658         * hurd/hurdmalloc.c (more_memory): Likewise.
19659         (malloc): Likewise.
19660         (free): Likewise.
19661         (realloc): Likewise.
19662         (malloc_fork_prepare): Likewise.
19663         (malloc_fork_parent): Likewise.
19664         (malloc_fork_child): Likewise.
19665         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19666         (_svcauth_des): Likewise.
19667         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19668         * inet/inet_net.c (inet_network): Likewise.
19669         * inet/inet_netof.c (inet_netof): Likewise.
19670         * inet/rcmd.c (__validuser2_sa): Likewise.
19671         * io/fts.c (fts_open): Likewise.
19672         (fts_load): Likewise.
19673         (fts_close): Likewise.
19674         (fts_read): Likewise.
19675         (fts_children): Likewise.
19676         (fts_build): Likewise.
19677         (fts_stat): Likewise.
19678         (fts_sort): Likewise.
19679         (fts_alloc): Likewise.
19680         (fts_lfree): Likewise.
19681         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19682         (_IO_file_xsgetn): Likewise.
19683         (_IO_file_xsgetn_mmap): Likewise.
19684         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19685         (_IO_cookie_write): Likewise.
19686         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19687         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19688         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19689         * malloc/obstack.c (_obstack_begin): Likewise.
19690         (_obstack_begin_1): Likewise.
19691         (_obstack_newchunk): Likewise.
19692         (_obstack_allocated_p): Likewise.
19693         (obstack_free): Likewise.
19694         (_obstack_memory_used): Likewise.
19695         * misc/getttyent.c (getttynam): Likewise.
19696         (getttyent): Likewise.
19697         (skip): Likewise.
19698         (value): Likewise.
19699         * misc/getusershell.c (initshells): Likewise.
19700         * misc/syslog.c (__vsyslog_chk): Likewise.
19701         * misc/ttyslot.c (ttyslot): Likewise.
19702         * nis/nis_hash.c (__nis_hash): Likewise.
19703         * posix/fnmatch_loop.c (FCT): Likewise.
19704         * posix/getconf.c (print_all): Likewise.
19705         (main): Likewise.
19706         * posix/getopt.c (exchange): Likewise.
19707         * posix/glob.c (globfree): Likewise.
19708         (prefix_array): Likewise.
19709         (__glob_pattern_type): Likewise.
19710         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19711         (NS_GET32): Likewise.
19712         (NS_PUT16): Likewise.
19713         (NS_PUT32): Likewise.
19714         * resolv/gethnamaddr.c (getanswer): Likewise.
19715         (gethostbyname2): Likewise.
19716         (gethostbyaddr): Likewise.
19717         (_gethtent): Likewise.
19718         (_gethtbyname2): Likewise.
19719         (_gethtbyaddr): Likewise.
19720         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19721         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19722         * resolv/res_init.c (__res_vinit): Likewise.
19723         (net_mask): Likewise.
19724         * resolv/res_mkquery.c (outchar): Likewise.
19725         (PRINT): Likewise.
19726         * stdio-common/printf_fp.c (outchar): Likewise.
19727         (PRINT): Likewise.
19728         * stdio-common/printf_fphex.c (outchar): Likewise.
19729         (PRINT): Likewise.
19730         * stdio-common/printf_size.c (outchar): Likewise.
19731         (PRINT): Likewise.
19732         * stdio-common/test_rdwr.c (main): Likewise.
19733         * stdio-common/tfformat.c (matches): Likewise.
19734         * stdio-common/vfprintf.c (outchar): Likewise.
19735         (printf_unknown): Likewise.
19736         (buffered_vfprintf): Likewise.
19737         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19738         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19739         (ReadFile): Likewise.
19740         * stdlib/qsort.c (SWAP): Likewise.
19741         (_quicksort): Likewise.
19742         * stdlib/setenv.c (__add_to_environ): Likewise.
19743         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19744         * stdlib/strtol_l.c (__strtol_l): Likewise.
19745         * stdlib/tst-strtod.c (main): Likewise.
19746         * stdlib/tst-strtol.c (main): Likewise.
19747         * stdlib/tst-strtoll.c (main): Likewise.
19748         * string/bits/string2.h (__strcmp_cc): Likewise.
19749         (__strcmp_cg): Likewise.
19750         (__strcspn_c1): Likewise.
19751         (__strcspn_c2): Likewise.
19752         (__strcspn_c3): Likewise.
19753         (__strspn_c1): Likewise.
19754         (__strspn_c2): Likewise.
19755         (__strspn_c3): Likewise.
19756         (__strsep_1c): Likewise.
19757         (__strsep_2c): Likewise.
19758         (__strsep_3c): Likewise.
19759         * string/memccpy.c (__memccpy): Likewise.
19760         * string/stpcpy.c (__stpcpy): Likewise.
19761         * string/strcmp.c (strcmp): Likewise.
19762         * string/strrchr.c (strrchr): Likewise.
19763         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19764         Likewise.
19765         * sysdeps/mach/hurd/getcwd.c
19766         (_hurd_canonicalize_directory_name_internal): Likewise.
19767         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19768         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19769         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19770         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19771         Likewise, in both definitions.
19772         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19773         definitions.
19774         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19775         64] (__bswap_64): Likewise.
19776         * time/test_time.c (main): Likewise.
19777         * time/tzfile.c (__tzfile_read): Likewise.
19778         (__tzfile_compute): Likewise.
19779         * time/tzset.c (__tzset_parse_tz): Likewise.
19780         (tzset_internal): Likewise.
19781         (compute_change): Likewise.
19782         * wcsmbs/wcscat.c (__wcscat): Likewise.
19783         * wcsmbs/wcschr.c (wcschr): Likewise.
19784         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19785         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19786         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19787         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19788         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19789         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19790         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19791         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19792         * wcsmbs/wmemset.c (wmemset): Likewise.
19793
19794 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19795
19796         * scripts/config.guess: Update to version 2013-05-16.
19797         * scripts/config.sub: Update to version 2013-04-24.
19798         * scripts/install-sh: Update to version 2011-11-20.07.
19799         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19800         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19801
19802 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19803
19804         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19805         * elf/sln.c: Likewise.
19806         * hurd/hurd/ioctl.h: Likewise.
19807         * hurd/hurdmalloc.c: Likewise.
19808         * hurd/xattr.c: Likewise.
19809         * include/shlib-compat.h: Likewise.
19810         * inet/ruserpass.c: Likewise.
19811         * libio/iofgets_u.c: Likewise.
19812         * libio/iofgetws_u.c: Likewise.
19813         * locale/programs/ld-identification.c: Likewise.
19814         * locale/programs/ld-time.c: Likewise.
19815         * mach/msg-destroy.c: Likewise.
19816         * nss/nss_files/files-netgrp.c: Likewise.
19817         * resolv/res_data.c: Likewise.
19818         * soft-fp/op-1.h: Likewise.
19819         * soft-fp/op-2.h: Likewise.
19820         * soft-fp/op-4.h: Likewise.
19821         * soft-fp/op-common.h: Likewise.
19822         * stdio-common/printf_fphex.c: Likewise.
19823         * stdlib/strtod_l.c: Likewise.
19824         * sunrpc/rpc/clnt.h: Likewise.
19825         * sysdeps/generic/framestate.c: Likewise.
19826         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19827         * sysdeps/i386/bsd-setjmp.S: Likewise.
19828         * sysdeps/i386/__longjmp.S: Likewise.
19829         * sysdeps/i386/setjmp.S: Likewise.
19830         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19831         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19832         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19833         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19834         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19835         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19836         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19837         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19838         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19839         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19840         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19841         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19842         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19843         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19844         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19845         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19846         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19847         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19848         * sysdeps/ieee754/support.c: Likewise.
19849         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19850         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19851         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19852         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19853         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19854         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19855         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19856         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19857         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19858         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19859         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19860         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19861         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19862         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19863         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19864         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19865         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19867
19868 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19869
19870         * posix/transbug.c: Remove executable mode.
19871
19872 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19873
19874         * crypt/speeds.c: Remove trailing whitespace.
19875         * dlfcn/default.c: Likewise.
19876         * elf/ifuncdep2.c: Likewise.
19877         * elf/ifuncmain1.c: Likewise.
19878         * elf/ifuncmain1vis.c: Likewise.
19879         * elf/testobj.h: Likewise.
19880         * elf/tst-stackguard1.c: Likewise.
19881         * gmon/sys/gmon.h: Likewise.
19882         * hurd/hurdmsg.c: Likewise.
19883         * hurd/new-fd.c: Likewise.
19884         * hurd/ports-get.c: Likewise.
19885         * iconvdata/ibm1008_420.c: Likewise.
19886         * inet/tst-getni1.c: Likewise.
19887         * inet/tst-getni2.c: Likewise.
19888         * libio/ioungetc.c: Likewise.
19889         * libio/wfiledoalloc.c: Likewise.
19890         * manual/libm-err-tab.pl: Likewise.
19891         * math/w_dremf.c: Likewise.
19892         * misc/ftruncate.c: Likewise.
19893         * posix/bug-glob2.c: Likewise.
19894         * posix/tst-pcre.c: Likewise.
19895         * posix/wait4.c: Likewise.
19896         * resolv/README: Likewise.
19897         * resolv/res_debug.h: Likewise.
19898         * resolv/tst-inet_ntop.c: Likewise.
19899         * setjmp/bug269-setjmp.c: Likewise.
19900         * soft-fp/extended.h: Likewise.
19901         * soft-fp/op-1.h: Likewise.
19902         * soft-fp/op-2.h: Likewise.
19903         * soft-fp/op-4.h: Likewise.
19904         * soft-fp/op-8.h: Likewise.
19905         * soft-fp/testit.c: Likewise.
19906         * stdio-common/bug16.c: Likewise.
19907         * stdlib/random.c: Likewise.
19908         * sunrpc/rpcsvc/rquota.x: Likewise.
19909         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19910         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19911         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19912         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19913         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19914         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19915         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19916         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19917         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19918         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19919         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19920         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19921         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19922         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19923         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19924         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19925         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19926         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19927         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19928         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19929         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19930         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19931         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19932         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19933         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19934         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19935         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19936         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19937         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19938         * sysdeps/ieee754/s_lib_version.c: Likewise.
19939         * sysdeps/mach/hurd/check_fds.c: Likewise.
19940         * sysdeps/mach/hurd/getsockname.c: Likewise.
19941         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19942         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19943         * sysdeps/powerpc/bits/link.h: Likewise.
19944         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19945         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19946         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19947         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19948         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19949         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19950         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19951         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19952         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19953         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19954         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19955         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19956         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19957         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19958         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19959         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19960         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19961         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19962         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19963         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19964         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19965         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19966         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19967         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19968         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19969         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19970         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19971         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19972         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19973         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19974         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19975         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19976         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19977         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19978         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19979         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19980         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19981         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19982         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19983         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19984         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19985         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19986         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19987         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19988         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19989         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19990         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19991         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19992         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19993         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19994         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19995         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19996         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19997         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19998         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19999         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20000         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20001         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20002         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20003         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20004         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20005         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20006         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20007         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20008         * sysdeps/powerpc/sysdep.h: Likewise.
20009         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20010         * sysdeps/s390/s390-64/sub_n.S: Likewise.
20011         * sysdeps/sh/dl-trampoline.S: Likewise.
20012         * sysdeps/sh/memset.S: Likewise.
20013         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20014         * sysdeps/sh/strlen.S: Likewise.
20015         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20016         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20017         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20018         * sysdeps/sparc/sparc32/rem.S: Likewise.
20019         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20020         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20021         * sysdeps/sparc/sparc32/strchr.S: Likewise.
20022         * sysdeps/sparc/sparc32/udiv.S: Likewise.
20023         * sysdeps/sparc/sparc32/urem.S: Likewise.
20024         * sysdeps/sparc/sparc64/add_n.S: Likewise.
20025         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20026         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20027         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20028         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20029         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20030         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20031         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20032         * sysdeps/unix/bsd/times.c: Likewise.
20033         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20034         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20038         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20039         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20040         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20041         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20042         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20043         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20044         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20045         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20046         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20047         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20048         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20049         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20050         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20051         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20052         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20053         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20054         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20055         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20056         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20057         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20058         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20059         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20060         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20061         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20062         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20063         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20064         * sysdeps/x86_64/strcspn.S: Likewise.
20065
20066 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20067
20068         * locale/C-translit.h: Revert #include <stdint.h> because this is a
20069         generated file.  Regenerate properly from gen-translit.pl.
20070         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
20071         locale/C-translit.h.
20072
20073 2013-06-05  Andreas Schwab  <schwab@suse.de>
20074
20075         [BZ #15100]
20076         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20077         week as 6 instead of -1.
20078         * time/tst-strptime.c (day_tests): Add test case.
20079
20080 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20081
20082         * sysdeps/generic/math_private.h
20083         (libc_feholdexcept_setround_53bit): Replace with
20084         libc_feholdsetround_53bit.
20085         (libc_feupdateenv_53bit): Replace with
20086         libc_feresetround_53bit.
20087         (SET_RESTORE_ROUND_53BIT): Adjust.
20088
20089 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20090
20091         * string/test-strchrnul.c: Add copyright header.
20092
20093         * posix/tst-getaddrinfo4.c: Increase test timeout.
20094
20095 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
20096
20097         [BZ #15536]
20098         * math/libm-test.inc (MAX_EXP): Remove
20099         (MIN_EXP): Define.
20100         (ulp): Use MIN_EXP - MANT_DIG.
20101         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20102
20103 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
20104
20105         * po/be.po: Revert last change.
20106         * po/zh_CN.po: Likewise.
20107         * po/header.pot: Likewise.
20108
20109 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
20110
20111         * Makefile ($(common-objpfx)linkobj/libc.so): Define
20112         link-libc-deps to empty as target-specific variable.
20113         * Makerules (link-libc-args): New variable.
20114         (libc-for-link): Likewise.
20115         (link-libc-deps): Likewise.
20116         (lib%.so): Depend on $(link-libc-deps).  Link with
20117         $(link-libc-args).
20118         (build-module): Link with $(link-libc-args).
20119         (build-module-asneeded): Likewise.
20120         (build-module-helper-objlist): Filter out $(link-libc-deps) from
20121         list of objects.
20122         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20123         target-specific variable.
20124         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20125         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20126         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20127         libc.
20128         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20129         libc and ld.so.
20130         ($(objpfx)libpcprofile.so): Likewise.
20131         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20132         libc_nonshared.a.
20133         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20134         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20135         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20136         $(link-libc-deps).
20137         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20138         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20139         * login/Makefile ($(objpfx)libutil.so): Likewise.
20140         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20141         * math/Makefile ($(objpfx)libm.so): Likewise.
20142         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20143         $(objpfx)libnsl.so): Define libc-for-link as target-specific
20144         variable instead of depending directly on libc.
20145         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20146         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20147         $(link-libc-deps).
20148         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20149         libc.
20150         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20151         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20152         ($(objpfx)libanl.so): Likewise.
20153         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20154         ld.so.
20155         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20156         $(link-libc-deps).
20157         * sysdeps/i386/fpu/Makefile: Remove file.
20158         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20159         ($(objpfx)libm.so): Remove dependency on ld.so.
20160
20161 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20162
20163         [BZ # 15553]
20164         * nis/yp_xdr.c (XDRMAXNAME): Define.
20165         (XDRMAXRECORD): Define.
20166         (xdr_domainname): Use XDRMAXNAME.
20167         (xdr_mapname): Likewise.
20168         (xdr_peername): Likewise.
20169         (xdr_keydat): Use XDRMAXRECORD.
20170         (xdr_valdat): Likewise.
20171
20172 2013-05-30  Jeff Law  <law@redhat.com>
20173
20174         [BZ #14256]
20175         * manual/errno.texi (ESTALE): Update to account for more than
20176         just NFS file systems.
20177         * sysdeps/gnu/errlist.c: Regenerated.
20178
20179 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20180
20181         [BZ #15465]
20182         * elf/Makefile (tests): Add tst-null-argv.
20183         (modules-names):  Add tst-null-argv-lib.
20184         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20185         (tst-null-argv-ENV): Set environment for tst-null-argv.
20186         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20187         (RTLD_PROGNAME): New macro.
20188         * elf/tst-null-argv.c: New test case.
20189         * elf/tst-null-argv-lib.c: Library for test case.
20190         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20191         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20192         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20193         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20194         * elf/dl-init.c (call_init): Likewise.
20195         (_dl_init): Likewise.
20196         * elf/dl-load.c (print_search_path): Likewise.
20197         (_dl_map_object): Likewise.
20198         * elf/dl-lookup.c (do_lookup_x): Likewise.
20199         (add_dependency): Likewise.
20200         (_dl_lookup_symbol_x): Likewise.
20201         (_dl_debug_bindings): Likewise.
20202         * elf/dl-open.c (_dl_show_scope): Likewise.
20203         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20204         * elf/dl-version.c (match_symbol): Likewise.
20205         (_dl_check_map_versions): Likewise.
20206         * elf/rtld.c (dl_main): Likewise.
20207         (print_unresolved): Use RTLD_PROGNAME.
20208         (print_missing_version): Likewise.
20209         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20210         (elf_machine_rela): Likewise.
20211         * sysdeps/powerpc/powerpc32/dl-machine.c
20212         (__process_machine_rela): Likewise.
20213         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20214         Likewise.
20215         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20216         Likewise.
20217         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20218         Likewise.
20219         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20220         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20221         Likewise.
20222         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20223         Likewise.
20224         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20225
20226 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20227
20228         * po/be.po: Add descriptive title.
20229         * po/zh_CN.po: Likewise.
20230         * po/header.pot: Likewise.
20231
20232 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20233
20234         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20235         error message.
20236         (enlarge_archive): Likewise.
20237
20238 2013-05-28  Ben North  <ben@redfrontdoor.org>
20239
20240         * manual/arith.texi (frexp): It is the magnitude of the return
20241         value which lies in [0.5, 1), not the return value itself.
20242
20243 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20244
20245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20246
20247 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20248
20249         * stdio-common/bug26.c (main): Correct fscanf template.
20250
20251         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20252         declare _dl_skip_args.
20253
20254         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20255         Don't declare.
20256
20257         * manual/platform.texi: Add missing @end deftypefun.
20258
20259 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20260
20261         [BZ #15529]
20262         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20263         bit of mantissa of 2^16382.
20264         * math/libm-test.inc (hypot_test_data): Add more tests.
20265
20266         * math/libm-test.inc: Add drem and pow10 to list of tested
20267         functions.
20268         (pow10_test): New function.
20269         (drem_test): Likewise.
20270         (drem_test_tonearest): Likewise.
20271         (drem_test_towardzero): Likewise.
20272         (drem_test_downward): Likewise.
20273         (drem_test_upward): Likewise.
20274         (main): Call the new functions.
20275
20276         * math/libm-test.inc (finite_test_data): Remove.
20277         (finite_test): Run tests from isfinite_test_data.
20278         (gamma_test_data): Remove.
20279         (gamma_test): Run tests from lgamma_test_data.
20280         * sysdeps/i386/fpu/libm-test-ulps: Update.
20281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20282
20283 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20284
20285         * manual/platform.texi: Add PowerPC PPR function set documentation.
20286         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20287         implementation.
20288
20289 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20290
20291         * math/libm-test.inc (MAX_EXP): Define.
20292         (ULPDIFF): Define.
20293         (ulp): New function.
20294         (check_float_internal): Use ULPDIFF.
20295         (cpow_test): Disable failing test.
20296         (check_ulp): Test ulp() implemetnation.
20297         (main): Call check_ulp before starting tests.
20298
20299 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20300
20301         * math/gen-libm-test.pl (generate_testfile): Do not handle
20302         START_DATA and END_DATA.
20303         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20304         END_DATA.
20305         (acos_tonearest_test_data): Likewise.
20306         (acos_towardzero_test_data): Likewise.
20307         (acos_downward_test_data): Likewise.
20308         (acos_upward_test_data): Likewise.
20309         (acosh_test_data): Likewise.
20310         (asin_test_data): Likewise.
20311         (asin_tonearest_test_data): Likewise.
20312         (asin_towardzero_test_data): Likewise.
20313         (asin_downward_test_data): Likewise.
20314         (asin_upward_test_data): Likewise.
20315         (asinh_test_data): Likewise.
20316         (atan_test_data): Likewise.
20317         (atanh_test_data): Likewise.
20318         (atan2_test_data): Likewise.
20319         (cabs_test_data): Likewise.
20320         (cacos_test_data): Likewise.
20321         (cacosh_test_data): Likewise.
20322         (carg_test_data): Likewise.
20323         (casin_test_data): Likewise.
20324         (casinh_test_data): Likewise.
20325         (catan_test_data): Likewise.
20326         (catanh_test_data): Likewise.
20327         (cbrt_test_data): Likewise.
20328         (ccos_test_data): Likewise.
20329         (ccosh_test_data): Likewise.
20330         (ceil_test_data): Likewise.
20331         (cexp_test_data): Likewise.
20332         (cimag_test_data): Likewise.
20333         (clog_test_data): Likewise.
20334         (clog10_test_data): Likewise.
20335         (conj_test_data): Likewise.
20336         (copysign_test_data): Likewise.
20337         (cos_test_data): Likewise.
20338         (cos_tonearest_test_data): Likewise.
20339         (cos_towardzero_test_data): Likewise.
20340         (cos_downward_test_data): Likewise.
20341         (cos_upward_test_data): Likewise.
20342         (cosh_test_data): Likewise.
20343         (cosh_tonearest_test_data): Likewise.
20344         (cosh_towardzero_test_data): Likewise.
20345         (cosh_downward_test_data): Likewise.
20346         (cosh_upward_test_data): Likewise.
20347         (cpow_test_data): Likewise.
20348         (cproj_test_data): Likewise.
20349         (creal_test_data): Likewise.
20350         (csin_test_data): Likewise.
20351         (csinh_test_data): Likewise.
20352         (csqrt_test_data): Likewise.
20353         (ctan_test_data): Likewise.
20354         (ctan_tonearest_test_data): Likewise.
20355         (ctan_towardzero_test_data): Likewise.
20356         (ctan_downward_test_data): Likewise.
20357         (ctan_upward_test_data): Likewise.
20358         (ctanh_test_data): Likewise.
20359         (ctanh_tonearest_test_data): Likewise.
20360         (ctanh_towardzero_test_data): Likewise.
20361         (ctanh_downward_test_data): Likewise.
20362         (ctanh_upward_test_data): Likewise.
20363         (erf_test_data): Likewise.
20364         (erfc_test_data): Likewise.
20365         (exp_test_data): Likewise.
20366         (exp_tonearest_test_data): Likewise.
20367         (exp_towardzero_test_data): Likewise.
20368         (exp_downward_test_data): Likewise.
20369         (exp_upward_test_data): Likewise.
20370         (exp10_test_data): Likewise.
20371         (exp2_test_data): Likewise.
20372         (expm1_test_data): Likewise.
20373         (fabs_test_data): Likewise.
20374         (fdim_test_data): Likewise.
20375         (finite_test_data): Likewise.
20376         (floor_test_data): Likewise.
20377         (fma_test_data): Likewise.
20378         (fma_towardzero_test_data): Likewise.
20379         (fma_downward_test_data): Likewise.
20380         (fma_upward_test_data): Likewise.
20381         (fmax_test_data): Likewise.
20382         (fmin_test_data): Likewise.
20383         (fmod_test_data): Likewise.
20384         (fpclassify_test_data): Likewise.
20385         (frexp_test_data): Likewise.
20386         (gamma_test_data): Likewise.
20387         (hypot_test_data): Likewise.
20388         (ilogb_test_data): Likewise.
20389         (isfinite_test_data): Likewise.
20390         (isgreater_test_data): Likewise.
20391         (isgreaterequal_test_data): Likewise.
20392         (isinf_test_data): Likewise.
20393         (isless_test_data): Likewise.
20394         (islessequal_test_data): Likewise.
20395         (islessgreater_test_data): Likewise.
20396         (isnan_test_data): Likewise.
20397         (isnormal_test_data): Likewise.
20398         (issignaling_test_data): Likewise.
20399         (isunordered_test_data): Likewise.
20400         (j0_test_data): Likewise.
20401         (j1_test_data): Likewise.
20402         (jn_test_data): Likewise.
20403         (ldexp_test_data): Likewise.
20404         (lgamma_test_data): Likewise.
20405         (lrint_test_data): Likewise.
20406         (lrint_tonearest_test_data): Likewise.
20407         (lrint_towardzero_test_data): Likewise.
20408         (lrint_downward_test_data): Likewise.
20409         (lrint_upward_test_data): Likewise.
20410         (llrint_test_data): Likewise.
20411         (llrint_tonearest_test_data): Likewise.
20412         (llrint_towardzero_test_data): Likewise.
20413         (llrint_downward_test_data): Likewise.
20414         (llrint_upward_test_data): Likewise.
20415         (log_test_data): Likewise.
20416         (log10_test_data): Likewise.
20417         (log1p_test_data): Likewise.
20418         (log2_test_data): Likewise.
20419         (logb_test_data): Likewise.
20420         (logb_downward_test_data): Likewise.
20421         (lround_test_data): Likewise.
20422         (llround_test_data): Likewise.
20423         (modf_test_data): Likewise.
20424         (nearbyint_test_data): Likewise.
20425         (nextafter_test_data): Likewise.
20426         (nexttoward_test_data): Likewise.
20427         (pow_test_data): Likewise.
20428         (pow_tonearest_test_data): Likewise.
20429         (pow_towardzero_test_data): Likewise.
20430         (pow_downward_test_data): Likewise.
20431         (pow_upward_test_data): Likewise.
20432         (remainder_test_data): Likewise.
20433         (remainder_tonearest_test_data): Likewise.
20434         (remainder_towardzero_test_data): Likewise.
20435         (remainder_downward_test_data): Likewise.
20436         (remainder_upward_test_data): Likewise.
20437         (remquo_test_data): Likewise.
20438         (rint_test_data): Likewise.
20439         (rint_tonearest_test_data): Likewise.
20440         (rint_towardzero_test_data): Likewise.
20441         (rint_downward_test_data): Likewise.
20442         (rint_upward_test_data): Likewise.
20443         (round_test_data): Likewise.
20444         (scalb_test_data): Likewise.
20445         (scalbn_test_data): Likewise.
20446         (scalbln_test_data): Likewise.
20447         (signbit_test_data): Likewise.
20448         (sin_test_data): Likewise.
20449         (sin_tonearest_test_data): Likewise.
20450         (sin_towardzero_test_data): Likewise.
20451         (sin_downward_test_data): Likewise.
20452         (sin_upward_test_data): Likewise.
20453         (sincos_test_data): Likewise.
20454         (sinh_test_data): Likewise.
20455         (sinh_tonearest_test_data): Likewise.
20456         (sinh_towardzero_test_data): Likewise.
20457         (sinh_downward_test_data): Likewise.
20458         (sinh_upward_test_data): Likewise.
20459         (sqrt_test_data): Likewise.
20460         (tan_test_data): Likewise.
20461         (tan_tonearest_test_data): Likewise.
20462         (tan_towardzero_test_data): Likewise.
20463         (tan_downward_test_data): Likewise.
20464         (tan_upward_test_data): Likewise.
20465         (tanh_test_data): Likewise.
20466         (tgamma_test_data): Likewise.
20467         (trunc_test_data): Likewise.
20468         (y0_test_data): Likewise.
20469         (y1_test_data): Likewise.
20470         (yn_test_data): Likewise.
20471         (significand_test_data): Likewise.
20472
20473         * math/gen-libm-test.pl (@functions): Remove variable.
20474         (generate_testfile): Don't handle START and END lines.
20475         * math/libm-test.inc (START): New macro.
20476         (END): Likewise.
20477         (END_COMPLEX): Likewise.
20478         (acos_test): Use END macro without arguments.
20479         (acos_test_tonearest): Likewise.
20480         (acos_test_towardzero): Likewise.
20481         (acos_test_downward): Likewise.
20482         (acos_test_upward): Likewise.
20483         (acosh_test): Likewise.
20484         (asin_test): Likewise.
20485         (asin_test_tonearest): Likewise.
20486         (asin_test_towardzero): Likewise.
20487         (asin_test_downward): Likewise.
20488         (asin_test_upward): Likewise.
20489         (asinh_test): Likewise.
20490         (atan_test): Likewise.
20491         (atanh_test): Likewise.
20492         (atan2_test): Likewise.
20493         (cabs_test): Likewise.
20494         (cacos_test): Use END_COMPLEX macro without arguments.
20495         (cacosh_test): Likewise.
20496         (carg_test): Use END macro without arguments.
20497         (casin_test): Use END_COMPLEX macro without arguments.
20498         (casinh_test): Likewise.
20499         (catan_test): Likewise.
20500         (catanh_test): Likewise.
20501         (cbrt_test): Use END macro without arguments.
20502         (ccos_test): Use END_COMPLEX macro without arguments.
20503         (ccosh_test): Likewise.
20504         (ceil_test): Use END macro without arguments.
20505         (cexp_test): Use END_COMPLEX macro without arguments.
20506         (cimag_test): Use END macro without arguments.
20507         (clog_test): Use END_COMPLEX macro without arguments.
20508         (clog10_test): Likewise.
20509         (conj_test): Likewise.
20510         (copysign_test): Use END macro without arguments.
20511         (cos_test): Likewise.
20512         (cos_test_tonearest): Likewise.
20513         (cos_test_towardzero): Likewise.
20514         (cos_test_downward): Likewise.
20515         (cos_test_upward): Likewise.
20516         (cosh_test): Likewise.
20517         (cosh_test_tonearest): Likewise.
20518         (cosh_test_towardzero): Likewise.
20519         (cosh_test_downward): Likewise.
20520         (cosh_test_upward): Likewise.
20521         (cpow_test): Use END_COMPLEX macro without arguments.
20522         (cproj_test): Likewise.
20523         (creal_test): Use END macro without arguments.
20524         (csin_test): Use END_COMPLEX macro without arguments.
20525         (csinh_test): Likewise.
20526         (csqrt_test): Likewise.
20527         (ctan_test): Likewise.
20528         (ctan_test_tonearest): Likewise.
20529         (ctan_test_towardzero): Likewise.
20530         (ctan_test_downward): Likewise.
20531         (ctan_test_upward): Likewise.
20532         (ctanh_test): Likewise.
20533         (ctanh_test_tonearest): Likewise.
20534         (ctanh_test_towardzero): Likewise.
20535         (ctanh_test_downward): Likewise.
20536         (ctanh_test_upward): Likewise.
20537         (erf_test): Use END macro without arguments.
20538         (erfc_test): Likewise.
20539         (exp_test): Likewise.
20540         (exp_test_tonearest): Likewise.
20541         (exp_test_towardzero): Likewise.
20542         (exp_test_downward): Likewise.
20543         (exp_test_upward): Likewise.
20544         (exp10_test): Likewise.
20545         (exp2_test): Likewise.
20546         (expm1_test): Likewise.
20547         (fabs_test): Likewise.
20548         (fdim_test): Likewise.
20549         (finite_test): Likewise.
20550         (floor_test): Likewise.
20551         (fma_test): Likewise.
20552         (fma_test_towardzero): Likewise.
20553         (fma_test_downward): Likewise.
20554         (fma_test_upward): Likewise.
20555         (fmax_test): Likewise.
20556         (fmin_test): Likewise.
20557         (fmod_test): Likewise.
20558         (fpclassify_test): Likewise.
20559         (frexp_test): Likewise.
20560         (gamma_test): Likewise.
20561         (hypot_test): Likewise.
20562         (ilogb_test): Likewise.
20563         (isfinite_test): Likewise.
20564         (isgreater_test): Likewise.
20565         (isgreaterequal_test): Likewise.
20566         (isinf_test): Likewise.
20567         (isless_test): Likewise.
20568         (islessequal_test): Likewise.
20569         (islessgreater_test): Likewise.
20570         (isnan_test): Likewise.
20571         (isnormal_test): Likewise.
20572         (issignaling_test): Likewise.
20573         (isunordered_test): Likewise.
20574         (j0_test): Likewise.
20575         (j1_test): Likewise.
20576         (jn_test): Likewise.
20577         (ldexp_test): Likewise.
20578         (lgamma_test): Likewise.
20579         (lrint_test): Likewise.
20580         (lrint_test_tonearest): Likewise.
20581         (lrint_test_towardzero): Likewise.
20582         (lrint_test_downward): Likewise.
20583         (lrint_test_upward): Likewise.
20584         (llrint_test): Likewise.
20585         (llrint_test_tonearest): Likewise.
20586         (llrint_test_towardzero): Likewise.
20587         (llrint_test_downward): Likewise.
20588         (llrint_test_upward): Likewise.
20589         (log_test): Likewise.
20590         (log10_test): Likewise.
20591         (log1p_test): Likewise.
20592         (log2_test): Likewise.
20593         (logb_test): Likewise.
20594         (logb_test_downward): Likewise.
20595         (lround_test): Likewise.
20596         (llround_test): Likewise.
20597         (modf_test): Likewise.
20598         (nearbyint_test): Likewise.
20599         (nextafter_test): Likewise.
20600         (nexttoward_test): Likewise.
20601         (pow_test): Likewise.
20602         (pow_test_tonearest): Likewise.
20603         (pow_test_towardzero): Likewise.
20604         (pow_test_downward): Likewise.
20605         (pow_test_upward): Likewise.
20606         (remainder_test): Likewise.
20607         (remainder_test_tonearest): Likewise.
20608         (remainder_test_towardzero): Likewise.
20609         (remainder_test_downward): Likewise.
20610         (remainder_test_upward): Likewise.
20611         (remquo_test): Likewise.
20612         (rint_test): Likewise.
20613         (rint_test_tonearest): Likewise.
20614         (rint_test_towardzero): Likewise.
20615         (rint_test_downward): Likewise.
20616         (rint_test_upward): Likewise.
20617         (round_test): Likewise.
20618         (scalb_test): Likewise.
20619         (scalbn_test): Likewise.
20620         (scalbln_test): Likewise.
20621         (signbit_test): Likewise.
20622         (sin_test): Likewise.
20623         (sin_test_tonearest): Likewise.
20624         (sin_test_towardzero): Likewise.
20625         (sin_test_downward): Likewise.
20626         (sin_test_upward): Likewise.
20627         (sincos_test): Likewise.
20628         (sinh_test): Likewise.
20629         (sinh_test_tonearest): Likewise.
20630         (sinh_test_towardzero): Likewise.
20631         (sinh_test_downward): Likewise.
20632         (sinh_test_upward): Likewise.
20633         (sqrt_test): Likewise.
20634         (tan_test): Likewise.
20635         (tan_test_tonearest): Likewise.
20636         (tan_test_towardzero): Likewise.
20637         (tan_test_downward): Likewise.
20638         (tan_test_upward): Likewise.
20639         (tanh_test): Likewise.
20640         (tgamma_test): Likewise.
20641         (trunc_test): Likewise.
20642         (y0_test): Likewise.
20643         (y1_test): Likewise.
20644         (yn_test): Likewise.
20645         (significand_test): Likewise.
20646
20647 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20648
20649         [BZ #15381]
20650         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20651
20652 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20653
20654         [BZ #14894]
20655         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20656         __ppc_mdoio and __ppc_mdoom.
20657         * manual/platform.texi: Document new functions __ppc_yield,
20658         __ppc_mdoio and __ppc_mdoom.
20659
20660 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20661
20662         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20663         (main): Mention "tls" pseudo-hwcap is legacy.
20664         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20665
20666 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20667
20668         * math/gen-libm-test.pl (parse_args): Output only string of
20669         arguments as text for test name, not full call or descriptions of
20670         tests for extra outputs.
20671         (generate_testfile): Do not pass function name to parse_args.
20672         Generate this_func variable from START.
20673         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20674         field to arg_str.
20675         (struct test_ff_f_data): Likewise.
20676         (test_ff_f_data_nexttoward): Likewise.
20677         (struct test_fi_f_data): Likewise.
20678         (struct test_fl_f_data): Likewise.
20679         (struct test_if_f_data): Likewise.
20680         (struct test_fff_f_data): Likewise.
20681         (struct test_c_f_data): Likewise.
20682         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20683         (struct test_fF_f1_data): Likewise.
20684         (struct test_ffI_f1_data): Likewise.
20685         (struct test_c_c_data): Rename test_name field to arg_str.
20686         (struct test_cc_c_data): Likewise.
20687         (struct test_f_i_data): Likewise.
20688         (struct test_ff_i_data): Likewise.
20689         (struct test_f_l_data): Likewise.
20690         (struct test_f_L_data): Likewise.
20691         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20692         and extra2_name.
20693         (COMMON_TEST_SETUP): New macro.
20694         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20695         (COMMON_TEST_CLEANUP): Likewise.
20696         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20697         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20698         macros.
20699         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20700         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20701         macros.
20702         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20703         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20704         cleanup macros.
20705         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20706         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20707         macros.
20708         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20709         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20710         macros.
20711         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20712         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20713         cleanup macros.
20714         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20715         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20716         cleanup macros.
20717         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20718         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20719         cleanup macros.
20720         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20721         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20722         macros.
20723         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20724         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20725         macros.
20726         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20727         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20728         macros.
20729         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20730         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20731         cleanup macros.
20732         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20733         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20734         cleanup macros.
20735         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20736         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20737         macros.
20738         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20739         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20740         cleanup macros.
20741         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20742         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20743         macros.
20744         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20745         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20746         macros.
20747         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20748         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20749         cleanup macros.
20750         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20751
20752 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20753
20754         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20755         to _sifields.sigfault.
20756         (si_addr_lsb): Define new macro.
20757         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20758         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20759         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20760
20761 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20762
20763         [BZ #15441]
20764         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20765         returns -1.
20766         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20767         null return -1.
20768         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20769         loading the domain.
20770
20771 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20772
20773         * math/gen-libm-test.pl (parse_args): Do not include expected
20774         result in test name.
20775         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20776         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20777         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20778         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20779         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20781
20782 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20783
20784         * benchtests/Makefile: Sort function entries.
20785
20786         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20787         tanh, asinh, acosh, atanh.
20788         * benchtests/acos-inputs: New file.
20789         * benchtests/acosh-inputs: New file.
20790         * benchtests/asin-inputs: New file.
20791         * benchtests/asinh-inputs: New file.
20792         * benchtests/atanh-inputs: New file.
20793         * benchtests/cosh-inputs: New file.
20794         * benchtests/log-inputs: New file.
20795         * benchtests/sinh-inputs: New file.
20796         * benchtests/tanh-inputs: New file.
20797
20798 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20799
20800         [BZ #15339]
20801         * posix/tst-getaddrinfo4.c: New test.
20802         * posix/Makefile (tests): Add it.
20803
20804 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20805
20806         [BZ #15339]
20807         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20808         when no services were used.
20809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20810         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20811
20812 2013-05-21  Andreas Schwab  <schwab@suse.de>
20813
20814         [BZ #15014]
20815         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20816         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20817         successful.
20818         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20819         redundant variable declarations and reallocation of buffer when
20820         parsing as IPv6 address.  Always set NSS status when called from
20821         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20822         buffer too small.  Correct computation of needed size.
20823         * nss/Makefile (tests): Add test-digits-dots.
20824         * nss/test-digits-dots.c: New test.
20825
20826 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20827
20828         * benchtests/Makefile: Remove instructions for adding
20829         benchmark tests.
20830         * benchtests/README: New file to explain how to execute and
20831         enhance the benchmark tests.
20832
20833 2013-05-21  Andreas Schwab  <schwab@suse.de>
20834
20835         [BZ #15493]
20836         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20837         * setjmp/tst-sigsetjmp.c: New test.
20838
20839 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20840
20841         * sysdeps/x86_64/memset.S (memset): New implementation.
20842         (__bzero): Likewise.
20843         (__memset_tail): New function.
20844
20845 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20846
20847         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20848         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20849         __memcpy_sse2_unaligned ifunc selection.
20850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20851         Add memcpy-sse2-unaligned.S.
20852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20853         Add: __memcpy_sse2_unaligned.
20854
20855 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20856
20857         [BZ #15490]
20858         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20859         math_force_eval before restoring floating-point envrionment.
20860         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20861         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20862         Likewise.
20863         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20864         <math_private.h>.
20865         (__nearbyintl): Use math_force_eval before restoring
20866         floating-point environment.
20867         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20868
20869         * math/gen-libm-test.pl (special_functions): Remove.
20870         (parse_args): Don't handle TEST_extra.  Handle functions with no
20871         return value.
20872         * math/libm-test.inc (struct test_sincos_data): Replace with
20873         struct test_fFF_11_data.
20874         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20875         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20876         (sincos_test_data): Change element type to struct
20877         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20878         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20879         RUN_TEST_LOOP_sincos.
20880         * math/README.libm-test: Don't mention special handling of
20881         individual functions.
20882         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20883         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20884         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20885         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20886         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20888
20889         * math/gen-libm-test.pl (get_variable): Remove function.
20890         (parse_args): Don't show pointer parameters to call in test
20891         names.  Use "extra output N" in test names for extra outputs
20892         rather than naming variables.
20893
20894 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20895
20896         [BZ #15488]
20897         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20898         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20899         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20900         double tests.
20901         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20902         disable.
20903         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20904         check_long_double.
20905
20906         * math/gen-libm-test.pl (@tests): Remove variable.
20907         ($count): Likewise.
20908         (new_test): Remove function.
20909         (show_exceptions): New function.
20910         (special_functions): Use show_exceptions instead of new_test.
20911         (parse_args): Likewise.
20912         (generate_testfile): Pass only function name in generated call to
20913         print_max_error or print_complex_max_error.
20914         (get_ulps): Do not handle complex tests specially.
20915         (output_test): Rename to ...
20916         (get_all_ulps_for_test): ... this.  Return a string rather than
20917         printing to a file.  Require ulps to be present.
20918         (output_ulps): Generate arrays rather than #defines.
20919         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20920         (struct ulp_data): New type.
20921         (BUILD_COMPLEX_ULP): Remove macro.
20922         (compare_ulp_data): New function.
20923         (find_ulps): Likewise.
20924         (find_test_ulps): Likewise.
20925         (find_function_ulps): Likewise.
20926         (find_complex_function_ulps): Likewise.
20927         (print_max_error): Determine allowed ulps using
20928         find_function_ulps.
20929         (print_complex_max_error): Determine allowed ulps using
20930         find_complex_function_ulps.
20931         (check_float_internal): Determine max ulps using find_test_ulps.
20932         (check_float): Do not take max_ulp parameter.  Update call to
20933         check_float_internal.
20934         (check_complex): Likewise.
20935         (check_int): Do not take max_ulp parameter.
20936         (check_long): Likewise.
20937         (check_bool): Likewise.
20938         (check_longlong): Likewise.
20939         (struct test_f_f_data): Remove max_ulp field.
20940         (struct test_ff_f_data): Likewise.
20941         (struct test_ff_f_data_nexttoward): Likewise.
20942         (struct test_fi_f_data): Likewise.
20943         (struct test_fl_f_data): Likewise.
20944         (struct test_if_f_data): Likewise.
20945         (struct test_fff_f_data): Likewise.
20946         (struct test_c_f_data): Likewise.
20947         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20948         (struct test_fF_f1_data): Likewise.
20949         (struct test_ffI_f1_data): Likewise.
20950         (struct test_c_c_data): Remove max_ulp field.
20951         (struct test_cc_c_data): Likewise.
20952         (struct test_f_i_data): Likewise.
20953         (struct test_ff_i_data): Likewise.
20954         (struct test_f_l_data): Likewise.
20955         (struct test_f_L_data): Likewise.
20956         (struct test_sincos_data): Likewise.
20957         (RUN_TEST_f_f): Do not handle ulps.
20958         (RUN_TEST_LOOP_f_f): Likewise.
20959         (RUN_TEST_2_f): Likewise.
20960         (RUN_TEST_LOOP_2_f): Likewise.
20961         (RUN_TEST_fff_f): Likewise.
20962         (RUN_TEST_LOOP_fff_f): Likewise.
20963         (RUN_TEST_c_f): Likewise.
20964         (RUN_TEST_LOOP_c_f): Likewise.
20965         (RUN_TEST_f_f1): Likewise.
20966         (RUN_TEST_LOOP_f_f1): Likewise.
20967         (RUN_TEST_fF_f1): Likewise.
20968         (RUN_TEST_LOOP_fF_f1): Likewise.
20969         (RUN_TEST_fI_f1): Likewise.
20970         (RUN_TEST_LOOP_fI_f1): Likewise.
20971         (RUN_TEST_ffI_f1): Likewise.
20972         (RUN_TEST_LOOP_ffI_f1): Likewise.
20973         (RUN_TEST_c_c): Likewise.
20974         (RUN_TEST_LOOP_c_c): Likewise.
20975         (RUN_TEST_cc_c): Likewise.
20976         (RUN_TEST_LOOP_cc_c): Likewise.
20977         (RUN_TEST_f_i): Likewise.
20978         (RUN_TEST_LOOP_f_i): Likewise.
20979         (RUN_TEST_f_i_tg): Likewise.
20980         (RUN_TEST_LOOP_f_i_tg): Likewise.
20981         (RUN_TEST_ff_i_tg): Likewise.
20982         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20983         (RUN_TEST_f_b): Likewise.
20984         (RUN_TEST_LOOP_f_b): Likewise.
20985         (RUN_TEST_f_b_tg): Likewise.
20986         (RUN_TEST_LOOP_f_b_tg): Likewise.
20987         (RUN_TEST_f_l): Likewise.
20988         (RUN_TEST_LOOP_f_l): Likewise.
20989         (RUN_TEST_f_L): Likewise.
20990         (RUN_TEST_LOOP_f_L): Likewise.
20991         (RUN_TEST_sincos): Likewise.
20992         (RUN_TEST_LOOP_sincos): Likewise.
20993
20994 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20995
20996         [BZ #15480]
20997         [BZ #15485]
20998         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20999         main case of finite arguments, set rounding mode to FE_TONEAREST
21000         and discard exceptions.
21001         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21002         exceptions.
21003         (remainder_tonearest_test_data): New variable.
21004         (remainder_test_tonearest): New function.
21005         (remainder_towardzero_test_data): New variable.
21006         (remainder_test_towardzero): New function.
21007         (remainder_downward_test_data): New variable.
21008         (remainder_test_downward): New function.
21009         (remainder_upward_test_data): New variable.
21010         (remainder_test_upward): New function.
21011         (main): Call the new test functions.
21012
21013         * math/libm-test.inc (struct test_f_f1_data): Remove field
21014         extra_init.
21015         (struct test_fF_f1_data): Likewise.
21016         (struct test_ffI_f1_data): Likewise.
21017         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
21018         based on value of EXTRA_EXPECTED.
21019         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21020         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
21021         EXTRA_VAR based on value of EXTRA_EXPECTED.
21022         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21023         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
21024         EXTRA_VAR based on value of EXTRA_EXPECTED.
21025         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21026         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
21027         EXTRA_VAR based on value of EXTRA_EXPECTED.
21028         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21029         * math/gen-libm-test.pl (parse_args): Don't output initializers
21030         for extra output values.
21031
21032         * math/libm-test.inc (check_int): Expect result to be exactly
21033         equal to expected value and do not handle ulps.
21034         (check_long): Likewise.
21035         (check_longlong): Likewise.
21036
21037         * math/libm-test.inc (ceil_test_data): Test for "inexact"
21038         exceptions.
21039         (cimag_test_data): Likewise.
21040         (conj_test_data): Likewise.
21041         (copysign_test_data): Likewise.
21042         (cproj_test_data): Likewise.
21043         (creal_test_data): Likewise.
21044         (fabs_test_data): Likewise.
21045         (fdim_test_data): Likewise.
21046         (finite_test_data): Likewise.
21047         (floor_test_data): Likewise.
21048         (fmax_test_data): Likewise.
21049         (fmin_test_data): Likewise.
21050         (fmod_test_data): Likewise.
21051         (fpclassify_test_data): Likewise.
21052         (frexp_test_data): Likewise.
21053         (ilogb_test_data): Likewise.
21054         (isfinite_test_data): Likewise.
21055         (isgreater_test_data): Likewise.
21056         (isgreaterequal_test_data): Likewise.
21057         (isinf_test_data): Likewise.
21058         (isless_test_data): Likewise.
21059         (islessequal_test_data): Likewise.
21060         (islessgreater_test_data): Likewise.
21061         (isnan_test_data): Likewise.
21062         (isnormal_test_data): Likewise.
21063         (issignaling_test_data): Likewise.
21064         (isunordered_test_data): Likewise.
21065         (ldexp_test_data): Likewise.
21066         (lrint_test_data): Likewise.
21067         (lrint_test_data) [TEST_FLOAT]: Disable one test.
21068         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21069         (lrint_tonearest_test_data): Test for "inexact" exceptions.
21070         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21071         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21072         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21073         test input.
21074         (lrint_towardzero_test_data): Test for "inexact" exceptions.
21075         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21076         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21077         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21078         that test input.
21079         (lrint_downward_test_data): Test for "inexact" exceptions.
21080         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21081         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21082         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21083         test input.
21084         (lrint_upward_test_data): Test for "inexact" exceptions.
21085         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21086         test input.
21087         (llrint_test_data): Test for "inexact" exceptions.
21088         (llrint_test_data) [TEST_FLOAT]: Disable one test.
21089         (llrint_tonearest_test_data): Test for "inexact" exceptions.
21090         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21091         (llrint_towardzero_test_data): Test for "inexact" exceptions.
21092         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21093         (llrint_downward_test_data): Test for "inexact" exceptions.
21094         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21095         (llrint_upward_test_data): Test for "inexact" exceptions.
21096         (logb_test_data): Likewise.
21097         (logb_downward_test_data): Likewise.
21098         (nextafter_test_data): Likewise.
21099         (nexttoward_test_data): Likewise.
21100         (remainder_test_data): Likewise.
21101         (remquo_test_data): Likewise.
21102         (scalbn_test_data): Likewise.
21103         (scalbln_test_data): Likewise.
21104         (signbit_test_data): Likewise.
21105         (sqrt_test_data): Likewise.
21106         (significand_test_data): Likewise.
21107
21108 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21109
21110         [BZ #15424]
21111         * benchtests/bench-modf.c (struct args): Mark arg0 as
21112         volatile.
21113         * scripts/bench.pl: Mark members of struct args as volatile.
21114
21115 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21116
21117         [BZ # 15497]
21118         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21119         negative infinity on POWER6 or lower.
21120         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21121
21122 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21123
21124         [BZ #15442]
21125         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21126         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21127         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21128         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21129         (_FP_SETQNAN): New macro.
21130         (_FP_SETQNAN_SEMIRAW): Likewise.
21131         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21132         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21133         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21134         (FP_EXTEND): Use _FP_FRAC_SNANP.
21135         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21136         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21137         into account.
21138         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21139         New macro.
21140         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21141         Likewise.
21142
21143 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21144
21145         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21146         with DIVIDE_BY_ZERO_EXCEPTION.
21147         (gamma_test_data): Likewise.
21148         (lgamma_test_data): Likewise.
21149         (log_test_data): Likewise.
21150         (log10_test_data): Likewise.
21151         (log2_test_data): Likewise.
21152         (tgamma_test_data): Likewise.
21153
21154         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21155         (acos_test_tonearest): Likewise.
21156         (acos_test_towardzero): Likewise.
21157         (acos_test_downward): Likewise.
21158         (acos_test_upward): Likewise.
21159         (acosh_test): Likewise.
21160         (asin_test): Likewise.
21161         (asin_test_tonearest): Likewise.
21162         (asin_test_towardzero): Likewise.
21163         (asin_test_downward): Likewise.
21164         (asin_test_upward): Likewise.
21165         (asinh_test): Likewise.
21166         (atan_test): Likewise.
21167         (atanh_test): Likewise.
21168         (atan2_test): Likewise.
21169         (cabs_test): Likewise.
21170         (cacos_test): Likewise.
21171         (cacosh_test): Likewise.
21172         (casin_test): Likewise.
21173         (casinh_test): Likewise.
21174         (catan_test): Likewise.
21175         (catanh_test): Likewise.
21176         (cbrt_test): Likewise.
21177         (ccos_test): Likewise.
21178         (ccosh_test): Likewise.
21179         (cexp_test): Likewise.
21180         (clog_test): Likewise.
21181         (clog10_test): Likewise.
21182         (cos_test): Likewise.
21183         (cos_test_tonearest): Likewise.
21184         (cos_test_towardzero): Likewise.
21185         (cos_test_downward): Likewise.
21186         (cos_test_upward): Likewise.
21187         (cosh_test): Likewise.
21188         (cosh_test_tonearest): Likewise.
21189         (cosh_test_towardzero): Likewise.
21190         (cosh_test_downward): Likewise.
21191         (cosh_test_upward): Likewise.
21192         (cpow_test): Likewise.
21193         (csin_test): Likewise.
21194         (csinh_test): Likewise.
21195         (csqrt_test): Likewise.
21196         (ctan_test): Likewise.
21197         (ctan_test_tonearest): Likewise.
21198         (ctan_test_towardzero): Likewise.
21199         (ctan_test_downward): Likewise.
21200         (ctan_test_upward): Likewise.
21201         (ctanh_test): Likewise.
21202         (ctanh_test_tonearest): Likewise.
21203         (ctanh_test_towardzero): Likewise.
21204         (ctanh_test_downward): Likewise.
21205         (ctanh_test_upward): Likewise.
21206         (erf_test): Likewise.
21207         (erfc_test): Likewise.
21208         (exp_test): Likewise.
21209         (exp_test_tonearest): Likewise.
21210         (exp_test_towardzero): Likewise.
21211         (exp_test_downward): Likewise.
21212         (exp_test_upward): Likewise.
21213         (exp10_test): Likewise.
21214         (exp2_test): Likewise.
21215         (expm1_test): Likewise.
21216         (fmod_test): Likewise.
21217         (gamma_test): Likewise.
21218         (hypot_test): Likewise.
21219         (j0_test): Likewise.
21220         (j1_test): Likewise.
21221         (jn_test): Likewise.
21222         (lgamma_test): Likewise.
21223         (log_test): Likewise.
21224         (log10_test): Likewise.
21225         (log1p_test): Likewise.
21226         (log2_test): Likewise.
21227         (logb_test_downward): Likewise.
21228         (pow_test): Likewise.
21229         (pow_test_tonearest): Likewise.
21230         (pow_test_towardzero): Likewise.
21231         (pow_test_downward): Likewise.
21232         (pow_test_upward): Likewise.
21233         (remainder_test): Likewise.
21234         (remquo_test): Likewise.
21235         (sin_test): Likewise.
21236         (sin_test_tonearest): Likewise.
21237         (sin_test_towardzero): Likewise.
21238         (sin_test_downward): Likewise.
21239         (sin_test_upward): Likewise.
21240         (sincos_test): Likewise.
21241         (sinh_test): Likewise.
21242         (sinh_test_tonearest): Likewise.
21243         (sinh_test_towardzero): Likewise.
21244         (sinh_test_downward): Likewise.
21245         (sinh_test_upward): Likewise.
21246         (sqrt_test): Likewise.
21247         (tan_test): Likewise.
21248         (tan_test_tonearest): Likewise.
21249         (tan_test_towardzero): Likewise.
21250         (tan_test_downward): Likewise.
21251         (tan_test_upward): Likewise.
21252         (tanh_test): Likewise.
21253         (tgamma_test): Likewise.
21254         (y0_test): Likewise.
21255         (y1_test): Likewise.
21256         (yn_test): Likewise.
21257
21258         * math/gen-libm-test.pl (adjust_arg): Remove function.
21259         (special_function): Remove argument $in_func.  Only handle
21260         generating output for tables of tests, not inside functions.
21261         (parse_args): Likewise.
21262         (generate_testfile): Remove variable $in_func.  Update call to
21263         parse_args.
21264         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21265         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21266         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21267         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21268         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21269         (MAX_VALUE_INIT): Rename macro to max_value.
21270         (MIN_VALUE_INIT): Rename macro to min_value.
21271         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21272         (plus_zero): Remove variable.
21273         (minus_zero): Likewise.
21274         (plus_infty): Likewise.
21275         (minus_infty): Likewise.
21276         (qnan_value): Likewise.
21277         (max_value): Likewise.
21278         (min_value): Likewise.
21279         (min_subnorm_value): Likewise.
21280
21281 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21282
21283         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21284         uint64_t or uint32_t usage.
21285         * crypt/sha256-block.c: Likewise.
21286         * crypt/sha256-crypt.c: Likewise.
21287         * crypt/sha256.c: Likewise.
21288         * crypt/sha512-block.c: Likewise.
21289         * crypt/sha512-crypt.c: Likewise.
21290         * crypt/sha512.c: Likewise.
21291         * debug/backtrace-tst.c: Likewise.
21292         * debug/pcprofiledump.c: Likewise.
21293         * elf/cache.c: Likewise.
21294         * elf/dl-cache.c: Likewise.
21295         * elf/dl-misc.c: Likewise.
21296         * elf/dl-profile.c: Likewise.
21297         * elf/dl-support.c: Likewise.
21298         * elf/ldconfig.c: Likewise.
21299         * elf/sprof.c: Likewise.
21300         * iconv/dummy-repertoire.c: Likewise.
21301         * iconv/iconv_charmap.c: Likewise.
21302         * iconv/skeleton.c: Likewise.
21303         * iconvdata/8bit-generic.c: Likewise.
21304         * iconvdata/cp737.h: Likewise.
21305         * iconvdata/cp775.h: Likewise.
21306         * iconvdata/ibm1008.h: Likewise.
21307         * iconvdata/ibm1025.h: Likewise.
21308         * iconvdata/ibm1046.h: Likewise.
21309         * iconvdata/ibm1097.h: Likewise.
21310         * iconvdata/ibm1112.h: Likewise.
21311         * iconvdata/ibm1122.h: Likewise.
21312         * iconvdata/ibm1123.h: Likewise.
21313         * iconvdata/ibm1124.h: Likewise.
21314         * iconvdata/ibm1129.h: Likewise.
21315         * iconvdata/ibm1130.h: Likewise.
21316         * iconvdata/ibm1132.h: Likewise.
21317         * iconvdata/ibm1133.h: Likewise.
21318         * iconvdata/ibm1137.h: Likewise.
21319         * iconvdata/ibm1140.h: Likewise.
21320         * iconvdata/ibm1141.h: Likewise.
21321         * iconvdata/ibm1142.h: Likewise.
21322         * iconvdata/ibm1143.h: Likewise.
21323         * iconvdata/ibm1144.h: Likewise.
21324         * iconvdata/ibm1145.h: Likewise.
21325         * iconvdata/ibm1146.h: Likewise.
21326         * iconvdata/ibm1147.h: Likewise.
21327         * iconvdata/ibm1148.h: Likewise.
21328         * iconvdata/ibm1149.h: Likewise.
21329         * iconvdata/ibm1153.h: Likewise.
21330         * iconvdata/ibm1154.h: Likewise.
21331         * iconvdata/ibm1155.h: Likewise.
21332         * iconvdata/ibm1156.h: Likewise.
21333         * iconvdata/ibm1157.h: Likewise.
21334         * iconvdata/ibm1158.h: Likewise.
21335         * iconvdata/ibm1160.h: Likewise.
21336         * iconvdata/ibm1161.h: Likewise.
21337         * iconvdata/ibm1162.h: Likewise.
21338         * iconvdata/ibm1163.h: Likewise.
21339         * iconvdata/ibm1164.h: Likewise.
21340         * iconvdata/ibm1166.h: Likewise.
21341         * iconvdata/ibm1167.h: Likewise.
21342         * iconvdata/ibm12712.h: Likewise.
21343         * iconvdata/ibm1390.h: Likewise.
21344         * iconvdata/ibm1399.h: Likewise.
21345         * iconvdata/ibm16804.h: Likewise.
21346         * iconvdata/ibm4517.h: Likewise.
21347         * iconvdata/ibm4899.h: Likewise.
21348         * iconvdata/ibm4909.h: Likewise.
21349         * iconvdata/ibm4971.h: Likewise.
21350         * iconvdata/ibm5347.h: Likewise.
21351         * iconvdata/ibm803.h: Likewise.
21352         * iconvdata/ibm856.h: Likewise.
21353         * iconvdata/ibm901.h: Likewise.
21354         * iconvdata/ibm902.h: Likewise.
21355         * iconvdata/ibm9030.h: Likewise.
21356         * iconvdata/ibm9066.h: Likewise.
21357         * iconvdata/ibm921.h: Likewise.
21358         * iconvdata/ibm922.h: Likewise.
21359         * iconvdata/ibm9448.h: Likewise.
21360         * iconvdata/isiri-3342.h: Likewise.
21361         * iconvdata/jis0201.h: Likewise.
21362         * include/link.h: Likewise.
21363         * include/netdb.h: Likewise.
21364         * inet/check_native.c: Likewise.
21365         * inet/check_pf.c: Likewise.
21366         * inet/getipv4sourcefilter.c: Likewise.
21367         * inet/getnameinfo.c: Likewise.
21368         * inet/getsourcefilter.c: Likewise.
21369         * inet/htonl.c: Likewise.
21370         * inet/setipv4sourcefilter.c: Likewise.
21371         * inet/setsourcefilter.c: Likewise.
21372         * inet/test-inet6_opt.c: Likewise.
21373         * inet/tst-network.c: Likewise.
21374         * locale/C-collate.c: Likewise.
21375         * locale/C-ctype.c: Likewise.
21376         * locale/C-time.c: Likewise.
21377         * locale/C-translit.h: Likewise.
21378         * locale/loadarchive.c: Likewise.
21379         * locale/programs/3level.h: Likewise.
21380         * locale/programs/charmap.c: Likewise.
21381         * locale/programs/charmap.h: Likewise.
21382         * locale/programs/ld-address.c: Likewise.
21383         * locale/programs/ld-collate.c: Likewise.
21384         * locale/programs/ld-ctype.c: Likewise.
21385         * locale/programs/ld-identification.c: Likewise.
21386         * locale/programs/ld-measurement.c: Likewise.
21387         * locale/programs/ld-messages.c: Likewise.
21388         * locale/programs/ld-monetary.c: Likewise.
21389         * locale/programs/ld-name.c: Likewise.
21390         * locale/programs/ld-numeric.c: Likewise.
21391         * locale/programs/ld-paper.c: Likewise.
21392         * locale/programs/ld-telephone.c: Likewise.
21393         * locale/programs/ld-time.c: Likewise.
21394         * locale/programs/linereader.c: Likewise.
21395         * locale/programs/locale.c: Likewise.
21396         * locale/programs/locarchive.c: Likewise.
21397         * locale/programs/locfile.h: Likewise.
21398         * locale/programs/repertoire.c: Likewise.
21399         * locale/programs/simple-hash.c: Likewise.
21400         * locale/programs/simple-hash.h: Likewise.
21401         * malloc/memusage.c: Likewise.
21402         * malloc/memusagestat.c: Likewise.
21403         * nis/nis_defaults.c: Likewise.
21404         * nis/nis_hash.c: Likewise.
21405         * nis/nis_print.c: Likewise.
21406         * nis/nis_xdr.c: Likewise.
21407         * nscd/connections.c: Likewise.
21408         * nscd/hstcache.c: Likewise.
21409         * nscd/nscd_gethst_r.c: Likewise.
21410         * nscd/nscd_getserv_r.c: Likewise.
21411         * nscd/nscd_helper.c: Likewise.
21412         * nscd/servicescache.c: Likewise.
21413         * nss/makedb.c: Likewise.
21414         * nss/nss_db/db-XXX.c: Likewise.
21415         * nss/nss_db/db-initgroups.c: Likewise.
21416         * nss/nss_db/db-netgrp.c: Likewise.
21417         * nss/nss_files/files-network.c: Likewise.
21418         * nss/nss_files/files-parse.c: Likewise.
21419         * posix/bug-regex5.c: Likewise.
21420         * posix/fnmatch_loop.c: Likewise.
21421         * posix/regcomp.c: Likewise.
21422         * posix/regexec.c: Likewise.
21423         * posix/tst-rfc3484-2.c: Likewise.
21424         * posix/tst-rfc3484-3.c: Likewise.
21425         * posix/tst-rfc3484.c: Likewise.
21426         * resolv/nss_dns/dns-canon.c: Likewise.
21427         * resolv/nss_dns/dns-network.c: Likewise.
21428         * resolv/res_init.c: Likewise.
21429         * resolv/res_mkquery.c: Likewise.
21430         * resolv/tst-aton.c: Likewise.
21431         * stdlib/cxa_atexit.c: Likewise.
21432         * stdlib/cxa_finalize.c: Likewise.
21433         * stdlib/gen-fpioconst.c: Likewise.
21434         * stdlib/strtol_l.c: Likewise.
21435         * string/tst-endian.c: Likewise.
21436         * sunrpc/auth_des.c: Likewise.
21437         * sunrpc/clnt_udp.c: Likewise.
21438         * sunrpc/rtime.c: Likewise.
21439         * sunrpc/svcauth_des.c: Likewise.
21440         * sunrpc/xdr.c: Likewise.
21441         * sunrpc/xdr_intXX_t.c: Likewise.
21442         * sunrpc/xdr_rec.c: Likewise.
21443         * sysdeps/generic/ldconfig.h: Likewise.
21444         * sysdeps/generic/ldsodefs.h: Likewise.
21445         * sysdeps/generic/memusage.h: Likewise.
21446         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21447         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21448         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21449         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21450         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21451         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21452         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21453         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21454         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21455         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21456         * sysdeps/posix/getaddrinfo.c: Likewise.
21457         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21458         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21459         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21460         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21461         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21462         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21463         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21464         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21465         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21466         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21467         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21468         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21469         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21470         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21471         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21472         * sysdeps/x86_64/dl-tls.h: Likewise.
21473         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21474         * time/alt_digit.c: Likewise.
21475         * time/era.c: Likewise.
21476         * wcsmbs/tst-c16c32-1.c: Likewise.
21477
21478 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21479
21480         * math/libm-test.inc (struct test_sincos_data): New type.
21481         (RUN_TEST_LOOP_sincos): New macro.
21482         (sincos_test_data): New variable.
21483         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21484
21485 2013-05-16  Richard Henderson  <rth@redhat.com>
21486
21487         * math/atest-exp2.c (LIMB64): New macro.
21488         (CONSTSZ): New macro.
21489         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21490         (hexdig): Move ...
21491         (print_mpn_fp): ... to function scope.
21492         (read_mpn_hex): Remove.
21493         (get_log2): Remove.
21494         (exp2_mpn): Use mp_log2.
21495         (main): Use mp_exp1.
21496
21497 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21498
21499         * math/libm-test.inc: Remove comment about not testing "inexact"
21500         exceptions.
21501         (INEXACT_EXCEPTION): New macro.
21502         (NO_INEXACT_EXCEPTION): Likewise.
21503         (INVALID_EXCEPTION_OK): Update value.
21504         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21505         (OVERFLOW_EXCEPTION_OK): Likewise.
21506         (UNDERFLOW_EXCEPTION_OK): Likewise.
21507         (IGNORE_ZERO_INF_SIGN): Likewise.
21508         (ERRNO_UNCHANGED): Likewise.
21509         (ERRNO_EDOM): Likewise.
21510         (ERRNO_ERANGE): Likewise.
21511         (test_exceptions): Handle testing "inexact" exceptions.
21512         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21513         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21514         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21515         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21516         INEXACT_EXCEPTION.
21517         (rint_towardzero_test_data): Likewise.
21518         (rint_downward_test_data): Likewise.
21519         (rint_upward_test_data): Likewise.
21520
21521         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21522         with OVERFLOW_EXCEPTION.
21523         (exp10_test_data): Likewise.
21524         (exp2_test_data): Likewise.
21525         (expm1_test_data): Likewise.
21526         (lgamma_test_data): Likewise.
21527         (pow_test_data): Likewise.
21528         (tgamma_test_data): Likewise.
21529         (yn_test_data): Remove duplicate test of overflow.
21530
21531         * math/libm-test.inc (struct test_cc_c_data): New type.
21532         (RUN_TEST_LOOP_cc_c): New macro.
21533         (cpow_test_data): New variable.
21534         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21535
21536         * math/libm-test.inc (struct test_f_L_data): New type.
21537         (RUN_TEST_LOOP_f_L): New macro.
21538         (llrint_test_data): New variable.
21539         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21540         (llrint_tonearest_test_data): New variable.
21541         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21542         (llrint_towardzero_test_data): New variable.
21543         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21544         (llrint_downward_test_data): New variable.
21545         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21546         (llrint_upward_test_data): New variable.
21547         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21548         (llround_test_data): New variable.
21549         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21550
21551 2013-05-13  Peter Collingbourne  <pcc@google.com>
21552
21553         * math/atest-exp2.c (get_log2): Remove const attribute.
21554
21555 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21556
21557         * math/libm-test.inc (struct test_f_l_data): New type.
21558         (RUN_TEST_LOOP_f_l): New macro.
21559         (lrint_test_data): New variable.
21560         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21561         (lrint_tonearest_test_data): New variable.
21562         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21563         (lrint_towardzero_test_data): New variable.
21564         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21565         (lrint_downward_test_data): New variable.
21566         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21567         (lrint_upward_test_data): New variable.
21568         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21569         (lround_test_data): New variable.
21570         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21571
21572 2013-05-15  Peter Collingbourne  <pcc@google.com>
21573
21574         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21575         (EXTRACT_WORDS64) Use where appropriate.
21576         (INSERT_WORDS64) Likewise.
21577
21578         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21579         constraints with x constraints.
21580         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21581
21582         * malloc/obstack.c (_obstack_compat): Add initializer.
21583
21584 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21585
21586         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21587         si_trapno and add si_addr_lsb to _sifields.sigfault.
21588         (si_trapno): Remove macro.
21589         (si_addr_lsb): Define new macro.
21590         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21591
21592 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21593
21594         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21595         instead of TEST_f_l.
21596         (llrint_test_tonearest): Likewise.
21597         (llrint_test_towardzero): Likewise.
21598         (llrint_test_downward): Likewise.
21599         (llrint_test_upward): Likewise.
21600         (llround_test): Likewise.
21601
21602         * math/libm-test.inc (struct test_f_i_data): Add comment.
21603         (RUN_TEST_LOOP_f_b): New macro.
21604         (RUN_TEST_LOOP_f_b_tg): Likewise.
21605         (finite_test_data): New variable.
21606         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21607         (isfinite_test_data): New variable.
21608         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21609         (isinf_test_data): New variable.
21610         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21611         (isnan_test_data): New variable.
21612         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21613         (isnormal_test_data): New variable.
21614         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21615         (issignaling_test_data): New variable.
21616         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21617         (signbit_test_data): New variable.
21618         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21619
21620         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21621         with INVALID_EXCEPTION.
21622         (acosh_test_data): Likewise.
21623         (asin_test_data): Likewise.
21624         (atanh_test_data): Likewise.
21625         (fmod_test_data): Likewise.
21626         (log_test_data): Likewise.
21627         (log10_test_data): Likewise.
21628         (log2_test_data): Likewise.
21629         (pow_test_data): Likewise.
21630         (sqrt_test_data): Likewise.
21631         (y0_test_data): Likewise.
21632         (y1_test_data): Likewise.
21633         (yn_test_data): Likewise.
21634
21635         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21636         function contents.
21637
21638         * math/libm-test.inc (struct test_ff_i_data): New type.
21639         (RUN_TEST_LOOP_ff_i_tg): New macro.
21640         (isgreater_test_data): New variable.
21641         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21642         (isgreaterequal_test_data): New variable.
21643         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21644         (isless_test_data): New variable.
21645         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21646         (islessequal_test_data): New variable.
21647         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21648         (islessgreater_test_data): New variable.
21649         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21650         (isunordered_test_data): New variable.
21651         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21652
21653 2013-05-14  David S. Miller  <davem@davemloft.net>
21654
21655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21656
21657 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21658
21659         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21660
21661         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21662         extra_test to int.
21663         (struct test_f_i_data): Change type of max_ulp to int.
21664
21665         * math/libm-test.inc (test_ffI_f1_data): New type.
21666         (RUN_TEST_LOOP_ffI_f1): New macro.
21667         (remquo_test_data): New variable.
21668         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21669
21670         * setjmp/tst-setjmp-fp.c: New file.
21671         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21672         (link-libm): New variable.
21673         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21674
21675         * math/libm-test.inc (struct test_f_i_data): New type.
21676         (RUN_TEST_LOOP_f_i): New macro.
21677         (RUN_TEST_LOOP_f_i_tg): Likewise.
21678         (fpclassify_test_data): New variable.
21679         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21680         (ilogb_test_data): New variable.
21681         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21682
21683         * math/libm-test.inc (scalbln_test): Correct function name in END
21684         call.
21685
21686         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21687         (RUN_TEST_LOOP_fI_f1): New macro.
21688         (frexp_test_data): New variable.
21689         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21690
21691         * math/libm-test.inc (struct test_fF_f1_data): New type.
21692         (RUN_TEST_LOOP_fF_f1): New macro.
21693         (modf_test_data): New variable.
21694         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21695
21696         * math/libm-test.inc (struct test_f_f1_data): New type.
21697         (RUN_TEST_LOOP_f_f1): New macro.
21698         (gamma_test_data): New variable.
21699         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21700         (lgamma_test_data): New variable.
21701         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21702
21703 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21704
21705         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21706         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21707         (main): Comment "tls" pseudo-hwcap.
21708
21709 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21710
21711         * math/libm-test.inc (struct test_fl_f_data): New type.
21712         (RUN_TEST_LOOP_fl_f): New variable.
21713         (scalbln_test_data): New variable.
21714         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21715
21716         * math/libm-test.inc (struct test_fi_f_data): New type.
21717         (RUN_TEST_LOOP_fi_f): New macro.
21718         (ldexp_test_data): New variable.
21719         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21720         (scalbn_test_data): New variable.
21721         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21722
21723         * math/libm-test.inc (struct test_c_f_data): New type.
21724         (RUN_TEST_LOOP_c_f): New macro.
21725         (cabs_test_data): New variable.
21726         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21727         (carg_test_data): New variable.
21728         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21729         (cimag_test_data): New variable.
21730         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21731         (creal_test_data): New variable.
21732         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21733
21734         * math/libm-test.inc (struct test_if_f_data): New type.
21735         (RUN_TEST_LOOP_if_f): New macro.
21736         (jn_test_data): New variable.
21737         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21738         (yn_test_data): New variable.
21739         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21740
21741         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21742
21743 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21744
21745         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21746         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21747
21748 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21749
21750         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21751         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21752         (bench-deps): Add bench-timing.h.
21753         * benchtests-bench-skeleton.c: Include bench-timing.h.
21754         (main): Use TIMING_* macros instead of clock_gettime.
21755         * benchtests/bench-timing.h: New file.
21756
21757         [BZ #14582]
21758         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21759         Renamed from _LIB_VERSION.
21760         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21761
21762 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21763
21764         * math/libm-test.inc (struct test_fff_f_data): New type.
21765         (RUN_TEST_LOOP_fff_f): New macro.
21766         (fma_test_data): New variable.
21767         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21768         (fma_towardzero_test_data): New variable.
21769         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21770         (fma_downward_test_data): New variable.
21771         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21772         (fma_upward_test_data): New variable.
21773         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21774
21775         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21776         (struct test_c_c_data): New type.
21777         (RUN_TEST_LOOP_c_c): New macro.
21778         (cacos_test_data): New variable.
21779         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21780         (cacosh_test_data): New variable.
21781         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21782         (casin_test_data): New variable.
21783         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21784         (casinh_test_data): New variable.
21785         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21786         (catan_test_data): New variable.
21787         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21788         (catanh_test_data): New variable.
21789         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21790         (ccos_test_data): New variable.
21791         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21792         (ccosh_test_data): New variable.
21793         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21794         (cexp_test_data): New variable.
21795         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21796         (clog_test_data): New variable.
21797         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21798         (clog10_test_data): New variable.
21799         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21800         (conj_test_data): New variable.
21801         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21802         (cproj_test_data): New variable.
21803         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21804         (csin_test_data): New variable.
21805         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21806         (csinh_test_data): New variable.
21807         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21808         (csqrt_test_data): New variable.
21809         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21810         (ctan_test_data): New variable.
21811         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21812         (ctan_tonearest_test_data): New variable.
21813         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21814         (ctan_towardzero_test_data): New variable.
21815         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21816         (ctan_downward_test_data): New variable.
21817         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21818         (ctan_upward_test_data): New variable.
21819         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21820         (ctanh_test_data): New variable.
21821         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21822         (ctanh_tonearest_test_data): New variable.
21823         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21824         (ctanh_towardzero_test_data): New variable.
21825         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21826         (ctanh_downward_test_data): New variable.
21827         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21828         (ctanh_upward_test_data): New variable.
21829         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21830         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21831         of BUILD_COMPLEX.
21832
21833         * math/libm-test.inc (struct test_ff_f_data): New type.
21834         (struct test_ff_f_data_nexttoward): Likewise.
21835         (RUN_TEST_LOOP_2_f): New macro.
21836         (RUN_TEST_LOOP_ff_f): Likewise.
21837         (atan2_test_data): New variable.
21838         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21839         (copysign_test_data): New variable.
21840         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21841         (fdim_test_data): New variable.
21842         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21843         (fmax_test_data): New variable.
21844         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21845         (fmin_test_data): New variable.
21846         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21847         (fmod_test_data): New variable.
21848         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21849         (hypot_test_data): New variable.
21850         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21851         (nextafter_test_data): New variable.
21852         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21853         (nexttoward_test_data): New variable.
21854         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21855         (pow_test_data): New variable.
21856         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21857         (pow_tonearest_test_data): New variable.
21858         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21859         (pow_towardzero_test_data): New variable.
21860         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21861         (pow_downward_test_data): New variable.
21862         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21863         (pow_upward_test_data): New variable.
21864         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21865         (remainder_test_data): New variable.
21866         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21867         (scalb_test_data): New variable.
21868         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21869         * sysdeps/i386/fpu/libm-test-ulps: Update.
21870
21871 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21872
21873         * math/libm-test.inc (fma_test): Use max_value instead of local
21874         variable fltmax.
21875         (nextafter_test): Likewise.
21876
21877         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21878         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21879         (acos_downward_test_data): New variable.
21880         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21881         (acos_upward_test_data): New variable.
21882         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21883         (acosh_test_data): New variable.
21884         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21885         (asin_test_data): New variable.
21886         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21887         (asin_tonearest_test_data): New variable.
21888         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21889         (asin_towardzero_test_data): New variable.
21890         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21891         (asin_downward_test_data): New variable.
21892         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21893         (asin_upward_test_data): New variable.
21894         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21895         (asinh_test_data): New variable.
21896         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21897         (atan_test_data): New variable.
21898         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21899         (atanh_test_data): New variable.
21900         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21901         (cbrt_test_data): New variable.
21902         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21903         (ceil_test_data): New variable.
21904         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21905         (cos_test_data): New variable.
21906         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21907         (cos_tonearest_test_data): New variable.
21908         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21909         (cos_towardzero_test_data): New variable.
21910         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21911         (cos_downward_test_data): New variable.
21912         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21913         (cos_upward_test_data): New variable.
21914         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21915         (cosh_test_data): New variable.
21916         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21917         (cosh_tonearest_test_data): New variable.
21918         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21919         (cosh_towardzero_test_data): New variable.
21920         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21921         (cosh_downward_test_data): New variable.
21922         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21923         (cosh_upward_test_data): New variable.
21924         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21925         (erf_test_data): New variable.
21926         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21927         (erfc_test_data): New variable.
21928         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21929         (exp_test_data): New variable.
21930         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21931         (exp_tonearest_test_data): New variable.
21932         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21933         (exp_towardzero_test_data): New variable.
21934         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21935         (exp_downward_test_data): New variable.
21936         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21937         (exp_upward_test_data): New variable.
21938         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21939         (exp10_test_data): New variable.
21940         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21941         (exp2_test_data): New variable.
21942         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21943         (expm1_test_data): New variable.
21944         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21945         (fabs_test_data): New variable.
21946         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21947         (floor_test_data): New variable.
21948         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21949         (j0_test_data): New variable.
21950         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21951         (j1_test_data): New variable.
21952         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21953         (log_test_data): New variable.
21954         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21955         (log10_test_data): New variable.
21956         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21957         (log1p_test_data): New variable.
21958         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21959         (log2_test_data): New variable.
21960         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21961         (logb_test_data): New variable.
21962         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21963         (logb_downward_test_data): New variable.
21964         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21965         (nearbyint_test_data): New variable.
21966         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21967         (rint_test_data): New variable.
21968         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21969         (rint_tonearest_test_data): New variable.
21970         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21971         (rint_towardzero_test_data): New variable.
21972         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21973         (rint_downward_test_data): New variable.
21974         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21975         (rint_upward_test_data): New variable.
21976         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21977         (round_test_data): New variable.
21978         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21979         (sin_test_data): New variable.
21980         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21981         (sin_tonearest_test_data): New variable.
21982         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21983         (sin_towardzero_test_data): New variable.
21984         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21985         (sin_downward_test_data): New variable.
21986         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21987         (sin_upward_test_data): New variable.
21988         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21989         (sinh_test_data): New variable.
21990         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21991         (sinh_tonearest_test_data): New variable.
21992         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21993         (sinh_towardzero_test_data): New variable.
21994         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21995         (sinh_downward_test_data): New variable.
21996         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21997         (sinh_upward_test_data): New variable.
21998         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21999         (sqrt_test_data): New variable.
22000         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22001         (tan_test_data): New variable.
22002         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22003         (tan_tonearest_test_data): New variable.
22004         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22005         (tan_towardzero_test_data): New variable.
22006         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22007         (tan_downward_test_data): New variable.
22008         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22009         (tan_upward_test_data): New variable.
22010         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22011         (tanh_test_data): New variable.
22012         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22013         (tgamma_test_data): New variable.
22014         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22015         (trunc_test_data): New variable.
22016         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22017         (y0_test_data): New variable.
22018         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22019         (y1_test_data): New variable.
22020         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22021         (significand_test_data): New variable.
22022         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22023
22024 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
22025
22026         [BZ #12387]
22027         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22028
22029 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22030
22031         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22032
22033 2013-05-10  Andreas Jaeger  <aj@suse.de>
22034
22035         [BZ #15448]
22036         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22037         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22038
22039 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22040
22041         * math/gen-libm-test.pl (adjust_arg): New function.
22042         (special_functions): Handle generating output in both functions
22043         and arrays.
22044         (parse_args): Likewise.
22045         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
22046         $in_func argument to parse_args.
22047         * math/libm-test.inc (struct test_f_f_data): New type.
22048         (IF_ROUND_INIT_): New macro.
22049         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22050         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22051         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22052         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22053         (ROUND_RESTORE_): Likewise.
22054         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22055         (ROUND_RESTORE_FE_TONEAREST): Likewise.
22056         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22057         (ROUND_RESTORE_FE_UPWARD): Likewise.
22058         (RUN_TEST_LOOP_f_f): New macro.
22059         (acos_test_data): New variable.
22060         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22061         (acos_tonearest_test_data): New variable.
22062         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22063
22064 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22065
22066         * benchtests/bench-skeleton.c (startup): Fix coding style.
22067
22068 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22069
22070         [BZ #6809]
22071         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22072         negative infinity argument.
22073         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22074         negative infinity argument.
22075         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22076         negative infinity argument.
22077         * math/libm-test.inc (tgamma_test): Expect errno to be set for
22078         domain errors.
22079
22080 2013-05-10  Florian Weimer  <fweimer@redhat.com>
22081
22082         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22083         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22084         * iconv/iconv_prog.c (main): Likewise.
22085         * locale/programs/charmap-dir.c (charmap_readdir)
22086         (fopen_uncompressed): Likewise.
22087         * locale/programs/locfile.c (siblings_uncached)
22088         (write_locale_data): Use lstat64 instead of lstat.
22089         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22090         stat.
22091
22092 2013-05-10  Andreas Jaeger  <aj@suse.de>
22093
22094         [BZ #15395]
22095         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22096         localization.
22097         Include <locale.h>.
22098
22099 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
22100
22101         * elf/dl-close.c (_dl_close_worker): Add comments.
22102
22103 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
22104
22105         [BZ #15359]
22106         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22107         high part of pi/2.
22108         (__ieee754_rem_pio2l): Update comments.
22109
22110         [BZ #15429]
22111         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22112         high part of pi/2.
22113         (__ieee754_rem_pio2l): Update comments.
22114
22115         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22116         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22117
22118         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22119         M_PI_4l.
22120
22121         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22122         (M_PI_34_LOG10El): Likewise.
22123         (M_PI2_LOG10El): Likewise.
22124         (M_PI4_LOG10El): Likewise.
22125         (M_PI_LOG10El): Likewise.
22126
22127 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22128
22129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22130
22131 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
22132
22133         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22134         (MINUS_ZERO_INIT): Likewise.
22135         (PLUS_INFTY_INIT): Likewise.
22136         (MINUS_INFTY_INIT): Likewise.
22137         (QNAN_VALUE_INIT): Likewise.
22138         (MAX_VALUE_INIT): Likewise.
22139         (MIN_VALUE_INIT): Likewise.
22140         (MIN_SUBNORM_VALUE_INIT): Likewise.
22141         (plus_zero): Initialize with PLUS_ZERO_INIT.
22142         (minus_zero): Initialize with MINUS_ZERO_INIT.
22143         (plus_infty): Initialize with PLUS_INFTY_INIT.
22144         (minus_infty): Initialize with MINUS_INFTY_INIT.
22145         (qnan_value): Initialize with QNAN_VALUE_INIT.
22146         (max_value): Initialize with MAX_VALUE_INIT.
22147         (min_value): Initialize with MIN_VALUE_INIT.
22148         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22149
22150         * math/libm-test.inc (RUN_TEST_if_f): New macro.
22151         (jn_test): Use TEST_if_f instead of TEST_ff_f.
22152         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22153         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22154
22155         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22156         (RUN_TEST_2_f): Likewise.
22157         (RUN_TEST_ff_f): Likewise.
22158         (RUN_TEST_fi_f): Likewise.
22159         (RUN_TEST_fl_f): Likewise.
22160         (RUN_TEST_fff_f): Likewise.
22161         (RUN_TEST_c_f): Likewise.
22162         (RUN_TEST_f_f1): Likewise.
22163         (RUN_TEST_fF_f1): Likewise.
22164         (RUN_TEST_fI_f1): Likewise.
22165         (RUN_TEST_ffI_f1): Likewise.
22166         (RUN_TEST_c_c): Likewise.
22167         (RUN_TEST_cc_c): Likewise.
22168         (RUN_TEST_f_i): Likewise.
22169         (RUN_TEST_f_i_tg): Likewise.
22170         (RUN_TEST_ff_i_tg): Likewise.
22171         (RUN_TEST_f_b): Likewise.
22172         (RUN_TEST_f_b_tg): Likewise.
22173         (RUN_TEST_f_l): Likewise.
22174         (RUN_TEST_f_L): Likewise.
22175         (RUN_TEST_sincos): Likewise.
22176         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22177         whether to show exceptions.  Do not include ");\n" in return
22178         value.
22179         (special_functions): Output call to RUN_TEST_sincos instead of
22180         check_float calls.  Update calls to new_test.
22181         (parse_args): Output call to single RUN_TEST_* macro instead of
22182         check_* calls and other assignments.  Update calls to new_test.
22183
22184         [BZ #2546]
22185         [BZ #2560]
22186         [BZ #5159]
22187         [BZ #15426]
22188         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22189         input to result for tgamma overflow.
22190         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22191         (gamma_coeff): New variable.
22192         (NCOEFF): New macro.
22193         (gamma_positive): New function.
22194         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22195         underflow here.  Use gamma_positive instead of exp (lgamma) for
22196         other arguments.
22197         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22198         (gamma_coeff): New variable.
22199         (NCOEFF): New macro.
22200         (gammaf_positive): New function.
22201         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22202         underflow here.  Use gamma_positive instead of exp (lgamma) for
22203         other arguments.
22204         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22205         (gamma_coeff): New variable.
22206         (NCOEFF): New macro.
22207         (gammal_positive): New function.
22208         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22209         underflow here.  Use gamma_positive instead of exp (lgamma) for
22210         other arguments.
22211         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22212         (gamma_coeff): New variable.
22213         (NCOEFF): New macro.
22214         (gammal_positive): New function.
22215         (__ieee754_gammal_r): Handle positive infinity, overflow and
22216         underflow here.  Handle NaN the same as positive infinity.  Remove
22217         check x < 0xffffffff for negative integers.  Use gamma_positive
22218         instead of exp (lgamma) for other arguments.
22219         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22220         (gamma_coeff): New variable.
22221         (NCOEFF): New macro.
22222         (gammal_positive): New function.
22223         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22224         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22225         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22226         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22227         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22228         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22229         * sysdeps/generic/math_private.h (__gamma_productf): New
22230         prototype.
22231         (__gamma_product): Likewise.
22232         (__gamma_productl): Likewise.
22233         * math/Makefile (libm-calls): Add gamma_product.
22234         * math/libm-test.inc (tgamma_test): Add more tests.
22235         * sysdeps/i386/fpu/libm-test-ulps: Update.
22236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22237
22238 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22239
22240         * benchtests/bench-skeleton.c (main): Preheat CPU.
22241
22242 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22243
22244         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22245
22246 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22247
22248         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22249         and _dl_skip_args_internal.
22250
22251 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22252
22253         * manual/message.texi (Message Translation): Talk about users.
22254         Message to key mapping impacts design.
22255
22256 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22257
22258         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22259
22260         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22261
22262         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22263         * sysdeps/wordsize-64/glob64.c: ... here.
22264
22265         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22266         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22267         New macros.
22268
22269         * debug/getlogin_r_chk.c: Moved to ...
22270         * login/getlogin_r_chk.c: ... here.
22271         * debug/Makefile (routines): Move getlogin_r_chk to ...
22272         * login/Makefile (routines): ... here.
22273         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22274         * login/Versions (libc: GLIBC_2.4): ... here.
22275
22276         * io/poll.c (__poll): Renamed from poll.
22277         Add libc_hidden_def.
22278         (poll): Define as weak alias.
22279
22280         * debug/ptsname_r_chk.c: Moved to ...
22281         * login/ptsname_r_chk.c: ... here.
22282         * debug/Makefile (routines): Move ptsname_r_chk to ...
22283         * login/Makefile (routines): ... here.
22284         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22285         * login/Versions (libc: GLIBC_2.4): ... here.
22286
22287         * posix/getlogin.c: Moved to ...
22288         * login/getlogin.c: ... here.
22289         * posix/getlogin_r.c: Moved to ...
22290         * login/getlogin_r.c: ... here.
22291         * posix/getlogin_r.c: Moved to ...
22292         * login/getlogin_r.c: ... here.
22293         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22294         * login/Makefile (routines): ... here.
22295         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22296         * login/Versions (libc: GLIBC_2.0): ... here.
22297
22298         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22299         (setrlimit): Define as weak alias.
22300
22301         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22302         Call __ names for open, ftruncate, and close.
22303         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22304         (truncate): Define as weak alias.
22305
22306 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22307
22308         * math/gen-libm-test.pl (parse_args): Initialize x before each
22309         test of frexp, modf and remquo.
22310
22311         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22312         test signgam value.
22313
22314 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22315
22316         [BZ #15418]
22317         [BZ #15419]
22318         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22319         internal tests.
22320         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22321
22322 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22323
22324         * elf/dl-writev.h: New file.
22325         * elf/dl-misc.c: Include it.
22326         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22327         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22328
22329 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22330
22331         * math/libm-test.inc (noXFails): Remove variable.
22332         (noXPasses): Likewise.
22333         (BUILD_COMPLEX_INT): Remove macro.
22334         (print_screen): Remove xfail argument.
22335         (print_screen_max_error): Likewise.
22336         (update_stats): Likewise.
22337         (print_max_error): Likewise.  Update calls to other affected
22338         functions.
22339         (print_complex_max_error): Likewise.
22340         (test_single_exception): Update calls to print_screen.
22341         (test_single_errno): Likewise.
22342         (check_float_internal): Remove xfail argument.  Update calls to
22343         other affected functions.
22344         (check_float): Likewise.
22345         (check_complex): Likewise.
22346         (check_int): Likewise.
22347         (check_long): Likewise.
22348         (check_bool): Likewise.
22349         (check_longlong): Likewise.
22350         (main): Don't print noXFails and noXPasses.
22351         * math/gen-libm-test.pl (top level): Don't mention expected
22352         failure handling in comment.
22353         (new_test): Don't handle expected failures.
22354         (parse_args): Don't mention expected failure handling in comment.
22355         (generate_testfile): Don't handle expected failures.
22356         (parse_ulps): Likewise.
22357         (print_ulps_file): Likewise.
22358         (get_failure): Remove function.
22359         (output_test): Don't handle expected failures.
22360         * make/README.libm-test: Don't mention expected failure handling.
22361
22362         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22363         (minus_zero): Likewise.
22364         (plus_infty): Likewise.
22365         (minus_infty): Likewise.
22366         (qnan_value): Likewise.
22367         (max_value): Likewise.
22368         (min_value): Likewise.
22369         (min_subnorm_value): Likewise.
22370         (initialize): Do not initialize those variables dynamically.
22371
22372 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22373
22374         * io/open.c (__open_2): Moved to ...
22375         * io/open_2.c: ... this new file.
22376         * io/open64.c (__open64_2): Moved to ...
22377         * io/open64_2.c: ... this new file.
22378         * io/openat.c (__openat_2): Moved to ...
22379         * io/openat_2.c: ... this new file.
22380         * io/openat64.c (__openat64_2): Moved to ...
22381         * io/openat64_2.c: ... this new file.
22382         * io/Makefile (routines): Add them.
22383         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22384         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22385         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22386         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22387         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22388         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22389         (__openat64): Add hidden_ver.
22390         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22391         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22392
22393         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22394         Separately conditionalize setting of GLRO(dl_sysinfo) so
22395         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22396         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22397
22398 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22399
22400         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22401         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22402         definition.
22403         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22404         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22405         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22406         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22407         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22408
22409 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22410
22411         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22412         test signgam value.
22413
22414         * math/libm-test.inc (hypot_test): Do not use
22415         IGNORE_ZERO_INF_SIGN.
22416
22417 2013-05-03  Andreas Jaeger  <aj@suse.de>
22418
22419         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22420         Linux 3.9.
22421         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22422         (PF_MAX): Adjust for VSOCK change.
22423
22424 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22425
22426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22427
22428 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22429
22430         [BZ #15264]
22431         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22432         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22433         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22434
22435 2013-05-02  David S. Miller  <davem@davemloft.net>
22436
22437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22438
22439 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22440
22441         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22442
22443 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22444
22445         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22446
22447 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22448
22449         [BZ #14952]
22450         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22451         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22452         Use __attribute__ ((__gnu_inline__)).
22453         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22454         Don't use __attribute__ ((__gnu_inline__)).
22455
22456 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22457
22458         [BZ #15423]
22459         * math/s_catan.c (__catan): Handle small real or imaginary part of
22460         input specially to avoid spurious underflow.
22461         * math/s_catanf.c (__catanf): Likewise.
22462         * math/s_catanh.c (__catanh): Likewise.
22463         * math/s_catanhf.c (__catanhf): Likewise.
22464         * math/s_catanhl.c (__catanhl): Likewise.
22465         * math/s_catanl.c (__catanl): Likewise.
22466         * math/libm-test.inc (catan_test): Add more tests.
22467         (catanh_test): Likewise.
22468         * sysdeps/i386/fpu/libm-test-ulps: Update.
22469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22470
22471 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22472
22473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22474
22475 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22476
22477         [BZ #15416]
22478         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22479         accurately for denominator in atan2.
22480         * math/s_catanf.c (__catanf): Likewise.
22481         * math/s_catanh.c (__catanh): Likewise.
22482         * math/s_catanhf.c (__catanhf): Likewise.
22483         * math/s_catanhl.c (__catanhl): Likewise.
22484         * math/s_catanl.c (__catanl): Likewise.
22485         * math/libm-test.inc (catan_test): Add more tests.
22486         (catanh_test): Likewise.
22487         * sysdeps/i386/fpu/libm-test-ulps: Update.
22488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22489
22490 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22491
22492         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22493
22494         * benchtests/Makefile (bench): Remove slow benchmarks.
22495         * benchtests/atan-inputs: Add slow benchmark inputs.
22496         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22497         (BENCH_FUNC): Accept variant offset.
22498         (VARIANT): Define.
22499         * benchtests/bench-skeleton.c (main): Run benchmark for each
22500         variant.
22501         * benchtests/cos-inputs: Add slow benchmark inputs.
22502         * benchtests/exp-inputs: Likewise.
22503         * benchtests/pow-inputs: Likewise.
22504         * benchtests/sin-inputs: Likewise.
22505         * benchtests/slowatan-inputs: Remove.
22506         * benchtests/slowatan.c: Remove.
22507         * benchtests/slowcos-inputs: Remove.
22508         * benchtests/slowcos.c: Remove.
22509         * benchtests/slowexp-inputs: Remove.
22510         * benchtests/slowexp.c: Remove.
22511         * benchtests/slowpow-inputs: Remove.
22512         * benchtests/slowpow.c: Remove.
22513         * benchtests/slowsin-inputs: Remove.
22514         * benchtests/slowsin.c: Remove.
22515         * benchtests/slowtan-inputs: Remove.
22516         * benchtests/slowtan.c: Remove.
22517         * benchtests/tan-inputs: Add slow benchmark inputs.
22518         * scripts/bench.pl: Parse comments and directives.
22519
22520         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22521         in CPPFLAGS.
22522         ($(objpfx)bench-%.c): Remove *-ITER.
22523         * benchtests/bench-modf.c: Remove definition of ITER.
22524         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22525         (main): Loop for DURATION seconds instead of fixed number of
22526         iterations.
22527         * scripts/bench.pl: Don't expect iterations in parameters.
22528
22529 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22530
22531         * io/fchdir.c (__fchdir): Renamed from fchdir.
22532         (fchdir): Define as weak alias.
22533
22534 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22535
22536         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22537         (ERRNO_EDOM): Likewise.
22538         (ERRNO_ERANGE): Likewise.
22539         (noErrnoTests): New variable.
22540         (init_max_error): Set errno to 0.
22541         (test_single_errno): New function.
22542         (test_errno): Likewise.
22543         (check_float_internal): Call test_errno.  Set errno to 0.
22544         (check_complex): Refer to errno tests in comment.
22545         (check_int): Call test_errno.  Set errno to 0.
22546         (check_long): Likewise.
22547         (check_bool): Likewise.
22548         (check_longlong): Likewise.
22549         (cos_test): Use ERRNO_* flags for errno tests instead of
22550         check_int.
22551         (expm1_test): Likewise.
22552         (fmod_test): Likewise.
22553         (ilogb_test): Likewise.
22554         (lgamma_test): Likewise.
22555         (pow_test): Likewise.
22556         (remainder_test): Likewise.
22557         (sin_test): Likewise.
22558         (tan_test): Likewise.
22559         (yn_test): Likewise.
22560         (initialize): Set errno to 0.
22561         (main): Print number of errno tests.
22562         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22563
22564 2013-04-29  Andreas Jaeger  <aj@suse.de>
22565
22566         [BZ #15084]
22567         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22568         and RES_USEVC.
22569
22570         [BZ #15085]
22571         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22572         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22573         unimplemented.
22574
22575         [BZ #15380]
22576         * stdlib/random.c (__initstate): Return NULL if
22577         __initstate fails.
22578
22579         [BZ #15086]
22580         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22581         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22582         RES_SNGLKUPREOP.
22583
22584 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22585
22586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22587
22588 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22589
22590         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22591         of individual tests.
22592         (casin_test): Likewise.
22593         (casinh_test): Likewise.
22594
22595 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22596
22597         [BZ #15409]
22598         * math/s_catan.c (__catan): Handle arguments with large real or
22599         imaginary part separately without squaring.
22600         * math/s_catanf.c (__catanf): Likewise.
22601         * math/s_catanh.c (__catanh): Likewise.
22602         * math/s_catanhf.c (__catanhf): Likewise.
22603         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22604         and redefine.
22605         (__catanhl): Handle arguments with large real or imaginary part
22606         separately without squaring.
22607         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22608         and redefine.
22609         (__catanl): Handle arguments with large real or imaginary part
22610         separately without squaring.
22611         * math/libm-test.inc (catan_test): Add more tests.
22612         (catanh_test): Likewise.
22613         * sysdeps/i386/fpu/libm-test-ulps: Update.
22614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22615
22616 2013-04-27  Andreas Jaeger  <aj@suse.de>
22617
22618         [BZ #15007]
22619         * stdlib/stdlib.h: Update guards for qecvt.
22620         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22621         <stdlib.h>.
22622
22623 2013-04-27  Allan McRae  <allan@archlinux.org>
22624
22625         * sysdeps/i386/fpu/libm-test-ulps: Update.
22626
22627 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22628
22629         [BZ #15406]
22630         * math/s_catan.c: Include <float.h>.
22631         (__catan): Ensure underflow exception occurs for underflowed
22632         result.
22633         * math/s_catanf.c: Include <float.h>.
22634         (__catanf): Ensure underflow exception occurs for underflowed
22635         result.
22636         * math/s_catanh.c: Include <float.h>.
22637         (__catanh): Ensure underflow exception occurs for underflowed
22638         result.
22639         * math/s_catanhf.c: Include <float.h>.
22640         (__catanhf): Ensure underflow exception occurs for underflowed
22641         result.
22642         * math/s_catanhl.c: Include <float.h>.
22643         (__catanhl): Ensure underflow exception occurs for underflowed
22644         result.
22645         * math/s_catanl.c: Include <float.h>.
22646         (__catanl): Ensure underflow exception occurs for underflowed
22647         result.
22648         * math/libm-test.inc (catan_test): Add more tests.
22649         (catanh_test): Likewise.
22650
22651         [BZ #15405]
22652         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22653         underflowed result.
22654         * math/s_ccoshf.c (__ccoshf): Likewise.
22655         * math/s_ccoshl.c (__ccoshl): Likewise.
22656         * math/s_csin.c (__csin): Likewise.
22657         * math/s_csinf.c (__csinf): Likewise.
22658         * math/s_csinh.c (__csinh): Likewise.
22659         * math/s_csinhf.c (__csinhf): Likewise.
22660         * math/s_csinhl.c (__csinhl): Likewise.
22661         * math/s_csinl.c (__csinl): Likewise.
22662         * math/libm-test.inc (ccos_test): Add more tests.
22663         (ccosh_test): Likewise.
22664         (csin_test): Likewise.
22665         (csinh_test): Likewise.
22666
22667 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22668
22669         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22670         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22671         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22672         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22673         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22674         powerpc/power5+/fpu folders.
22675         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22676
22677
22678 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22679
22680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22681
22682 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22683
22684         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22685         additions to variable.
22686         [$(config-machine) = x86_64] (modules-names): Likewise.
22687         ($(objpfx)tst-audit3): Remove dependency.
22688         ($(objpfx)tst-audit3.out): Likewise.
22689         ($(objpfx)tst-audit4): Likewise.
22690         ($(objpfx)tst-audit4.out): Likewise.
22691         ($(objpfx)tst-audit5): Likewise.
22692         ($(objpfx)tst-audit5.out): Likewise.
22693         ($(objpfx)tst-audit6): Likewise.
22694         ($(objpfx)tst-audit6.out): Likewise.
22695         ($(objpfx)tst-audit7): Likewise.
22696         ($(objpfx)tst-audit7.out): Likewise.
22697         (tst-audit3-ENV): Remove variable.
22698         (tst-audit4-ENV): Likewise.
22699         (tst-audit5-ENV): Likewise.
22700         (tst-audit6-ENV): Likewise.
22701         (tst-audit7-ENV): Likewise.
22702         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22703         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22704         addition to variable.
22705         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22706         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22707         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22708         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22709         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22710         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22711         tst-audit3, tst-audit4 and tst-audit5.
22712         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22713         tst-audit6 and tst-audit7.
22714         [$(subdir) = elf] (modules-names): Add audit modules for those
22715         tests.
22716         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22717         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22718         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22719         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22720         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22721         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22722         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22723         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22724         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22725         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22726         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22727         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22728         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22729         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22730         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22731         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22732         Likewise.
22733         [$(subdir) = elf && $(config-cflags-avx) = yes]
22734         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22735         [$(subdir) = elf && $(config-cflags-avx) = yes]
22736         (CFLAGS-tst-auditmod4a.c): Likewise.
22737         [$(subdir) = elf && $(config-cflags-avx) = yes]
22738         (CFLAGS-tst-auditmod4b.c): Likewise.
22739         [$(subdir) = elf && $(config-cflags-avx) = yes]
22740         (CFLAGS-tst-auditmod6b.c): Likewise.
22741         [$(subdir) = elf && $(config-cflags-avx) = yes]
22742         (CFLAGS-tst-auditmod6c.c): Likewise.
22743         [$(subdir) = elf && $(config-cflags-avx) = yes]
22744         (CFLAGS-tst-auditmod7b.c): Likewise.
22745         * elf/tst-audit3.c: Move to ...
22746         * sysdeps/x86_64/tst-audit3.c: ... here.
22747         * elf/tst-audit4.c: Move to ...
22748         * sysdeps/x86_64/tst-audit4.c: ... here.
22749         * elf/tst-audit5.c: Move to ...
22750         * sysdeps/x86_64/tst-audit5.c: ... here.
22751         * elf/tst-audit6.c: Move to ...
22752         * sysdeps/x86_64/tst-audit6.c: ... here.
22753         * elf/tst-audit7.c: Move to ...
22754         * sysdeps/x86_64/tst-audit7.c: ... here.
22755         * elf/tst-auditmod3a.c: Move to ...
22756         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22757         * elf/tst-auditmod3b.c: Move to ...
22758         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22759         * elf/tst-auditmod4a.c: Move to ...
22760         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22761         * elf/tst-auditmod4b.c: Move to ...
22762         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22763         * elf/tst-auditmod5a.c: Move to ...
22764         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22765         * elf/tst-auditmod5b.c: Move to ...
22766         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22767         * elf/tst-auditmod6a.c: Move to ...
22768         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22769         * elf/tst-auditmod6b.c: Move to ...
22770         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22771         * elf/tst-auditmod6c.c: Move to ...
22772         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22773         * elf/tst-auditmod7a.c: Move to ...
22774         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22775         * elf/tst-auditmod7b.c: Move to ...
22776         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22777
22778 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22779
22780         [BZ #15366]
22781         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22782         define unconditionally.
22783         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22784         define unconditionally.
22785         (INT8_C, INT16_C, etc.): Likewise.
22786
22787 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22788
22789         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22790         __ehdr_start with hidden visibility.
22791
22792         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22793
22794 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22795
22796         * math/libm-test.inc (cos_test): Use accurate hex constants.
22797         (sincost_test): Likewise.
22798
22799 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22800
22801         * math/libm-test.inc (catan_test): Add more tests.
22802         (catanh_test): Likewise.
22803
22804         * math/s_catanf.c (__catanf): Use suffixed floating-point
22805         constants.
22806         * math/s_catanhf.c (__catanhf): Likewise.
22807         * math/s_catanhl.c (__catanhl): Likewise.
22808         * math/s_catanl.c (__catanl): Likewise.
22809
22810         [BZ #15394]
22811         * math/s_catan.c (__catan): Calculate imaginary part of result
22812         with log1p not log unless computing log of number close to 0.
22813         * math/s_catanf.c (__catanf): Likewise.
22814         * math/s_catanl.c (__catanl): Likewise.
22815         * math/s_catanh.c (__catanh): Calculate real part of result with
22816         log1p not log unless computing log of number close to 0.
22817         * math/s_catanhf.c (__catanhf): Likewise.
22818         * math/s_catanhl.c (__catanhl): Likewise.
22819         * math/libm-test.inc (catan_test): Add more tests.
22820         (catanh_test): Likewise.
22821         * sysdeps/i386/fpu/libm-test-ulps: Update.
22822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22823
22824 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22825
22826         * benchtests/Makefile: Mention files in which fast and slow
22827         paths of math functions are implemented.
22828
22829 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22830
22831         * sysdeps/posix/timespec_get.c: New file.
22832
22833 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22834
22835         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22836         POWER.
22837         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22838         for POWER.
22839         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22840         powerpc/power5/fpu folders.
22841         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22842         * benchtests/Makefile: Add modf testcase.
22843         * benchtests/bench-modf.c: New file: Benchmark test for mo
22844
22845 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22846
22847         [BZ #14888]
22848         * time/Makefile (tests): Add tst-strptime-whitespace.
22849         * time/strptime_l.c (get_number): Use ISSPACE.
22850         (__strptime_internal): Likewise.
22851         * time/tst-strptime-whitespace.c: New test case.
22852
22853 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22854
22855         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22856         member.
22857         (_nss_files_init): Set it here.
22858
22859 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22860
22861         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22862         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22863         unsigned.
22864
22865 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22866
22867         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22868
22869 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22870
22871         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22872         size just once.
22873
22874 2013-04-21  David S. Miller  <davem@davemloft.net>
22875
22876         * po/ru.po: Update Russion translation from translation project.
22877
22878 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22879
22880         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22881         and setfsgid.
22882
22883 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22884
22885         * configure.in: Remove i386 configure warning. Remove i386 case.
22886         * configure: Regenerate.
22887         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22888         Add example to error message.
22889         * sysdeps/i386/configure: Regenerate.
22890
22891 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22892
22893         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22894         slowtan.
22895         * benchtests/cos-inputs: New file.
22896         * benchtests/slowcos-inputs: New file.
22897         * benchtests/slowcos.c: New file.
22898         * benchtests/slowtan-inputs: New file.
22899         * benchtests/slowtan.c: New file.
22900         * benchtests/tan-inputs: New file.
22901
22902 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22903
22904         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22905         considered kosher.
22906
22907 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22908
22909         * benchtests/Makefile: Include cppflags-iterator.mk to add
22910         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22911
22912         * Makefile.in (bench-clean): New target.
22913         * benchtests/Makefile (bench-clean): Likewise.
22914
22915 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22916
22917         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22918
22919 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22920
22921         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22922
22923 2013-04-15  Andreas Schwab  <schwab@suse.de>
22924
22925         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22926         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22927         * nscd/pwdcache.c (cache_addpw): Likewise.
22928         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22929         more than recsize.
22930
22931 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22932
22933         * benchtests/Makefile (bench): Write all output to
22934         bench-out.tmp together.
22935
22936 2013-04-15  Andreas Schwab  <schwab@suse.de>
22937
22938         * nscd/nscd.c (main): Don't fork again after closing files.
22939
22940 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22941
22942         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22943
22944         * benchtests/Rules (bench-deps): Collect dependencies into a
22945         single variable.  Add Makefile to dependencies.
22946         ($(objpfx)bench-%.c): Depend on bench-deps.
22947
22948 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22949             Xavier Roche  <roche+kml2@exalead.com>
22950
22951         [BZ #15361]
22952         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22953         just that it's a file descriptor.
22954         * manual/llio.texi (Synchronizing AIO Operations): Update description
22955         for EBADF error from aio_fsync.
22956
22957 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22958
22959         * Rules (bench): Move target definition...
22960         * benchtests/Makefile: ... here.
22961
22962 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22963
22964         * math/libm-test.inc (cos_test): Fix PI/2 test.
22965         (sincos_test): Likewise.
22966         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22967         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22968
22969 2013-04-11  Andreas Schwab  <schwab@suse.de>
22970
22971         [BZ #13988]
22972         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22973         accept exponent character only when digits were seen.
22974         * stdio-common/Makefile (tests): Add bug26.
22975         * stdio-common/bug26.c: New file.
22976
22977         [BZ #14293]
22978         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22979         non-freeable.
22980
22981 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22982
22983         * Makeconfig (rtld-prefix): Define built linker prefix.
22984         * Rules (run-bench): Use it.
22985         * math/Makefile (run-regen-ulps): Likewise.
22986
22987         * Rules (bench): Remove eval.
22988
22989 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22990             Roland McGrath  <roland@hack.frob.com>
22991             Ondrej Bilka  <neleai@seznam.cz>
22992
22993         [BZ #15346]
22994         * time/getdate.c: Include ctype.h and alloca.h.
22995         (__getdate_r): Trim leading and trailing spaces of input.
22996         * time/tst-getdate.c (tests): Add tests with leading and
22997         trailing spaces.
22998
22999 2013-04-08  Roland McGrath  <roland@hack.frob.com>
23000
23001         [BZ #14280]
23002         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23003         when computing value.
23004
23005 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23006
23007         * math/README.libm-test (How can I generate "libm-test-ulps"?):
23008         Use testrun.sh to run libm tests.
23009
23010         [BZ #15309]
23011         * elf/dl-open.c (dl_open_worker): memset all of seen array.
23012
23013 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
23014
23015         [BZ #15264]
23016         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23017
23018 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23019
23020         * Makefile.in (regen-ulps): New target.
23021         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23022         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23023         [ifneq (no,$(PERL)] (regen-ulps): New target.
23024         [ifeq (no,$(PERL)] (regen-ulps): New target.
23025         * math/libm-test.inc (ulps_file_name): Define.
23026         (output_dir): New variable.
23027         (options): Add "output-dir" option.
23028         (parse_opt): Handle 'o' case.
23029         (main): If output_dir is non-NULL use it as a prefix
23030         otherwise use "".
23031         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23032
23033 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23034
23035         [BZ #10060, #10062]
23036         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23037         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23038         fail configure if __sync_val_compare_and_swap is not inlined.
23039         * sysdeps/i386/configure: Regenerate.
23040         * configure.in: Build for i686 when configured for i386.
23041         * configure: Regenerate.
23042         * README: Remove i386 reference.
23043
23044 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23045
23046         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23047         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23048
23049 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23050
23051         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23052         (lmsnanval): New variables.
23053         (F): Add conversion tests.
23054         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23055         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23056
23057         * stdio-common/tstdiomisc.c (F): Properly collect individual
23058         tests' results.
23059
23060         [BZ #14686, #15336]
23061         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23062         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23063         Instead, use input NaN values or generate a qNaN by arithmetic
23064         operation.  Also fix bugs to comply with the standard.
23065         * math/libm-test.inc (remainder_test): Add more tests.
23066
23067         [BZ #15335, #15342]
23068         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23070         input NaN values or generate a qNaN by arithmetic operation.
23071
23072         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23073         unreachable code.
23074
23075         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23076         definitions.
23077
23078 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
23079
23080         [BZ #14478]
23081         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23082         underflowed result.
23083         * math/s_cexpf.c (__cexpf): Likewise.
23084         * math/s_cexpl.c (__cexpl): Likewise.
23085         * math/libm-test.inc (cexp_test): Add more tests.
23086
23087 2013-04-03  Andreas Schwab  <schwab@suse.de>
23088
23089         [BZ #15330]
23090         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23091         order arrays from heap if bigger than alloca cutoff.
23092
23093 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
23094
23095         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23096         (SNAN_TESTS_double): Refer to GCC PR56831.
23097         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23098         GCC PR56828.
23099
23100 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23101
23102         * Rules (bench): Move bench.out after the run is complete.
23103
23104         * Rules (bench): Echo currently running benchmark.
23105
23106         * benchtests/Makefile (bench): Add atan and slowatan.
23107         * benchtests/atan-inputs: New file.
23108         * benchtests/slowatan-inputs: New file.
23109         * benchtests/slowatan.c: New file.
23110
23111         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23112         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23113         its value.
23114
23115         [BZ #15305]
23116         * sysdeps/unix/sysv/linux/kernel-features.h
23117         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23118         __ASSUME_XFS_RESTRICTED_CHOWN.
23119         * sysdeps/unix/sysv/linux/pathconf.c
23120         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23121         Save and restore errno.
23122
23123 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
23124
23125         [BZ #15327]
23126         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23127         arguments using __kernel_casinh.
23128         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23129         arguments using __kernel_casinhf.
23130         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23131         arguments using __kernel_casinhl.
23132         * math/libm-test.inc (cacosh_test): Add more tests.
23133         * sysdeps/i386/fpu/libm-test-ulps: Update.
23134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23135
23136 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23137
23138         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23140
23141         * bench/Makefile (bench): Add sin and slowsin.
23142         * benchtests/sin-inputs: New file.
23143         * benchtests/slowsin-inputs: New file.
23144         * benchtests/slowsin.c: New file.
23145
23146         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23147         (bench): Add slowexp and slowpow.
23148         (exp-ITER): Increase iterations.
23149         (pow-ITER): Likewise.
23150         * benchtests/exp-inputs: Change input.
23151         * benchtests/pow-inputs: Likewise.
23152         * benchtests/slowexp-inputs: New file.
23153         * benchtests/slowexp.c: New file.
23154         * benchtests/slowpow-inputs: New file.
23155         * benchtests/slowpow.c: New file.
23156
23157 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23158
23159         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23160         instructions.
23161         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23162         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23163         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23164         * benchtests/Makefile: Add rint benchtest.
23165         * benchtests/rint-inputs: Input for rint benchtest.
23166
23167 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23168
23169         * Versions.def (libm): Add GLIBC_2.18.
23170         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23171         hidden libm prototypes.
23172         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23173         * math/Makefile (libm-calls): Add s_issignaling.
23174         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23175         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23176         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23177         declaration.
23178         * math/math.h [__USE_GNU] (issignaling): New macro.
23179         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23180         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23181         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23182         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23183         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23184         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23185         * manual/arith.texi (issignaling): New section.
23186         * manual/libm-err-tab.pl (@all_functions): Update comment.
23187         * math/gen-libm-test.pl (parse_args): Apply special handling for
23188         issignaling.
23189         * math/libm-test.inc (print_float, issignaling_test): New
23190         functions.
23191         (check_float_internal): Add issignaling checks.
23192         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23193         default definition.
23194         * sysdeps/powerpc/math-tests.h: New file.
23195         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23196         tests.
23197         * math/test-snan.c (TEST_FUNC): Likewise.
23198
23199 2013-03-30  David S. Miller  <davem@davemloft.net>
23200
23201         * po/de.po: Update from translation team.
23202
23203 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23204
23205         [BZ #10357]
23206         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23207         imaginary part less than 1.0 and real part less than 0.5
23208         specially.
23209         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23210         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23211         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23212         (cacos_test): Add more tests.
23213         (casin_test): Likewise.
23214         (casinh_test): Likewise.
23215         * sysdeps/i386/fpu/libm-test-ulps: Update.
23216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23217
23218 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23219
23220         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23221         ONE with its value.
23222
23223         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23224         (__pow_mp): Replace ONE and MONE with their values.
23225         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23226         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23227         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23228         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23229         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23230         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23231
23232         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23233
23234         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23235         (__pow_mp): Replace ZERO and MZERO with their values.
23236         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23237         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23238         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23239         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23240         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23241         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23242         (__sqr): Likewise.
23243
23244         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23245
23246         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23247
23248 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23249
23250         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23251         Declare with __attribute__ ((weak)).
23252         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23253         Call __call_tls_dtors only if it's not NULL.
23254
23255 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23256
23257         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23258         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23259         magic __ehdr_start linker symbol if it's defined.
23260         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23261         them up here if it was already done.
23262
23263         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23264         (_dl_aux_init): Use const in cast when setting it.
23265         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23266         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23267         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23268
23269         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23270         Declare them here.
23271         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23272         * csu/libc-tls.c: Nor here.
23273         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23274
23275         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23276         (__libc_message): Never call vsyslog.
23277
23278 2013-03-28  Alan Modra  <amodra@gmail.com>
23279
23280         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23281         Define as empty.
23282         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23283         Likewise.
23284
23285 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23286
23287         [BZ #15214]
23288         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23289         underflow.
23290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23291
23292 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23293
23294         [BZ #15304]
23295         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23296         Don't add gid passed as argument.
23297
23298         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23299
23300 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23301
23302         [BZ #15307]
23303         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23304         imaginary part between 1.0 and 1.5 and real part less than 0.5
23305         specially.
23306         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23307         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23308         * math/libm-test.inc (cacos_test): Add more tests.
23309         (casin_test): Likewise.
23310         (casinh_test): Likewise.
23311         * sysdeps/i386/fpu/libm-test-ulps: Update.
23312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23313
23314 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23315
23316         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23317         constants.
23318         (norm): Likewise.
23319         (denorm): Likewise.
23320         (__dbl_mp): Likewise.
23321         (add_magnitudes): Likewise.
23322         (sub_magnitudes): Likewise.
23323         (__add): Likewise.
23324         (__sub): Likewise.
23325         (__mul): Likewise.
23326         (__sqr): Likewise.
23327         (__inv): Likewise.
23328         (__dvd): Likewise.
23329
23330         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23331         commented code.
23332         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23333         (__dubcos): Likewise.
23334         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23335         (__ieee754_acos): Likewise.
23336         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23337         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23338         (__exp1): Likewise.
23339         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23340         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23341         (log1): Likewise.
23342         (my_log2): Likewise.
23343         (checkint): Likewise.
23344         * sysdeps/ieee754/dbl-64/e_remainder.c
23345         (__ieee754_remainder): Likewise.
23346         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23347         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23348         (bsloww): Likewise.
23349         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23350
23351         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23352         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23353         MANTISSA_STORE_T to store computations on mantissa.  Use
23354         macros for rounding and division.
23355         (denorm): Likewise.
23356         (__dbl_mp): Likewise.
23357         (add_magnitudes): Likewise.
23358         (sub_magnitudes): Likewise.
23359         (__mul): Likewise.
23360         (__sqr): Likewise.
23361         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23362         powers of two in terms of TWOPOW macro.
23363         (mp_no): Make type of mantissa as MANTISSA_T.
23364         [!RADIXI]: Define RADIXI.
23365         [!TWO52]: Define TWO52.
23366         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23367
23368 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23369
23370         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23371         llroundl symbol when building for PPC32.
23372
23373 2013-03-24  Mark H Weaver  <mhw@netris.org>
23374
23375         * manual/arith.texi (Normalization Functions): Fix prototypes for
23376         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23377
23378 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23379
23380         [BZ #13889]
23381         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23382         high value to check if expl overflow.
23383         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23384         to check for underflow and overflow.
23385         * math/libm-test.inc: Add exp test.
23386
23387 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23388
23389         [BZ #11120]
23390         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23391         with NOT_IN_libc.
23392
23393 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23394
23395         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23396         symbol.
23397
23398 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23399
23400         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23401         wrap blocks consisting of several statements.
23402
23403         * sysdeps/generic/math-tests.h: New file.
23404         * sysdeps/i386/fpu/math-tests.h: Likewise.
23405         * math/test-snan.c: Include it.
23406         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23407
23408 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23409
23410         [BZ #15285]
23411         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23412         (__ieee754_j0l): Do not improve calculations using cos of twice
23413         input for inputs above LDBL_MAX / 2.0L.
23414         (__ieee754_y0l): Likewise.
23415         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23416         (__ieee754_j1l): Do not improve calculations using cos of twice
23417         input for inputs above LDBL_MAX / 2.0L.
23418         (__ieee754_y1l): Likewise.
23419         * math/libm-test.inc (j0_test): Add another test.
23420         (j1_test): Likewise.
23421         (y0_test): Likewise.
23422         (y1_test): Likewise.
23423         * sysdeps/i386/fpu/libm-test-ulps: Update.
23424
23425 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23426
23427         * Rules ($(objpfx)bench-%.c): Include code from a C source
23428         file.
23429
23430 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23431
23432         [BZ #15287]
23433         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23434         imaginary part 1.0 and real part less than 0.5 specially.
23435         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23436         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23437         * math/libm-test.inc (cacos_test): Add more tests.
23438         (casin_test): Likewise.
23439         (casinh_test): Likewise.
23440         * sysdeps/i386/fpu/libm-test-ulps: Update.
23441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23442
23443 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23444
23445         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23446         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23447
23448 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23449
23450         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23451         * config.make.in (config-cflags-sse4): Remove variable.
23452         (config-cflags-avx): Likewise.
23453         (config-cflags-sse2avx): Likewise.
23454         (config-cflags-novzeroupper): Likewise.
23455         (config-asflags-i686): Likewise.
23456         (have-mfma4): Likewise.
23457         (have-as-vis3): Likewise.
23458         (MIG): Likewise.
23459         * configure.in (MIG): Do not AC_SUBST.
23460         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23461         (libc_cv_cc_sse4): Do not AC_SUBST.
23462         (libc_cv_cc_avx): Likewise.
23463         (libc_cv_cc_sse2avx): Likewise.
23464         (libc_cv_cc_novzeroupper): Likewise.
23465         (libc_cv_cc_fma4): Likewise.
23466         (libc_cv_as_i686): Likewise.
23467         (libc_cv_sparc_as_vis3): Likewise.
23468         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23469         LIBC_CONFIG_VAR.
23470         (config-asflags-i686): Likewise.
23471         (config-cflags-avx): Likewise.
23472         (config-cflags-sse2avx): Likewise.
23473         (have-mfma4): Likewise.
23474         (config-cflags-novzeroupper): Likewise.
23475         * sysdeps/mach/configure.in (MIG): Likewise.
23476         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23477         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23478         LIBC_CONFIG_VAR.
23479         (config-cflags-avx): Likewise.
23480         (config-cflags-sse2avx): Likewise.
23481         (have-mfma4): Likewise.
23482         (config-cflags-novzeroupper): Likewise.
23483         * configure: Regenerated.
23484         * sysdeps/i386/configure: Likewise.
23485         * sysdeps/mach/configure: Likewise.
23486         * sysdeps/sparc/configure: Likewise.
23487         * sysdeps/x86_64/configure: Likewise.
23488
23489 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23490
23491         [BZ #14812]
23492         * locale/programs/localedef.c (options): Put N_ translation marker
23493         on argument names, not just descriptions.
23494
23495 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23496
23497         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23498
23499 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23500
23501         [BZ #14176]
23502         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23503
23504 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23505
23506         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23507         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23508         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23509         [!BEFORE_ABORT] (before_abort): New function.
23510         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23511         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23512         (writev_for_fatal): New function.
23513         (WRITEV_FOR_FATAL): New macro; call that.
23514         (backtrace_and_maps): New function.
23515         (BEFORE_ABORT): New macro; call that.
23516         (struct str_list): Type removed.
23517         (__libc_message, __libc_fatal): Functions removed.
23518         Include <sysdeps/posix/libc_fatal.c> instead.
23519
23520 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23521
23522         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23523         constants.
23524         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23525         double constants.
23526
23527 2013-03-19  Andreas Schwab  <schwab@suse.de>
23528
23529         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23530         * sysdeps/gnu/configure: Regenerate.
23531
23532         * configure.in: Substitute libc_cv_rtlddir.
23533         * configure: Regenerate.
23534         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23535         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23536         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23537         * elf/Makefile (install-others, CFLAGS-interp.c)
23538         (ldso_install, common-ldd-rewrite): Likewise.
23539         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23540         $(inst_slibdir)/$(rtld-installed-name).
23541         * scripts/rellns-sh: Add -p option.
23542         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23543         for source.
23544
23545 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23546
23547         * manual/nptl.texi: Renamed to ...
23548         * manual/threads.texi: ... this.
23549         * manual/Makefile (chapters): Update.
23550
23551 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23552
23553         [BZ #14812]
23554         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23555         on argument names, not just descriptions.
23556         * malloc/memusagestat.c (options): Likewise.
23557         * nss/getent.c (options): Likewise.
23558
23559 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23560
23561         [BZ #14812]
23562         * iconv/iconv_prog.c (options): Put N_ translation marker
23563         on argument names, not just descriptions.
23564         * iconv/iconvconfig.c (options): Likewise.
23565
23566 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23567
23568         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23569         implementation which is faster on all x86_64 architectures.
23570         Tested on AMD, Intel Nehalem, SNB, IVB.
23571         * sysdeps/x86_64/strnlen.S: Likewise.
23572
23573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23574         Remove all multiarch strlen and strnlen versions.
23575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23576         Remove strlen and strnlen related parts.
23577
23578         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23579         Inline strlen part.
23580         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23581
23582         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23583         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23584         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23585         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23586         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23587         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23588
23589 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23590
23591         * manual/memory.texi (Malloc Tunable Parameters):
23592         Sort parameters alphabetically. Add comments for missing entries.
23593
23594 2013-03-17  David S. Miller  <davem@davemloft.net>
23595
23596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23597
23598 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23599
23600         [BZ #15283]
23601         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23602         for arguments at most half maximum finite value.
23603         * math/libm-test.inc (j0_test): Add more tests.
23604         (j1_test): Likewise.
23605         (y0_test): Likewise.
23606         (y1_test): Likewise.
23607         * sysdeps/i386/fpu/libm-test-ulps: Update.
23608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23609
23610         [BZ #14155]
23611         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23612         1 / x and functions P and Q for arguments above 0x1p256L.
23613         (__ieee754_y0l): Likewise.
23614         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23615         (__ieee754_y1l): Likewise.
23616         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23617         (j1_test): Likewise.
23618         (y0_test): Likewise.
23619         (y1_test): Likewise.
23620
23621 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23622
23623         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23624         variable.
23625
23626 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23627
23628         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23629         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23630         zero since it's initialized to EXEC_PAGESIZE.
23631
23632         * sysdeps/unix/sysv/linux/ldsodefs.h
23633         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23634         * sysdeps/generic/ldsodefs.h: ... here.
23635
23636 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23637
23638         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23639
23640         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23641         math/test-snan.c.
23642         * math/test-snan.c: Renamed from
23643         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23644         * math/Makefile (tests): Add test-snan.
23645         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23646         test-powerpc-snan.
23647
23648         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23649         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23650         functions.
23651         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23652         __builtin_nan family of functions.
23653         * math/libm-test.inc (initialize): Initialize qnan_value with
23654         __builtin_nan family of functions.
23655         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23656         Remove variables.
23657         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23658         Remove functions.
23659         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23660         storage class.  Initialize qNaN_var and sNaN_var with
23661         __builtin_nan and __builtin_nans families of functions,
23662         respectively.
23663
23664         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23665         (sqrt_test): Remove duplicate test with qNaN input.
23666         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23667         (round_test, signbit_test, significand_test): Note missing +/-Inf
23668         as well as qNaN tests.
23669
23670         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23671         qNaN_var.  Fix a few strings, too.
23672         * math/libm-test.inc (nan_value): Rename to qnan_value.
23673         * math/gen-libm-test.pl (%beautify): Adjust to that.
23674         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23675         * math/test-misc.c (main): Likewise.
23676         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23677         to __qnan_bytes, and __qnan_union, respectively.
23678         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23679         Likewise.
23680         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23681         and lqnanval, respectively.
23682         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23683         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23684         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23685         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23686
23687         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23688         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23689         doubles.
23690
23691         * math/test-misc.c (main): Fix copy'n'pastos.
23692         * misc/tst-efgcvt.c (special): Likewise.
23693
23694         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23695         Remove declarations.
23696
23697 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23698
23699         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23700         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23701         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23702         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23703
23704 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23705
23706         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23707         macro to return vdso values correctly in IFUNC implementations.
23708         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23709         Optimization by using IFUNC.
23710
23711 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23712             Richard Henderson  <rth@redhat.com>
23713             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23714
23715         * Makefile.in (bench): New target.
23716         * NEWS: Mention the benchmark framework.
23717         * Rules (bench): Likewise.
23718         (binaries-bench): Generate binaries for functions to
23719         benchmark.
23720         * benchtests/Makefile: New makefile for benchmark tests.
23721         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23722         programs.
23723         * benchtests/exp-inputs: New input file for EXP function.
23724         * benchtests/pow-inputs: New input file for POW function.
23725         * scripts/bench.pl: New script to generate source files for
23726         benchmark programs.
23727
23728 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23729
23730         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23731         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23732         computations on mantissa.  Use macros for rounding and
23733         division.
23734         (denorm): Likewise.
23735         (__dbl_mp): Likewise.
23736         (add_magnitudes): Likewise.
23737         (sub_magnitudes): Likewise.
23738         (__mul): Likewise.
23739         (__sqr): Likewise.
23740         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23741         powers of two in terms of TWOPOW macro.
23742         (mp_no): Make type of mantissa as MANTISSA_T.
23743         [!RADIXI]: Define RADIXI.
23744         [!TWO52]: Define TWO52.
23745         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23746
23747         * manual/nptl.texi (cindex): Modify threads to pthreads.
23748
23749 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23750
23751         * sysdeps/x86_64/preconfigure: Regenerated.
23752
23753 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23754
23755         [BZ #14155]
23756         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23757         0x1p28 and above.
23758         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23759         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23760         0x1p28 and above.
23761         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23762         * math/libm-test.inc (j0_test): Do not allow one spurious
23763         underflow exception.
23764         (y1_test): Likewise.
23765
23766 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23767
23768         * manual/Makefile (chapters): Add nptl.
23769         * manual/debug.texi (Debugging Support): Add link to Threads
23770         chapter.
23771         * manual/nptl.texi: New file.
23772
23773         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23774
23775 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23776
23777         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23778         for non-NULL pointer before the memory validity test. Pointed
23779         out by Holger Brunck <holger.brunck@keymile.com>.
23780
23781 2013-03-13  Andreas Schwab  <schwab@suse.de>
23782
23783         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23784         instead of .os.
23785
23786 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23787
23788         * timezone/zic.c: Update from tzcode 2013b.
23789
23790 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23791
23792         * manual/install.texi (Configuring and compiling):
23793         Mention i686 and i586.
23794         * INSTALL: Regenerate.
23795
23796 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23797
23798         * sysdeps/init_array/elf-init.c: New file.
23799         * csu/elf-init.c
23800         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23801         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23802
23803         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23804         __gmon_start__ as global, but as static with a .preinit_array pointer.
23805         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23806         * sysdeps/init_array/crti.S: New file, empty except for comments.
23807         * sysdeps/init_array/crtn.S: Likewise.
23808
23809 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23810
23811         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23812         definining bcopy.
23813         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23814         Remove Prefer_SSE_for_memop.
23815         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23816         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23817         HAS_PREFER_SSE_FOR_MEMOP.
23818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23819         memset-x86-64.
23820         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23821         Remove bzero, memset ifunc support.
23822         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23823         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23824         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23825         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23826
23827 2013-03-11  Andreas Schwab  <schwab@suse.de>
23828
23829         [BZ #15234]
23830         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23831         by SHLIB_COMPAT.
23832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23833         (GLIBC_2.16): Remove pthread_atfork.
23834
23835 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23836
23837         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23838         (ptestcases.h): Likewise.
23839
23840 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23841
23842         * Makeconfig ($(common-objpfx)config.status): Depend on
23843         sysdeps/*/preconfigure{,.in} too.
23844
23845 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23846
23847         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23848         (__free_hook): Use void * instead of __malloc_ptr_t.
23849         (__malloc_hook): Likewise.
23850         (__realloc_hook): Likewise.
23851         (__memalign_hook): Likewise.
23852         (__after_morecore_hook): Likewise.
23853         * malloc/arena.c (save_malloc_hook): Likewise.
23854         (save_free_hook): Likewise.
23855         * malloc/hooks.c (malloc_hook_ini): Likewise.
23856         (realloc_hook_ini): Likewise.
23857         (memalign_hook_ini): Likewise.
23858         * malloc/malloc.c (malloc_hook_ini): Likewise.
23859         (realloc_hook_ini): Likewise.
23860         (memalign_hook_ini): Likewise.
23861         (__free_hook): Likewise.
23862         (__malloc_hook): Likewise.
23863         (__realloc_hook): Likewise.
23864         (__memalign_hook): Likewise.
23865         (__libc_malloc): Likewise.
23866         (__libc_free): Likewise.
23867         (__libc_realloc): Likewise.
23868         (__libc_memalign): Likewise.
23869         (__libc_valloc): Likewise.
23870         (__libc_pvalloc): Likewise.
23871         (__libc_calloc): Likewise.
23872         (__posix_memalign): Likewise.
23873         * malloc/morecore.c (__sbrk): Likewise.
23874         (__default_morecore): Likewise.
23875
23876         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23877
23878         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23879         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23880         __malloc_ptrdiff_t.
23881
23882         * malloc/malloc.h (__malloc_size_t): Remove macro.
23883         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23884         __malloc_size_t.
23885         (old_memalign_hook): Likewise.
23886         (old_realloc_hook): Likewise.
23887         (struct hdr): Likewise.
23888         (flood): Likewise.
23889         (mallochook): Likewise.
23890         (memalignhook): Likewise.
23891         (reallochook): Likewise.
23892         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23893         (tr_old_realloc_hook): Likewise.
23894         (tr_old_memalign_hook): Likewise.
23895         (tr_mallochook): Likewise.
23896         (tr_reallochook): Likewise.
23897         (tr_memalignhook): Likewise.
23898
23899 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23900
23901         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23902         default_ldbl_pack and using as default implementation.
23903         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23904         implementation.
23905         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23906         redundant definition.
23907         (ldbl_insert_mantissa): Likewise.
23908         (ldbl_canonicalize): Likewise.
23909         (ldbl_nearbyint): Likewise.
23910         (ldbl_pack): Rename to ldbl_pack_ppc.
23911         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23912         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23913         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23914
23915 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23916
23917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23918         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23919         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23920         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23921         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23922         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23923         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23924         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23925
23926 2013-03-07  Andreas Jaeger  <aj@suse.de>
23927
23928         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23929         bits/mman-linux.h.
23930
23931 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23932
23933         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23934         Include mpa.h and declare __MPEXP.
23935         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23936         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23937         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23938         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23939         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23940         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23941         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23942
23943         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23944         (__slowpow): Use long double EXPL and LOGL functions to
23945         compute POW.
23946         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23947         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23948         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23949         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23950         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23951         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23952
23953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23954         intermediate variable to calculate exponent.
23955         (__sqr): Likewise.
23956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23957         Likewise.
23958         (__sqr): Likewise.
23959
23960         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23961         [!NO__SQR]: Define __sqr.
23962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23963         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23964         sysdeps/ieee754/dbl-64/mpa.c.
23965         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23966
23967         [BZ #12723]
23968         * posix/Makefile (tests): Add tst-pathconf.
23969         * posix/tst-pathconf.c: New test case.
23970         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23971         _PC_PIPE_BUF.
23972         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23973
23974 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23975
23976         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23977
23978 2013-03-06  Andreas Jaeger  <aj@suse.de>
23979
23980         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23981         definition via __MAP_ANONYMOUS.
23982
23983         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23984         it's not part of Linux headers.
23985
23986         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23987         (MAP_HUGE_MASK): Define.
23988
23989         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23990         Define.
23991         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23992         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23993         Define.
23994         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23995         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23996         Define.
23997         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23998         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23999         Define.
24000         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24001
24002         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24003         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24004         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24005         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24006         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24007         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24008
24009         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24010         Handle f2fs.
24011
24012         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24013         Handle f2fs and efivarfs.
24014
24015         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24016         f2fs.
24017
24018         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24019         (EFIVARFS_MAGIC): Add.
24020         (F2FS_LINK_MAX): Add.
24021
24022 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24023
24024         * stdio-common/vfprintf.c: Replace __builtin_expect with
24025         __glibc_unlikely.
24026
24027 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
24028
24029         [BZ #13550]
24030         * sysdeps/generic/bp-sym.h: Remove file.
24031         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24032         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24033         <bp-sym.h> and <bp-asm.h>.
24034         (__longjmp): Don't use BP_SYM.
24035         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24036         and <bp-asm.h>.
24037         (memcpy): Don't use BP_SYM.
24038         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24039         <bp-sym.h> and <bp-asm.h>.
24040         (memcpy): Don't use BP_SYM.
24041         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24042         <bp-asm.h>.
24043         (memcpy): Don't use BP_SYM.
24044         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24045         <bp-asm.h>.
24046         (memset): Don't use BP_SYM.
24047         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24048         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24049         (__bzero): Don't use BP_SYM.
24050         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24051         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24052         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24053         <bp-sym.h> and <bp-asm.h>.
24054         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24055         pointers.
24056         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24057         <bp-sym.h> and <bp-asm.h>.
24058         (memcpy): Don't use BP_SYM.
24059         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24060         <bp-sym.h> and <bp-asm.h>.
24061         (memset): Don't use BP_SYM.
24062         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24063         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24064         (__bzero): Don't use BP_SYM.
24065         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24066         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24067         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24068         <bp-sym.h> and <bp-asm.h>.
24069         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24070         pointers.
24071         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24072         <bp-sym.h> and <bp-asm.h>.
24073         (memcpy): Don't use BP_SYM.
24074         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24075         <bp-sym.h> and <bp-asm.h>.
24076         (memset): Don't use BP_SYM.
24077         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24078         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24079         (__bzero): Don't use BP_SYM.
24080         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24081         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24082         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24083         <bp-sym.h> and <bp-asm.h>.
24084         (__memchr): Don't use BP_SYM.
24085         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24086         <bp-sym.h> and <bp-asm.h>.
24087         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24088         pointers.
24089         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24090         <bp-sym.h> and <bp-asm.h>.
24091         (memcpy): Don't use BP_SYM.
24092         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24093         <bp-sym.h> and <bp-asm.h>.
24094         (__mempcpy): Don't use BP_SYM.
24095         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24096         <bp-sym.h> and <bp-asm.h>.
24097         (__memrchr): Don't use BP_SYM.
24098         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24099         <bp-sym.h> and <bp-asm.h>.
24100         (memset): Don't use BP_SYM.
24101         (__bzero): Likewise.
24102         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24103         <bp-sym.h> and <bp-asm.h>.
24104         (__rawmemchr): Don't use BP_SYM.
24105         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24106         <bp-sym.h> and <bp-asm.h>.
24107         (__STRCMP): Don't use BP_SYM.
24108         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24109         <bp-sym.h> and <bp-asm.h>.
24110         (strchr): Don't use BP_SYM.
24111         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24112         <bp-sym.h> and <bp-asm.h>.
24113         (__strchrnul): Don't use BP_SYM.
24114         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24115         <bp-sym.h> and <bp-asm.h>.
24116         (strlen): Don't use BP_SYM.
24117         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24118         <bp-sym.h> and <bp-asm.h>.
24119         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24120         pointers.
24121         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24122         <bp-sym.h> and <bp-asm.h>.
24123         (__strnlen): Don't use BP_SYM.
24124         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24125         <bp-sym.h> and <bp-asm.h>.
24126         (__GI__setjmp): Don't use BP_SYM.
24127         (_setjmp): Likewise.
24128         (__sigsetjmp): Likewise.
24129         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24130         (L(start_addresses)): Don't use BP_SYM.
24131         (_start): Likewise.
24132         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24133         <bp-asm.h>.
24134         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24135         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24136         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24137         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24138         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24139         <bp-asm.h>.
24140         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24141         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
24142         about bounded pointers.
24143         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24144         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24145         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24146         <bp-asm.h>.
24147         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24148         about bounded pointers.  Remove GKM FIXME comments.
24149         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24150         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24151         <bp-asm.h>.
24152         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24153         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24154         Remove GKM FIXME comments.
24155         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24156         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24157         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24158         <bp-asm.h>.
24159         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24160         about bounded pointers.  Remove GKM FIXME comment.
24161         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24162         and <bp-asm.h>.
24163         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24164         pointers.
24165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24166         <bp-sym.h> and <bp-asm.h>.
24167         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24169         <bp-sym.h> and <bp-asm.h>.
24170         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24171         comment.
24172
24173 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24174
24175         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24176         call free(NULL).
24177
24178 2013-03-05  David S. Miller  <davem@davemloft.net>
24179
24180         * po/es.po: Update from translation team.
24181
24182 2013-03-05  Andreas Jaeger  <aj@suse.de>
24183
24184         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24185         <bits/mman-linux.h>.
24186         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24187         is fine.
24188         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24189         <bits/mman-linux.h> to end of file.
24190         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24191         is fine.
24192         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24193         <bits/mman-linux.h> to end of file.
24194         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24195         is fine.
24196         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24197         <bits/mman-linux.h> to end of file.
24198
24199         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24200         (MCL_CURRENT, MCL_FUTURE): Define here.
24201
24202 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24203
24204         [BZ #15232]
24205         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24206         attribute_hidden.
24207         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24208
24209 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24210
24211         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24212         fourth parameter needed for rt_sigprocmask syscall.
24213         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24214         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24215         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24216         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24217         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24218         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24219
24220 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24221
24222         [BZ #13550]
24223         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24224         comment about bounded pointers.
24225         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24226         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24227
24228 2013-03-04  Andreas Jaeger  <aj@suse.de>
24229
24230         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24231         common definitions.
24232
24233         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24234         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24235         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24236         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24237         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24238         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24239
24240 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24241
24242         [BZ #15055]
24243         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24244         __ieee754_sqrl instead of __sqrl.
24245
24246 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24247
24248         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24249         * sysdeps/powerpc/fpu_control.h: ... here.
24250         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24251         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24252         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24253         * sysdeps/powerpc/bits/mathinline.h: ... here.
24254
24255 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24256
24257         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24258         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24259         to just [NEED_DL_SYSINFO_DSO].
24260         * elf/dl-support.c: Likewise.
24261         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24262         * elf/rtld.c (dl_main): Likewise.
24263         * elf/setup-vdso.h (setup_vdso): Likewise.
24264         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24265         * sysdeps/unix/sysv/linux/dl-sysdep.c
24266         (_dl_discover_osversion): Likewise.
24267
24268 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24269
24270         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24271         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24272
24273 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24274
24275         * NEWS: Mention libm performance improvements and non-x86 PI
24276         futex support.
24277
24278         * csu/libc-start.c (__pthread_initialize_minimal): Change
24279         function arguments.
24280         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24281
24282 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24283
24284         [BZ #13550]
24285         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24286         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24287         <bp-sym.h> and <bp-asm.h>.
24288         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24289         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24290         and <bp-asm.h>.
24291         (memcpy): Don't use BP_SYM.
24292         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24293         <bp-asm.h>.
24294         (__mpn_add_n): Don't use BP_SYM.
24295         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24296         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24297         and <bp-asm.h>.
24298         (__mpn_addmul_1): Don't use BP_SYM.
24299         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24300         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24301         <bp-sym.h>.
24302         (_setjmp): Don't use BP_SYM.
24303         (__novmx_setjmp): Likewise.
24304         (__GI__setjmp): Likewise.
24305         (__vmx_setjmp): Likewise.
24306         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24307         <bp-sym.h>.
24308         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24309         (__bzero): Don't use BP_SYM.
24310         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24311         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24312         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24313         <bp-sym.h> and <bp-asm.h>.
24314         (memcpy): Don't use BP_SYM.
24315         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24316         <bp-sym.h> and <bp-asm.h>.
24317         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24318         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24319         <bp-sym.h> and <bp-asm.h>.
24320         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24321         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24322         <bp-asm.h>.
24323         (__mpn_lshift): Don't use BP_SYM.
24324         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24325         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24326         <bp-asm.h>.
24327         (memset): Don't use BP_SYM.
24328         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24329         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24330         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24331         <bp-asm.h>.
24332         (__mpn_mul_1): Don't use BP_SYM.
24333         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24334         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24335         <bp-sym.h> and <bp-asm.h>.
24336         (memcmp): Don't use BP_SYM.
24337         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24338         <bp-sym.h> and <bp-asm.h>.
24339         (memcpy): Don't use BP_SYM.
24340         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24341         <bp-sym.h> and <bp-asm.h>.
24342         (memset): Don't use BP_SYM.
24343         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24344         <bp-sym.h> and <bp-asm.h>.
24345         (strncmp): Don't use BP_SYM.
24346         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24347         <bp-sym.h> and <bp-asm.h>.
24348         (memcpy): Don't use BP_SYM.
24349         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24350         <bp-sym.h> and <bp-asm.h>.
24351         (memset): Don't use BP_SYM.
24352         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24353         <bp-sym.h> and <bp-asm.h>.
24354         (__memchr): Don't use BP_SYM.
24355         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24356         <bp-sym.h> and <bp-asm.h>.
24357         (memcmp): Don't use BP_SYM.
24358         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24359         <bp-sym.h> and <bp-asm.h>.
24360         (memcpy): Don't use BP_SYM.
24361         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24362         <bp-sym.h> and <bp-asm.h>.
24363         (__mempcpy): Don't use BP_SYM.
24364         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24365         <bp-sym.h> and <bp-asm.h>.
24366         (__memrchr): Don't use BP_SYM.
24367         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24368         <bp-sym.h> and <bp-asm.h>.
24369         (memset): Don't use BP_SYM.
24370         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24371         <bp-sym.h> and <bp-asm.h>.
24372         (__rawmemchr): Don't use BP_SYM.
24373         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24374         <bp-sym.h> and <bp-asm.h>.
24375         (__STRCMP): Don't use BP_SYM.
24376         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24377         <bp-sym.h> and <bp-asm.h>.
24378         (strchr): Don't use BP_SYM.
24379         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24380         <bp-sym.h> and <bp-asm.h>.
24381         (__strchrnul): Don't use BP_SYM.
24382         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24383         <bp-sym.h> and <bp-asm.h>.
24384         (strlen): Don't use BP_SYM.
24385         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24386         <bp-sym.h> and <bp-asm.h>.
24387         (strncmp): Don't use BP_SYM.
24388         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24389         <bp-sym.h> and <bp-asm.h>.
24390         (__strnlen): Don't use BP_SYM.
24391         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24392         <bp-asm.h>.
24393         (__mpn_rshift): Don't use BP_SYM.
24394         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24395         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24396         <bp-sym.h> and <bp-asm.h>.
24397         (__sigsetjmp): Don't use BP_SYM.
24398         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24399         (L(start_addresses)): Don't use BP_SYM.
24400         (_start): Likewise.
24401         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24402         <bp-asm.h>.
24403         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24404         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24405         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24406         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24407         <bp-asm.h>.
24408         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24409         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24410         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24411         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24412         <bp-asm.h>.
24413         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24414         comments.
24415         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24416         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24417         <bp-asm.h>.
24418         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24419         FIXME comments.
24420         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24421         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24422         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24423         <bp-asm.h>.
24424         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24425         comment.
24426         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24427         and <bp-asm.h>.
24428         (strncmp): Don't use BP_SYM,
24429         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24430         <bp-asm.h>.
24431         (__mpn_sub_n): Don't use BP_SYM.
24432         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24433         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24434         and <bp-asm.h>.
24435         (__mpn_submul_1): Don't use BP_SYM.
24436         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24438         <bp-sym.h> and <bp-asm.h>.
24439         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24441         <bp-sym.h> and <bp-asm.h>.
24442         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24443         comment.
24444
24445 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24446
24447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24448         Use ZK to minimize writes to Z.
24449         (sub_magnitudes): Simplify code a bit.
24450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24451         Use ZK to minimize writes to Z.
24452         (sub_magnitudes): Simplify code a bit.
24453
24454 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24455
24456         * csu/gmon-start.c: Add special exception to license text.
24457
24458 2013-02-27  Richard Henderson  <rth@redhat.com>
24459
24460         * scripts/config.guess: Update from config.git.
24461         * scripts/config.sub: Likewise.
24462
24463 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24464
24465         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24466
24467         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24468
24469         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24470
24471         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24472
24473         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24474
24475 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24476
24477         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24478         [$(build-shared = yes].
24479
24480 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24481
24482         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24483         (__mul): Reduce iterations for calculating mantissa.
24484
24485         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24486         MPTWO.
24487         (__mpranred): Likewise.
24488
24489         [BZ #15160]
24490         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24491         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24492
24493 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24494
24495         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24496         Define __attribute__.
24497
24498 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24499
24500         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24501         unused.
24502         * posix/regex_internal.h (__attribute): Remove.
24503         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24504         (re_string_context_at): Likewise.
24505         (bitset_not): Use __attribute__ and mark function as possibly
24506         unused.
24507         (bitset_merge): Likewise.
24508         (bitset_mask): Likewise.
24509         (re_string_char_size_at): Likewise.
24510         (re_string_wchar_at): Likewise.
24511         (re_string_elem_size_at): Likewise.
24512
24513 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24514
24515         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24516         code.
24517         (cc32): Likewise.
24518
24519         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24520         (__acr): Likewise.
24521         (__cpy): Likewise.
24522         (norm): Likewise.
24523         (denorm): Likewise.
24524         (__dbl_mp): Likewise.
24525         (add_magnitudes): Likewise.
24526         (sub_magnitudes): Likewise.
24527         (__mul): Likewise.
24528         (__inv): Likewise.
24529
24530         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24531         style.
24532
24533         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24534         style.
24535
24536         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24537         code.
24538
24539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24540         up changes with default code.
24541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24542         Likewise.
24543
24544 2013-02-24  Allan McRae  <allan@archlinux.org>
24545
24546         * manual/socket.texi (The Internet Namespace): Order menu items
24547         to match that in the file.
24548
24549         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24550         node listing of the info page menu.
24551
24552 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24553
24554         [BZ #13550]
24555         * sysdeps/i386/bp-asm.h: Remove file.
24556         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24557         (PARMS): Do not use macros from bp-asm.h.
24558         (S1): Likewise.
24559         (S2): Likewise.
24560         (SIZE): Likewise.
24561         (__mpn_add_n): Do not use BP_SYM
24562         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24563         "bp-asm.h".
24564         (PARMS): Do not use macros from bp-asm.h.
24565         (S1): Likewise.
24566         (SIZE): Likewise.
24567         (__mpn_addmul_1): Do not use BP_SYM
24568         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24569         "bp-asm.h".
24570         (PARMS): Do not use macros from bp-asm.h.
24571         (SIGMSK): Likewise.
24572         (_setjmp): Likewise.  Do not use BP_SYM.
24573         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24574         "bp-asm.h".
24575         (PARMS): Do not use macros from bp-asm.h.
24576         (SIGMSK): Likewise.
24577         (setjmp): Likewise.  Do not use BP_SYM.
24578         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24579         "bp-asm.h".
24580         (PARMS): Do not use macros from bp-asm.h.
24581         (__frexp): Do not use BP_SYM.
24582         (frexp): Likewise.
24583         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24584         "bp-asm.h".
24585         (PARMS): Do not use macros from bp-asm.h.
24586         (__frexpf): Do not use BP_SYM.
24587         (frexpf): Likewise.
24588         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24589         "bp-asm.h".
24590         (PARMS): Do not use macros from bp-asm.h.
24591         (__frexpl): Do not use BP_SYM.
24592         (frexpl): Likewise.
24593         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24594         "bp-asm.h".
24595         (PARMS): Do not use macros from bp-asm.h.
24596         (__remquo): Do not use BP_SYM.
24597         (remquo): Likewise.
24598         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24599         "bp-asm.h".
24600         (PARMS): Do not use macros from bp-asm.h.
24601         (__remquof): Do not use BP_SYM.
24602         (remquof): Likewise.
24603         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24604         "bp-asm.h".
24605         (PARMS): Do not use macros from bp-asm.h.
24606         (__remquol): Do not use BP_SYM.
24607         (remquol): Likewise.
24608         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24609         "bp-asm.h".
24610         (PARMS): Do not use macros from bp-asm.h.
24611         (DEST): Likewise.
24612         (SRC): Likewise.
24613         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24614         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24615         "bp-asm.h".
24616         (PARMS): Do not use macros from bp-asm.h.
24617         (strlen): Do not use BP_SYM.
24618         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24619         "bp-asm.h".
24620         (PARMS): Do not use macros from bp-asm.h.
24621         (S1): Likewise.
24622         (S2): Likewise.
24623         (SIZE): Likewise.
24624         (__mpn_add_n): Do not use BP_SYM.
24625         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24626         "bp-asm.h".
24627         (PARMS): Do not use macros from bp-asm.h.
24628         (S1): Likewise.
24629         (SIZE): Likewise.
24630         (__mpn_addmul_1): Do not use BP_SYM.
24631         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24632         weak_alias.
24633         (bzero): Likewise.
24634         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24635         "bp-asm.h".
24636         (PARMS): Do not use macros from bp-asm.h.
24637         (S): Likewise.
24638         (SIZE): Likewise.
24639         (__mpn_lshift): Do not use BP_SYM.
24640         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24641         "bp-asm.h".
24642         (PARMS): Do not use macros from bp-asm.h.
24643         (DEST): Likewise.
24644         (SRC): Likewise.
24645         (LEN): Likewise.
24646         (memcpy): Likewise.  Do not use BP_SYM.
24647         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24648         libc_hidden_def and weak_alias.
24649         (mempcpy): Do not use BP_SYM in weak_alias.
24650         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24651         "bp-asm.h".
24652         (PARMS): Do not use macros from bp-asm.h.
24653         (DEST): Likewise.
24654         (LEN): Likewise.
24655         [!BZERO_P] (CHR): Likewise.
24656         (memset): Likewise.  Do not use BP_SYM.
24657         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24658         "bp-asm.h".
24659         (PARMS): Do not use macros from bp-asm.h.
24660         (S1): Likewise.
24661         (SIZE): Likewise.
24662         (__mpn_mul_1): Do not use BP_SYM.
24663         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24664         "bp-asm.h".
24665         (PARMS): Do not use macros from bp-asm.h.
24666         (S): Likewise.
24667         (SIZE): Likewise.
24668         (__mpn_rshift): Do not use BP_SYM.
24669         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24670         "bp-asm.h".
24671         (PARMS): Do not use macros from bp-asm.h.
24672         (STR): Likewise.
24673         (CHR): Likewise.
24674         (strchr): Likewise.  Do not use BP_SYM.
24675         (index): Do not use BP_SYM in weak_alias.
24676         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24677         "bp-asm.h".
24678         (PARMS): Do not use macros from bp-asm.h.
24679         (DEST): Likewise.
24680         (SRC): Likewise.
24681         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24682         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24683         "bp-asm.h".
24684         (PARMS): Do not use macros from bp-asm.h.
24685         (strlen): Do not use BP_SYM.
24686         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24687         "bp-asm.h".
24688         (PARMS): Do not use macros from bp-asm.h.
24689         (S1): Likewise.
24690         (S2): Likewise.
24691         (SIZE): Likewise.
24692         (__mpn_sub_n): Do not use BP_SYM.
24693         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24694         "bp-asm.h".
24695         (PARMS): Do not use macros from bp-asm.h.
24696         (S1): Likewise.
24697         (SIZE): Likewise.
24698         (__mpn_submul_1): Do not use BP_SYM.
24699         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24700         "bp-asm.h".
24701         (PARMS): Do not use macros from bp-asm.h.
24702         (S1): Likewise.
24703         (S2): Likewise.
24704         (SIZE): Likewise.
24705         (__mpn_add_n): Do not use BP_SYM.
24706         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24707         weak_alias.
24708         (bzero): Likewise.
24709         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24710         "bp-asm.h".
24711         (PARMS): Do not use macros from bp-asm.h.
24712         (BLK2): Likewise.
24713         (LEN): Likewise.
24714         (memcmp): Do not use BP_SYM.
24715         (bcmp): Do not use BP_SYM in weak_alias.
24716         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24717         "bp-asm.h".
24718         (PARMS): Do not use macros from bp-asm.h.
24719         (DEST): Likewise.
24720         (SRC): Likewise.
24721         (LEN): Likewise.
24722         (memcpy): Likewise.  Do not use BP_SYM.
24723         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24724         "bp-asm.h".
24725         (PARMS): Do not use macros from bp-asm.h.
24726         (DEST): Likewise.
24727         (SRC): Likewise.
24728         (LEN): Likewise.
24729         (memmove): Likewise.  Do not use BP_SYM.
24730         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24731         "bp-asm.h".
24732         (PARMS): Do not use macros from bp-asm.h.
24733         (DEST): Likewise.
24734         (SRC): Likewise.
24735         (LEN): Likewise.
24736         (__mempcpy): Likewise.  Do not use BP_SYM.
24737         (mempcpy): Do not use BP_SYM in weak_alias.
24738         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24739         "bp-asm.h".
24740         (PARMS): Do not use macros from bp-asm.h.
24741         (DEST): Likewise.
24742         (LEN): Likewise.
24743         [!BZERO_P] (CHR): Likewise.
24744         (memset): Likewise.  Do not use BP_SYM.
24745         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24746         "bp-asm.h".
24747         (PARMS): Do not use macros from bp-asm.h.
24748         (STR2): Likewise.
24749         (strcmp): Do not use BP_SYM.
24750         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24751         "bp-asm.h".
24752         (PARMS): Do not use macros from bp-asm.h.
24753         (STR): Likewise.
24754         (DELIM): Likewise.
24755         [USE_AS_STRTOK_R] (SAVE): Likewise.
24756         (FUNCTION): Likewise.  Do not use BP_SYM.
24757         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24758         aliases.
24759         (strtok_r): Likewise.
24760         (__GI___strtok_r): Likewise.
24761         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24762         (PARMS): Do not use macros from bp-asm.h.
24763         (S): Likewise.
24764         (SIZE): Likewise.
24765         (__mpn_lshift): Do not use BP_SYM.
24766         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24767         (PARMS): Do not use macros from bp-asm.h.
24768         (STR): Likewise.
24769         (CHR): Likewise.
24770         (__memchr): Do not use BP_SYM.
24771         (memchr): Do not use BP_SYM in weak_alias.
24772         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24773         (PARMS): Do not use macros from bp-asm.h.
24774         (BLK2): Likewise.
24775         (LEN): Likewise.
24776         (memcmp): Do not use BP_SYM.
24777         (bcmp): Do not use BP_SYM in weak_alias.
24778         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24779         (PARMS): Do not use macros from bp-asm.h.
24780         (S1): Likewise.
24781         (SIZE): Likewise.
24782         (__mpn_mul_1): Do not use BP_SYM.
24783         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24784         "bp-asm.h".
24785         (PARMS): Do not use macros from bp-asm.h.
24786         (STR): Likewise.
24787         (CHR): Likewise.
24788         (__rawmemchr): Do not use BP_SYM.
24789         (rawmemchr): Do not use BP_SYM in weak_alias.
24790         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24791         (PARMS): Do not use macros from bp-asm.h.
24792         (S): Likewise.
24793         (SIZE): Likewise.
24794         (__mpn_rshift): Do not use BP_SYM.
24795         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24796         (PARMS): Do not use macros from bp-asm.h.
24797         (SIGMSK): Likewise.
24798         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24799         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24800         (_start): Do not use BP_SYM.
24801         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24802         (PARMS): Do not use macros from bp-asm.h.
24803         (DEST): Likewise.
24804         (SRC): Likewise.
24805         (__stpcpy): Likewise.  Do not use BP_SYM.
24806         (stpcpy): Do not use BP_SYM in weak_alias.
24807         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24808         "bp-asm.h".
24809         (PARMS): Do not use macros from bp-asm.h.
24810         (DEST): Likewise.
24811         (SRC): Likewise.
24812         (LEN): Likewise.
24813         (__stpncpy): Likewise.  Do not use BP_SYM.
24814         (stpncpy): Do not use BP_SYM in weak_alias.
24815         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24816         (PARMS): Do not use macros from bp-asm.h.
24817         (STR): Likewise.
24818         (CHR): Likewise.
24819         (strchr): Likewise.  Do not use BP_SYM.
24820         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24821         "bp-asm.h".
24822         (PARMS): Do not use macros from bp-asm.h.
24823         (STR): Likewise.
24824         (CHR): Likewise.
24825         (__strchrnul): Likewise.  Do not use BP_SYM.
24826         (strchrnul): Do not use BP_SYM in weak_alias.
24827         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24828         "bp-asm.h".
24829         (PARMS): Do not use macros from bp-asm.h.
24830         (STOP): Likewise.
24831         (strcspn): Do not use BP_SYM.
24832         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24833         "bp-asm.h".
24834         (PARMS): Do not use macros from bp-asm.h.
24835         (STR): Likewise.
24836         (STOP): Likewise.
24837         (strpbrk): Likewise.  Do not use BP_SYM.
24838         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24839         "bp-asm.h".
24840         (PARMS): Do not use macros from bp-asm.h.
24841         (STR): Likewise.
24842         (CHR): Likewise.
24843         (strrchr): Likewise.  Do not use BP_SYM.
24844         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24845         (PARMS): Do not use macros from bp-asm.h.
24846         (SKIP): Likewise.
24847         (strspn): Do not use BP_SYM.
24848         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24849         (PARMS): Do not use macros from bp-asm.h.
24850         (STR): Likewise.
24851         (DELIM): Likewise.
24852         (SAVE): Likewise.
24853         (FUNCTION): Likewise.  Do not use BP_SYM.
24854         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24855         aliases.
24856         (strtok_r): Likewise.
24857         (__GI___strtok_r): Likewise.
24858         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24859         (PARMS): Do not use macros from bp-asm.h.
24860         (S1): Likewise.
24861         (S2): Likewise.
24862         (SIZE): Likewise.
24863         (__mpn_sub_n): Do not use BP_SYM.
24864         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24865         "bp-asm.h".
24866         (PARMS): Do not use macros from bp-asm.h.
24867         (S1): Likewise.
24868         (SIZE): Likewise.
24869         (__mpn_submul_1): Do not use BP_SYM.
24870         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24871         <bp-sym.h>.
24872         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24873         and <bp-asm.h>.
24874         (PARMS): Do not use macros from bp-asm.h.
24875         (FLAGS): Likewise.
24876         (PTID): Likewise.
24877         (TLS): Likewise.
24878         (CTID): Likewise.
24879         (__clone): Do not use BP_SYM.
24880         (clone): Do not use BP_SYM in weak_alias.
24881         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24882         and <bp-asm.h>.
24883         (PARMS): Do not use macros from bp-asm.h.
24884         (LEN): Likewise.
24885         (__mmap64): Do not use BP_SYM.
24886         (mmap64): Do not use BP_SYM in weak_alias.
24887         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24888         <bp-sym.h> and <bp-asm.h>.
24889         (PARMS): Do not use macros from bp-asm.h.
24890         (__posix_fadvise64_l64): Do not use BP_SYM.
24891         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24892         (PARMS): Do not use macros from bp-asm.h.
24893         (NSOPS): Likewise.
24894         (semtimedop): Do not use BP_SYM.
24895         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24896         and <bp-asm.h>.
24897
24898 2013-02-21  Allan McRae  <allan@archlinux.org>
24899
24900         * manual/message.texi (Charset conversion in gettext):
24901         Move @end statement to beginning of line.
24902
24903 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24904
24905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24906         static.
24907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24908         Likewise.
24909
24910         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24911         (denorm): Likewise.
24912         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24914
24915 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24916
24917         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24918         tail-call to the resolved function if pltexit isn't needed.
24919
24920 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24921
24922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24923         or Y being zero as being unlikely.
24924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24925         Likewise.
24926
24927 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24928
24929         * manual/nss.texi (System Databases and Name Service Switch):
24930         Remove frobnicate @pxref.
24931
24932 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24933
24934         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24935         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24936
24937 2013-02-20  Petr Machata  <pmachata@redhat.com>
24938
24939         * elf/elf.h (R_ARM_TARGET1): New macro.
24940         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24941         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24942         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24943         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24944         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24945         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24946         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24947         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24948         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24949         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24950         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24951         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24952         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24953         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24954         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24955         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24956         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24957         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24958         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24959         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24960         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24961         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24962         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24963         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24964         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24965         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24966         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24967         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24968         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24969         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24970         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24971         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24972         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24973         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24974         (R_ARM_THM_GOT_BREL12): Likewise.
24975         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24976         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24977         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24978         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24979         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24980         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24981         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24982         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24983         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24984
24985 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24986
24987         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24988         __attribute_used__ to __attribute__ ((unused)).
24989
24990 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24991
24992         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24993         powerpc mpa.c.
24994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24995         comment formatting.
24996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24997
24998 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24999
25000         [BZ #13550]
25001         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25002         Remove macro.
25003         (ENTER): Remove both macro definitions.
25004         (LEAVE): Likewise.
25005         (CHECK_BOUNDS_LOW): Likewise.
25006         (CHECK_BOUNDS_HIGH): Likewise.
25007         (CHECK_BOUNDS_BOTH): Likewise.
25008         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25009         (RETURN_BOUNDED_POINTER): Likewise.
25010         (RETURN_NULL_BOUNDED_POINTER): Likewise.
25011         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25012         (POP_ERRNO_LOCATION_RETURN): Likewise.
25013         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25014         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25015         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25016         macros.
25017         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25018         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25019         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25020         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25021         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25022         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25023         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25024         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25025         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25026         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25027         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25028         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25029         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25030         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25031         removed macros.
25032         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25033         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25034         macros.
25035         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25036         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25037         * sysdeps/i386/i586/memset.S (memset): Likewise.
25038         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25039         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25040         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25041         macros.
25042         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25043         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25044         Change uses of L(2) to L(out).
25045         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25046         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25047         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25048         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25049         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25050         removed macros.
25051         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25052         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25053         macros.
25054         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25055         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25056         (RETURN): Do not use macro LEAVE.
25057         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25058         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25059         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25060         * sysdeps/i386/i686/memset.S (memset): Likewise.
25061         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25062         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25063         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25064         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25065         Likewise.
25066         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25067         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
25068         L(1_2) and L(1_3) into L(1).
25069         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25070         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25071         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25072         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25073         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25074         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25075         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25076         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25077         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25078         macros.
25079         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25080         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25081         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25082         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25083         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25084         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25085         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25086         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25087         * sysdeps/i386/strcspn.S (strcspn): Likewise.
25088         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25089         * sysdeps/i386/strrchr.S (strrchr): Likewise.
25090         * sysdeps/i386/strspn.S (strspn): Likewise.
25091         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25092         conditional code.
25093         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25094         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25095         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25096         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
25097         L(1_3) into L(1_1).
25098         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25099         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25100         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25101         macros.
25102         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25103
25104 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
25105
25106         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25107         macro.
25108
25109 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25110
25111         * math/atest-exp.c (exp_mpn): Remove ROUND.
25112         * math/atest-exp2.c (exp_mpn): Likewise.
25113         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25114
25115         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25116         * stdlib/tst-tls-atexit-lib.c: Likewise.
25117         * stdlib/tst-tls-atexit.c: Likewise.
25118
25119 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25120
25121         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25122         and __attribute_alloc_size__.
25123
25124 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25125
25126         * include/programs/xmalloc.h: Change __attribute_alloc_size to
25127         __attribute_alloc_size__.
25128         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25129         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25130
25131 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25132
25133         * include/programs/xmalloc.h: New file.
25134         * catgets/gencat.c: Include it.
25135         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25136         * elf/pldd.c: Likewise.
25137         * iconv/iconv_charmap.c: Likewise.
25138         * iconv/iconvconfig.c: Likewise.
25139         * iconv/strtab.c: Likewise.
25140         * locale/programs/locale.c: Likewise.
25141         * locale/programs/localedef.h: Likewise.
25142         * locale/programs/simple-hash.c: Likewise.
25143         * nscd/nscd.h: Likewise.
25144         * nss/makedb.c: Likewise.
25145         * sysdeps/generic/ldconfig.h: Likewise.
25146
25147 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25148
25149         * Versions.def: Add GLIBC_2.18.
25150         * include/link.h (struct link_map): New member l_tls_dtor_count.
25151         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25152         (__call_tls_dtors): Likewise.
25153         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25154         __cxa_thread_atexit_impl.
25155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25156         Likewise.
25157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25158         Likewise.
25159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25160         Likewise.
25161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25162         Likewise.
25163         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25165         Likewise.
25166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25167         Likewise.
25168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25170         Likewise.
25171         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25172         (tests): Add test case tst-tls-atexit.
25173         (modules-names): Add shared library for tst-tls-atexit.
25174         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25175         (GLIBC_PRIVATE): Add __call_tls_dtors.
25176         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25177         for libstdc++.
25178         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25179         * stdlib/tst-tls-atexit.c: New test case.
25180         * stdlib/tst-tls-atexit-lib.c: New test case.
25181
25182         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25183
25184         * elf/Versions (ld): Add _dl_find_dso_for_object.
25185         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25186         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25187         (dl_open_worker): Use _dl_find_dso_for_object.
25188         * elf/dl-sym.c (do_sym): Likewise.
25189         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25190
25191 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25192
25193         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25194         Syntactic changes only.
25195         (_dl_runtime_profile): Do a tail-call to the resolved function.
25196
25197 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25198
25199         [BZ #13550]
25200         * sysdeps/x86_64/bp-asm.h: Remove file.
25201         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25202         <bp-sym.h> and <bp-asm.h>.
25203         (__clone): Do not use BP_SYM.
25204         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25205         <bp-sym.h> and <bp-asm.h>.
25206         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25207         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25208         "bp-asm.h".
25209         (_setjmp): Do not use BP_SYM.
25210         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25211         "bp-asm.h".
25212         (setjmp): Do not use BP_SYM.
25213         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25214         libc_hidden_def.
25215         (mempcpy): Do not use BP_SYM in weak_alias.
25216         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25217         "bp-asm.h".
25218         (strchr): Do not use BP_SYM.
25219         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25220         "bp-asm.h".
25221         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25222         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25223         (_start): Do not use BP_SYM.
25224         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25225         "bp-asm.h".
25226         (strcat): Do not use BP_SYM.
25227         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25228         "bp-asm.h".
25229         (STRCMP): Do not use BP_SYM.
25230         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25231         "bp-asm.h".
25232         (STRCPY): Do not use BP_SYM.
25233         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25234         "bp-asm.h".
25235         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25236         "bp-asm.h".
25237         (FUNCTION): Do not use BP_SYM.
25238         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25239         weak_alias.
25240         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25241
25242 2013-02-17  Andreas Jaeger  <aj@suse.de>
25243
25244         * time/Versions: Sort entries.
25245         * string/Versions: Likewise.
25246         * resolv/Versions: Likewise.
25247         * posix/Versions: Likewise.
25248         * iconv/Versions: Likewise.
25249         * elf/Versions: Likewise.
25250         * wcsmbs/Versions: Likewise.
25251
25252 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25253
25254         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25255         loop termination condition.
25256
25257         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25258         variable to calculate EZ.
25259         (__sqr): Likewise.
25260
25261         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25262         the lower precision input.
25263
25264 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25265
25266         [BZ #13550]
25267         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25268         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25269         (run-via-rtld-prefix): Do not handle %-bp tests.
25270         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25271         (all-object-suffixes): Remove .ob.
25272         (bppfx): Remove variable.
25273         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25274         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25275         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25276         [$(build-bounded) = yes] (libtype.ob): Likewise.
25277         * Makerules (elide-routines.ob): Remove variable.
25278         (do-tests-clean): Do not handle *-bp.out.
25279         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25280         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25281         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25282         (tests): Do not include $(tests-bp.out).
25283         (xtests): Do not include $(xtests-bp.out).
25284         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25285         [$(build-bounded) = yes] ($(addprefix
25286         $(objpfx),$(binaries-bounded))): Remove rule.
25287         ($(objpfx)%-bp.out): Remove rule.
25288         * config.make.in (build-bounded): Remove variable.
25289         * crypt/Makefile [$(build-bounded) = yes]
25290         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25291         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25292         append to variable.
25293         [$(build-bounded) = yes] (install-lib): Likewise.
25294         [$(build-bounded) = yes] (generated): Likewise.
25295         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25296         Remove rule.
25297         * intl/Makefile [$(build-bounded) = yes]
25298         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25299         * math/Makefile [$(build-bounded) = yes]
25300         ($(tests:%=$(objpfx)%-bp): Likewise.
25301         * misc/Makefile [$(build-bounded) = yes]
25302         ($(objpfx)tst-tsearch-bp): Likewise.
25303         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25304         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25305         Remove dependency.
25306         * string/Makefile (o-objects.ob): Remove variable.
25307         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25308         (CFLAGS-.ob): Remove variable.
25309         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25310         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25311         both definitions of variable.
25312         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25313         (ASFLAGS-.ob): Remove variable.
25314
25315 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25316
25317         [BZ #13550]
25318         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25319         Remove __BOUNDED_POINTERS__ from condition.
25320         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25321         * string/bits/string2.h [!__NO_STRING_INLINES &&
25322         !__BOUNDED_POINTERS__]: Likewise.
25323         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25324         Likewise.
25325         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25326         Remove conditional code.
25327         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25328         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25329         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25330         condition.
25331
25332         [BZ #13550]
25333         * csu/libc-start.c: Do not include <bp-sym.h>.
25334         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25335         * elf/dl-open.c: Do not include <bp-sym.h>.
25336         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25337         * math/fegetenv.c: Do not include <bp-sym.h>.
25338         (fegetenv): Do not use BP_SYM in versioned symbols.
25339         * nptl/sysdeps/pthread/bits/libc-lockP.h
25340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25341         <bp-sym.h>.
25342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25343         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25345         (__pthread_mutex_destroy): Likewise.
25346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25347         (__pthread_mutex_lock): Likewise.
25348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25349         (__pthread_mutex_trylock): Likewise.
25350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25351         (__pthread_mutex_unlock): Likewise.
25352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25353         (__pthread_mutexattr_init): Likewise.
25354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25355         (__pthread_mutexattr_destroy): Likewise.
25356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25357         (__pthread_mutexattr_settype): Likewise.
25358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25359         (__pthread_rwlock_init): Likewise.
25360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25361         (__pthread_rwlock_destroy): Likewise.
25362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25363         (__pthread_rwlock_rdlock): Likewise.
25364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25365         (__pthread_rwlock_tryrdlock): Likewise.
25366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25367         (__pthread_rwlock_wrlock): Likewise.
25368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25369         (__pthread_rwlock_trywrlock): Likewise.
25370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25371         (__pthread_rwlock_unlock): Likewise.
25372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25373         (__pthread_key_create): Likewise.
25374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25375         (__pthread_setspecific): Likewise.
25376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25377         (__pthread_getspecific): Likewise.
25378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25379         Likewise.
25380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25381         (_pthread_cleanup_push_defer): Likewise.
25382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25383         (_pthread_cleanup_pop_restore): Likewise.
25384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25385         (pthread_setcancelstate): Likewise.
25386         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25387         <bp-sym.h>.
25388         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25389         (memchr): Do not use BP_SYM in weak_alias.
25390         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25391         (fegetenv): Do not use BP_SYM in versioned symbols.
25392         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25393         (fesetenv): Do not use BP_SYM in versioned symbols.
25394         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25395         (feupdateenv): Do not use BP_SYM in versioned symbols.
25396         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25397         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25398         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25399         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25400         (open64): Do not use BP_SYM in weak_alias.
25401         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25402         (fegetenv): Do not use BP_SYM in versioned symbols.
25403         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25404         (fesetenv): Do not use BP_SYM in versioned symbols.
25405         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25406         (feupdateenv): Do not use BP_SYM in versioned symbols.
25407         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25408         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25409         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25410         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25411         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25412         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25413         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25414         <bp-sym.h>.
25415         (__libc_start_main): Do not use BP_SYM.
25416
25417 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25418
25419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25420         redundant return line.
25421         (norm): Likewise.
25422         (denorm): Likewise.
25423         (dbl_mp): Likewise.
25424         (sub_magnitudes): Likewise.
25425         (__add): Likewise.
25426         (__sub): Likewise.
25427         (__mul): Likewise.
25428         (__inv): Likewise.
25429         (__dvd): Likewise.
25430         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25431         (norm): Likewise.
25432         (denorm): Likewise.
25433         (dbl_mp): Likewise.
25434         (sub_magnitudes): Likewise.
25435         (__add): Likewise.
25436         (__sub): Likewise.
25437         (__mul): Likewise.
25438         (__inv): Likewise.
25439         (__dvd): Likewise.
25440
25441         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25442         instead of __mul.
25443         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25444         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25445         (cc32): Likewise.
25446
25447         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25448         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25449         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25450         of __mul for squares.
25451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25452         function
25453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25454         Likewise.
25455         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25456         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25457
25458 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25459
25460         [BZ #13550]
25461         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25462         code.
25463         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25464         prototype or function definition.  Rename ubp_* variables and
25465         parameters.  Remove argv definitions conditional on
25466         [__BOUNDED_POINTERS__].
25467         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25468         * elf/dl-runtime.c (_dl_fixup): Likewise.
25469         * include/set-hooks.h (RUN_HOOK): Likewise.
25470         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25471         definition.
25472         * string/strcpy.c (strcpy): Do not use __unbounded.
25473         * sysdeps/generic/frame.h (struct layout): Likewise.
25474         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25475         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25476         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25477         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25478         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25479         (__backtrace): Likewise.
25480         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25481         use __ptrvalue.
25482         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25483         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25484         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25485         Likewise.
25486         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25487         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25488         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25489         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25490         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25491         Do not use __unbounded.
25492         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25493         Rename __unboundedrlimits parameter to rlimits in prototype.
25494         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25495         Do not use __unbounded.
25496         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25497         not use __ptrvalue.
25498         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25499         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25500         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25501         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25502         __ptrvalue or __unbounded.
25503         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25504         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25505         use __unbounded.
25506         (__new_msgctl): Do not use __ptrvalue.
25507         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25508         __unbounded.
25509         (__libc_msgrcv): Do not use __ptrvalue.
25510         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25511         startup_info): Do not use __unbounded.
25512         (__libc_start_main): Likewise.  Rename ubp_* variables and
25513         parameters.  Remove argv definitions conditional on
25514         [__BOUNDED_POINTERS__].
25515         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25516         __ptrvalue.
25517         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25518         use __unbounded.
25519         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25520         or __ptrvalue.
25521         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25522         use __unbounded.
25523         (__new_shmctl): Do not use __ptrvalue.
25524         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25525         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25526         Likewise.
25527         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25528         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25529         (__libc_sigaction): Likewise.
25530         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25531         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25532         Likewise.
25533         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25534
25535 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25536
25537         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25538
25539         * string/mempcpy.c: Implement by calling memcpy.
25540
25541 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25542
25543         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25544
25545         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25546         evaluation.
25547
25548         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25549         values in the mantissa.
25550
25551         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25552         minimize writes to Z.
25553         (sub_magnitudes): Simplify code a bit.
25554
25555 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25556
25557         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25558         from the message.  The linker prefixes all warnings with that already.
25559
25560 2013-02-12  Andreas Schwab  <schwab@suse.de>
25561
25562         [BZ #15078]
25563         * posix/regexec.c (extend_buffers): Add parameter min_len.
25564         (check_matching): Pass minimum needed length.
25565         (clean_state_log_if_needed): Likewise.
25566         (get_subexp): Likewise.
25567         * posix/Makefile (tests): Add bug-regex34.
25568         (bug-regex34-ENV): Define.
25569         * posix/bug-regex34.c: New file.
25570
25571         [BZ #11561]
25572         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25573         elements compare against the byte sequence of it, not its name.
25574         * posix/Makefile (tests): Add bug-regex35.
25575         (bug-regex35-ENV): Define.
25576         * posix/bug-regex35.c: New file.
25577
25578 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25579
25580         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25581         comment.
25582         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25583         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25584         (CHECK_EOL): Add undef.
25585
25586 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25587
25588         * bits/stdlib-bsearch.h: New file.
25589         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25590         * stdlib/stdlib.h: Likewise.
25591
25592 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25593
25594         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25595         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25596         declaration.
25597         * manual/search.texi (Array Search Function): Add missing const in
25598         lfind prototype.
25599         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25600         declaration to use rlim_t.
25601         (Basic Scheduling Functions): Remove erroneous const from
25602         sched_getparam prototype.  Remove erroneous * from
25603         sched_get_priority_max and sched_get_priority_min prototypes.
25604         (Resource Usage): Fix summary @comment on vtimes to refer to
25605         sys/vtimes.h rather than vtimes.h.
25606         Add missing *s in vtimes prototype.
25607         (Limits on Resources): Fix ulimit prototype to return long int.
25608         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25609         prototypes to use long int rather than double.
25610         (BSD Random): Fix initstate and setstate to use char *, not void *.
25611         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25612         prototype to make second argument 'struct aiocb64 *const[]'.
25613         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25614         (Status of AIO Operations): Remove erroneous const in aio_return and
25615         aio_return64 prototypes.
25616         (Synchronizing I/O): Fix sync prototype to return void.
25617         * manual/startup.texi (Suboptions): Remove an erroneous const in
25618         getsubopt prototype.
25619         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25620         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25621         use size_t rather than int.
25622         (Scanning All Users): Likewise for getpwent_r.
25623         (Setting Groups): Add missing const to setgroups prototype.
25624         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25625         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25626         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25627         'const void *' rather than 'const char *'.
25628         (Host Address Functions): Likewise for inet_ntop.
25629         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25630         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25631         ssize_t for return value.
25632         (Sending Data): Likewise for send, sendto, sendmsg.
25633         (Socket Option Functions): Add a missing const in setsockopt prototype.
25634         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25635         use wchar_t for the argument.
25636         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25637         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25638         take no arguments.
25639         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25640         double/float/long double for second argument.
25641         Fix return types of significand, significandf, significandl.
25642         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25643         argument in fchmod prototype.
25644         (File Owner): Use uid_t and gid_t in fchown prototype.
25645         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25646         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25647         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25648         use 'const struct dirent **' as argument types to CMP function pointer
25649         argument.
25650         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25651         (File Times): Fix summary magic @comment for struct utimbuf and utime
25652         to refer to utime.h, not time.h.
25653         * manual/string.texi (Argz Functions): Add missing const in
25654         argz_extract and argz_next prototypes.
25655         (Finding Tokens in a String): Likewise for basename.
25656         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25657         (Copying and Concatenation): Fix typo in wmemmove prototype.
25658         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25659         (Signal Stack): Remove erroneous const in sigstack prototype.
25660         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25661         prototype.
25662         (Simple Calendar Time): Likewise for stime.
25663         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25664         prototype.
25665         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25666         say sys/sysctl.h instead.
25667         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25668         and vsyslog prototypes.
25669
25670 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25671
25672         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25673         Remove.
25674
25675 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25676
25677         * misc/sys/mman.h: Fix typo in mremap comment.
25678
25679 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25680
25681         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25682         the '\0' terminator.
25683
25684 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25685
25686         [BZ #13550]
25687         * debug/segfault.c: Don't include <bp-checks.h>.
25688         * sysdeps/generic/bp-checks.h: Remove file.
25689         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25690         (__GETDENTS): Don't use CHECK_N.
25691         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25692         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25693         (__getgroups): Don't use CHECK_N.
25694         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25695         (setgroups): Don't use CHECK_N.
25696         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25697         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25698         (__libc_msgrcv): Don't use CHECK_N.
25699         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25700         (__libc_msgsnd): Don't use CHECK_N.
25701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25702         <bp-checks.h>.
25703         (__libc_pread): Don't use CHECK_N.
25704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25705         include <bp-checks.h>.
25706         (__libc_pread64): Don't use CHECK_N.
25707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25708         include <bp-checks.h>.
25709         (__libc_pwrite): Don't use CHECK_N.
25710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25711         include <bp-checks.h>.
25712         (__libc_pwrite64): Don't use CHECK_N.
25713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25714         <bp-checks.h>.
25715         (__libc_pread): Don't use CHECK_N.
25716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25717         include <bp-checks.h>.
25718         (__libc_pread64): Don't use CHECK_N.
25719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25720         include <bp-checks.h>.
25721         (__libc_pwrite): Don't use CHECK_N.
25722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25723         include <bp-checks.h>.
25724         (__libc_pwrite64): Don't use CHECK_N.
25725         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25726         (do_pread): Don't use CHECK_N.
25727         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25728         (do_pread64): Don't use CHECK_N.
25729         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25730         (do_pwrite): Don't use CHECK_N.
25731         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25732         (do_pwrite64): Don't use CHECK_N.
25733         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25734         (__libc_readv): Don't use CHECK_N.
25735         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25736         (semop): Don't use CHECK_N.
25737         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25738         <bp-checks.h>.
25739         (semtimedop): Don't use CHECK_N.
25740         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25741         (__libc_pread): Don't use CHECK_N.
25742         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25743         <bp-checks.h>.
25744         (__libc_pread64): Don't use CHECK_N.
25745         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25746         <bp-checks.h>.
25747         (__libc_pwrite): Don't use CHECK_N.
25748         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25749         <bp-checks.h>.
25750         (__libc_pwrite64): Don't use CHECK_N.
25751         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25752         <bp-checks.h>.
25753         (__libc_msgrcv): Don't use CHECK_N.
25754         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25755         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25756         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25757         (__libc_writev): Don't use CHECK_N.
25758
25759 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25760
25761         * string/strcpy.c: Removed unused variable.
25762
25763         * Makeconfig (+sysdep-includes): Define with := rather than =.
25764         Use an existing include/ subdir of each sysdeps dir before it.
25765
25766 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25767
25768         * nscd/connection.c (register_traced_file): Comment function.
25769         [HAVE_INOTIFY] (union __inev): Define.
25770         [HAVE_INOTIFY] (inotify_check_files): New function.
25771         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25772         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25773         clear_db_cache.
25774         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25775
25776 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25777
25778         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25779         loaded if not already and that a failure is permanent.
25780
25781 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25782
25783         [BZ #15006]
25784         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25785         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25786
25787 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25788
25789         [BZ #13550]
25790         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25791         (CHECK_1_NULL_OK): Likewise.
25792         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25793         (__fxstat): Do not use CHECK_1.
25794         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25795         <bp-checks.h>.
25796         (___fxstat64): Do not use CHECK_1.
25797         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25798         <bp-checks.h>.
25799         (__fxstatat): Do not use CHECK_1.
25800         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25801         <bp-checks.h>.
25802         (__fxstatat64): Do not use CHECK_1.
25803         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25804         <bp-checks.h>.
25805         (__fxstat): Do not use CHECK_1.
25806         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25807         <bp-checks.h>.
25808         (__fxstatat): Do not use CHECK_1.
25809         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25810         <bp-checks.h>.
25811         (__getresgid): Do not use CHECK_1.
25812         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25813         <bp-checks.h>.
25814         (__getresuid): Do not use CHECK_1.
25815         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25816         <bp-checks.h>.
25817         (__lxstat): Do not use CHECK_1.
25818         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25819         <bp-checks.h>.
25820         (__old_msgctl): Do not use CHECK_1.
25821         (__new_msgctl): Likewise.
25822         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25823         <bp-checks.h>.
25824         (__new_setrlimit): Do not use CHECK_1.
25825         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25826         <bp-checks.h>.
25827         (__old_shmctl): Do not use CHECK_1.
25828         (__new_shmctl): Likewise.
25829         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25830         <bp-checks.h>.
25831         (__xstat): Do not use CHECK_1.
25832         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25833         (__lxstat): Do not use CHECK_1.
25834         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25835         <bp-checks.h>.
25836         (___lxstat64): Do not use CHECK_1.
25837         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25838         (__old_msgctl): Do not use CHECK_1.
25839         (__new_msgctl): Likewise.
25840         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25841         <bp-checks.h>.
25842         (__gettimeofday): Do not use CHECK_1.
25843         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25844         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25845         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25846         <bp-checks.h>.
25847         (__gettimeofday): Do not use CHECK_1.
25848         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25849         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25850         (__new_shmctl): Do not use CHECK_1.
25851         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25852         <bp-checks.h>.
25853         (do_sigtimedwait): Do not use CHECK_1.
25854         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25855         <bp-checks.h>.
25856         (do_sigwaitinfo): Do not use CHECK_1.
25857         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25858         <bp-checks.h>.
25859         (msgctl): Do not use CHECK_1.
25860         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25861         <bp-checks.h>.
25862         (shmctl): Do not use CHECK_1.
25863         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25864         (ustat): Do not use CHECK_1.
25865         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25866         <bp-checks.h>.
25867         (__fxstat): Do not use CHECK_1.
25868         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25869         <bp-checks.h>.
25870         (__fxstatat): Do not use CHECK_1.
25871         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25872         <bp-checks.h>.
25873         (__lxstat): Do not use CHECK_1.
25874         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25875         <bp-checks.h>.
25876         (__xstat): Do not use CHECK_1.
25877         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25878         (__xstat): Do not use CHECK_1.
25879         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25880         (___xstat64): Do not use CHECK_1.
25881
25882         [BZ #13550]
25883         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25884         definitions.
25885         (CHECK_BOUNDS_HIGH): Likewise.
25886         * string/strcpy.c: Do not include <bp-checks.h>.
25887         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25888
25889 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25890
25891         * nscd/nscd-client.h (__nscd_drop_map_ref):
25892         Add __attribute__ ((unused)).
25893         * nis/nss-nisplus.h (niserr2nss): Likewise.
25894
25895         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25896         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25897
25898         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25899         Remove inline keyword.
25900         * include/rounding-mode.h (round_away): Likewise.
25901         * libio/wfileops.c (adjust_wide_data): Likewise.
25902         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25903         (__m128i_strloadu_tolower): Likewise.
25904         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25905         (__m128i_strloadu_tolower): Likewise.
25906         * time/mktime.c (ydhms_diff): Likewise.
25907         * locale/elem-hash.h (elem_hash): Likewise.
25908         * locale/setlocale.c (setdata): Likewise.
25909         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25910         (re_string_wchar_at): Likewise.
25911         (bitset_not, bitset_merge, bitset_mask): Likewise.
25912         [!(__GNUC__ > 3)] (inline): Remove macro.
25913         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25914         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25915         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25916         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25917         * string/memcmp.c (memcmp_bytes): Likewise.
25918         * locale/programs/locarchive.c (compute_hashval): Likewise.
25919         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25920         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25921         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25922         * nss/getent.c (print_rpc, print_protocols): Likewise.
25923         (print_passwd, print_group, print_aliases): Likewise.
25924         * nis/nss-nisplus.h (niserr2nss): Likewise.
25925         * nscd/connections.c (restart_p): Likewise.
25926         Change return type to bool.
25927
25928 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25929
25930         * Makeconfig (all-Depend-files): Add existing
25931         $(sorted-subdirs:=/Depend) files.
25932         (all-subdirs): Remove nss.
25933         * sysdeps/unix/inet/Subdirs: Add it here instead.
25934         * hesiod/Depend: New file.
25935
25936         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25937         instead of calling alloca.
25938
25939         * io/lseek.c (__lseek): Rename to __libc_lseek.
25940         Define __lseek as an alias.
25941
25942         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25943
25944 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25945
25946         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25947         else clause and remove check for non-standard endianness.
25948
25949 2013-02-04  David S. Miller  <davem@davemloft.net>
25950
25951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25952
25953 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25954
25955         [BZ #13550]
25956         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25957         (__ubp_memchr): Remove prototype.
25958         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25959         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25960         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25961         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25962         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25963         Remove alias.
25964         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25965         (__ubp_memchr): Likewise.
25966         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25967         (__ubp_memchr): Likewise.
25968         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25969         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25970         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25971         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25972         CHECK_STRING.
25973         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25974         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25975         (__getcwd): Do not use CHECK_STRING.
25976         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25977         <bp-checks.h>.
25978         (__real_chown): Do not use CHECK_STRING.
25979         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25980         <bp-checks.h>.
25981         (fchownat): Do not use CHECK_STRING.
25982         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25983         CHECK_STRING.
25984         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25985         <bp-checks.h>.
25986         (__lchown): Do not use CHECK_STRING.
25987         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25988         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25989         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25990         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25992         include <bp-checks.h>.
25993         (truncate64): Do not use CHECK_STRING.
25994         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25995         <bp-checks.h>.
25996         (__real_chown): Do not use CHECK_STRING.
25997         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25998         <bp-checks.h>.
25999         (__lchown): Do not use CHECK_STRING.
26000         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26001         <bp-checks.h>.
26002         (__chown): Do not use CHECK_STRING.
26003         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26004         <bp-checks.h>.
26005         (truncate64): Do not use CHECK_STRING.
26006         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26007         Likewise.
26008         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26009         (__xmknod): Do not use CHECK_STRING.
26010         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26011         <bp-checks.h>.
26012         (__xmknodat): Do not use CHECK_STRING.
26013         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26014         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26015
26016 2013-02-04  Andreas Schwab  <schwab@suse.de>
26017
26018         [BZ #14142]
26019         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26020         * include/netdb.h: Likewise for h_errno.
26021         * elf/tst-stackguard1.c: Include <tls.h>.
26022
26023 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
26024
26025         * elf/link.h (struct link_map): Extend the l_addr comment.
26026         * include/link.h (struct link_map): Likewise.
26027
26028 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
26029
26030         [BZ #13550]
26031         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26032         (BOUNDED_1): Remove macro.
26033         * debug/backtrace.c: Don't include <bp-checks.h>.
26034         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26035         (__backtrace): Likewise.
26036         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26037         <bp-checks.h>.
26038         (__backtrace): Don't use BOUNDED_1.
26039         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26040         <bp-checks.h>.
26041         (__backtrace): Don't use BOUNDED_1.
26042         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26043         (__backtrace): Don't use BOUNDED_1.
26044         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26045         (shmat): Don't use BOUNDED_N.
26046
26047 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
26048
26049         [BZ #13550]
26050         * sysdeps/generic/bp-start.h: Remove file.
26051         * csu/libc-start.c: Don't include <bp-start.h>.
26052         (LIBC_START_MAIN): Set up __environ directly instead of using
26053         INIT_ARGV_and_ENVIRON.
26054         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26055         <bp-start.h>.
26056
26057         [BZ #13550]
26058         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26059         definitions.
26060         (CHECK_FCNTL): Likewise.
26061         (CHECK_N_PAGES): Likewise.
26062
26063         [BZ #13550]
26064         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26065         definitions.
26066         (CHECK_SIGSET_NULL_OK): Likewise.
26067         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26068         <bp-checks.h>.
26069         (sigpending): Don't use CHECK_SIGSET.
26070         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26071         <bp-checks.h>.
26072         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26073         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26074         <bp-checks.h>.
26075         (do_sigsuspend): Don't use CHECK_SIGSET.
26076         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26077         use CHECK_SIGSET.
26078         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26079         (do_sigwait): Don't use CHECK_SIGSET.
26080         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26081         use CHECK_SIGSET.
26082         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26083         include <bp-checks.h>.
26084         (sigpending): Don't use CHECK_SIGSET.
26085         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26086         include <bp-checks.h>.
26087         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26088         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26089         <bp-checks.h>.
26090         (sigpending): Don't use CHECK_SIGSET.
26091         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26092         <bp-checks.h>.
26093         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26094
26095         [BZ #13550]
26096         * sysdeps/generic/bp-semctl.h: Remove file.
26097         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26098         <bp-checks.h> and <bp-semctl.h>.
26099         (__old_semctl): Don't use CHECK_SEMCTL.
26100         (__new_semctl): Likewise.
26101         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26102         and <bp-semctl.h>.
26103         (__old_semctl): Don't use CHECK_SEMCTL.
26104         (__new_semctl): Likewise.
26105         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26106         <bp-checks.h> and <bp-semctl.h>.
26107         (__old_semctl): Don't use CHECK_SEMCTL.
26108         (__new_semctl): Likewise.
26109         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26110         <bp-checks.h> and <bp-semctl.h>.
26111         (semctl): Don't use CHECK_SEMCTL.
26112
26113         [BZ #13550]
26114         * Makerules (elide-bp-thunks): Remove variable.
26115         (elide-routines.oS): Don't use $(elide-bp-thunks).
26116         (elide-routines.os): Likewise.
26117         (elide-routines.o): Likewise.
26118         (elide-routines.op): Likewise.
26119         (elide-routines.og): Likewise.
26120         (objects): Don't use $(bp-thunks).
26121         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26122         include.
26123         (common-generated): Do not add s-proto-bp.d.
26124         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26125         (int): Likewise.
26126         (typ): Likewise.
26127         Do not generate makefile rules for bounded-pointer thunks.
26128         * sysdeps/generic/bp-thunks.h: Remove file.
26129         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26130         * sysdeps/unix/s-proto-bp.S: Likewise.
26131
26132         [BZ #15062]
26133         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26134         parts of result separately when argument is not close to line from
26135         -i to i and one part of argument is small.
26136         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26137         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26138         * math/libm-test.inc (cacos_test): Add more tests.
26139         (casin_test): Likewise.
26140         (casinh_test): Likewise.
26141         * sysdeps/i386/fpu/libm-test-ulps: Update.
26142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26143
26144 2013-01-31  David S. Miller  <davem@davemloft.net>
26145
26146         * po/de.po: Update from translation team.
26147
26148 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
26149
26150         * time/tzfile.c: Include stdint.h for SIZE_MAX.
26151
26152 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26153
26154         * configure.in (_AC_PROG_CC_C89): New definition.
26155         * configure: Regenerate.
26156
26157         * configure.in (AC_PROG_CPP): New definition.
26158         * configure: Regenerate.
26159
26160 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26161
26162         * debug/tst-backtrace.h: New file.
26163         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26164         (ret): Remove variable.
26165         (x): Likewise.
26166         (FAIL): Remove macro.
26167         (NO_INLINE): Likewise.
26168         (fn1): Use match function instead of strstr.
26169         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26170         (ret): Remove variable.
26171         (x): Likewise.
26172         (FAIL): Remove macro.
26173         (NO_INLINE): Likewise.
26174         (fn): Use match function instead of strstr.
26175         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26176         (ret): Remove variable.
26177         (x): Likewise.
26178         (FAIL): Remove macro.
26179         (NO_INLINE): Likewise.
26180         (handle_signal): Use match function instead of strstr.
26181         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26182         (ret): Remove variable.
26183         (x): Likewise.
26184         (FAIL): Remove macro.
26185         (NO_INLINE): Likewise.
26186         (handle_signal): Use match function instead of strstr.
26187
26188 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26189
26190         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26191
26192 2013-01-23  David S. Miller  <davem@davemloft.net>
26193
26194         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26195         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26196         argument of CAS if possible.
26197         * sysdeps/sparc/sparc64/bits/atomic.h
26198         (__arch_compare_and_exchange_val_32_acq): Likewise.
26199         (__arch_compare_and_exchange_val_64_acq): Likewise.
26200
26201 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26202
26203         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26204         * sysdeps/posix/ulimit.c: ... this.
26205         Include <limits.h>.
26206         * sysdeps/unix/bsd/ulimit.c: Remove file.
26207
26208 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26209
26210         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26211         (LDFLAGS-tst-array5): Likewise.
26212
26213 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26214
26215         [BZ #15036]
26216         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26217         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26218         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26219         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26220
26221 2013-01-21  David S. Miller  <davem@davemloft.net>
26222
26223         * sysdeps/sparc/backtrace.c: New file.
26224         * sysdeps/sparc/sparc32/backtrace.h: New file.
26225         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26226         * sysdeps/sparc/sparc64/backtrace.h: New file.
26227         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26228         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26229         -funwind-tables.
26230
26231 2013-01-21  Andreas Schwab  <schwab@suse.de>
26232
26233         [BZ #15020]
26234         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26235         closed its stdout.
26236
26237 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26238
26239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26240         "mpa2.h".
26241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26242
26243 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26244             Mark Mitchell  <mark@codesourcery.com>
26245             Tom de Vries  <tom@codesourcery.com>
26246             Paul Pluzhnikov  <ppluzhnikov@google.com>
26247
26248         * debug/tst-backtrace2.c: New file.
26249         * debug/tst-backtrace3.c: Likewise.
26250         * debug/tst-backtrace4.c: Likewise.
26251         * debug/tst-backtrace5.c: Likewise.
26252         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26253         (CFLAGS-tst-backtrace3.c): Likewise.
26254         (CFLAGS-tst-backtrace4.c): Likewise.
26255         (CFLAGS-tst-backtrace5.c): Likewise.
26256         (LDFLAGS-tst-backtrace2): Likewise.
26257         (LDFLAGS-tst-backtrace3): Likewise.
26258         (LDFLAGS-tst-backtrace4): Likewise.
26259         (LDFLAGS-tst-backtrace5): Likewise.
26260         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26261         tst-backtrace4 and tst-backtrace5.
26262
26263 2013-01-18  Anton Blanchard  <anton@samba.org>
26264             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26265
26266         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26267         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26268         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26269         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26271         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26272         "+r" and remove output regs list as redundant.  Add explicit inline
26273         asm to specify register of return val to work around compiler codegen
26274         bug.  Remove (int) cast on return value.  Add return type parameter to
26275         use in macro so that this macro does not truncate return value for
26276         64-bit values.
26277         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26278         pass to INTERNAL_VSYSCALL_NCS.
26279         (INLINE_VSYSCALL): Add 'long int' as return type to
26280         INTERNAL_VSYSCALL_NCS macro invocation.
26281         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26282         INTERNAL_VSYSCALL_NCS macro invocation.
26283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26284
26285 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26286
26287         [BZ #14496]
26288         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26289         Fix application of SIMD FP exception mask.
26290
26291         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26292         mp_no from a power of two.
26293         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26294         __mpexp_twomm1.  Use __pow_mp.
26295
26296         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26297         multiplication.
26298
26299 2013-01-17  David S. Miller  <davem@davemloft.net>
26300
26301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26302
26303 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26304
26305         [BZ #15023]
26306         * include/complex.h: Condition contents on [!_COMPLEX_H].
26307         (__kernel_casinhf): New prototype.
26308         (__kernel_casinh): Likewise.
26309         (__kernel_casinhl): Likewise.
26310         * math/Makefile (libm_calls): Add k_casinh.
26311         * math/k_casinh.c: New file.
26312         * math/k_casinhf.c: Likewise.
26313         * math/k_casinhl.c: Likewise.
26314         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26315         finite nonzero arguments.
26316         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26317         finite nonzero arguments.
26318         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26319         finite nonzero arguments.
26320         * math/s_casinh.c: Do not include <float.h>.
26321         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26322         * math/s_casinhf.c: Do not include <float.h>.
26323         (__casinhf): Move code for finite nonzero arguments to
26324         k_casinhf.c.
26325         * math/s_casinhl.c: Do not include <float.h>.
26326         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26327         redefine.
26328         (__casinhl): Move code for finite nonzero arguments to
26329         k_casinhl.c.
26330         * math/libm-test.inc (cacos_test): Add more tests.
26331         * sysdeps/i386/fpu/libm-test-ulps: Update.
26332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26333
26334 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26335
26336         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26337         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26338         [!HAVE_MREMAP]: Remove [defined linux] case.
26339         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26340
26341 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26342
26343         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26344
26345 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26346
26347         * elf/elf.h (R_386_SIZE32): New relocation.
26348         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26349         R_386_SIZE32.
26350         (elf_machine_rela): Likewise.
26351         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26352         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26353
26354 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26355
26356         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26357         (FP_FAST_FMA): Do not define.
26358         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26359         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26360         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26361         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26362         !_SOFT_FLOAT]: Likewise.
26363         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26364         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26365         value.
26366         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26367         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26368         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26369         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26370         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26371         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26372         file.
26373
26374 2013-01-16  Andreas Schwab  <schwab@suse.de>
26375
26376         [BZ #14327]
26377         * include/stdlib.h (__mktemp): Add declaration.
26378         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26379         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26380
26381 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26382
26383         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26384         definitions.
26385         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26386         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26387         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26388         definitions here.
26389         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26390         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26391         definitions.
26392         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26393         and ONE.
26394         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26395         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26396         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26397         definitions.
26398         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26399         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26400         definitions.
26401         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26402
26403         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26404
26405 2013-01-15  David S. Miller  <davem@davemloft.net>
26406
26407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26408         trunc{,f} to libm-sysdep_routes.
26409         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26411         file.
26412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26414         file.
26415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26416         file.
26417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26419         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26420         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26421         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26422         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26423         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26424         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26425
26426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26427         nearbyint{,f} to libm-sysdep_routes.
26428         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26430         New file.
26431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26432         file.
26433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26434         New file.
26435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26436         file.
26437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26439         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26440         file.
26441         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26442         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26443         file.
26444         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26445         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26446         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26447
26448         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26449         libc_feholdexcept and libc_fesetenv.
26450
26451 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26452
26453         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26454
26455 2013-01-14  David S. Miller  <davem@davemloft.net>
26456
26457         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26458         (SPARC_ASM_VIS2_IFUNC): Likewise.
26459         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26461         use of 'siam' instruction.
26462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26463         Likewise.
26464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26465         Likewise.
26466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26467         Likewise.
26468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26470         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26473         file.
26474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26475         file.
26476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26477         file.
26478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26479         file.
26480         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26482         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26483         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26485         new VIS2 routines.
26486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26489         Likewise.
26490         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26491         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26493         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26495         routines to libm-sysdep_routines.
26496         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26497
26498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26499         fdim/fdimf to libm-sysdep_routines.
26500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26501         file.
26502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26504         file.
26505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26508         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26509         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26510         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26511         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26512
26513 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26514
26515         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26516         to optimize copies.
26517
26518         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26519         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26520         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26521
26522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26523         local variable MPTWO.
26524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26525         Likewise.
26526
26527 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26528
26529         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26530         GLOB_NOESCAPE.
26531
26532 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26533
26534         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26535
26536 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26537
26538         * manual/pattern.texi (glob_t): Document gl_flags.
26539         (glob64_t): Likewise.
26540
26541 2013-01-11  David S. Miller  <davem@davemloft.net>
26542
26543         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26544         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26545         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26546         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26547         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26548         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26549         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26550         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26551         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26552         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26553         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26554         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26555         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26556
26557         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26558         sparc V9 rather than using V8 code.
26559         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26560         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26561
26562         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26563         Move to...
26564         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26565         Here.
26566
26567 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26568
26569         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26570         not in the main loop.
26571         * configure: Regenerated.
26572
26573 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26574
26575         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26576         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26577         to just #else.
26578         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26579         [!__GLIBC_HAVE_LONG_LONG] case.
26580         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26581         condition to just #else.
26582         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26583         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26584         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26585         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26586         unconditional.
26587         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26588         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26589         #elif condition to just #else.
26590         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26591         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26592         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26593         #elif condition to just #else.
26594
26595 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26596
26597         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26598         (EF_MIPS_ARCH_64): Fix value.
26599         (EF_MIPS_ARCH_32R2): New.
26600         (EF_MIPS_ARCH_64R2): New.
26601
26602 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26603
26604         * Makeconfig (+link-pie-before-libc): New.
26605         (+link-pie-after-libc): Likewise.
26606         (+link-pie-tests): Likewise.
26607         (+link-pie): Rewritten.
26608         (link-before-libc): Remove $(config-LDFLAGS).
26609         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26610         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26611         (config-LDFLAGS): Renamed to ...
26612         (rtld-LDFLAGS): This.
26613         (rtld-tests-LDFLAGS): New macro.
26614         (link-libc-rpath-link): Likewise.
26615         (link-libc-tests-rpath-link): Likewise.
26616         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26617         (link-libc): Prepand $(link-libc-rpath-link).
26618         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26619         (test-program-prefix): New macro.
26620         (test-via-rtld-prefix): Likewise.
26621         (test-program-cmd): Likewise.
26622         (host-test-program-cmd): Likewise.
26623         * Makefile ($(common-objpfx)testrun.sh): Replace
26624         $(run-program-prefix) with $(test-program-prefix).
26625         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26626         $(rtld-LDFLAGS).
26627         ($(common-objpfx)shlib.lds): Likewise.
26628         (build-module-helper): Likewise.
26629         ($(common-objpfx)format.lds): Likewise.
26630         * Rules (binaries-pie-tests): New.
26631         (binaries-pie-notests): Likewise.
26632         (binaries-pie): Rewritten.
26633         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26634         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26635         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26636         (make-test-out): Replace $(host-built-program-cmd) with
26637         $(host-test-program-cmd).
26638         * config.make.in (build-hardcoded-path-in-tests): New variable.
26639         * configure.in (--enable-hardcoded-path-in-tests): New configure
26640         option.
26641         (hardcoded_path_in_tests): New AC_SUBST.
26642         * configure: Regenerated.
26643         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26644         $(built-program-cmd) with $(test-program-cmd).
26645         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26646         (test_program_cmd): This.
26647         * elf/Makefile ($(objpfx)order.out): Run test with
26648         $(test-program-prefix).
26649         ($(objpfx)order2.out): Likewise.
26650         ($(objpfx)tst-initorder.out): Likewise.
26651         ($(objpfx)tst-initorder2.out): Likewise.
26652         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26653         $(test-program-cmd).
26654         ($(objpfx)tst-array1-static.out): Likewise.
26655         ($(objpfx)tst-array2.out): Likewise.
26656         ($(objpfx)tst-array3.out): Likewise.
26657         ($(objpfx)tst-array4.out): Likewise.
26658         ($(objpfx)tst-array5.out): Likewise.
26659         ($(objpfx)tst-array5-static.out): Likewise.
26660         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26661         $(test-program-cmd).
26662         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26663         $(run-program-prefix) with $(test-program-prefix).
26664         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26665         (test_program_prefix): This.
26666         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26667         $(run-program-prefix) with $(test-program-prefix).
26668         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26669         (test_program_prefix): This.
26670         * iconvdata/tst-tables.sh: Likewise.
26671         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26672         $(run-program-prefix) with $(test-program-prefix).
26673         ($(objpfx)tst-translit.out): Likewise.
26674         ($(objpfx)tst-gettext2.out): Likewise.
26675         ($(objpfx)tst-gettext4.out): Likewise.
26676         ($(objpfx)tst-gettext6.out): Likewise.
26677         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26678         (test_program_prefix): This.
26679         * intl/tst-gettext2.sh: Likewise.
26680         * intl/tst-gettext4.sh  Likewise.
26681         * intl/tst-gettext6.sh: Likewise.
26682         * intl/tst-translit.sh: Likewise.
26683         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26684         with $(test-program-cmd).
26685         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26686         $(run-program-prefix) with $(test-program-prefix).
26687         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26688         (test_program_prefix): This.
26689         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26690         $(run-program-prefix) with $(test-program-prefix).
26691         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26692         (test_program_prefix): This.
26693         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26694         * posix/Makefile ($(objpfx)globtest.out): Replace
26695         $(run-via-rtld-prefix) and $(test-wrapper) with
26696         $(test-program-prefix) and $(test-via-rtld-prefix).
26697         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26698         $(test-program-prefix).
26699         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26700         $(host-test-program-cmd).
26701         (tst-spawn-ARGS): Likewise.
26702         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26703         $(test-program-prefix).
26704         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26705         (test_via_rtld_prefix): This.
26706         (test_wrapper): Renamed to ...
26707         (test_program_prefix): This.
26708         (run_program_prefix): Replaced by test_program_prefix.
26709         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26710         (test_program_prefix): This.
26711         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26712         with $(host-test-program-cmd).
26713         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26714         $(run-program-prefix) with $(test-program-prefix).
26715         ($(objpfx)tst-printf.out): Likewise.
26716         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26717         $(test-program-cmd).
26718         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26719         (test_program_prefix): This.
26720         * stdio-common/tst-unbputc.sh: Likewise.
26721         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26722         $(run-program-prefix) with $(test-program-prefix).
26723         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26724         (test_program_prefix): This.
26725         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26726         $(built-program-cmd) with $(test-program-cmd).
26727
26728 2013-01-11  Andreas Jaeger  <aj@suse.de>
26729
26730         [BZ #15003]
26731         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26732         value. Sync with Linux 3.7.
26733
26734 2013-01-10  David S. Miller  <davem@davemloft.net>
26735
26736         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26737         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26738         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26739
26740 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26741
26742         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26743         never set.
26744         * configure: Regenerated.
26745
26746 2013-01-10  David S. Miller  <davem@davemloft.net>
26747
26748         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26749         sparc V9 rather than using V8 code.
26750         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26751         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26752
26753 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26754
26755         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26756         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26757         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26758         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26759         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26760         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26761         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26762         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26763         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26764         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26765         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26766         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26767         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26768         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26769         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26770         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26771         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26772         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26773         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26774         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26775         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26776         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26777         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26778         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26779         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26780         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26781         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26782
26783 2013-01-10  David S. Miller  <davem@davemloft.net>
26784
26785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26786
26787 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26788
26789         * posix/Makefile (tests-static): New variable.
26790         (tests): Add $(tests-static).
26791         (tst-exec-static-ARGS): New variable.
26792         (tst-spawn-static-ARGS): Likewise.
26793         * posix/tst-exec-static.c: New file.
26794         * posix/tst-spawn-static.c: Likewise.
26795         * posix/tst-exec.c: Support run directly.
26796         * posix/tst-spawn.c: Likewise.
26797
26798 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26799
26800         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26801         long.
26802         * math/bits/mathcalls.h (llrint): Likewise.
26803         (llround): Likewise.
26804         * stdlib/stdlib.h (struct drand48_data): Likewise.
26805         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26806         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26807         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26808         Likewise.
26809         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26810         Likewise.
26811         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26812         (elf_greg_t): Likewise.
26813         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26814         (__jmp_buf): Likewise.
26815         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26816         definitions.
26817         (llrint): Likewise, for all definitions.
26818         (llrintl): Likewise.
26819
26820         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26821         Remove [__GNUC__] condition.
26822         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26823         condition to just [__USE_ISOC99].
26824         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26825
26826 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26827
26828         [BZ #14200]
26829         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26830         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26831         defined.
26832         (_POSIX_V6_ILP32_OFF32): Likewise.
26833         (_XBS5_ILP32_OFF32): Likewise.
26834         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26835         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26836
26837 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26838
26839         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26840
26841         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26842         doubles __mpexp_twomm1.  Adjust usage.
26843         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26844         Remove.
26845
26846 2013-01-10  Andreas Schwab  <schwab@suse.de>
26847
26848         [BZ #14964]
26849         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26850         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26851
26852 2013-01-09  David S. Miller  <davem@davemloft.net>
26853
26854         [BZ #15003]
26855         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26856         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26857         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26858         (TCP_FASTOPEN): Define.
26859         (tcp_repair_opt): New structure.
26860         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26861         enum values.
26862         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26863         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26864         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26865         (tcp_cookie_transactions): New structure.
26866
26867 2013-01-09  Anton Blanchard  <anton@samba.org>
26868
26869         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26870         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26871         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26872         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26873
26874 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26875
26876         * include/features.h (__USE_ANSI): Remove.
26877
26878 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26879
26880         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26881
26882         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26883
26884 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26885
26886         * sysdeps/s390/fpu/libm-test-ulps: Update.
26887
26888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26889
26890         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26891         (__acr): Likewise.
26892         (__cpy): Likewise.
26893         (norm): Likewise.
26894         (denorm): Likewise.
26895         (__mp_dbl): Likewise.
26896         (__dbl_mp): Likewise.
26897         (add_magnitudes): Likewise.
26898         (sub_magnitudes): Likewise.
26899         (__add): Likewise.
26900         (__sub): Likewise.
26901         (__mul): Likewise.
26902         (__inv): Likewise.
26903         (__dvd): Likewise.
26904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26905         (__acr): Likewise.
26906         (__cpy): Likewise.
26907         (norm): Likewise.
26908         (denorm): Likewise.
26909         (__mp_dbl): Likewise.
26910         (__dbl_mp): Likewise.
26911         (add_magnitudes): Likewise.
26912         (sub_magnitudes): Likewise.
26913         (__add): Likewise.
26914         (__sub): Likewise.
26915         (__mul): Likewise.
26916         (__inv): Likewise.
26917         (__dvd): Likewise.
26918         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26919         (__acr): Likewise.
26920         (__cpy): Likewise.
26921         (norm): Likewise.
26922         (denorm): Likewise.
26923         (__mp_dbl): Likewise.
26924         (__dbl_mp): Likewise.
26925         (add_magnitudes): Likewise.
26926         (sub_magnitudes): Likewise.
26927         (__add): Likewise.
26928         (__sub): Likewise.
26929         (__mul): Likewise.
26930         (__inv): Likewise.
26931         (__dvd): Likewise.
26932
26933 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26934
26935         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26936         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26937         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26938         2 && __USE_EXTERN_INLINES]: Likewise.
26939
26940 2013-01-08  Andreas Jaeger  <aj@suse.de>
26941
26942         [BZ# 14985]
26943         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26944         Remove.
26945         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26946         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26947
26948 2013-01-07  Anton Blanchard  <anton@samba.org>
26949
26950         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26951         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26952         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26953         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26954         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26955         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26956         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26957         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26958         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26959         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26960         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26961         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26962         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26963         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26964         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26965         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26966         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26967         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26968         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26969         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26970         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26971         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26972         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26973         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26974         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26975         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26976         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26977         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26978         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26979         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26980         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26981         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26982         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26983         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26984         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26985         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26986         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26987         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26988         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26989         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26990         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26991         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26992         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26993
26994 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26995
26996         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26997         (__MALLOC_PMT): Likewise.
26998         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26999         [__GNUC__], only on [_LIBC].
27000         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27001         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27002         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27003         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27004         forward declaration.
27005         (realloc_hook_ini): Likewise.
27006         (memalign_hook_ini): Likewise.
27007         (__libc_memalign): Do not use __MALLOC_PMT in variable
27008         declaration.
27009         (__libc_valloc): Likewise.
27010         (__libc_pvalloc): Likewise.
27011         (__libc_calloc): Likewise.
27012         (__posix_memalign): Likewise.
27013
27014         [BZ #14996]
27015         * math/s_casinh.c: Include <float.h>.
27016         (__casinh): Do not do computation with squaring and square root
27017         for large arguments.
27018         * math/s_casinhf.c: Include <float.h>.
27019         (__casinhf): Do not do computation with squaring and square root
27020         for large arguments.
27021         * math/s_casinhl.c: Include <float.h>.
27022         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27023         (__casinhl): Do not do computation with squaring and square root
27024         for large arguments.
27025         * math/libm-test.inc (casin_test): Add more tests.
27026         (casinh_test): Likewise.
27027         * sysdeps/i386/fpu/libm-test-ulps: Update.
27028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27029
27030 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
27031
27032         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27033         (__x86_64_raw_data_cache_size): Likewise.
27034         (__x86_64_data_cache_size_half): Likewise.
27035         (__x86_64_raw_data_cache_size_half): Likewise.
27036         (__x86_64_shared_cache_size): Likewise.
27037         (__x86_64_raw_shared_cache_size): Likewise.
27038         (__x86_64_shared_cache_size_half): Likewise.
27039         (__x86_64_raw_shared_cache_size_half): Likewise.
27040         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27041         to ...
27042         (__x86_data_cache_size): This.
27043         (__x86_64_raw_data_cache_size): Renamed to ...
27044         (__x86_raw_data_cache_size): This.
27045         (__x86_64_data_cache_size_half): Renamed to ...
27046         (__x86_data_cache_size_half): This.
27047         (__x86_64_raw_data_cache_size_half): Renamed to ...
27048         (__x86_raw_data_cache_size_half): This.
27049         (__x86_64_shared_cache_size): Renamed to ...
27050         (__x86_shared_cache_size): This.
27051         (__x86_64_raw_shared_cache_size): Renamed to ...
27052         (__x86_raw_shared_cache_size): This.
27053         (__x86_64_shared_cache_size_half): Renamed to ...
27054         (__x86_shared_cache_size_half): This.
27055         (__x86_64_raw_shared_cache_size_half): Renamed to ...
27056         (__x86_raw_shared_cache_size_half): This.
27057         * sysdeps/x86_64/memcpy.S: Updated.
27058         * sysdeps/x86_64/memset.S: Likewise.
27059         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27060         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27061         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27062
27063 2013-01-04  David S. Miller  <davem@davemloft.net>
27064
27065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27066
27067 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
27068
27069         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27070         1 to avoid redefinition warning.
27071         (__USE_GNU): Don't define.
27072         (init_signaling_nan): Protoize.
27073
27074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27075
27076 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27077
27078         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27080         (__cpymn): Likewise.
27081         (norm): Remove commented code.
27082         (denorm): Likewise.
27083         (__mp_dbl): Likewise.
27084         (__inv): Likewise.
27085         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27086         (__cpymn): Likewise.
27087         (norm): Remove commented code.
27088         (denorm): Likewise.
27089         (__mp_dbl): Likewise.
27090         (__inv): Likewise.
27091
27092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27093         mp_no value for 1.0 and 2.0.
27094         (norm): Use RADIXI instead of radixi.d.
27095         (denorm): Likewise.
27096         (__mul): Use 0.0 instead of zero.d.
27097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27098         mp_no value for 1.0 and 2.0.
27099         (norm): Use RADIXI instead of radixi.d.
27100         (denorm): Likewise.
27101         (__mul): Use 0.0 instead of zero.d.
27102
27103 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
27104
27105         [BZ #14994]
27106         * math/s_casinh.c (__casinh): Reduce finite argument to first
27107         quadrant then set signs of results at the end.
27108         * math/s_casinhf.c (__casinhf): Likewise.
27109         * math/s_casinhl.c (__casinhl): Likewise.
27110         * math/libm-test.inc (casin_test): Add more tests.
27111         (casinh_test): Likewise.
27112         * sysdeps/i386/fpu/libm-test-ulps: Update.
27113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27114
27115 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27116
27117         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27118
27119         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27120
27121         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27122         declarations.
27123         (denorm): Likewise.
27124         (__mp_dbl): Likewise.
27125         (__inv): Likewise.
27126
27127         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27128         and adjust the header comment.
27129
27130         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27131         variable name from declaration.
27132
27133 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
27134
27135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27136         Initialize COMMON_CPUID_INDEX_7 element.
27137         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27138         (CPUID_RTM): Likewise.
27139         (HAS_RTM): Likewise.
27140         (COMMON_CPUID_INDEX_7): New enum.
27141
27142 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
27143
27144         [BZ #14981]
27145         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27146         size is zero, record memory as freed.
27147
27148 2013-01-03  Andreas Jaeger  <aj@suse.de>
27149
27150         * po/ia.po: Add new Interlingua translation.
27151
27152 2012-01-03  Allan McRae  <allan@archlinux.org>
27153
27154         * locale/programs/localedef.c: Fix description of '--posix' flag.
27155
27156 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27157
27158         * NEWS: Update dates in second copyright notice.
27159         * README: Update copyright dates in example.
27160         * manual/libc.texinfo: Update copyright dates.
27161         * scripts/test-installation.pl: Update copyright date in --version
27162         output.
27163
27164         * hurd/ctty-input.c: Fix copyright notice formatting.
27165         * hurd/ctty-output.c: Likewise.
27166         * hurd/dtable.c: Likewise.
27167         * hurd/hurd-raise.c: Likewise.
27168         * hurd/hurdprio.c: Likewise.
27169         * hurd/msgportdemux.c: Likewise.
27170         * misc/sys/file.h: Likewise.
27171         * misc/sys/ioctl.h: Likewise.
27172         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27173         * sysdeps/mach/hurd/chdir.c: Likewise.
27174         * sysdeps/mach/hurd/fchdir.c: Likewise.
27175         * sysdeps/mach/hurd/rename.c: Likewise.
27176         * sysdeps/mach/hurd/rmdir.c: Likewise.
27177         * sysdeps/mach/hurd/seekdir.c: Likewise.
27178         * sysdeps/mach/hurd/setsid.c: Likewise.
27179         * sysdeps/posix/wait3.c: Likewise.
27180
27181         * All files with FSF copyright notices: Update copyright dates
27182         using scripts/update-copyrights.
27183         * intl/plural.c: Regenerated.
27184         * locale/programs/charmap-kw.h: Likewise.
27185         * locale/programs/locfile-kw.h: Likewise.
27186
27187 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27188
27189         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27190         four values.
27191
27192         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27193         calculation loop and add branch prediction.
27194
27195         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27196         check access beyond bounds of m1np.
27197
27198         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27199         MPTWO.
27200         (__inv): Remove local variable MPTWO to use the global
27201         constant.
27202         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27203         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27204         variable MPTWO.
27205         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27206         MP3HALFS static const.
27207
27208 2013-01-01  David S. Miller  <davem@davemloft.net>
27209
27210         * po/ca.po: Update from translation team.
27211
27212 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27213
27214         * scripts/update-copyrights: New file.
27215         * Makeconfig: Reformat copyright notice.
27216         * ctype/ctype.h: Likewise.
27217         * debug/swprintf_chk.c: Likewise.
27218         * elf/dl-cache.c: Likewise.
27219         * elf/dl-debug.c: Likewise.
27220         * elf/dl-object.c: Likewise.
27221         * grp/initgroups.c: Likewise.
27222         * hurd/Makefile: Likewise.
27223         * hurd/hurd/signal.h: Likewise.
27224         * hurd/hurdfault.c: Likewise.
27225         * hurd/hurdioctl.c: Likewise.
27226         * hurd/hurdlookup.c: Likewise.
27227         * hurd/intr-msg.c: Likewise.
27228         * iconv/gconv_open.c: Likewise.
27229         * libio/swprintf.c: Likewise.
27230         * locale/lc-ctype.c: Likewise.
27231         * locale/nl_langinfo.c: Likewise.
27232         * mach/Machrules: Likewise.
27233         * mach/Makefile: Likewise.
27234         * malloc/obstack.h: Likewise.
27235         * manual/Makefile: Likewise.
27236         * manual/tsort.awk: Likewise.
27237         * misc/bits/stab.def: Likewise.
27238         * nis/nis_print_group_entry.c: Likewise.
27239         * nis/nis_table.c: Likewise.
27240         * nis/nss_compat/compat-pwd.c: Likewise.
27241         * nis/nss_compat/compat-spwd.c: Likewise.
27242         * po/Makefile: Likewise.
27243         * posix/fnmatch.c: Likewise.
27244         * posix/regex.h: Likewise.
27245         * resolv/Makefile: Likewise.
27246         * resolv/nss_dns/dns-network.c: Likewise.
27247         * resolv/res_hconf.c: Likewise.
27248         * scripts/gen-sorted.awk: Likewise.
27249         * soft-fp/soft-fp.h: Likewise.
27250         * stdio-common/printf.h: Likewise.
27251         * stdlib/monetary.h: Likewise.
27252         * stdlib/random.c: Likewise.
27253         * stdlib/random_r.c: Likewise.
27254         * sysdeps/generic/Makefile: Likewise.
27255         * sysdeps/gnu/Makefile: Likewise.
27256         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27257         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27258         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27259         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27260         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27261         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27262         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27263         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27264         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27265         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27266         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27267         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27268         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27269         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27270         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27271         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27272         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27273         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27274         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27275         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27276         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27277         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27278         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27279         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27280         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27281         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27282         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27283         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27284         * sysdeps/mach/hurd/errnos.awk: Likewise.
27285         * sysdeps/mach/hurd/fork.c: Likewise.
27286         * sysdeps/mach/hurd/getcwd.c: Likewise.
27287         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27288         * sysdeps/mach/hurd/mmap.c: Likewise.
27289         * sysdeps/mach/hurd/utimes.c: Likewise.
27290         * sysdeps/mach/hurd/xmknod.c: Likewise.
27291         * sysdeps/posix/profil.c: Likewise.
27292         * sysdeps/posix/readdir_r.c: Likewise.
27293         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27294         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27295         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27296         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27297         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27298         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27299         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27300         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27301         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27302         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27303         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27304         * sysdeps/pthread/lio_listio.c: Likewise.
27305         * sysdeps/sparc/dl-procinfo.h: Likewise.
27306         * sysdeps/unix/i386/sysdep.S: Likewise.
27307         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27308         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27309         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27310         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27312         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27313         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27314         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27315         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27316         * sysdeps/wordsize-32/divdi3.c: Likewise.
27317         * time/sys/time.h: Likewise.
27318         * wcsmbs/Makefile: Likewise.
27319
27320 2013-01-01  David S. Miller  <davem@davemloft.net>
27321
27322         * po/fr.po: Update from translation team.
27323
27324         * catgets/gencat.c: Update copyright year.
27325         * csu/version.c: Likewise.
27326         * debug/catchsegv.sh: Likewise.
27327         * debug/pcprofiledump.c: Likewise.
27328         * debug/xtrace.sh: Likewise.
27329         * elf/ldconfig.c: Likewise.
27330         * elf/ldd.bash.in: Likewise.
27331         * elf/pldd.c: Likewise.
27332         * elf/sotruss.ksh: Likewise.
27333         * elf/sprof.c: Likewise.
27334         * iconv/iconv_prog.c: Likewise.
27335         * iconv/iconvconfig.c: Likewise.
27336         * locale/programs/locale.c: Likewise.
27337         * locale/programs/localedef.c: Likewise.
27338         * login/programs/pt_chown.c: Likewise.
27339         * malloc/memusage.sh: Likewise.
27340         * malloc/memusagestat.c: Likewise.
27341         * malloc/mtrace.pl: Likewise.
27342         * nscd/nscd.c: Likewise.
27343         * nss/getent.c: Likewise.
27344         * nss/makedb.c: Likewise.
27345         * posix/getconf.c: Likewise.
27346
27347 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27348
27349         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27350         numbers.
27351
27352 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27353
27354         * math/bits/mathcalls.h (modf): Use __nonnull.
27355
27356 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27357
27358         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27359         (split): Use macro CN instead of the bare value.
27360         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27361         could be used.
27362         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27363         instead of the bare value.
27364         (power1): Likewise.
27365
27366 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27367
27368         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27369         __ATAN_TWOM.
27370         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27371
27372         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27373         their values.
27374         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27375         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27376         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27377         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27378
27379 2012-12-28  Andreas Jaeger  <aj@suse.de>
27380
27381         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27382         values are from Linux 3.7.
27383
27384         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27385         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27386
27387 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27388
27389         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27390         TRUE case.
27391
27392         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27393         (norm): Likewise.
27394         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27395         variables with preprocessor constants.
27396         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27397         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27398         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27399
27400 2012-12-27  Bruno Haible  <bruno@clisp.org>
27401
27402         [BZ #14317]
27403         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27404         only if needed.
27405
27406 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27407
27408         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27409         and use variable directly.
27410         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27411
27412         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27413         MPONE.
27414         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27415         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27416         variable MPONE.
27417         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27418         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27419         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27420         include directive.  Remove local variable MPONE.
27421         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27422         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27423         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27424
27425 2012-12-25  David S. Miller  <davem@davemloft.net>
27426
27427         * version.h (RELEASE): Set to "development".
27428         (VERSION): Set to "2.17.90".
27429         * NEWS: Add 2.18 section.
27430
27431 2012-12-21  David S. Miller  <davem@davemloft.net>
27432
27433         * po/hr.po: Update from translation team.
27434
27435 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27436
27437         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27438
27439 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27440
27441         * NEWS:  Mention new memcpy for MIPS.
27442
27443 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27444
27445         * manual/contrib.texi (Contributors): Spelling correction.
27446
27447 2012-12-15  David S. Miller  <davem@davemloft.net>
27448
27449         * po/ru.po: Update from translation team.
27450
27451 2012-12-13  David S. Miller  <davem@davemloft.net>
27452
27453         * NEWS: Mention IFUNC testsuite enhancements.
27454
27455         * po/pl.po: Update from translation team.
27456         * po/bg.po: Likewise.
27457
27458         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27459         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27460
27461 2012-12-11  David S. Miller  <davem@davemloft.net>
27462
27463         * po/sv.po: Update from translation team.
27464
27465         * po/vi.po: Update from translation team.
27466
27467         * po/cs.po: Update from translation team.
27468
27469         * po/de.po: Update from translation team.
27470         * po/eo.po: Likewise.
27471         * po/nl.po: Likewise.
27472
27473 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27474
27475         [BZ #14246]
27476         * manual/argp.texi (Argp Helper Functions): Move node to follow
27477         Argp Parsing State.
27478
27479         [BZ #14872]
27480         * manual/conf.texi (Limits on File System Capacity): Mention if
27481         terminating null is included in the max size.
27482
27483 2012-12-10  Andreas Jaeger  <aj@suse.de>
27484
27485         * po/cs.po: Update from translation team.
27486
27487 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27488
27489         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27490         void pointer and cast to uintptr_t.
27491         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27492         path.
27493         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27494         * sysdeps/s390/s390-64/memset.S: Likewise.
27495
27496 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27497
27498         [BZ #14833]
27499         * menual/message.texi (Message Translation): Fix typos.
27500         (Helper programs for gettext): Likewise.
27501
27502 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27503
27504         [BZ #14898]
27505         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27506         Change to -1.
27507
27508 2012-12-07  David S. Miller  <davem@davemloft.net>
27509
27510         * po/libc.pot: Update.
27511
27512 2012-12-07  Richard Henderson  <rth@redhat.com>
27513
27514         [BZ #10114]
27515         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27516         normal/normal case to before the switch.
27517         (_FP_DIV): Likewise.
27518
27519 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27520             Mike Frysinger  <vapier@gentoo.org>
27521
27522         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27523         check for __NR_fadvise64_64.
27524
27525 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27526
27527         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27528         0, not just to plain "0" as a statement.
27529         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27530         with cw.
27531
27532 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27533
27534         * NEWS: Use sourceware.org in Bugzilla URL.
27535
27536 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27537
27538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27539         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27540
27541         * stdio-common/tst-put-error.c (do_test): Add newline to the
27542         padded test to ensure flush.
27543
27544 2012-12-05  Jeff Law  <law@redhat.com>
27545
27546         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27547
27548 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27549
27550         * README: Don't refer to ports add-on as distributed separately.
27551         Mention AArch64 in list of systems supported in the ports add-on.
27552
27553         * LICENSES: Add more non-FSF copyright and license notices.
27554
27555         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27556         ((unused)).
27557
27558         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27559
27560         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27561         10000 as width of padded output.
27562
27563 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27564
27565         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27566
27567         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27568         variable LX with __attribute__ ((unused)).
27569         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27570         Likewise.
27571         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27572         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27573         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27574         with __attribute__ ((unused)).
27575
27576 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27577
27578         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27579
27580 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27581
27582         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27583         (CFLAGS-nldbl-acos.c): New variable.
27584         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27585         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27586         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27587         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27588         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27589         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27590         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27591         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27592         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27593         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27594         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27595         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27596         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27597         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27598         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27599         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27600         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27601         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27602         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27603         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27604         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27605         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27606         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27607         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27608         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27609         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27610         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27611         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27612         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27613         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27614         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27615         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27616         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27617         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27618         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27619         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27620         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27621         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27622         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27623         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27624         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27625         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27626         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27627         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27628         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27629         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27630         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27631         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27632         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27633         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27634         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27635         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27636         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27637         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27638         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27639         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27640         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27641         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27642         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27643         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27644         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27645         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27646         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27647         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27648         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27649         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27650         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27651         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27652         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27653         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27654         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27655         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27656         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27657         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27658         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27659         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27660         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27661         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27662         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27663         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27664         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27665         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27666         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27667         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27668         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27669         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27670         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27671         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27672         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27673         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27674         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27675         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27676         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27677         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27678         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27679         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27680         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27681
27682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27683         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27684
27685         [BZ #14914]
27686         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27687         whole low double instead of just low 47 bits when splitting values
27688         into two parts.
27689
27690 2012-12-03  Allan McRae  <allan@archlinux.org>
27691
27692         * manual/stdio.texi (Predefined Printf Handlers): Remove
27693         @hsep and @vsep usage.
27694
27695 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27696
27697         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27698         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27699
27700 2012-12-03  Jeff Law  <law@redhat.com>
27701
27702         * time/sys/time.h (settimeofday): Do not mark TV argument
27703         as __nonnull.
27704
27705 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27706
27707         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27708         when currently writing and seek to current position when not.
27709         * libio/Makefile (tests): Remove bug-fclose1.
27710         * libio/bug-fclose1.c: Delete.
27711
27712 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27713
27714         * manual/arith.texi (feenableexcept): Fix typo.
27715         (fedisableexcept): Likewise.
27716
27717 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27718
27719         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27720         second, differently-typed declaration, rather than a cast.
27721
27722 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27723
27724         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27725         * include/rpc/svc.h: ... here.
27726
27727 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27728
27729         [BZ #13013]
27730         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27731         depending n and resplen2 to catch cases where answer
27732         equals answerp2.
27733
27734 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27735
27736         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27737         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27738
27739 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27740
27741         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27742
27743 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27744
27745         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27746
27747 2012-11-28  Jeff Law  <law@redhat.com>
27748
27749         [BZ #13761]
27750         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27751         dataset_temporary.  Track alloca usage into alloca_used.
27752         If dataset is large allocate and release it via malloc/free.
27753
27754 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27755
27756         [BZ #14197]
27757         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27758
27759 2012-11-28  David S. Miller  <davem@davemloft.net>
27760
27761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27762
27763 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27764
27765         [BZ #14803]
27766         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27767         of pi/2 rounded to nearest to 64 bits.
27768         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27769         nearest to 64 bits.
27770         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27771         bits.
27772
27773 2012-11-28  Jeff Law <law@redhat.com>
27774             Martin Osvald <mosvald@redhat.com>
27775
27776         [BZ #14889]
27777         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27778         * sunrpc/svc.c: Include time.h.
27779         (__svc_accept_failed): New function.
27780         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27781         any reason other than EINTR, call __svc_accept_failed.
27782         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27783         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27784
27785 2012-11-28  Andreas Schwab  <schwab@suse.de>
27786
27787         * scripts/abilist.awk: Also handle indirect functions in .opd
27788         section.
27789
27790 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27791
27792         [BZ #13881]
27793         * sysdeps/x86/fpu/powl_helper.c: New file.
27794         * sysdeps/x86/fpu/Makefile: Likewise.
27795         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27796         (p3): New object.
27797         (__ieee754_powl): Use __powl_helper for finite arguments except
27798         integer exponents below 8.
27799         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27800         (p3): New object.
27801         (__ieee754_powl): Use __powl_helper for finite arguments except
27802         integer exponents below 8.
27803         * math/libm-test.inc (pow_test): Add more tests and enable some
27804         previously disabled tests.
27805         * sysdeps/i386/fpu/libm-test-ulps: Update.
27806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27807
27808 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27809             Carlos O'Donell  <carlos_odonell@mentor.com>
27810
27811         * nss/makedb.c (is_prime): Assert that input is odd and greater
27812         than 4.  Note that fact in a comment too.
27813         (next_prime): Add 4 to input.
27814
27815 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27816
27817         [BZ #11741]
27818         * libio/Makefile (tests): Add test case tst-fwrite-error.
27819         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27820         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27821         * libio/tst-fwrite-error.c: New test case.
27822
27823 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27824
27825         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27826         before casting to void *.
27827         * include/libc-internal.h (__pointer_type): New macro.
27828         (__integer_if_pointer_type_sub): Likewise.
27829         (__integer_if_pointer_type): Likewise.
27830         (cast_to_integer): Likewise.
27831         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27832         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27833         before casting to atomic64_t.
27834         (atomic_exchange_acq): Likewise.
27835         (__arch_exchange_and_add_body): Likewise.
27836         (__arch_add_body): Likewise.
27837         (atomic_add_negative): Likewise.
27838         (atomic_add_zero): Likewise.
27839
27840 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27841
27842         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27843         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27844         (add_fdes): Likewise.
27845         (linear_search_fdes): Likewise.
27846         (binary_search_unencoded_fdes): Likewise.
27847
27848 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27849
27850         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27851
27852 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27853
27854         * configure.in: Autodetect C++ header directories.
27855         * configure: Regenerated.
27856
27857 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27858
27859         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27860
27861 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27862
27863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27864
27865 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27866
27867         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27868         LDBL_MANT_DIG == 106]: Disable some tests.
27869         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27870         Likewise.
27871         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27872         Likewise.
27873
27874         [BZ #14871]
27875         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27876         input for small inputs.  Return +/- pi/2 for large inputs.
27877         * math/libm-test.inc (atan_test): Add more tests.
27878
27879         * sysdeps/generic/unwind-dw2-fde-glibc.c
27880         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27881         __attribute__ ((unused)).
27882
27883         [BZ #14645]
27884         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27885         x * y if x and y are nonzero and z is zero.
27886
27887         [BZ #14811]
27888         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27889         nonzero exponents with absolute value below 0x1p-117 to +/-
27890         0x1p-117.
27891
27892         [BZ #14869]
27893         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27894         up arguments below 2**-450, not just those below 2**-500.
27895         * math/libm-test.inc (hypot_test): Add another test.
27896
27897         [BZ #14868]
27898         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27899         Return a+b for ratio over 2**120, not 2**60.
27900         * math/libm-test.inc (hypot_test): Add another test.
27901
27902         * math/libm-test.inc (clog_test): Use
27903         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27904         (clog10_test): Likewise.
27905
27906         [BZ #6778]
27907         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27908
27909 2012-11-22  Andreas Schwab  <schwab@suse.de>
27910
27911         * sysdeps/i386/fpu/libm-test-ulps: Update.
27912
27913 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27914
27915         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27916         printf output with newline.
27917
27918 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27919
27920         [BZ #14865]
27921         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27922         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27923         -z nodlopen, -z initfirst and -z execstack support.
27924         * configure: Regenerated.
27925
27926         * elf/elf.h (DF_1_NODIRECT): New macro.
27927         (DF_1_IGNMULDEF): Likewise.
27928         (DF_1_NOKSYMS): Likewise.
27929         (DF_1_NOHDR): Likewise.
27930         (DF_1_EDITED): Likewise.
27931         (DF_1_NORELOC): Likewise.
27932         (DF_1_SYMINTPOSE): Likewise.
27933         (DF_1_GLOBAUDIT): Likewise.
27934         (DF_1_SINGLETON): Likewise.
27935         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27936         DT_1_SUPPORTED_MASK bits.
27937         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27938
27939 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27940
27941         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27942
27943 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27944
27945         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27946         macro.
27947
27948         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27949         (sendmmsg): Move declarations...
27950         * socket/sys/socket.h: ... here.
27951         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27952         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27953         include it from...
27954         * socket/recvmmsg.c: ... this new file.
27955         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27956         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27957         definition of __sendmmsg hidden.
27958         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27959         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27960         Move ENOSYS stub into and include it from...
27961         * socket/sendmmsg.c: ... this new file.
27962         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27963         (sysdep_routines): Move recvmmsg and sendmmsg...
27964         * socket/Makefile (routines): ... here.
27965         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27966         (GLIBC_PRIVATE): Add __sendmmsg.
27967         * include/sys/socket.h (__sendmmsg): Add declarations.
27968         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27969         sendmmsg.
27970
27971 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27972
27973         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27974         variable I1 with __attribute__ ((unused)).
27975         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27976
27977 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27978
27979         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27980         DUMMY variables with __attribute__ ((unused)).
27981
27982         * bits/byteswap.h: Include <bits/types.h>.
27983         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27984
27985 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27986
27987         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27988         string_t.  Do not manually set errno.
27989         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27990         length with __strnlen.  Make sure to both set errno and return it on
27991         failure.
27992
27993 2012-11-19  David S. Miller  <davem@davemloft.net>
27994
27995         With help from Joseph Myers.
27996         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27997         very large arguments properly.
27998         * math/libm-test.inc (atan_test): New tests.
27999         (atan2_test): New tests.
28000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28001         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28002
28003 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28004
28005         [BZ #14856]
28006         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28007         Define to 3.
28008
28009         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28010         [POSIX] (EADDRNOTAVAIL): Likewise.
28011         [POSIX] (EAFNOSUPPORT): Likewise.
28012         [POSIX] (EALREADY): Likewise.
28013         [POSIX] (ECONNABORTED): Likewise.
28014         [POSIX] (ECONNREFUSED): Likewise.
28015         [POSIX] (ECONNRESET): Likewise.
28016         [POSIX] (EDESTADDRREQ): Likewise.
28017         [POSIX] (EDQUOT): Likewise.
28018         [POSIX] (EHOSTUNREACH): Likewise.
28019         [POSIX] (EIDRM): Likewise.
28020         [POSIX] (EISCONN): Likewise.
28021         [POSIX] (ELOOP): Likewise.
28022         [POSIX] (EMULTIHOP): Likewise.
28023         [POSIX] (ENETDOWN): Likewise.
28024         [POSIX] (ENETUNREACH): Likewise.
28025         [POSIX] (ENOBUFS): Likewise.
28026         [POSIX] (ENODATA): Likewise.
28027         [POSIX] (ENOLINK): Likewise.
28028         [POSIX] (ENOMSG): Likewise.
28029         [POSIX] (ENOPROTOOPT): Likewise.
28030         [POSIX] (ENOSR): Likewise.
28031         [POSIX] (ENOSTR): Likewise.
28032         [POSIX] (ENOTCONN): Likewise.
28033         [POSIX] (ENOTSOCK): Likewise.
28034         [POSIX] (EOPNOTSUPP): Likewise.
28035         [POSIX] (EOVERFLOW): Likewise.
28036         [POSIX] (EPROTO): Likewise.
28037         [POSIX] (EPROTONOSUPPORT): Likewise.
28038         [POSIX] (EPROTOTYPE): Likewise.
28039         [POSIX] (ESTALE): Likewise.
28040         [POSIX] (ETIME): Likewise.
28041         [POSIX] (ETXTBSY): Likewise.
28042         [POSIX] (EWOULDBLOCK): Likewise.
28043         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28044         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28045         [POSIX] (SEEK_CUR): Likewise.
28046         [POSIX] (SEEK_END): Likewise.
28047         [POSIX || UNIX98] (mode_t): Do not require.
28048         [POSIX] (off_t): Likewise.
28049         [POSIX] (pid_t): Likewise.
28050         [POSIX] (sys/stat.h): Do not allow header.
28051         [POSIX] (unistd.h): Likewise.
28052         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28053         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28054         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28055         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28056         require.
28057         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28058         sigevent): Specify elements.
28059         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28060         entry.
28061         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28062         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28063
28064         * conform/data/cpio.h-data [POSIX]: Disable whole file.
28065         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28066         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28067         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28068         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28069         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28070         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28071         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28072         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28073         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28074         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28075         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28076         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28077         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28078         Likewise.
28079         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28080         Likewise.
28081         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28082         Likewise.
28083         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28084         Likewise.
28085         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28086         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28087         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28088         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28089         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28090         Specify lower bound on value.
28091         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28092         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28093         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28094         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28095         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28096         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28097         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28098         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28099         value.
28100         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28101         as optional.
28102         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28103         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28104         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28105         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28106         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28107         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28108         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28109         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28110         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28111         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28112         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28113         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28114         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28115         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28116         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28117         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28118         entry.
28119         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28120         optional.
28121         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28122         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28123         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28124         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28125         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28126         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28127         Likewise.
28128         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28129         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28130         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28131         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28132         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
28133         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28134         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28135         as optional.
28136         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28137         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28138         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28139         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28140         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28141         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28142         specify as optional.
28143         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28144         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28145         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28146         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28147         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28148         [XPG3] (NL_LANGMAX): Likewise.
28149         [POSIX || XPG3] (NL_MSGMAX): Likewise.
28150         [POSIX || XPG3] (NL_NMAX): Likewise.
28151         [POSIX || XPG3] (NL_SETMAX): Likewise.
28152         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28153         [XPG3] (NZERO): Likewise.
28154         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28155         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28156         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28157         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28158         (REG_ERANGE): Expect.
28159         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28160         optional-constant.
28161         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28162         Use (void) in prototype.
28163         [POSIX] (*_t): Allow.
28164         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28165         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28166         (WRDE_BADVAL): Expect.
28167
28168         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28169         expect.
28170         [XPG3 || XPG4] (O_RSYNC): Likewise.
28171         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28172         Likewise.
28173         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28174         [XPG3 || XPG4] (sigqueue): Likewise.
28175         [XPG3 || XPG4] (sigtimedwait): Likewise.
28176         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28177         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28178         [XPG3 || XPG4] (vsnprintf): Likewise.
28179         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28180         Likewise.
28181         [XPG3 || XPG4] (blksize_t): Likewise.
28182         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28183         Likewise.
28184         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28185         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28186         [XPG3 || XPG4] (struct itimerspec): Likewise.
28187         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28188         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28189         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28190         [XPG3 || XPG4] (clockid_t): Likewise.
28191         [XPG3 || XPG4] (timer_t): Likewise.
28192         [XPG3 || XPG4] (clock_getres): Likewise.
28193         [XPG3 || XPG4] (clock_gettime): Likewise.
28194         [XPG3 || XPG4] (clock_settime): Likewise.
28195         [XPG3 || XPG4] (nanosleep): Likewise.
28196         [XPG3 || XPG4] (timer_create): Likewise.
28197         [XPG3 || XPG4] (timer_delete): Likewise.
28198         [XPG3 || XPG4] (timer_gettime): Likewise.
28199         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28200         [XPG3 || XPG4] (timer_settime): Likewise.
28201         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28202         [XPG3 || XPG4] (getlogin_r): Likewise.
28203         [XPG3 || XPG4] (pread): Likewise.
28204         [XPG3 || XPG4] (pthread_atfork): Likewise.
28205         [XPG3 || XPG4] (pwrite): Likewise.
28206
28207         [BZ #14835]
28208         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28209         <bits/siginfo.h>.
28210
28211 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28212
28213         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28214         finalizing MALLSTREAM.
28215
28216         * sysdeps/mach/hurd/syncfs.c: New file.
28217
28218 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28219
28220         [BZ #14719]
28221         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28222         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28223         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28224         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28225         (_nss_dns_gethostbyname4_r): Likewise.
28226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28227         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28228
28229 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28230
28231         [BZ #13763]
28232         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28233
28234 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28235
28236         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28237         * elf/cache.c (print_entry): Print ",AArch64" for
28238         FLAG_AARCH64_LIB64
28239
28240         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28241         * elf/cache.c (print_entry): Print ",hard-float" for
28242         FLAG_ARM_LIBHF.
28243
28244 2012-11-18  David S. Miller  <davem@davemloft.net>
28245
28246         With help from Joseph Myers.
28247         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28248         cutoff to 2**-13.
28249         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28250         cutoff to 2**-25.
28251         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28252         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28253         small.
28254         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28255         * math/libm-test.inc (y0_test): New tests.
28256         (y1_test): New tests.
28257         * sysdeps/i386/fpu/libm-test-ulps: Update.
28258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28260
28261 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28262
28263         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28264         64-bit targets.
28265         * configure: Regenerated.
28266
28267 2012-11-17  David S. Miller  <davem@davemloft.net>
28268
28269         [BZ #14811]
28270         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28271         nonzero exponents with absolute value below 0x1p-128 to +/-
28272         0x1p-128.
28273
28274 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28275
28276         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28277
28278         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28279
28280         * posix/getconf-speclist.c: New file.
28281         * posix/posix-envs.def: Likewise.
28282         * posix/confstr.c (START_ENV_GROUP): New macro.
28283         (END_ENV_GROUP): Likewise.
28284         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28285         (KNOWN_PRESENT_ENV_STRING): Likewise.
28286         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28287         (UNKNOWN_ENVIRONMENT): Likewise.
28288         (confstr): Include posix-envs.def instead of handling
28289         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28290         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28291         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28292         (END_ENV_GROUP): Likewise.
28293         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28294         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28295         (UNKNOWN_ENVIRONMENT): Likewise.
28296         (__sysconf): Include posix-envs.def instead of handling associated
28297         cases directly here.
28298         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28299         preprocessing getconf-speclist.c rather than running getconf or
28300         generating empty file.
28301
28302 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28303
28304         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28305
28306 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28307
28308         [BZ #14672]
28309         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28310
28311 2012-11-16  David S. Miller  <davem@davemloft.net>
28312
28313         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28314         smaller than LDBL_EPSILON/2.0L, just return xm1.
28315
28316 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28317
28318         * elf/tst-array1.c (init): Set constructor priority to 1000.
28319         (fini): Set destructor priority to 1000.
28320         * elf/tst-array2dep.c: Likewise.
28321
28322 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28323
28324         [BZ #11741]
28325         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28326         (_IO_new_file_xsputn): Also return EOF if none of the input
28327         data was written when overflow failed.
28328         * libio/iopadn.c (_IO_padn): Likewise.
28329         * libio/iowpadn.c (_IO_wpadn): Likewise.
28330         * stdio-common/tst-put-error.c: Add copyright notice.
28331         (do_test): Add case for printing padded string.
28332         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28333         _IO_padn returned error.
28334         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28335         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28336         return EOF.
28337
28338 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28339
28340         * libio/libioP.h: Add comment note that the references to C++
28341         bits are now obsolete.
28342
28343 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28344
28345         * math/libm-test.inc (check_complex): Use asprintf.
28346
28347 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28348
28349         * debug/pcprofiledump.c (print_version): Update copyright year.
28350         * malloc/memusagestat.c (print_version): Likewise.
28351
28352 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28353
28354         [BZ #14831]
28355         * elf/Makefile (tests): Add tst-audit8.
28356         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28357         ($(objpfx)tst-audit8.out): New target.
28358         (tst-audit8-ENV): New variable.
28359         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28360         audit if l_reloc_result is NULL.
28361         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28362         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28363         * elf/tst-audit8.c: New file.
28364
28365 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28366
28367         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28368         * misc/Makefile (CFLAGS-select.c): Define.
28369         * posix/Makefile (CFLAGS-pause.c): Define.
28370
28371 2012-11-13  David S. Miller  <davem@davemloft.net>
28372
28373         * crypt/Makefile: Move test targets after toplevel Rules
28374         inclusion.  Grab any necessary sysdep routines when linking.
28375         * crypt/md5.c (md5_process_block): Remove define, we will always
28376         name it __md5_process_block.
28377         (md5_finish_ctx): Update md5_process_block call.
28378         (md5_stream): Likewise.
28379         (md5_process_bytes): Likewise.
28380         (md5_process_block): Rename to __md5_process_block and move to ...
28381         * crypt/md5-block.c: ... here.
28382         * crypt/sha256.c (sha256_process_block): Move to ...
28383         * crypt/sha256-block.c: ... here.
28384         * crypt/sha512.c (sha512_process_block): Move to ...
28385         * crypt/sha512-block.c: ... here.
28386         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28387         path.
28388         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28389         * sysdeps/sparc/sparc64/multiarch/Makefile
28390         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28391         crypt subdir.
28392         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28393         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28394         multiarch changes.
28395         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28396         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28397         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28398         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28399         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28400         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28401         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28402         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28403         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28404         file.
28405         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28406         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28407         file.
28408         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28409
28410 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28411
28412         * timezone/tzselect.ksh: Update from tzcode git revision
28413         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28414         * timezone/zdump.c: Likewise.
28415         * timezone/zic.c: Likewise.
28416         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28417         in TZVERSION setting, not $(PKGVERSION).
28418         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28419         REPORT_BUGS_TO settings.
28420
28421         [BZ #14838]
28422         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28423         macro.
28424
28425 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28426
28427         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28428         detection to immediately after _FP_ROUND().
28429         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28430         bits are 0.
28431
28432 2012-11-11  David S. Miller  <davem@davemloft.net>
28433
28434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28435         inttypes.h
28436         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28437         __close rather than their public counterparts.
28438
28439 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28440
28441         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28442         file.
28443         [UNIX98] (sem_timedwait): Do not expect.
28444         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28445         [XPG4 || UNIX98] (sockatmark): Do not expect.
28446         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28447         (clock_getcpuclockid): Do not expect.
28448         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28449         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28450         Do not expect.
28451         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28452         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28453         [UNIX98] (vwscanf): Likewise.
28454         [UNIX98] (vswscanf): Likewise.
28455
28456 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28457
28458         * timezone/version.h: Remove file.
28459         * timezone/README: Do not refer to version.h.
28460         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28461         $(objpfx)version.h.
28462         ($(objpfx)zdump.o): Likewise.
28463         ($(objpfx)version.h): New target.
28464
28465         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28466         2012i.
28467         * timezone/README: Don't mention modification to tzselect.ksh.
28468         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28469         work on unmodified tzselect.ksh.  Substitute version numbers in
28470         tzselect.ksh.
28471
28472         * Makefile (format-me): Remove.
28473         (INSTALL): Adjust indentation.  Use commands directly instead of
28474         using $(format-me).
28475
28476         * aclocal.m4 (ACX_PKGVERSION): New macro.
28477         (ACX_BUGURL): Likewise.
28478         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28479         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28480         (REPORT_BUGS_TO): Likewise.
28481         * configure: Regenerated.
28482         * config.h.in (PKGVERSION): New macro.
28483         (REPORT_BUGS_TO): Likewise.
28484         * config.make.in (PKGVERSION): New variable.
28485         (PKGVERSION_TEXI): Likewise.
28486         (REPORT_BUGS_TO): Likewise.
28487         (REPORT_BUGS_TEXI): Likewise.
28488         * Makefile (format-me): Use -I$(common-objpfx)manual.
28489         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28490         ($(common-objpfx)manual/%): New target.
28491         (manual/%): Remove target.
28492         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28493         (print_version): Use PKGVERSION.
28494         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28495         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28496         and REPORT_BUGS_TO.
28497         ($(objpfx)xtrace): Likewise.
28498         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28499         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28500         (print_version): Use PKGVERSION.
28501         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28502         (do_version): Use PKGVERSION.
28503         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28504         REPORT_BUGS_TO.
28505         (common-ldd-rewrite): Likewise.
28506         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28507         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28508         (print_version): Use PKGVERSION.
28509         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28510         * elf/pldd.c (argp_program_bug_address): Remove variable.
28511         (more_help): New function.
28512         (argp): Use more_help.
28513         (print_version): Use PKGVERSION.
28514         * elf/sln.c (main): Use PKGVERSION.
28515         (usage): Use REPORT_BUGS_TO.
28516         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28517         (top level): Use PKGVERSION.
28518         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28519         (print_version): Use PKGVERSION.
28520         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28521         (print_version): Use PKGVERSION.
28522         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28523         (print_version): Use PKGVERSION.
28524         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28525         (print_version): Use PKGVERSION.
28526         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28527         (print_version): Use PKGVERSION.
28528         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28529         (print_version): Use PKGVERSION.
28530         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28531         and BUGURL.
28532         ($(objpfx)memusage): Likewise.
28533         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28534         (do_version): Use PKGVERSION.
28535         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28536         (print_version): Use PKGVERSION.
28537         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28538         ($PKGVERSION): New variable.
28539         ($REPORT_BUGS_TO): Likewise.
28540         (usage): Use $REPORT_BUGS_TO.
28541         (top level): Use $PKGVERSION.
28542         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28543         ($(objpfx)pkgvers.texi): New rule.
28544         ($(objpfx)stamp-pkgvers): Likewise.
28545         * manual/install.texi: Include pkgvers.texi.
28546         (--with-pkgversion): Document new configure option.
28547         (--with-bugurl): Likewise.
28548         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28549         than necessarily for this particular distribution.  Use
28550         REPORT_BUGS_TO for where to report bugs.
28551         * INSTALL: Regenerated.
28552         * manual/libc.texinfo: Include pkgvers.texi.
28553         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28554         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28555         (print_version): Use PKGVERSION.
28556         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28557         (print_version): Use PKGVERSION.
28558         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28559         (print_version): Use PKGVERSION.
28560         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28561         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28562         macro.
28563         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28564         (print_version): Use PKGVERSION.
28565         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28566         (print_version): Use PKGVERSION.
28567         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28568         and PKGVERSION.
28569
28570         * timezone/checktab.awk: Update from tzcode 2012i.
28571         * timezone/ialloc.c: Likewise.
28572         * timezone/private.h: Likewise.
28573         * timezone/scheck.c: Likewise.
28574         * timezone/tzfile.h: Likewise.
28575         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28576         (TZVERSION): Hardcode tzcode version number.
28577         * timezone/zdump.c: Update from tzcode 2012i.
28578         * timezone/zic.c: Likewise.
28579         * timezone/version.h: New file.
28580         * timezone/README: Describe version.h.  Update upstream location.
28581
28582         [BZ #14824]
28583         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28584         (mktemp): Enable declaration.
28585         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28587         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28589         Likewise.
28590         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28591         Likewise.
28592         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28593         Likewise.
28594         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28595         Likewise.
28596         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28597         Likewise.
28598         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28599         Likewise.
28600
28601         [BZ #14821]
28602         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28603         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28604         for copies of such integer values.
28605         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28606         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28607
28608 2012-11-09  Andreas Jaeger  <aj@suse.de>
28609
28610         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28611         definitions and declarations that are provided by
28612         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28613
28614 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28615
28616         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28617         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28618         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28619         definition.
28620
28621 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28622
28623         * elf/elf.h: Update comment before AArch64 relocations.
28624
28625 2012-11-07  David S. Miller  <davem@davemloft.net>
28626
28627         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28628         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28629         (__start_context): Declare.
28630         (__makecontext_ret): Delete.
28631         (__makecontext): Hook up __start_context instead of
28632         __makecontext_ret.
28633         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28634         (sysdep_routines): Add __start_context when in stdlib.
28635
28636 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28637
28638         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28639         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28640         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28641         hardcoded "nm".
28642         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28643         (READELF): New variable.  Use it instead of hardcoded "readelf".
28644
28645 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28646
28647         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28648         * sysdeps/x86/Makefile: Here.
28649         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28650         * sysdeps/x86/tst-xmmymm.sh: This.
28651
28652 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28653
28654         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28655         expectations.
28656         [UNIX98] (pthread_barrier_t): Do not expect.
28657         [UNIX98] (pthread_barrierattr_t): Likewise.
28658         [UNIX98] (pthread_spinlock_t): Likewise.
28659         [UNIX98] (pthread_barrier_destroy): Likewise.
28660         [UNIX98] (pthread_barrier_init): Likewise.
28661         [UNIX98] (pthread_barrier_wait): Likewise.
28662         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28663         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28664         [UNIX98] (pthread_barrierattr_init): Likewise.
28665         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28666         [UNIX98] (pthread_getcpuclockid): Likewise.
28667         [UNIX98] (pthread_mutex_timedlock): Likewise.
28668         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28669         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28670         [UNIX98] (pthread_sigmask): Likewise.
28671         [UNIX98] (pthread_spin_destroy): Likewise.
28672         [UNIX98] (pthread_spin_init): Likewise.
28673         [UNIX98] (pthread_spin_lock): Likewise.
28674         [UNIX98] (pthread_spin_trylock): Likewise.
28675         [UNIX98] (pthread_spin_unlock): Likewise.
28676         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28677         Do not expect.
28678         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28679         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28680         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28681         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28682         [XPG3 || XPG4] (pthread_key_t): Likewise.
28683         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28684         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28685         [XPG3 || XPG4] (pthread_once_t): Likewise.
28686         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28687         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28688         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28689         [XPG3 || XPG4] (pthread_t): Likewise.
28690
28691         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28692         not expect.
28693         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28694
28695         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28696         Change function return type to int.
28697
28698         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28699         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28700         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28701         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28702         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28703         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28704         [!POSIX] (posix_madvise): Likewise.
28705         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28706         && !UNIX98].
28707         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28708         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28709         (mode_t): Likewise.
28710         (posix_mem_offset): Likewise.
28711         (posix_typed_mem_get_info): Likewise.
28712         (posix_typed_mem_open): Likewise.
28713
28714         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28715         Change condition to [XOPEN2K8].
28716
28717         * conform/conformtest.pl: Preprocess allow-header data with -x c
28718         instead of from stdin.
28719         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28720         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28721         [C99-based standards] (cerfc): Likewise.
28722         [C99-based standards] (cexp2): Likewise.
28723         [C99-based standards] (cexpm1): Likewise.
28724         [C99-based standards] (clog10): Likewise.
28725         [C99-based standards] (clog1p): Likewise.
28726         [C99-based standards] (clog2): Likewise.
28727         [C99-based standards] (clgamma): Likewise.
28728         [C99-based standards] (ctgamma): Likewise.
28729         [C99-based standards] (cerff): Likewise.
28730         [C99-based standards] (cerfcf): Likewise.
28731         [C99-based standards] (cexp2f): Likewise.
28732         [C99-based standards] (cexpm1f): Likewise.
28733         [C99-based standards] (clog10f): Likewise.
28734         [C99-based standards] (clog1pf): Likewise.
28735         [C99-based standards] (clog2f): Likewise.
28736         [C99-based standards] (clgammaf): Likewise.
28737         [C99-based standards] (ctgammaf): Likewise.
28738         [C99-based standards] (cerfl): Likewise.
28739         [C99-based standards] (cerfcl): Likewise.
28740         [C99-based standards] (cexp2l): Likewise.
28741         [C99-based standards] (cexpm1l): Likewise.
28742         [C99-based standards] (clog10l): Likewise.
28743         [C99-based standards] (clog1pl): Likewise.
28744         [C99-based standards] (clog2l): Likewise.
28745         [C99-based standards] (clgammal): Likewise.
28746         [C99-based standards] (ctgammal): Likewise.
28747         * conform/data/inttypes.h-data [C99-based standards]: Include
28748         stdint.h-data.  Remove all expectations for stdint.h contents.
28749         [C99-based standards] (PRI*): Do not allow.
28750         [C99-based standards] (SCN*): Likewise.
28751         [C99-based standards] (*_t): Likewise.
28752         [C99-based-standards] (PRId8): Expect macro.
28753         [C99-based-standards] (PRIi8): Likewise.
28754         [C99-based-standards] (PRIo8): Likewise.
28755         [C99-based-standards] (PRIu8): Likewise.
28756         [C99-based-standards] (PRIx8): Likewise.
28757         [C99-based-standards] (PRIX8): Likewise.
28758         [C99-based-standards] (SCNd8): Likewise.
28759         [C99-based-standards] (SCNi8): Likewise.
28760         [C99-based-standards] (SCNo8): Likewise.
28761         [C99-based-standards] (SCNu8): Likewise.
28762         [C99-based-standards] (SCNx8): Likewise.
28763         [C99-based-standards] (PRIdLEAST8): Likewise.
28764         [C99-based-standards] (PRIiLEAST8): Likewise.
28765         [C99-based-standards] (PRIoLEAST8): Likewise.
28766         [C99-based-standards] (PRIuLEAST8): Likewise.
28767         [C99-based-standards] (PRIxLEAST8): Likewise.
28768         [C99-based-standards] (PRIXLEAST8): Likewise.
28769         [C99-based-standards] (SCNdLEAST8): Likewise.
28770         [C99-based-standards] (SCNiLEAST8): Likewise.
28771         [C99-based-standards] (SCNoLEAST8): Likewise.
28772         [C99-based-standards] (SCNuLEAST8): Likewise.
28773         [C99-based-standards] (SCNxLEAST8): Likewise.
28774         [C99-based-standards] (PRIdFAST8): Likewise.
28775         [C99-based-standards] (PRIiFAST8): Likewise.
28776         [C99-based-standards] (PRIoFAST8): Likewise.
28777         [C99-based-standards] (PRIuFAST8): Likewise.
28778         [C99-based-standards] (PRIxFAST8): Likewise.
28779         [C99-based-standards] (PRIXFAST8): Likewise.
28780         [C99-based-standards] (SCNdFAST8): Likewise.
28781         [C99-based-standards] (SCNiFAST8): Likewise.
28782         [C99-based-standards] (SCNoFAST8): Likewise.
28783         [C99-based-standards] (SCNuFAST8): Likewise.
28784         [C99-based-standards] (SCNxFAST8): Likewise.
28785         [C99-based-standards] (PRId16): Likewise.
28786         [C99-based-standards] (PRIi16): Likewise.
28787         [C99-based-standards] (PRIo16): Likewise.
28788         [C99-based-standards] (PRIu16): Likewise.
28789         [C99-based-standards] (PRIx16): Likewise.
28790         [C99-based-standards] (PRIX16): Likewise.
28791         [C99-based-standards] (SCNd16): Likewise.
28792         [C99-based-standards] (SCNi16): Likewise.
28793         [C99-based-standards] (SCNo16): Likewise.
28794         [C99-based-standards] (SCNu16): Likewise.
28795         [C99-based-standards] (SCNx16): Likewise.
28796         [C99-based-standards] (PRIdLEAST16): Likewise.
28797         [C99-based-standards] (PRIiLEAST16): Likewise.
28798         [C99-based-standards] (PRIoLEAST16): Likewise.
28799         [C99-based-standards] (PRIuLEAST16): Likewise.
28800         [C99-based-standards] (PRIxLEAST16): Likewise.
28801         [C99-based-standards] (PRIXLEAST16): Likewise.
28802         [C99-based-standards] (SCNdLEAST16): Likewise.
28803         [C99-based-standards] (SCNiLEAST16): Likewise.
28804         [C99-based-standards] (SCNoLEAST16): Likewise.
28805         [C99-based-standards] (SCNuLEAST16): Likewise.
28806         [C99-based-standards] (SCNxLEAST16): Likewise.
28807         [C99-based-standards] (PRIdFAST16): Likewise.
28808         [C99-based-standards] (PRIiFAST16): Likewise.
28809         [C99-based-standards] (PRIoFAST16): Likewise.
28810         [C99-based-standards] (PRIuFAST16): Likewise.
28811         [C99-based-standards] (PRIxFAST16): Likewise.
28812         [C99-based-standards] (PRIXFAST16): Likewise.
28813         [C99-based-standards] (SCNdFAST16): Likewise.
28814         [C99-based-standards] (SCNiFAST16): Likewise.
28815         [C99-based-standards] (SCNoFAST16): Likewise.
28816         [C99-based-standards] (SCNuFAST16): Likewise.
28817         [C99-based-standards] (SCNxFAST16): Likewise.
28818         [C99-based-standards] (PRId32): Likewise.
28819         [C99-based-standards] (PRIi32): Likewise.
28820         [C99-based-standards] (PRIo32): Likewise.
28821         [C99-based-standards] (PRIu32): Likewise.
28822         [C99-based-standards] (PRIx32): Likewise.
28823         [C99-based-standards] (PRIX32): Likewise.
28824         [C99-based-standards] (SCNd32): Likewise.
28825         [C99-based-standards] (SCNi32): Likewise.
28826         [C99-based-standards] (SCNo32): Likewise.
28827         [C99-based-standards] (SCNu32): Likewise.
28828         [C99-based-standards] (SCNx32): Likewise.
28829         [C99-based-standards] (PRIdLEAST32): Likewise.
28830         [C99-based-standards] (PRIiLEAST32): Likewise.
28831         [C99-based-standards] (PRIoLEAST32): Likewise.
28832         [C99-based-standards] (PRIuLEAST32): Likewise.
28833         [C99-based-standards] (PRIxLEAST32): Likewise.
28834         [C99-based-standards] (PRIXLEAST32): Likewise.
28835         [C99-based-standards] (SCNdLEAST32): Likewise.
28836         [C99-based-standards] (SCNiLEAST32): Likewise.
28837         [C99-based-standards] (SCNoLEAST32): Likewise.
28838         [C99-based-standards] (SCNuLEAST32): Likewise.
28839         [C99-based-standards] (SCNxLEAST32): Likewise.
28840         [C99-based-standards] (PRIdFAST32): Likewise.
28841         [C99-based-standards] (PRIiFAST32): Likewise.
28842         [C99-based-standards] (PRIoFAST32): Likewise.
28843         [C99-based-standards] (PRIuFAST32): Likewise.
28844         [C99-based-standards] (PRIxFAST32): Likewise.
28845         [C99-based-standards] (PRIXFAST32): Likewise.
28846         [C99-based-standards] (SCNdFAST32): Likewise.
28847         [C99-based-standards] (SCNiFAST32): Likewise.
28848         [C99-based-standards] (SCNoFAST32): Likewise.
28849         [C99-based-standards] (SCNuFAST32): Likewise.
28850         [C99-based-standards] (SCNxFAST32): Likewise.
28851         [C99-based-standards] (PRId64): Likewise.
28852         [C99-based-standards] (PRIi64): Likewise.
28853         [C99-based-standards] (PRIo64): Likewise.
28854         [C99-based-standards] (PRIu64): Likewise.
28855         [C99-based-standards] (PRIx64): Likewise.
28856         [C99-based-standards] (PRIX64): Likewise.
28857         [C99-based-standards] (SCNd64): Likewise.
28858         [C99-based-standards] (SCNi64): Likewise.
28859         [C99-based-standards] (SCNo64): Likewise.
28860         [C99-based-standards] (SCNu64): Likewise.
28861         [C99-based-standards] (SCNx64): Likewise.
28862         [C99-based-standards] (PRIdLEAST64): Likewise.
28863         [C99-based-standards] (PRIiLEAST64): Likewise.
28864         [C99-based-standards] (PRIoLEAST64): Likewise.
28865         [C99-based-standards] (PRIuLEAST64): Likewise.
28866         [C99-based-standards] (PRIxLEAST64): Likewise.
28867         [C99-based-standards] (PRIXLEAST64): Likewise.
28868         [C99-based-standards] (SCNdLEAST64): Likewise.
28869         [C99-based-standards] (SCNiLEAST64): Likewise.
28870         [C99-based-standards] (SCNoLEAST64): Likewise.
28871         [C99-based-standards] (SCNuLEAST64): Likewise.
28872         [C99-based-standards] (SCNxLEAST64): Likewise.
28873         [C99-based-standards] (PRIdFAST64): Likewise.
28874         [C99-based-standards] (PRIiFAST64): Likewise.
28875         [C99-based-standards] (PRIoFAST64): Likewise.
28876         [C99-based-standards] (PRIuFAST64): Likewise.
28877         [C99-based-standards] (PRIxFAST64): Likewise.
28878         [C99-based-standards] (PRIXFAST64): Likewise.
28879         [C99-based-standards] (SCNdFAST64): Likewise.
28880         [C99-based-standards] (SCNiFAST64): Likewise.
28881         [C99-based-standards] (SCNoFAST64): Likewise.
28882         [C99-based-standards] (SCNuFAST64): Likewise.
28883         [C99-based-standards] (SCNxFAST64): Likewise.
28884         [C99-based-standards] (PRIdMAX): Likewise.
28885         [C99-based-standards] (PRIiMAX): Likewise.
28886         [C99-based-standards] (PRIoMAX): Likewise.
28887         [C99-based-standards] (PRIuMAX): Likewise.
28888         [C99-based-standards] (PRIxMAX): Likewise.
28889         [C99-based-standards] (PRIXMAX): Likewise.
28890         [C99-based-standards] (SCNdMAX): Likewise.
28891         [C99-based-standards] (SCNiMAX): Likewise.
28892         [C99-based-standards] (SCNoMAX): Likewise.
28893         [C99-based-standards] (SCNuMAX): Likewise.
28894         [C99-based-standards] (SCNxMAX): Likewise.
28895         [C99-based-standards] (PRIdPTR): Likewise.
28896         [C99-based-standards] (PRIiPTR): Likewise.
28897         [C99-based-standards] (PRIoPTR): Likewise.
28898         [C99-based-standards] (PRIuPTR): Likewise.
28899         [C99-based-standards] (PRIxPTR): Likewise.
28900         [C99-based-standards] (PRIXPTR): Likewise.
28901         [C99-based-standards] (SCNdPTR): Likewise.
28902         [C99-based-standards] (SCNiPTR): Likewise.
28903         [C99-based-standards] (SCNoPTR): Likewise.
28904         [C99-based-standards] (SCNuPTR): Likewise.
28905         [C99-based-standards] (SCNxPTR): Likewise.
28906         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28907         allow.
28908         * conform/data/stdint.h-data: Update comments to clarify
28909         requirements.
28910         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28911         type.
28912         [C99-based standards] (INT8_MAX): Likewise.
28913         [C99-based standards] (INT16_MIN): Likewise.
28914         [C99-based standards] (INT16_MAX): Likewise.
28915         [C99-based standards] (INT32_MIN): Likewise.
28916         [C99-based standards] (INT32_MAX): Likewise.
28917         [C99-based standards] (INT64_MIN): Likewise.
28918         [C99-based standards] (INT64_MAX): Likewise.
28919         [C99-based standards] (UINT8_MAX): Likewise.
28920         [C99-based standards] (UINT16_MAX): Likewise.
28921         [C99-based standards] (UINT32_MAX): Likewise.
28922         [C99-based standards] (UINT64_MAX): Likewise.
28923         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28924         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28925         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28926         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28927         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28928         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28929         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28930         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28931         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28932         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28933         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28934         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28935         [C99-based standards] (INT_FAST8_MIN): Likewise.
28936         [C99-based standards] (INT_FAST8_MAX): Likewise.
28937         [C99-based standards] (INT_FAST16_MIN): Likewise.
28938         [C99-based standards] (INT_FAST16_MAX): Likewise.
28939         [C99-based standards] (INT_FAST32_MIN): Likewise.
28940         [C99-based standards] (INT_FAST32_MAX): Likewise.
28941         [C99-based standards] (INT_FAST64_MIN): Likewise.
28942         [C99-based standards] (INT_FAST64_MAX): Likewise.
28943         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28944         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28945         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28946         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28947         [C99-based standards] (INTPTR_MIN): Likewise.
28948         [C99-based standards] (INTPTR_MAX): Likewise.
28949         [C99-based standards] (UINTPTR_MAX): Likewise.
28950         [C99-based standards] (INTMAX_MIN): Likewise.
28951         [C99-based standards] (INTMAX_MAX): Likewise.
28952         [C99-based standards] (UINTMAX_MAX): Likewise.
28953         [C99-based standards] (PTRDIFF_MIN): Likewise.
28954         [C99-based standards] (PTRDIFF_MAX): Likewise.
28955         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28956         [C99-based standards] (SIZE_MAX): Likewise.
28957         [C99-based standards] (WCHAR_MAX): Likewise.
28958         [C99-based standards] (WINT_MAX): Likewise.
28959         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28960         constraint on value.
28961         [C99-based standards] (WCHAR_MIN): Likewise.
28962         [C99-based standards] (WINT_MIN): Likewise.
28963         [C99-based standards] (*_t): Allow.
28964         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28965         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28966         Include math.h-data and complex.h-data.  Remove all expectations
28967         of math.h and complex.h contents.
28968         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28969         at end of line.
28970         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28971         (struct tm): Expect tag.
28972         [C99-based-standards] (wcstof): Expect function.
28973         [C99-based-standards] (wcstold): Likewise.
28974         [C99-based-standards] (wcstoll): Likewise.
28975         [C99-based-standards] (wcstoull): Likewise.
28976         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28977         macro-int-constant.  Specify type.
28978         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28979         constraint on value.
28980         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28981         Specify type.
28982         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28983         Specify value.
28984         [ISO C standards]: Do not allow headers.
28985         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28986         wcs[abcdefghijklmnopqrstuvwxyz]*.
28987         [ISO C standards] (*_t): Do not allow.
28988         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28989         Expect function.
28990         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28991         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28992         Specify type.
28993         [ISO C standards]: Do not allow headers.
28994         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28995         is[abcdefghijklmnopqrstuvwxyz]*.
28996         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28997         to[abcdefghijklmnopqrstuvwxyz]*.
28998         [ISO C standards] (*_t): Do not allow.
28999         * conform/data/stdalign.h-data: New file.
29000         * conform/data/stdbool.h-data: Likewise.
29001         * conform/data/stdnoreturn.h-data: Likewise.
29002
29003 2012-11-07  Roland McGrath  <roland@hack.frob.com>
29004
29005         [BZ #14815]
29006         * manual/filesys.texi (Directory Entries): Typo fix.
29007         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29008
29009 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29010
29011         * elf/elf.h (EM_AARCH64): New macro.
29012         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29013         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29014         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29015         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29016         (R_AARCH64_TLSDESC): Likewise.
29017         (NT_ARM_TLS): Likewise.
29018         (NT_ARM_HW_BREAK): Likewise.
29019         (NT_ARM_HW_WATCH): Likewise.
29020
29021 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29022
29023         [BZ #14811]
29024         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29025         (__ieee754_powl): Saturate nonzero exponents with absolute value
29026         below 0x1p-79 to +/- 0x1p-79.
29027         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29028         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29029         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29030         nonzero exponents with absolute value below 0x1p-32 to +/-
29031         0x1p-32.
29032         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29033         (__ieee754_powl): Saturate nonzero exponents with absolute value
29034         below 0x1p-79 to +/- 0x1p-79.
29035         * math/libm-test.inc (pow_test): Add more tests.
29036
29037 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29038
29039         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29040         _dl_s390_cap_flags with kernel. Increase string length.
29041         (_dl_s390_platforms): Add z196 and zEC12.
29042
29043 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29044
29045         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29046         Change XOPEN21K to XOPEN2K.
29047
29048 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
29049
29050         * string/memmove.c: Use memcpy when possible.
29051
29052 2012-11-06  Andreas Jaeger  <aj@suse.de>
29053
29054         * po/eo.po: Update from translation team.
29055
29056 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
29057
29058         [BZ #14793]
29059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29060         exponent and small x and y exponents, scale x or y up.  Increase
29061         by 2 the exponent used in scaling up.
29062         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29063         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29064         * math/libm-test.inc (fma_test): Add more tests.
29065         (fma_test_towardzero): Likewise.
29066         (fma_test_downward): Likewise.
29067         (fma_test_upward): Likewise.
29068
29069 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
29070
29071         [BZ #14805]
29072         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29073         fenv_t *.
29074
29075         [BZ #14801]
29076         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29077         namespace for names of struct fields.
29078         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29079         fenv_t fields.
29080         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29081         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29082
29083 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29084
29085         [BZ #3665]
29086         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29087
29088 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29089
29090         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29091         PTR_DEMANGLE.
29092
29093         [BZ #5246]
29094         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29095         PTR_DEMANGLE.
29096
29097 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
29098
29099         [BZ #14797]
29100         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29101         definitely overflow as x * y not x * y + z.
29102         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29103         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29104         * math/libm-test.inc (fma_test): Add more tests.
29105         (fma_test_towardzero): Likewise.
29106         (fma_test_downward): Likewise.
29107         (fma_test_upward): Likewise.
29108
29109 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29110
29111         [BZ #157]
29112
29113         * include/stub-tag.h: Remove file.
29114         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29115         '#include' of it.
29116         * manual/maint.texi (Porting): Don't reference it.
29117         * Makerules ($(objpfx)stubs): Likewise.
29118         * dirent/closedir.c: Don't include <stub-tag.h>.
29119         * dirent/dirfd.c: Likewise.
29120         * dirent/fdopendir.c: Likewise.
29121         * dirent/getdents.c: Likewise.
29122         * dirent/getdents64.c: Likewise.
29123         * dirent/opendir.c: Likewise.
29124         * dirent/readdir.c: Likewise.
29125         * dirent/readdir64.c: Likewise.
29126         * dirent/readdir64_r.c: Likewise.
29127         * dirent/readdir_r.c: Likewise.
29128         * dirent/rewinddir.c: Likewise.
29129         * dirent/seekdir.c: Likewise.
29130         * dirent/telldir.c: Likewise.
29131         * gmon/profil.c: Likewise.
29132         * grp/setgroups.c: Likewise.
29133         * inet/if_index.c: Likewise.
29134         * io/access.c: Likewise.
29135         * io/chdir.c: Likewise.
29136         * io/chmod.c: Likewise.
29137         * io/chown.c: Likewise.
29138         * io/close.c: Likewise.
29139         * io/dup.c: Likewise.
29140         * io/dup2.c: Likewise.
29141         * io/dup3.c: Likewise.
29142         * io/euidaccess.c: Likewise.
29143         * io/faccessat.c: Likewise.
29144         * io/fchdir.c: Likewise.
29145         * io/fchmod.c: Likewise.
29146         * io/fchmodat.c: Likewise.
29147         * io/fchown.c: Likewise.
29148         * io/fchownat.c: Likewise.
29149         * io/fcntl.c: Likewise.
29150         * io/flock.c: Likewise.
29151         * io/fstatfs.c: Likewise.
29152         * io/fstatfs64.c: Likewise.
29153         * io/fstatvfs.c: Likewise.
29154         * io/fstatvfs64.c: Likewise.
29155         * io/futimens.c: Likewise.
29156         * io/fxstat.c: Likewise.
29157         * io/fxstat64.c: Likewise.
29158         * io/fxstatat.c: Likewise.
29159         * io/fxstatat64.c: Likewise.
29160         * io/getcwd.c: Likewise.
29161         * io/isatty.c: Likewise.
29162         * io/lchmod.c: Likewise.
29163         * io/lchown.c: Likewise.
29164         * io/link.c: Likewise.
29165         * io/linkat.c: Likewise.
29166         * io/lseek.c: Likewise.
29167         * io/lseek64.c: Likewise.
29168         * io/lxstat64.c: Likewise.
29169         * io/mkdir.c: Likewise.
29170         * io/mkdirat.c: Likewise.
29171         * io/mkfifo.c: Likewise.
29172         * io/mkfifoat.c: Likewise.
29173         * io/open.c: Likewise.
29174         * io/open64.c: Likewise.
29175         * io/openat.c: Likewise.
29176         * io/openat64.c: Likewise.
29177         * io/pipe.c: Likewise.
29178         * io/pipe2.c: Likewise.
29179         * io/poll.c: Likewise.
29180         * io/posix_fadvise.c: Likewise.
29181         * io/posix_fadvise64.c: Likewise.
29182         * io/posix_fallocate.c: Likewise.
29183         * io/posix_fallocate64.c: Likewise.
29184         * io/read.c: Likewise.
29185         * io/readlink.c: Likewise.
29186         * io/readlinkat.c: Likewise.
29187         * io/rmdir.c: Likewise.
29188         * io/sendfile.c: Likewise.
29189         * io/sendfile64.c: Likewise.
29190         * io/statfs.c: Likewise.
29191         * io/statfs64.c: Likewise.
29192         * io/statvfs.c: Likewise.
29193         * io/statvfs64.c: Likewise.
29194         * io/symlink.c: Likewise.
29195         * io/symlinkat.c: Likewise.
29196         * io/ttyname.c: Likewise.
29197         * io/ttyname_r.c: Likewise.
29198         * io/umask.c: Likewise.
29199         * io/unlink.c: Likewise.
29200         * io/unlinkat.c: Likewise.
29201         * io/utime.c: Likewise.
29202         * io/utimensat.c: Likewise.
29203         * io/write.c: Likewise.
29204         * io/xmknod.c: Likewise.
29205         * io/xmknodat.c: Likewise.
29206         * io/xstat.c: Likewise.
29207         * io/xstat64.c: Likewise.
29208         * login/getpt.c: Likewise.
29209         * login/grantpt.c: Likewise.
29210         * login/unlockpt.c: Likewise.
29211         * math/e_acoshl.c: Likewise.
29212         * math/e_acosl.c: Likewise.
29213         * math/e_asinl.c: Likewise.
29214         * math/e_atan2l.c: Likewise.
29215         * math/e_atanhl.c: Likewise.
29216         * math/e_coshl.c: Likewise.
29217         * math/e_expl.c: Likewise.
29218         * math/e_fmodl.c: Likewise.
29219         * math/e_gammal_r.c: Likewise.
29220         * math/e_hypotl.c: Likewise.
29221         * math/e_j0l.c: Likewise.
29222         * math/e_j1l.c: Likewise.
29223         * math/e_jnl.c: Likewise.
29224         * math/e_lgammal_r.c: Likewise.
29225         * math/e_log10l.c: Likewise.
29226         * math/e_log2l.c: Likewise.
29227         * math/e_logl.c: Likewise.
29228         * math/e_powl.c: Likewise.
29229         * math/e_rem_pio2l.c: Likewise.
29230         * math/e_sinhl.c: Likewise.
29231         * math/e_sqrtl.c: Likewise.
29232         * math/fclrexcpt.c: Likewise.
29233         * math/fedisblxcpt.c: Likewise.
29234         * math/feenablxcpt.c: Likewise.
29235         * math/fegetenv.c: Likewise.
29236         * math/fegetexcept.c: Likewise.
29237         * math/fegetround.c: Likewise.
29238         * math/feholdexcpt.c: Likewise.
29239         * math/fesetenv.c: Likewise.
29240         * math/fesetround.c: Likewise.
29241         * math/feupdateenv.c: Likewise.
29242         * math/fgetexcptflg.c: Likewise.
29243         * math/fraiseexcpt.c: Likewise.
29244         * math/fsetexcptflg.c: Likewise.
29245         * math/ftestexcept.c: Likewise.
29246         * math/k_cosl.c: Likewise.
29247         * math/k_rem_pio2l.c: Likewise.
29248         * math/k_sinl.c: Likewise.
29249         * math/k_tanl.c: Likewise.
29250         * math/s_asinhl.c: Likewise.
29251         * math/s_atanl.c: Likewise.
29252         * math/s_cbrtl.c: Likewise.
29253         * math/s_erfl.c: Likewise.
29254         * math/s_expm1l.c: Likewise.
29255         * math/s_log1pl.c: Likewise.
29256         * math/s_tanhl.c: Likewise.
29257         * misc/acct.c: Likewise.
29258         * misc/brk.c: Likewise.
29259         * misc/chflags.c: Likewise.
29260         * misc/chroot.c: Likewise.
29261         * misc/fchflags.c: Likewise.
29262         * misc/fgetxattr.c: Likewise.
29263         * misc/flistxattr.c: Likewise.
29264         * misc/fremovexattr.c: Likewise.
29265         * misc/fsetxattr.c: Likewise.
29266         * misc/fsync.c: Likewise.
29267         * misc/ftruncate.c: Likewise.
29268         * misc/futimes.c: Likewise.
29269         * misc/futimesat.c: Likewise.
29270         * misc/getdomain.c: Likewise.
29271         * misc/getdtsz.c: Likewise.
29272         * misc/gethostid.c: Likewise.
29273         * misc/gethostname.c: Likewise.
29274         * misc/getloadavg.c: Likewise.
29275         * misc/getpagesize.c: Likewise.
29276         * misc/getsysstats.c: Likewise.
29277         * misc/getxattr.c: Likewise.
29278         * misc/gtty.c: Likewise.
29279         * misc/ioctl.c: Likewise.
29280         * misc/lgetxattr.c: Likewise.
29281         * misc/listxattr.c: Likewise.
29282         * misc/llistxattr.c: Likewise.
29283         * misc/lremovexattr.c: Likewise.
29284         * misc/lsetxattr.c: Likewise.
29285         * misc/lutimes.c: Likewise.
29286         * misc/madvise.c: Likewise.
29287         * misc/mincore.c: Likewise.
29288         * misc/mlock.c: Likewise.
29289         * misc/mlockall.c: Likewise.
29290         * misc/mmap.c: Likewise.
29291         * misc/mprotect.c: Likewise.
29292         * misc/msync.c: Likewise.
29293         * misc/munlock.c: Likewise.
29294         * misc/munlockall.c: Likewise.
29295         * misc/munmap.c: Likewise.
29296         * misc/preadv.c: Likewise.
29297         * misc/preadv64.c: Likewise.
29298         * misc/ptrace.c: Likewise.
29299         * misc/pwritev.c: Likewise.
29300         * misc/pwritev64.c: Likewise.
29301         * misc/readv.c: Likewise.
29302         * misc/reboot.c: Likewise.
29303         * misc/remap_file_pages.c: Likewise.
29304         * misc/removexattr.c: Likewise.
29305         * misc/revoke.c: Likewise.
29306         * misc/select.c: Likewise.
29307         * misc/setdomain.c: Likewise.
29308         * misc/setegid.c: Likewise.
29309         * misc/seteuid.c: Likewise.
29310         * misc/sethostid.c: Likewise.
29311         * misc/sethostname.c: Likewise.
29312         * misc/setregid.c: Likewise.
29313         * misc/setreuid.c: Likewise.
29314         * misc/setxattr.c: Likewise.
29315         * misc/sstk.c: Likewise.
29316         * misc/stty.c: Likewise.
29317         * misc/swapoff.c: Likewise.
29318         * misc/swapon.c: Likewise.
29319         * misc/sync.c: Likewise.
29320         * misc/syncfs.c: Likewise.
29321         * misc/syscall.c: Likewise.
29322         * misc/truncate.c: Likewise.
29323         * misc/ualarm.c: Likewise.
29324         * misc/usleep.c: Likewise.
29325         * misc/ustat.c: Likewise.
29326         * misc/utimes.c: Likewise.
29327         * misc/vhangup.c: Likewise.
29328         * misc/writev.c: Likewise.
29329         * posix/_exit.c: Likewise.
29330         * posix/alarm.c: Likewise.
29331         * posix/execve.c: Likewise.
29332         * posix/fexecve.c: Likewise.
29333         * posix/fork.c: Likewise.
29334         * posix/fpathconf.c: Likewise.
29335         * posix/getaddrinfo.c: Likewise.
29336         * posix/getegid.c: Likewise.
29337         * posix/geteuid.c: Likewise.
29338         * posix/getgid.c: Likewise.
29339         * posix/getgroups.c: Likewise.
29340         * posix/getlogin.c: Likewise.
29341         * posix/getlogin_r.c: Likewise.
29342         * posix/getpgid.c: Likewise.
29343         * posix/getpid.c: Likewise.
29344         * posix/getppid.c: Likewise.
29345         * posix/getresgid.c: Likewise.
29346         * posix/getresuid.c: Likewise.
29347         * posix/getsid.c: Likewise.
29348         * posix/getuid.c: Likewise.
29349         * posix/glob64.c: Likewise.
29350         * posix/nanosleep.c: Likewise.
29351         * posix/pathconf.c: Likewise.
29352         * posix/pause.c: Likewise.
29353         * posix/posix_madvise.c: Likewise.
29354         * posix/pread.c: Likewise.
29355         * posix/pread64.c: Likewise.
29356         * posix/pwrite.c: Likewise.
29357         * posix/pwrite64.c: Likewise.
29358         * posix/sched_getaffinity.c: Likewise.
29359         * posix/sched_getp.c: Likewise.
29360         * posix/sched_gets.c: Likewise.
29361         * posix/sched_primax.c: Likewise.
29362         * posix/sched_primin.c: Likewise.
29363         * posix/sched_rr_gi.c: Likewise.
29364         * posix/sched_setaffinity.c: Likewise.
29365         * posix/sched_setp.c: Likewise.
29366         * posix/sched_sets.c: Likewise.
29367         * posix/sched_yield.c: Likewise.
29368         * posix/setgid.c: Likewise.
29369         * posix/setlogin.c: Likewise.
29370         * posix/setpgid.c: Likewise.
29371         * posix/setresgid.c: Likewise.
29372         * posix/setresuid.c: Likewise.
29373         * posix/setsid.c: Likewise.
29374         * posix/setuid.c: Likewise.
29375         * posix/sleep.c: Likewise.
29376         * posix/spawni.c: Likewise.
29377         * posix/sysconf.c: Likewise.
29378         * posix/times.c: Likewise.
29379         * posix/wait.c: Likewise.
29380         * posix/wait3.c: Likewise.
29381         * posix/wait4.c: Likewise.
29382         * posix/waitpid.c: Likewise.
29383         * resolv/gai_sigqueue.c: Likewise.
29384         * resource/getpriority.c: Likewise.
29385         * resource/getrlimit.c: Likewise.
29386         * resource/getrusage.c: Likewise.
29387         * resource/nice.c: Likewise.
29388         * resource/setpriority.c: Likewise.
29389         * resource/setrlimit.c: Likewise.
29390         * resource/ulimit.c: Likewise.
29391         * rt/aio_cancel.c: Likewise.
29392         * rt/aio_fsync.c: Likewise.
29393         * rt/aio_read.c: Likewise.
29394         * rt/aio_sigqueue.c: Likewise.
29395         * rt/aio_suspend.c: Likewise.
29396         * rt/aio_write.c: Likewise.
29397         * rt/clock_getres.c: Likewise.
29398         * rt/clock_gettime.c: Likewise.
29399         * rt/clock_nanosleep.c: Likewise.
29400         * rt/clock_settime.c: Likewise.
29401         * rt/lio_listio.c: Likewise.
29402         * rt/mq_close.c: Likewise.
29403         * rt/mq_getattr.c: Likewise.
29404         * rt/mq_notify.c: Likewise.
29405         * rt/mq_open.c: Likewise.
29406         * rt/mq_receive.c: Likewise.
29407         * rt/mq_send.c: Likewise.
29408         * rt/mq_setattr.c: Likewise.
29409         * rt/mq_timedreceive.c: Likewise.
29410         * rt/mq_timedsend.c: Likewise.
29411         * rt/mq_unlink.c: Likewise.
29412         * rt/shm_open.c: Likewise.
29413         * rt/shm_unlink.c: Likewise.
29414         * rt/timer_create.c: Likewise.
29415         * rt/timer_delete.c: Likewise.
29416         * rt/timer_getoverr.c: Likewise.
29417         * rt/timer_gettime.c: Likewise.
29418         * rt/timer_settime.c: Likewise.
29419         * setjmp/__longjmp.c: Likewise.
29420         * setjmp/setjmp.c: Likewise.
29421         * signal/kill.c: Likewise.
29422         * signal/killpg.c: Likewise.
29423         * signal/raise.c: Likewise.
29424         * signal/sigaction.c: Likewise.
29425         * signal/sigaltstack.c: Likewise.
29426         * signal/sigblock.c: Likewise.
29427         * signal/sigignore.c: Likewise.
29428         * signal/sigintr.c: Likewise.
29429         * signal/signal.c: Likewise.
29430         * signal/sigpause.c: Likewise.
29431         * signal/sigpending.c: Likewise.
29432         * signal/sigqueue.c: Likewise.
29433         * signal/sigreturn.c: Likewise.
29434         * signal/sigset.c: Likewise.
29435         * signal/sigsetmask.c: Likewise.
29436         * signal/sigstack.c: Likewise.
29437         * signal/sigsuspend.c: Likewise.
29438         * signal/sigtimedwait.c: Likewise.
29439         * signal/sigvec.c: Likewise.
29440         * signal/sigwait.c: Likewise.
29441         * signal/sigwaitinfo.c: Likewise.
29442         * signal/sysv_signal.c: Likewise.
29443         * socket/accept.c: Likewise.
29444         * socket/accept4.c: Likewise.
29445         * socket/bind.c: Likewise.
29446         * socket/connect.c: Likewise.
29447         * socket/getpeername.c: Likewise.
29448         * socket/getsockname.c: Likewise.
29449         * socket/getsockopt.c: Likewise.
29450         * socket/isfdtype.c: Likewise.
29451         * socket/listen.c: Likewise.
29452         * socket/recv.c: Likewise.
29453         * socket/recvfrom.c: Likewise.
29454         * socket/recvmsg.c: Likewise.
29455         * socket/send.c: Likewise.
29456         * socket/sendmsg.c: Likewise.
29457         * socket/sendto.c: Likewise.
29458         * socket/setsockopt.c: Likewise.
29459         * socket/shutdown.c: Likewise.
29460         * socket/sockatmark.c: Likewise.
29461         * socket/socket.c: Likewise.
29462         * socket/socketpair.c: Likewise.
29463         * stdio-common/ctermid.c: Likewise.
29464         * stdio-common/cuserid.c: Likewise.
29465         * stdio-common/remove.c: Likewise.
29466         * stdio-common/rename.c: Likewise.
29467         * stdio-common/renameat.c: Likewise.
29468         * stdio-common/tempname.c: Likewise.
29469         * stdlib/getcontext.c: Likewise.
29470         * stdlib/makecontext.c: Likewise.
29471         * stdlib/setcontext.c: Likewise.
29472         * stdlib/swapcontext.c: Likewise.
29473         * stdlib/system.c: Likewise.
29474         * streams/fattach.c: Likewise.
29475         * streams/fdetach.c: Likewise.
29476         * streams/getmsg.c: Likewise.
29477         * streams/getpmsg.c: Likewise.
29478         * streams/putmsg.c: Likewise.
29479         * streams/putpmsg.c: Likewise.
29480         * sysdeps/unix/bsd/getpt.c: Likewise.
29481         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29482         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29483         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29485         Likewise.
29486         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29487         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29488         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29489         * sysvipc/msgctl.c: Likewise.
29490         * sysvipc/msgget.c: Likewise.
29491         * sysvipc/msgrcv.c: Likewise.
29492         * sysvipc/msgsnd.c: Likewise.
29493         * sysvipc/semctl.c: Likewise.
29494         * sysvipc/semget.c: Likewise.
29495         * sysvipc/semop.c: Likewise.
29496         * sysvipc/semtimedop.c: Likewise.
29497         * sysvipc/shmat.c: Likewise.
29498         * sysvipc/shmctl.c: Likewise.
29499         * sysvipc/shmdt.c: Likewise.
29500         * sysvipc/shmget.c: Likewise.
29501         * termios/tcdrain.c: Likewise.
29502         * termios/tcflow.c: Likewise.
29503         * termios/tcflush.c: Likewise.
29504         * termios/tcgetattr.c: Likewise.
29505         * termios/tcgetpgrp.c: Likewise.
29506         * termios/tcsendbrk.c: Likewise.
29507         * termios/tcsetattr.c: Likewise.
29508         * termios/tcsetpgrp.c: Likewise.
29509         * time/adjtime.c: Likewise.
29510         * time/clock.c: Likewise.
29511         * time/getitimer.c: Likewise.
29512         * time/gettimeofday.c: Likewise.
29513         * time/setitimer.c: Likewise.
29514         * time/settimeofday.c: Likewise.
29515         * time/stime.c: Likewise.
29516         * time/time.c: Likewise.
29517
29518 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29519
29520         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29521         /usr/old/bin.
29522
29523         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29524         instead of spaces.
29525         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29526
29527 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29528
29529         [BZ #14796]
29530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29531         FE_TONEAREST before applying Dekker multiplication and Knuth
29532         addition.  Clear inexact exceptions and check for exact zero
29533         results afterwards.
29534         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29535         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29536         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29537         * math/libm-test.inc (fma_test): Add more tests.
29538         (fma_test_towardzero): Likewise.
29539         (fma_test_downward): Likewise.
29540         (fma_test_upward): Likewise.
29541         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29542         function.
29543         (libc_fesetround): New macro.
29544         (libc_fesetroundf): Likewise.
29545         (libc_fesetroundl): Likewise.
29546         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29547         function.
29548         (libc_fesetround_387): Likewise.
29549         (libc_fesetroundf): New macro.
29550         (libc_fesetround): Likewise.
29551         (libc_fesetroundl): Likewise.
29552         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29553         function.
29554         (libc_fesetroundf): New macro.
29555         (libc_fesetround): Likewise.
29556         (libc_fesetroundl): Likewise.
29557         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29558         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29559         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29560         libm_hidden_ver.
29561         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29562         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29563         libm_hidden_def.
29564         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29565         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29566         libm_hidden_ver.
29567         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29568         libm_hidden_def.
29569
29570         [BZ #3439]
29571         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29572         integer constant usable in #if and use that to give value to enum
29573         constant.
29574         (FE_DIVBYZERO): Likewise.
29575         (FE_UNDERFLOW): Likewise.
29576         (FE_OVERFLOW): Likewise.
29577         (FE_INVALID): Likewise.
29578         (FE_INVALID_SNAN): Likewise.
29579         (FE_INVALID_ISI): Likewise.
29580         (FE_INVALID_IDI): Likewise.
29581         (FE_INVALID_ZDZ): Likewise.
29582         (FE_INVALID_IMZ): Likewise.
29583         (FE_INVALID_COMPARE): Likewise.
29584         (FE_INVALID_SOFTWARE): Likewise.
29585         (FE_INVALID_SQRT): Likewise.
29586         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29587         (FE_TONEAREST): Likewise.
29588         (FE_TOWARDZERO): Likewise.
29589         (FE_UPWARD): Likewise.
29590         (FE_DOWNWARD): Likewise.
29591         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29592         (FE_DIVBYZERO): Likewise.
29593         (FE_OVERFLOW): Likewise.
29594         (FE_UNDERFLOW): Likewise.
29595         (FE_INEXACT): Likewise.
29596         (FE_TONEAREST): Likewise.
29597         (FE_DOWNWARD): Likewise.
29598         (FE_UPWARD): Likewise.
29599         (FE_TOWARDZERO): Likewise.
29600         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29601         (FE_UNDERFLOW): Likewise.
29602         (FE_OVERFLOW): Likewise.
29603         (FE_DIVBYZERO): Likewise.
29604         (FE_INVALID): Likewise.
29605         (FE_TONEAREST): Likewise.
29606         (FE_TOWARDZERO): Likewise.
29607         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29608         (FE_OVERFLOW): Likewise.
29609         (FE_UNDERFLOW): Likewise.
29610         (FE_DIVBYZERO): Likewise.
29611         (FE_INEXACT): Likewise.
29612         (FE_TONEAREST): Likewise.
29613         (FE_TOWARDZERO): Likewise.
29614         (FE_UPWARD): Likewise.
29615         (FE_DOWNWARD): Likewise.
29616         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29617         (FE_DIVBYZERO): Likewise.
29618         (FE_OVERFLOW): Likewise.
29619         (FE_UNDERFLOW): Likewise.
29620         (FE_INEXACT): Likewise.
29621         (FE_TONEAREST): Likewise.
29622         (FE_DOWNWARD): Likewise.
29623         (FE_UPWARD): Likewise.
29624         (FE_TOWARDZERO): Likewise.
29625
29626 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29627
29628         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29629
29630 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29631
29632         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29633         commands.  Quote $PWD.
29634         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29635         -x" by "export".
29636         (remove_newlines): Remove.
29637
29638 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29639
29640         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29641         * stdlib/stdlib.h (atof): Moved to ...
29642         * include/bits/stdlib-float.h: Here.  New file.
29643         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29644         * stdlib/bits/stdlib-float.h: New file.
29645         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29646         -mno-sse -mno-mmx.
29647         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29648         <xmmintrin.h>.
29649
29650 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29651
29652         * conform/conformtest.pl (@headers): Add fenv.h.
29653         * conform/data/fenv.h-data: New file.
29654         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29655         include of <math/fenv.h>.
29656
29657         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29658         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29659         && !UNIX98].  Enables tests for XOPEN2K8.
29660         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29661         POSIX2008]: Likewise.
29662
29663         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29664         (struct rusage): Do not expect type or its members.
29665
29666         [BZ #3439]
29667         * math/math.h (FP_NAN): Define macro to integer constant usable in
29668         #if and use that to give value to enum constant.
29669         (FP_INFINITE): Likewise.
29670         (FP_ZERO): Likewise.
29671         (FP_SUBNORMAL): Likewise.
29672         (FP_NORMAL): Likewise.
29673
29674 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29675
29676         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29677         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29678         arguments.
29679
29680 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29681
29682         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29683         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29684         autoconf-time if not.
29685         * configure.in: Remove AC_PREREQ.
29686
29687 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29688
29689         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29690         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29691         of the internal implementation.
29692
29693 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29694
29695         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29696         except include of <misc/sys/syslog.h>.
29697
29698 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29699
29700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29701         function returns with a NULL context exit with zero.
29702
29703 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29704
29705         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29706
29707 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29708
29709         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29710         (run_program_cmd): This.
29711         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29712         (tst_langinfo): New variable.  Use it.
29713
29714 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29715
29716         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29717         floating point opcodes.
29718
29719 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29720
29721         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29722         variable.
29723
29724         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29725
29726         * sysdeps/mach/hurd/powerpc: Remove directory.
29727         * sysdeps/mach/powerpc: Likewise.
29728
29729 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29730
29731         * scripts/check-local-headers.sh: Ignore c++ headers.
29732
29733 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29734
29735         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29736         __libc_cleanup_region_start argument.
29737
29738 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29739
29740         [BZ #14784]
29741         [BZ #14785]
29742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29743         x * y using scaling, not as x * y + z.
29744         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29745         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29746         * math/libm-test.inc (fma_test): Add more tests.
29747         (fma_test_towardzero): Likewise.
29748         (fma_test_downward): Likewise.
29749         (fma_test_upward): Likewise.
29750
29751 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29752
29753         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29754
29755 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29756
29757         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29758         New variable.
29759
29760 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29761
29762         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29763
29764 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29765
29766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29767         Fix sort order.
29768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29769         Likewise.
29770
29771 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29772
29773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29774         Fix the order of the list for glibc 2.17.
29775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29776         Likewise.
29777
29778 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29779
29780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29781
29782 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29783
29784         [BZ #14610]
29785         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29786         for low part of x being zero before using __atanl (y).
29787         * math/libm-test.inc (atan2_test): Add another test.
29788
29789         * manual/install.texi (Configuring and compiling): Document
29790         general use of test-wrapper and test-wrapper-env.
29791         * INSTALL: Regenerated.
29792
29793         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29794         (__fma): Do not extract and scale down low bits on after-rounding
29795         systems when result rounded to normal precision would have normal
29796         exponent.
29797         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29798         (__fmal): Do not extract and scale down low bits on after-rounding
29799         systems when result rounded to normal precision would have normal
29800         exponent.
29801         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29802         (__fmal): Do not extract and scale down low bits on after-rounding
29803         systems when result rounded to normal precision would have normal
29804         exponent.
29805         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29806         macro.
29807         (fma_test): Add more tests.
29808         (fma_test_towardzero): Likewise.
29809         (fma_test_downward): Likewise.
29810         (fma_test_upward): Likewise.
29811
29812 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29813
29814         * sysdeps/i386/tininess.h: Renamed to ...
29815         * sysdeps/x86/tininess.h: This.
29816         * sysdeps/x86_64/tininess.h: Removed.
29817
29818 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29819
29820         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29821         input.  Use $(build-program-cmd).
29822         ($(objpfx)tst-array1-static.out): Likewise.
29823         ($(objpfx)tst-array2.out): Likewise.
29824         ($(objpfx)tst-array3.out): Likewise.
29825         ($(objpfx)tst-array4.out): Likewise.
29826         ($(objpfx)tst-array5.out): Likewise.
29827         ($(objpfx)tst-array5-static.out): Likewise.
29828
29829 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29830
29831         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29832         if defined.
29833
29834         * nss/nsswitch.h (nss_interface_function): Provide new
29835         macro for use with NSS functions.
29836         * grp/initgroups.c: Use new macro.
29837         * nss/getXXbyYY.c: Likewise.
29838         * nss/getXXbyYY_r.c: Likewise.
29839         * nss/getXXent.c: Likewise.
29840         * nss/getXXent_r.c: Likewise.
29841         * sysdeps/posix/getaddrinfo.c: Likewise.
29842
29843 2012-10-30  Andreas Jaeger  <aj@suse.de>
29844
29845         * po/ru.po: Update Russion translation from translation project.
29846
29847 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29848
29849         [BZ #14152]
29850         [BZ #14783]
29851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29852         result and shift together with sticky bit instead of replicating
29853         round-to-nearest rounding.
29854         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29855         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29856         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29857         missing underflow exceptions.
29858         (fma_test_towardzero): Add more tests.
29859         (fma_test_downward): Likewise.
29860         (fma_test_upward): Likewise.
29861
29862         [BZ #14047]
29863         * sysdeps/generic/tininess.h: New file.
29864         * sysdeps/i386/tininess.h: Likewise.
29865         * sysdeps/sh/tininess.h: Likewise.
29866         * sysdeps/x86_64/tininess.h: Likewise.
29867         * stdlib/tst-strtod-underflow.c: Likewise.
29868         * stdlib/tst-tininess.c: Likewise.
29869         * stdlib/strtod_l.c: Include <tininess.h>.
29870         (round_and_return): Do not set errno for exact underflow cases.
29871         Force an underflow exception when setting errno for underflow.
29872         Determine underflow based on rounding to normal precision if
29873         TININESS_AFTER_ROUNDING.
29874         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29875         ERANGE for exact underflow cases.
29876         * stdlib/Makefile (tests): Add tst-tininess and
29877         tst-strtod-underflow.
29878         ($(objpfx)tst-tininess): Use $(link-libm).
29879         ($(objpfx)tst-strtod-underflow): Likewise.
29880
29881 2012-10-30  Andreas Jaeger  <aj@suse.de>
29882
29883         [BZ#14767]
29884         * elf/Makefile (tests): Remove conditional for have-initfini-array
29885         since this is now always required and the variable does not exist
29886         anymore.
29887         (tests-static): Likewise.
29888         (modules-names): Likewise.
29889
29890         * po/eo.po: Add Esperanto translation from translation project.
29891
29892         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29893         merged with constructor/destructor.
29894         (init_array): Likewise.
29895         * elf/tst-array2dep.c (fini_array): Likewise.
29896         (init_array): Likewise.
29897
29898 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29899
29900         * manual/message.texi: Delete @cartouche tags.
29901
29902 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29903
29904         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29905         EOPNOTSUPP.
29906         * sysdeps/mach/hurd/fsync.c: Likewise.
29907
29908         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29909         [_POSIX_REALTIME_SIGNALS]: Change condition to
29910         [_POSIX_REALTIME_SIGNALS > 0].
29911
29912 2012-10-27  Andreas Jaeger  <aj@suse.de>
29913
29914         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29915         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29916         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29917         [__WORDSIZE != 64]: Likewise.
29918
29919 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29920
29921         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29922         *  iconvdata/tst-tables.sh: Likewise.
29923
29924 2012-10-25  David S. Miller  <davem@davemloft.net>
29925
29926         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29927         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29928         of strtoull.
29929
29930         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29931         ifunc-impl-list.c
29932         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29933         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29934         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29935         file.
29936
29937 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29938
29939         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29940         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29941         __getdirentries.
29942
29943 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29944             Jim Blandy  <jimb@codesourcery.com>
29945
29946         * scripts/cross-test-ssh.sh: New file.
29947         * manual/install.texi (Configuring and compiling): Document use of
29948         cross-test-ssh.sh.
29949         * INSTALL: Regenerated.
29950
29951 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29952
29953         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29954         EOPNOTSUPP.
29955
29956 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29957
29958         * Makeconfig (run-program-prefix): Fix comment.
29959
29960 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29961             Jim Blandy  <jimb@codesourcery.com>
29962
29963         * Makeconfig (test-wrapper): New variable,
29964         (test-wrapper-env): Likewise.
29965         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29966         (run-built-tests): Define to yes.
29967         (run-program-prefix): Use $(test-wrapper).
29968         (built-program-cmd): Likewise.
29969         * Rules (make-test-out): Use $(test-wrapper-env) and
29970         $(host-built-program-cmd).
29971         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29972         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29973         tst-pathopt.sh.
29974         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29975         $(test-wrapper-env) to tst-rtld-load-self.sh.
29976         ($(objpfx)order2.out): Use $(test-wrapper).
29977         ($(objpfx)tst-initorder.out): Likewise.
29978         ($(objpfx)tst-initorder2.out): Likewise.
29979         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29980         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29981         (test_wrapper_env): New variable.  Use it to run ld.so.
29982         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29983         Use it to run ld.so.
29984         (test_wrapper_env): Likewise.
29985         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29986         $(test-wrapper) to run-iconv-test.sh.
29987         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29988         (ICONV): Use $test_wrapper.
29989         * posix/Makefile ($(objpfx)globtest.out): Pass
29990         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29991         globtest.sh, not $(run-program-prefix).
29992         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29993         (test_wrapper): Likewise.
29994         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29995         set together with run_via_rtld_prefix.
29996         (run_program_prefix): Define in terms of test_wrapper and
29997         run_via_rtld_prefix.
29998
29999 2012-10-24  Roland McGrath  <roland@hack.frob.com>
30000
30001         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30002         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30003         Targets removed.
30004
30005         [BZ #14743]
30006         * include/time.h: Remove librt_hidden_proto (clock_gettime).
30007         Declare __clock_getres, __clock_gettime, __clock_settime,
30008         __clock_nanosleep, and __clock_getcpuclockid.
30009         * rt/clock_gettime.c: Define __clock_gettime as an alias.
30010         Remove librt_hidden_def (clock_gettime).
30011         * sysdeps/unix/clock_gettime.c: Likewise.
30012         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30013         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30014         * rt/clock_getres.c: Define __clock_getres as an alias.
30015         * sysdeps/posix/clock_getres.c: Likewise.
30016         * rt/clock_settime.c: Define __clock_settime as an alias.
30017         * sysdeps/unix/clock_settime.c: Likewise.
30018         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30019         * sysdeps/unix/clock_nanosleep.c: Likewise.
30020         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30021         * rt/clock-compat.c: New file.
30022         * rt/Makefile (librt-routines): Add clock-compat and move
30023         $(clock-routines) to ...
30024         (routines): ... here, new variable.
30025         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30026         Don't add get_clockfreq here.
30027         * rt/Versions (libc: GLIBC_2.17): New version set.
30028         Add clock_* symbols here.
30029         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
30030         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30031         (GLIBC_2.17): Add clock_* symbols.
30032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30034         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30036         Likewise.
30037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30038         Likewise.
30039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30043         * NEWS: Mention the move.
30044
30045         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30046         Use __open, __read, __close rather than their public counterparts.
30047         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30048         (__get_clockfreq_via_cpuinfo): Likewise.
30049         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30050         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30051
30052         * config.h.in (HAVE_IFUNC): New #undef.
30053         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30054         was successful.
30055         * configure: Regenerated.
30056
30057 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30058
30059         * configure.in: Move READELF check to start of file.
30060         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30061         libc_cv_asm_gnu_indirect_function in the process.
30062         * configure: Regenerated.
30063
30064 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30065
30066         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30067         send the output to /dev/null.
30068         (libc_cv_cc_with_libunwind): Likewise.
30069         (libc_cv_as_noexecstack): Likewise.
30070         * configure: Regenerate.
30071
30072 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30073
30074         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30075
30076         * posix/globtest.sh (TMPDIR): Do not set.
30077         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30078         (testout): Likewise.
30079
30080 2012-10-24  Andreas Jaeger  <aj@suse.de>
30081
30082         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30083         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30084         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30085         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30086         posix_fadvise64, posix_fallocate64.
30087
30088         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30089         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30090         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30091         Likewise.
30092         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30093         Likewise.
30094         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30095
30096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30097         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30098         <bits/fcntl-linux.h>.
30099         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30100
30101         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30102         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30103         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30104         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30105         [__WORDSIZE != 64]: Likewise.
30106
30107 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30108
30109         * Makeconfig (run-built-tests): New variable.
30110         * Rules [$(cross-compiling) = yes]: Change condition to
30111         [$(run-built-tests) = no].
30112         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30113         to [$(run-built-tests) = yes].
30114         * elf/Makefile [$(cross-compiling) = no]: Likewise
30115         * grp/Makefile [$(cross-compiling) = no]: Likewise.
30116         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30117         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30118         * intl/Makefile [$(cross-compiling) = no]: Likewise.
30119         * io/Makefile [$(cross-compiling) = no]: Likewise.
30120         * libio/Makefile [$(cross-compiling) = no]: Likewise.
30121         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30122         * misc/Makefile [$(cross-compiling) = no]: Likewise.
30123         * posix/Makefile [$(cross-compiling) = no]: Likewise.
30124         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30125         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30126         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30127         * string/Makefile [$(cross-compiling) = no]: Likewise.
30128
30129         * posix/Makefile ($(objpfx)globtest.out): Pass
30130         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30131         $(rtld-installed-name).
30132         * posix/globtest.sh (elf_objpfx): Remove variable.
30133         (rtld_installed_name): Likewise.
30134         (library_path): Likewise.
30135         (run_program_prefix): New variable.  Use for running globtest
30136         binary.
30137
30138 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
30139             Joseph Myers  <joseph@codesourcery.com>
30140
30141         * Makeconfig (host-built-program-cmd): New variable.
30142         * elf/Makefile (tst-stackguard1-ARGS): Use
30143         $(host-built-program-cmd).
30144         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30145         (tst-spawn-ARGS): Likewise.
30146         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30147
30148 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30149             Jim Blandy  <jimb@codesourcery.com>
30150
30151         * Makeconfig (run-via-rtld-prefix): New variable.
30152         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30153         (built-program-cmd): Likewise.
30154
30155 2012-10-22  Andreas Jaeger  <aj@suse.de>
30156
30157         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30158         __O_RSYNC if it exists, otherwise to O_SYNC.
30159
30160 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30161             Joseph Myers  <joseph@codesourcery.com>
30162
30163         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30164         /dev/null.
30165         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30166         from /dev/null
30167         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30168         /dev/null.
30169
30170 2012-10-22  Andreas Jaeger  <aj@suse.de>
30171
30172         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30173         Define always.
30174         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30175
30176         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30177         bits/fcntl-linux.h.
30178
30179         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30180         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30181
30182         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30183         to __O_LARGEFILE.
30184         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30185         to __O_LARGEFILE.
30186
30187 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30188             Joseph Myers  <joseph@codesourcery.com>
30189
30190         * config.make.in (NM): New variable.
30191
30192 2012-10-21  Andreas Jaeger  <aj@suse.de>
30193
30194         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30195         definitions and declarations that are provided by
30196         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30197
30198 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30199
30200         [BZ #14683]
30201         * elf/Makefile (tests-static): Add tst-leaks1-static.
30202         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30203         ($(objpfx)tst-leaks1-static): New rule.
30204         ($(objpfx)tst-leaks1-static-mem): Likewise.
30205         (tst-leaks1-static-ENV): New macro.
30206         * elf/dl-open.c (dl_open_worker): Check the main application
30207         only if SHARED is defined.
30208         * elf/tst-leaks1-static.c: New file.
30209
30210 2012-10-20  Andreas Jaeger  <aj@suse.de>
30211
30212         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30213         generic values for Linux.
30214         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30215         and declarations that are provided by <bits/fcntl-linux.h> and
30216         include <bits/fcntl-linux.h>.
30217         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30218         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30219
30220 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30221
30222         * io/fcntl.h: Move include of <bits/types.h> to the top and
30223         include it unconditionally.
30224
30225 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30226
30227         * wcsmbs/Makefile (tests-ifunc): New variable.
30228         (tests): Add $(tests-ifunc).
30229         * wcsmbs/test-wcschr-ifunc.c: New file.
30230         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30231         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30232         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30233         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30234         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30235
30236         * string/Makefile (tests-ifunc): New variable.
30237         (tests): Add $(tests-ifunc).
30238         * string/test-memccpy.c (TEST_NAME): New macro.
30239         * string/test-memchr.c (TEST_NAME): Likewise.
30240         * string/test-memcmp.c (TEST_NAME): Likewise.
30241         * string/test-memcpy.c (TEST_NAME): Likewise.
30242         * string/test-memmem.c (TEST_NAME): Likewise.
30243         * string/test-memmove.c (TEST_NAME): Likewise.
30244         * string/test-memset.c (TEST_NAME): Likewise.
30245         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30246         * string/test-stpcpy.c (TEST_NAME): Likewise.
30247         * string/test-stpncpy.c (TEST_NAME): Likewise.
30248         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30249         * string/test-strcasestr.c (TEST_NAME): Likewise.
30250         * string/test-strcat.c (TEST_NAME): Likewise.
30251         * string/test-strchr.c (TEST_NAME): Likewise.
30252         * string/test-strcmp.c(TEST_NAME): Likewise.
30253         * string/test-strcpy.c (TEST_NAME): Likewise.
30254         * string/test-strcspn.c (TEST_NAME): Likewise.
30255         * string/test-strlen.c (TEST_NAME): Likewise.
30256         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30257         * string/test-strncmp.c (TEST_NAME): Likewise.
30258         * string/test-strncpy.c (TEST_NAME): Likewise.
30259         * string/test-strnlen.c (TEST_NAME): Likewise.
30260         * string/test-strpbrk.c (TEST_NAME): Likewise.
30261         * string/test-strrchr.c (TEST_NAME): Likewise.
30262         * string/test-strspn.c (TEST_NAME): Likewise.
30263         * string/test-strstr.c (TEST_NAME): Likewise.
30264         * string/test-bcopy-ifunc.c: New file.
30265         * string/test-bzero-ifunc.c: Likewise.
30266         * string/test-memccpy-ifunc.c: Likewise.
30267         * string/test-memchr-ifunc.c: Likewise.
30268         * string/test-memcmp-ifunc.c: Likewise.
30269         * string/test-memcpy-ifunc.c: Likewise.
30270         * string/test-memmem-ifunc.c: Likewise.
30271         * string/test-memmove-ifunc.c: Likewise.
30272         * string/test-mempcpy-ifunc.c: Likewise.
30273         * string/test-memset-ifunc.c: Likewise.
30274         * string/test-rawmemchr-ifunc.c: Likewise.
30275         * string/test-stpcpy-ifunc.c: Likewise.
30276         * string/test-stpncpy-ifunc.c: Likewise.
30277         * string/test-strcasecmp-ifunc.c: Likewise.
30278         * string/test-strcasestr-ifunc.c: Likewise.
30279         * string/test-strcat-ifunc.c: Likewise.
30280         * string/test-strchr-ifunc.c: Likewise.
30281         * string/test-strchrnul-ifunc.c: Likewise.
30282         * string/test-strcmp-ifunc.c: Likewise.
30283         * string/test-strcpy-ifunc.c: Likewise.
30284         * string/test-strcspn-ifunc.c: Likewise.
30285         * string/test-strlen-ifunc.c: Likewise.
30286         * string/test-strncasecmp-ifunc.c: Likewise.
30287         * string/test-strncat-ifunc.c: Likewise.
30288         * string/test-strncmp-ifunc.c: Likewise.
30289         * string/test-strncpy-ifunc.c: Likewise.
30290         * string/test-strnlen-ifunc.c: Likewise.
30291         * string/test-strpbrk-ifunc.c: Likewise.
30292         * string/test-strrchr-ifunc.c: Likewise.
30293         * string/test-strspn-ifunc.c: Likewise.
30294         * string/test-strstr-ifunc.c: Likewise.
30295
30296         * debug/Makefile (tests-ifunc): New variable.
30297         (tests): Add $(tests-ifunc).
30298         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30299         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30300         * debug/test-stpcpy_chk-ifunc.c: New file.
30301         * debug/test-strcpy_chk-ifunc.c: Likewise.
30302
30303 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30304
30305         [BZ #13601]
30306         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30307         header is not read in.
30308
30309 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30310
30311         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30312         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30313         directly.  Pass built executable to script as
30314         $(built-program-cmd).
30315         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30316         $testprogram without using LD_LIBRARY_PATH and $ldso.
30317
30318         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30319         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30320         $(rtld-installed-name).
30321         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30322         (rtld_installed_name): Likewise.
30323         (library_path): Likewise.
30324         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30325         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30326         $(run-program-prefix) to tst-tables.sh.
30327         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30328         it to run tst-table-from and tst-table-to.
30329         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30330         Pass it to tst-table.sh.
30331         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30332         $(run-program-prefix) to tst-gettext.sh.
30333         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30334         tst-translit.sh.
30335         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30336         tst-gettext2.sh.
30337         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30338         to run tst-gettext.
30339         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30340         to run tst-gettext2.
30341         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30342         to run tst-translit.
30343         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30344         $(run-program-prefix) to tst-mtrace.sh.
30345         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30346         to run tst-mtrace.
30347         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30348         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30349         $(rtld-installed-name).
30350         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30351         (rtld_installed_name): Likewise.
30352         (run_program_prefix): New variable.  Use it to run wordexp-test.
30353
30354         * Makeconfig (ARCH): Remove all definitions.
30355         (machine): Likewise.
30356         [ARCH]: Remove conditional code.
30357         [!objdir]: Give error.
30358         [!objdir] (objpfx): Remove.
30359         [!objdir] (common-objpfx): Likewise.
30360         [!objdir] (common-objdir): Likewise.
30361         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30362         AC_CONFIG_FILES call.
30363         * configure: Regenerated.
30364
30365         [BZ #13888]
30366         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30367         or TMPDIR.
30368         (testout): Likewise.
30369
30370         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30371         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30372         $(rtld-installed-name).
30373         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30374         (rtld_installed_name): Likwise.
30375         (runit): Remove function.
30376         (run_getconf): New variable,  Use it for running getconf binary.
30377
30378 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30379
30380         [BZ #14716]
30381         * string/test-memmem.c (check_result): New function.
30382         (do_one_test): Use it.
30383         (check1): New function.
30384         (test_main): Use it.
30385
30386 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30387
30388         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30389
30390 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30391
30392         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30393         (_G_LSEEK64): Likewise.
30394         (_G_MMAP64): Likewise.
30395         (_G_FSTAT64): Likewise.
30396         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30397         (_G_LSEEK64): Likewise.
30398         (_G_MMAP64): Likewise.
30399         (_G_FSTAT64): Likewise.
30400         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30401         unconditional.  Call __mmap64 directly.
30402         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30403         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30404         __lseek64 directly.
30405         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30406         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30407         __mmap64 directly.
30408         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30409         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30410         __lseek64 directly.
30411         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30412         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30413         __lseek64 directly.
30414         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30415         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30416         __lseek64 directly.
30417         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30418         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30419         __fxstat64 directly.
30420         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30421         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30422         unconditional.
30423         (freopen64) [!_G_OPEN64]: Remove conditional code.
30424         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30425         unconditional.
30426         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30427         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30428         unconditional.
30429         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30430         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30431         unconditional.
30432         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30433         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30434         unconditional.
30435         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30436         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30437         unconditional.
30438         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30439         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30440         unconditional.
30441         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30442         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30443         unconditional.
30444         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30445
30446 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30447
30448         [BZ #12140]
30449         * manual/memory.texi (Malloc Tunable Parameters): Add note
30450         about free list pointers overwriting some perturb bytes.
30451         Wording suggested by Roland McGrath.
30452
30453 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30454
30455         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30456         (lgamma_test): Likewise.
30457         (tgamma_test): Likewise.
30458
30459 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30460
30461         [BZ #14700]
30462         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30463         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30464
30465 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30466
30467         * NEWS: Mention BZ #14716.
30468         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30469         when removing AVAILABLE1_USES_J macro.
30470
30471 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30472
30473         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30474         (__bswap_64): __uint64_t for unsigned 64-bit int.
30475
30476 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30477
30478         * include/string.h (memmem): Declare libc hidden alias.
30479         * string/memmem.c (memmem): Define libc hidden alias.
30480         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30481         __read, __close instead of open, read, close.
30482
30483 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30484
30485         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30486         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30487         global and hidden.
30488         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30489         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30490         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30491         Likewise.
30492         (__rawmemchr_sse2): Likewise.
30493         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30494         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30495         (__strchr_sse2): Likewise.
30496         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30497         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30498         (__strcasecmp_sse2): Likewise.
30499         (__strncasecmp_sse2): Likewise.
30500         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30501         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30502         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30503         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30504         (__strrchr_sse2): Likewise.
30505         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30506         ifunc-impl-list.c.
30507         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30508         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30509         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30510         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30511         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30512         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30513         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30514         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30515         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30516         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30517         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30518         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30519         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30520         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30521         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30522         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30523         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30524         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30525         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30526         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30527         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30528         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30529         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30530         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30531         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30532         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30533         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30534         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30535         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30536         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30537
30538         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30539         global and hidden.
30540         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30541         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30542         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30543         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30544         Likewise.
30545         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30546         Likewise.
30547         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30548         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30549         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30550         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30551         ifunc-impl-list.c.
30552         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30553         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30554         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30555         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30556         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30557         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30558         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30559         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30560         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30561         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30562         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30563         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30564         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30565         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30566         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30567         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30568         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30569         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30570         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30571         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30572         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30573         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30574         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30575         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30576         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30577         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30578         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30579         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30580         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30581         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30582         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30583         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30584         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30585         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30586         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30587         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30588         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30589         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30590         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30591         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30592         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30593
30594         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30595         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30596         * include/ifunc-impl-list.h: New file.
30597         * misc/ifunc-impl-list.c: Likewise.
30598         * misc/Makefile (routines): Add ifunc-impl-list.
30599         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30600         * string/test-string.h: Include <ifunc-impl-list.h>.
30601         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30602         TEST_NAME]: New variables.
30603         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30604         are defined.
30605         (test_init): Call __libc_ifunc_impl_list to initialize
30606         func_list if TEST_IFUNC and TEST_NAME are defined.
30607
30608         * string/Makefile (strop-tests): Add bcopy and bzero.
30609         * string/test-bcopy.c: New file.
30610         * string/test-bzero.c: Likewise.
30611         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30612         defined.
30613         * string/test-memset.c: Support bzero test if TEST_BZERO is
30614         defined.
30615         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30616         __libc_memmove.
30617         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30618         __libc_memset.
30619         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30620         of memset.
30621
30622 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30623
30624         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30625         * configure: Regenerated.
30626
30627         * Makeconfig (+link-static-before-libc): Don't include
30628         $(link-static-libc).
30629
30630         * libio/libio.h (_IO_pos_t): Remove.
30631
30632 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30633
30634         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30635         McGrath.
30636
30637 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30638
30639         * crypt/crypt-entry.c: Include fips-private.h.
30640         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30641         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30642         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30643         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30644
30645 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30646
30647         * crypt/crypt-private.h: Include stdbool.h.
30648         (_ufc_setup_salt_r): Return bool.
30649         * crypt/crypt-entry.c: Include errno.h.
30650         (__crypt_r): Return NULL with EINVAL for bad salt.
30651         * crypt/crypt_util.c (bad_for_salt): New.
30652         (_ufc_setup_salt_r): Check that salt is long enough and within
30653         the specified alphabet.
30654         * crypt/badsalttest.c: New file.
30655         * crypt/Makefile (tests): Add it.
30656         ($(objpfx)badsalttest): New.
30657
30658 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30659
30660         * NEWS: Add entry for BZ #14602.
30661
30662 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30663
30664         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30665         type-generic.
30666         * math/libm-test.inc: Update comment listing what functions and
30667         macros are tested.
30668         (isgreater_test): New function.
30669         (isgreaterequal_test): Likewise.
30670         (isless_test): Likewise.
30671         (islessequal_test): Likewise.
30672         (islessgreater_test): Likewise.
30673         (isunordered_test): Likewise.
30674         (main): Call the new functions.
30675
30676 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30677
30678         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30679         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30680         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30681         * sysdeps/i386/configure: Regenerated.
30682         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30683         * sysdeps/mach/configure: Regenerated.
30684         * sysdeps/mach/hurd/configure: Regenerated.
30685         * sysdeps/powerpc/configure: Regenerated.
30686         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30687         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30688         * sysdeps/s390/s390-32/configure: Regenerated.
30689         * sysdeps/s390/s390-64/configure: Regenerated.
30690         * sysdeps/sh/configure: Regenerated.
30691         * sysdeps/sparc/configure: Regenerated.
30692         * sysdeps/unix/sysv/linux/configure: Regenerated.
30693         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30694         * sysdeps/x86_64/configure: Regenerated.
30695
30696         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30697         defined.  Don't check if MAP is NULL.
30698
30699 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30700
30701         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30702         (_G_stat64): Likewise.
30703         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30704         (_G_stat64): Likewise.
30705         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30706         instead of struct _G_stat64.
30707         * libio/fileops.c (mmap_remap_check): Likewise.
30708         (decide_maybe_mmap): Likewise.
30709         (_IO_new_file_seekoff): Likewise.
30710         (_IO_file_stat): Likewise.
30711         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30712         _G_off64_t.
30713         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30714         instead of struct _G_stat64.
30715         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30716
30717 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30718
30719         [BZ #14602]
30720         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30721         Replace with ...
30722         (CHECK_EOL): New macro.
30723         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30724         CHECK_EOL.
30725         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30726         Replace with CHECK_EOL.
30727         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30728         Replace with CHECK_EOL.
30729
30730 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30731
30732         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30733         type-generic.
30734         * math/libm-test.inc: Update comment listing what functions and
30735         macros are tested.
30736         (finite_test): New function.
30737         (isinf_test): Likewise.
30738         (isnan_test): Likewise.
30739         (fpclassify_test): Test subnormal input.
30740         (isfinite_test): Likewise.
30741         (isnormal_test): Likewise.
30742         (main): Call the new functions.
30743
30744 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30745
30746         [BZ #14660]
30747         * Makerules (%.dynsym): Force C locale when running
30748         $(OBJDUMP) --dynamic-syms.
30749
30750 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30751
30752         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30753         <stdint.h>.
30754
30755 2012-10-06  David S. Miller  <davem@davemloft.net>
30756
30757         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30758         upper 32-bits of the length value in %o2 since we use branch-on-register
30759         tests which consider the entire 64-bit register.
30760
30761 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30762
30763         * string/test-strstr.c (check2): Add a test for page boundary.
30764
30765 2012-10-05  David S. Miller  <davem@davemloft.net>
30766
30767         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30768         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30769         file.
30770         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30771         sysdep_routines.
30772         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30773         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30774         and bzero when HWCAP_SPARC_CRYPTO is present.
30775
30776 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30777
30778         [BZ #14602]
30779         * string/test-strstr.c (check2): New function.
30780         (test_main): Call check2.
30781
30782         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30783         and bug-strchr1.
30784         * string/bug-strcasestr1.c (do_test): Moved to ...
30785         * string/test-strcasestr.c (check1): Here.  New function.
30786         (do_one_test): Break out result checking code into ...
30787         (check_result): This.  New function.
30788         (do_one_test): Call check_result.
30789         (test_main): Call check1.
30790         * string/bug-strchr1.c (do_test): Moved to ...
30791         * string/test-strchr.c (check1): Here.  New function.
30792         (do_one_test): Break out result checking code into ...
30793         (check_result): This.  New function.
30794         (do_one_test): Call check_result.
30795         (test_main): Call check1.
30796         * string/bug-strstr1.c (main): Moved to ...
30797         * string/test-strstr.c (check1): Here.  New function.
30798         (do_one_test): Break out result checking code into ...
30799         (check_result): This.  New function.
30800         (do_one_test): Call check_result.
30801         (test_main): Call check1.
30802         * string/bug-strcasestr1.c: Removed.
30803         * string/bug-strchr1.c: Likewise.
30804         * string/bug-strstr1.c: Likewise.
30805
30806         * elf/Makefile (dl-routines): Add hwcaps.
30807         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30808         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30809         (_dl_important_hwcaps): Moved to ...
30810         * elf/dl-hwcaps.c: Here.  New file.
30811         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30812
30813         [BZ #14557]
30814         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30815         if IS_IN_rtld isn't defined.
30816
30817         * elf/dl-support.c (_dl_sysinfo_map): New.
30818         Include "get-dynamic-info.h" and "setup-vdso.h".
30819         (_dl_non_dynamic_init): Call setup_vdso.
30820         * elf/dynamic-link.h: Don't include <assert.h>.
30821         (elf_get_dynamic_info): Moved to ...
30822         * elf/get-dynamic-info.h: Here.  New file.
30823         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30824         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30825         * elf/setup-vdso.h: Here.  New file.
30826         * elf/rtld.c: Include "setup-vdso.h".
30827         (dl_main): Call setup_vdso.
30828
30829 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30830
30831         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30832         creal in comment listing functions tested.  List finite, isinf,
30833         isnan, isless, islessequal, isgreater, isgreaterequal,
30834         islessgreater, isunordered, lgamma_r and pow10 as functions and
30835         macros not tested.  Mention which functions not tested are aliases
30836         for other functions.  Fix typo.  Note that signs of NaNs are not
30837         tested.
30838
30839         * scripts/config.guess: Update from config.git.
30840         * scripts/config.sub: Likewise.
30841
30842 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30843
30844         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30845         * misc/madvise.c (madvise): Renamed to __madvise.
30846         Make madvise a weak alias.
30847         * include/sys/mman.h: Declare __madvise.
30848         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30849         * sysdeps/unix/syscalls.list
30850         (madvise): Make __madvise the strong name, and madvise a weak alias.
30851         * sysdeps/unix/sysv/linux/syscalls.list
30852         (madvise, mmap): Remove redundant entries.
30853         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30854         * malloc/malloc.c (mtrim): Likewise.
30855         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30856
30857 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30858
30859         * sysdeps/mach/hurd/dl-cache.c: File removed.
30860         * config.h.in (USE_LDCONFIG): New #undef.
30861         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30862         * configure: Regenerated.
30863         * elf/Makefile (dl-routines): Add dl-cache only under
30864         [$(use-ldconfig) = yes].
30865         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30866         cache on [USE_LDCONFIG].
30867         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30868         [USE_LDCONFIG].
30869         * elf/rtld.c (dl_main): Likewise.
30870
30871 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30872
30873         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30874         _SC_LEVEL4_CACHE_LINESIZE.
30875
30876 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30877
30878         * sysdeps/unix/bsd/confstr.h: File removed.
30879
30880 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30881
30882         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30883         sys/sdt-config.h.
30884
30885 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30886
30887         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30888         Make 'mapoff' field ElfW(Off) rather than off_t.
30889
30890 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30891
30892         * nscd/Makefile: Remove nscd-cflags and all its users.
30893         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30894         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30895
30896         [BZ #10631]
30897         * malloc.c (malloc_printerr): Clarify error message.
30898
30899 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30900
30901         [BZ #14648]
30902         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30903         Set bit_FMA_Usable if FMA is supported.
30904         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30905         macro.
30906         (bit_FMA4_Usable): Updated.
30907         (index_FMA_Usable): New macro.
30908         (CPUID_FMA): Likewise
30909         (HAS_FMA): Defined with bit_FMA_Usable.
30910
30911 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30912
30913         * bits/types.h (__swblk_t): Type removed.
30914         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30915         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30916         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30917         (__SWBLK_T_TYPE): Likewise.
30918         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30919         (__SWBLK_T_TYPE): Likewise.
30920         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30921         (__SWBLK_T_TYPE): Likewise.
30922         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30923         (__SWBLK_T_TYPE): Likewise.
30924
30925 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30926             Honza Horak <hhorak@redhat.com>
30927
30928         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30929         (xdr_mapname): Use YPMAXMAP as maxsize.
30930         (xdr_peername): Use YPMAXPEER as maxsize.
30931         (xdr_keydat): Use YPAXRECORD as maxsize.
30932         (xdr_valdat): Use YPMAXRECORD as maxsize.
30933
30934 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30935
30936         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30937
30938         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30939         * csu/init-first.c: ... here.
30940         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30941         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30942         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30943         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30944         * sysdeps/i386/init-first.c: File removed.
30945         * sysdeps/sh/init-first.c: File removed.
30946
30947 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30948
30949         [BZ #14645]
30950         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30951         if x * y might underflow to zero and z is zero.
30952         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30953         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30954         * math/libm-test.inc (min_subnorm_value): New variable.
30955         (fma_test): Add more tests.
30956         (fma_test_towardzero): Likewise.
30957         (fma_test_downward): Likewise
30958         (fma_test_upward): Likewise.
30959         (initialize): Set min_subnorm_value.
30960
30961 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30962
30963         [BZ #14638]
30964         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30965         0 + 0.
30966         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30967         mode for addition resulting in exact zero.
30968         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30969         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30970         exact 0 + 0.
30971         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30972         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30973         * math/libm-test.inc (fma_test): Add more tests.
30974         (fma_test_towardzero): New function.
30975         (fma_test_downward): Likewise.
30976         (fma_test_upward): Likewise.
30977         (main): Call the new functions.
30978
30979 2012-09-28  David S. Miller  <davem@davemloft.net>
30980
30981         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30982
30983 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30984
30985         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30986         instead of SIGALRM.
30987
30988         * sysdeps/gnu/_G_config.h: Moved to ...
30989         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30990         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30991         * sysdeps/generic/_G_config.h: ... here.
30992
30993         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30994
30995         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30996
30997         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30998         Conditionalize target on [libnss_test1.so-version].
30999
31000         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31001
31002         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31003         (elfobjdir): Move out of conditionals.
31004
31005         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31006         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31007         (__nss_lookup_function): Conditionalize label remove_from_tree on
31008         [!DO_STATIC_NSS || SHARED], matching its only use.
31009
31010 2012-09-28  David S. Miller  <davem@davemloft.net>
31011
31012         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31013         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31014         file.
31015         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31016         sysdep_routines.
31017         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31018         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31019         when HWCAP_SPARC_CRYPTO is present.
31020
31021 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31022
31023         * io/tst-mknodat.c: Create a FIFO instead of a socket.
31024
31025 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
31026
31027         [BZ #6530]
31028         * stdio-common/vfprintf.c (process_string_arg): Revert
31029         2000-07-22 change.
31030
31031 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
31032
31033         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31034         for testcase.
31035         * stdio-common/tst-sprintf.c: Include <locale.h>
31036         (main): Test sprintf's handling of incomplete multibyte
31037         characters.
31038
31039 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
31040
31041         * elf/dl-runtime.c (VERSYMIDX): Removed.
31042         * elf/dl-version.c (VERSYMIDX): Likewise.
31043         * elf/do-rel.h (VERSYMIDX): Likewise.
31044         (VALIDX): Likewise.
31045         * elf/dynamic-link.h (VERSYMIDX): Likewise.
31046         * elf/rtld.c (VALIDX): Likewise.
31047         (ADDRIDX): Likewise.
31048         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31049         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31050         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31051         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31052         (VALIDX): Likewise.
31053         (ADDRIDX): Likewise.
31054
31055 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31056
31057         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31058
31059 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
31060
31061         [BZ #11438]
31062         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31063         to global scope.
31064         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31065         addresses are in the same scope as 192.0.2/24.
31066         * posix/gai.conf: Document new scope table defaults.
31067
31068 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31069
31070         [BZ #5298]
31071         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31072         for ftell.  Compute offsets from write pointers instead.
31073         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31074
31075 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31076
31077         [BZ #14543]
31078         * libio/Makefile (tests): New test case tst-fseek.
31079         * libio/tst-fseek.c: New test case to verify that fseek/ftell
31080         combination works in wide mode.
31081         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31082         state when the external buffer state changes.
31083
31084 2012-09-27  David S. Miller  <davem@davemloft.net>
31085
31086         [BZ #14376]
31087         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31088         pass reloc->r_addend in as the 'high' argument to
31089         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31090
31091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31092
31093 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31094
31095         * rt/tst-aio2.c: Include <pthread.h>.
31096         * rt/tst-aio3.c: Likewise.
31097
31098 2012-09-27  Steve Ellcey  <sellcey@mips.com>
31099
31100         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31101
31102 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
31103
31104         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31105         contents on [SHARED].
31106
31107 2012-09-26  Marek Polacek  <polacek@redhat.com>
31108
31109         [BZ #14530]
31110         [BZ #13741]
31111         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31112         for C++ and GCC <4.3 as well as for non GCC compilers.
31113
31114 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31115
31116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31117
31118 2012-09-25  Roland McGrath  <roland@hack.frob.com>
31119
31120         * Makefile.in (all, install): Declare with .PHONY.
31121         Reported by Michael Hope <michael.hope@linaro.org>.
31122
31123 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31124
31125         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31126         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31127         system header.
31128         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31129         Likewise.
31130         (sydep_routines): Add the new and the internal functions.
31131         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31132         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31134         (GLIBC_2.17): Add the new function.
31135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31136         (GLIBC_2.17): Likewise.
31137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31138         (GLIBC_2.17): Likewise.
31139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31140         (GLIBC_2.17): Likewise.
31141         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31142
31143 2012-09-25  Alan Modra  <amodra@gmail.com>
31144
31145         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31146         Add release barrier before setting once_control to say
31147         initialisation is done.  Add hints on lwarx.  Use macro in
31148         place of isync.
31149         (clear_once_control): Add release barrier.
31150
31151 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31152
31153         [BZ #13629]
31154         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31155         specially.
31156         * math/s_clog10.c (__clog10): Likewise.
31157         * math/s_clog10f.c (__clog10f): Likewise.
31158         * math/s_clog10l.c (__clog10l): Likewise.
31159         * math/s_clogf.c (__clogf): Likewise.
31160         * math/s_clogl.c (__clogl): Likewise.
31161         * math/Makefile (libm-calls): Add x2y2m1.
31162         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31163         (__x2y2m1): Likewise.
31164         (__x2y2m1l): Likewise.
31165         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31166         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31167         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31168         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31169         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31170         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31171         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31172         * sysdeps/i386/fpu/libm-test-ulps: Update.
31173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31174
31175         [BZ #14621]
31176         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31177         int as type of variable DEPTH.
31178         (glob): Use size_t instead of int as type of variables NEWCOUNT
31179         and OLD_PATHC.
31180
31181 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31182
31183         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31184         Add s_sincosf-sse2.
31185         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31186         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31187         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31188         macros for using routine as __sincosf_ia32.
31189         Use macro for function declaration and weak_alias.
31190         * sysdeps/i386/fpu/libm-test-ulps: Update.
31191
31192         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31194
31195         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31196         subnormal argument.
31197         * math/s_cexpf.c (__cexpf): Likewise.
31198         * math/s_csinf.c (__csinf): Likewise.
31199         * math/s_csinhf.c (__csinhf): Likewise.
31200         * math/s_ctanf.c (__ctanf): Likewise.
31201         * math/s_ctanhf.c (__ctanhf): Likewise.
31202         * math/s_ccosh.c (__ccoshf): Likewise.
31203         * math/s_cexp.c (__cexpl): Likewise.
31204         * math/s_csin.c (__csin): Likewise.
31205         * math/s_csinh.c (__csinh): Likewise.
31206         * math/s_ctan.c (__ctan): Likewise.
31207         * math/s_ctanh.c (ctanh): Likewise.
31208         * math/s_ccoshl.c (__ccoshl): Likewise.
31209         * math/s_cexpl.c (__cexpl): Likewise.
31210         * math/s_csinl.c (__csinl): Likewise.
31211         * math/s_csinhl.c (__csinhl): Likewise.
31212         * math/s_ctanl.c (__ctanl): Likewise.
31213         * math/s_ctanhl.c (__ctanhl): Likewise.
31214
31215 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31216
31217         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31218         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31219         (_IO_off_t): Define to __off_t, not _G_off_t.
31220         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31221         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31222         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31223         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31224         type of __dummy and __dummy2 fields.
31225         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31226         (_G_ssize_t): Likewise.
31227         (_G_off_t): Likewise.
31228         (_G_pid_t): Likewise.
31229         (_G_uid_t): Likewise.
31230         (_G_wchar_t): Likewise.
31231         (_G_wint_t): Likewise.
31232         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31233         (_G_ssize_t): Likewise.
31234         (_G_off_t): Likewise.
31235         (_G_pid_t): Likewise.
31236         (_G_uid_t): Likewise.
31237         (_G_wchar_t): Likewise.
31238         (_G_wint_t): Likewise.
31239         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31240         (_G_ssize_t): Likewise.
31241         (_G_off_t): Likewise.
31242         (_G_pid_t): Likewise.
31243         (_G_uid_t): Likewise.
31244         (_G_wchar_t): Likewise.
31245         (_G_wint_t): Likewise.
31246
31247 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31248
31249         * malloc/arena.c: Include malloc-sysdep.h.
31250         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31251         is sufficient to shrink the heap or an unmap is needed.
31252         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31253         new function check_may_shrink_heap.
31254         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31255         new function check_may_shrink_heap.
31256
31257 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31258
31259         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31260         comments.
31261
31262 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31263
31264         * catgets/test-gencat.sh: Add "set -e".
31265         * elf/tst-pathopt.sh: Likewise.
31266         * grp/tst_fgetgrent.sh: Likewise.
31267         * iconvdata/run-iconv-test.sh: Likewise.
31268         * intl/tst-gettext.sh: Likewise.
31269         * intl/tst-gettext2.sh: Likewise.
31270         * intl/tst-gettext4.sh: Likewise.
31271         * intl/tst-gettext6.sh: Likewise.
31272         * intl/tst-translit.sh: Likewise.
31273         * io/ftwtest-sh: Likewise.
31274         * libio/test-freopen.sh: Likewise.
31275         * malloc/tst-mtrace.sh: Likewise.
31276         * posix/globtest.sh: Likewise.
31277         * posix/tst-getconf.sh: Likewise.
31278         * posix/wordexp-tst.sh: Likewise.
31279         * stdio-common/tst-printf.sh: Likewise.
31280         * stdio-common/tst-unbputc.sh: Likewise.
31281         * stdlib/tst-fmtmsg.sh: Likewise.
31282         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31283         * catgets/Makefile: Do not specify -e option when running
31284         testsuite shell scripts.
31285         * elf/Makefile: Likewise.
31286         * grp/Makefile: Likewise.
31287         * iconvdata/Makefile: Likewise.
31288         * intl/Makefile: Likewise.
31289         * io/Makefile: Likewise.
31290         * libio/Makefile: Likewise.
31291         * malloc/Makefile: Likewise.
31292         * posix/Makefile: Likewise.
31293         * stdio-common/Makefile: Likewise.
31294         * stdlib/Makefile: Likewise.
31295         * sysdeps/x86_64/Makefile: Likewise.
31296
31297         * io/ftwtest-sh: Add copyright header.
31298         * posix/globtest.sh: Likewise.
31299         * posix/tst-getconf.sh: Likewise.
31300         * posix/wordexp-tst.sh: Likewise.
31301         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31302
31303 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31304
31305         [BZ #13679]
31306         * Makeconfig (+link): Defined as $(+link-static) if
31307         $(build-shared) isn't yes.
31308         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31309         isn't yes.
31310         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31311
31312         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31313
31314         [BZ #14562]
31315         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31316         new chunk size with MALLOC_ALIGN_MASK.
31317
31318 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31319
31320         [BZ #5044]
31321         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31322         <rounding-mode.h>.
31323         (__printf_fphex): Determine rounding using get_rounding_mode and
31324         round_away.
31325         * stdio-common/tst-printf-round.c (struct hex_test): New
31326         structure.
31327         (hex_tests): New variable.
31328         (test_hex_in_one_mode): New function.
31329         (do_test): Also run tests for hex float output.
31330
31331 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31332
31333         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31334         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31335         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31336         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31337         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31338         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31339         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31340         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31341
31342 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31343
31344         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31345         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31346         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31347         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31348
31349 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31350
31351         [BZ #14579]
31352         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31353         mode only.
31354         * elf/tst-rtld-load-self.sh: New test.
31355         * elf/Makefile: Run it.
31356
31357 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31358
31359         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31360         (tst-writev-ENV): Remove.
31361         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31362
31363 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31364
31365         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31366
31367 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31368
31369         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31370         unconditional.
31371         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31372         Likewise.
31373         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31374         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31375         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31376         Likewise.
31377
31378 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31379
31380         [BZ #14587]
31381         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31382         * config.make.in (have-cpp-asm-debuginfo): Removed.
31383         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31384         * configure: Regenerated.
31385
31386 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31387
31388         [BZ #5044]
31389         * stdio-common/printf_fp.c: Include <stdbool.h> and
31390         <rounding-mode.h>.
31391         (___printf_fp): Determine rounding using get_rounding_mode and
31392         round_away.
31393         * stdio-common/tst-printf-round.c: New file.
31394         * stdio-common/Makefile (tests): Add tst-printf-round.
31395         (link-libm): New variable.
31396         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31397
31398 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31399
31400         [BZ #14576]
31401         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31402         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31403         Likewise.
31404         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31405         Likewise.
31406
31407 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31408
31409         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31410         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31411         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31412         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31413
31414 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31415
31416         [BZ #14518]
31417         * include/rounding-mode.h: New file.
31418         * sysdeps/generic/get-rounding-mode.h: Likewise.
31419         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31420         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31421         (MAX_VALUE): New macro.
31422         (MIN_VALUE): Likewise.
31423         (overflow_value): New function.
31424         (underflow_value): Likewise.
31425         (round_and_return): Use overflow_value and underflow_value to
31426         determine return values in overflow and underflow cases.  Use
31427         round_away to determine rounding depending on rounding mode.
31428         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31429         determine return values in overflow and underflow cases.
31430         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31431         (struct test_results): New structure.
31432         (struct test): Use struct test_results to store expected results
31433         for all rounding modes.
31434         (TEST): Include expected results for all rounding modes.
31435         (test_in_one_mode): New function.
31436         (do_test): Use test_in_one_mode to compute and check results.
31437         Check results for all rounding modes.
31438         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31439         $(link-libm).
31440
31441 2012-12-09  Allan McRae  <allan@archlinux.org>
31442
31443         * sysdeps/i386/fpu/libm-test-ulps: Update
31444
31445 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31446
31447         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31448         (_G_int32_t): Likewise.
31449         (_G_uint16_t): Likewise.
31450         (_G_uint32_t): Likewise.
31451         (_G_HAVE_BOOL): Likewise.
31452         (_G_HAVE_ATEXIT): Likewise.
31453         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31454         (_G_HAVE_IO_FILE_OPEN): Likewise.
31455         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31456         (_G_int32_t): Likewise.
31457         (_G_uint16_t): Likewise.
31458         (_G_uint32_t): Likewise.
31459         (_G_HAVE_BOOL): Likewise.
31460         (_G_HAVE_ATEXIT): Likewise.
31461         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31462         (_G_HAVE_IO_FILE_OPEN): Likewise.
31463         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31464         (_G_int32_t): Likewise.
31465         (_G_uint16_t): Likewise.
31466         (_G_uint32_t): Likewise.
31467         (_G_HAVE_BOOL): Likewise.
31468         (_G_HAVE_ATEXIT): Likewise.
31469         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31470         (_G_HAVE_IO_FILE_OPEN): Likewise.
31471
31472 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31473
31474         * csu/libc-tls.c: Update copyright years.
31475
31476 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31477
31478         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31479         [!_G_USING_THUNKS]: Remove conditional code.
31480         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31481         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31482
31483         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31484         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31485         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31486         (_G_VTABLE_LABEL_PREFIX): Likewise.
31487         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31488         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31489         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31490         (_G_VTABLE_LABEL_PREFIX): Likewise.
31491         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31492         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31493         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31494         (_G_VTABLE_LABEL_PREFIX): Likewise.
31495         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31496
31497 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31498
31499         * libio/Makefile: Include ../Makeconfig before tests.
31500         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31501         only if $(build-shared) is yes.
31502
31503         * iconv/gconv_db.c: Update copyright years.
31504
31505 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31506
31507         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31508         unwind info if defined PIC. Fix special cases description.
31509         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31510
31511         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31512         DP_HI_MASK entry.
31513         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31514
31515 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31516
31517         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31518
31519         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31520         is NULL.
31521
31522         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31523         (LDLIBS-tst-chk4): This.
31524         (LDFLAGS-tst-chk5): Renamed to ...
31525         (LDLIBS-tst-chk5): This.
31526         (LDFLAGS-tst-chk6): Renamed to ...
31527         (LDLIBS-tst-chk6): This.
31528         (LDFLAGS-tst-lfschk4): Renamed to ...
31529         (LDLIBS-tst-lfschk4): This.
31530         (LDFLAGS-tst-lfschk5): Renamed to ...
31531         (LDLIBS-tst-lfschk5): This.
31532         (LDFLAGS-tst-lfschk6): Renamed to ...
31533         (LDLIBS-tst-lfschk6): This.
31534
31535         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31536         on $(common-objpfx)soversions.mk.
31537
31538 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31539
31540         [BZ #10014]
31541         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31542         example host name.
31543
31544 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31545
31546         * malloc/arena.c (arena_get_retry): New function that gets
31547         another arena for the caller to try its request on.
31548         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31549         current arena cannot fulfill the request.
31550         (__libc_memalign): Likewise.
31551         (__libc_memalign): Likewise.
31552         (__libc_pvalloc): Likewise.
31553         (__libc_calloc): Likewise.
31554
31555 2012-09-05  John Tobey  <john.tobey@gmail.com>
31556
31557         [BZ #13542]
31558         * manual/arith.texi (Operations on Complex): Fix description
31559         of carg branch cut.
31560
31561 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31562
31563         [BZ #10014]
31564         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31565         host name.
31566
31567         [BZ #10038]
31568         * manual/memory.texi (Memory): Make order of menu items match
31569         order of sections.
31570
31571 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31572
31573         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31574         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31575         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31576
31577 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31578
31579         * csu/libc-tls.c (static_dtv): Renamed to ...
31580         (_dl_static_dtv): This.  Make it global.
31581         (_dl_initial_dtv): Removed.
31582         (__libc_setup_tls): Updated.
31583         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31584         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31585         DL_INITIAL_DTV.
31586
31587 2012-09-06  Petr Machata  <pmachata@redhat.com>
31588
31589         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31590         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31591         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31592         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31593
31594 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31595
31596         [BZ #14545]
31597         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31598         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31599         freeing dtv[-1].
31600
31601 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31602
31603         [BZ #14544]
31604         * Makeconfig (link-static-before-libc): Replace $(+prector)
31605         with $(+prectorT).
31606         (link-static-after-libc): Replace $(+postctor) with
31607         $(+postctorT).
31608         (link-bounded): Replace $(+prector)/$(+postctor) with
31609         $(+prectorT)/$(+postctorT).
31610         (+prectorT): New macro.
31611         (+postctorT): Likewise.
31612
31613 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31614
31615         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31616         (round_str): Handle values above the maximum for IBM long double
31617         as inexact.
31618         * stdlib/tst-strtod-round.c (tests): Regenerated.
31619
31620 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31621
31622         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31623         assembler flag.
31624         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31625         zarch_nohighgprs around the zarch optimized routines.
31626         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31627         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31628         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31629         for zarch.
31630
31631 2012-09-05  David S. Miller  <davem@davemloft.net>
31632
31633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31634
31635         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31636         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31637         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31638         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31639         entries.
31640
31641 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31642
31643         * malloc/arena.c: Fold copyright years.
31644         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31645
31646 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31647
31648         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31649
31650 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31651
31652         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31653
31654 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31655
31656         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31657         change internal state upon failure.
31658
31659 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31660
31661         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31662         * malloc/memusage.c (mmap): Likewise.
31663         (mmap64, mremap): Likewise.  Adjust name in comment.
31664
31665 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31666
31667         * libio/fileops.c: Fix typos in comments.
31668         * libio/oldfileops.c: Likewise.
31669         * libio/wfileops.c: Likewise.
31670
31671 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31672
31673         [BZ #1349]
31674         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31675         (tst-malloc-usable-ENV): Set environment for test case.
31676         * malloc/hooks.c (malloc_check_get_size): New function to get
31677         requested size.
31678         * malloc/malloc.c (musable): Use malloc_check_get_size.
31679         * malloc/tst-malloc-usable.c: New test case.
31680
31681 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31682
31683         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31684
31685 2012-09-05  Allan McRae  <allan@archlinux.org>
31686
31687         [BZ #13966]
31688         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31689         determine header location.
31690         * configure: Regenerated.
31691
31692 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31693
31694         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31695         float format.
31696         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31697         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31698         format.
31699         (test): Regenerate.
31700
31701 2012-09-04  David S. Miller  <davem@davemloft.net>
31702
31703         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31704         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31705         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31706
31707 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31708
31709         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31710         failures.
31711
31712         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31713
31714 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31715
31716         [BZ #9914]
31717         * libio/iogetdelim.c: Include <limits.h>.
31718         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31719         + len + 1 would overflow.
31720
31721 2012-09-03  Andreas Jaeger  <aj@suse.de>
31722
31723         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31724         * sysdeps/i386/fpu/libm-test-ulps: Update.
31725
31726 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31727
31728         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31729         Add s_sinf-sse2, s_conf-sse2.
31730
31731         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31732         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31733         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31734         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31735
31736         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31737         for using routine as __sinf_ia32.
31738         Use macro for function declaration and weak_alias.
31739         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31740         for using routine as __cosf_ia32.
31741         Use macro for function declaration and weak_alias.
31742
31743         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31744         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31745
31746         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31747         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31748         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31749
31750         * math/libm-test.inc (cos_test): Add more test cases.
31751         (sin_test): Likewise.
31752         (sincos_test): Likewise.
31753
31754 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31755
31756         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31757         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31758         hidden.
31759         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31760
31761 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31762
31763         [BZ #14538]
31764         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31765         first element of the GOT.
31766         (elf_machine_load_address): Return the difference between
31767         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31768
31769 2012-09-01  Allan McRae  <allan@archlinux.org>
31770
31771         [BZ #13412]
31772         * configure.in (AWK): Require gawk version 3.0 or later.
31773         * configure: Regenerated.
31774
31775 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31776
31777         * sysdeps/unix/sysv/linux/kernel-features.h
31778         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31779         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31780         [__NR_clock_getres]: Make code unconditional.
31781         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31782         (clock_getcpuclockid): Remove code left unreachable by removal of
31783         conditionals.
31784         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31785         code unconditional.
31786         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31787         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31788         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31789         Make code unconditional.
31790         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31791         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31792         * sysdeps/unix/sysv/linux/clock_settime.c
31793         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31794         conditional code.
31795         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31796         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31797
31798 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31799
31800         [BZ #14476]
31801         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31802         scripts/test-installation.pl.
31803
31804         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31805         and $ld_so_version if it is set.
31806
31807 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31808
31809         [BZ #14516]
31810         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31811         failure if reading from procfs failed.
31812         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31813
31814 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31815
31816         * sysdeps/unix/sysv/linux/kernel-features.h
31817         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31818         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31819         Remove conditional code.
31820         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31821         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31822         Remove conditional code.
31823         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31824         * sysdeps/unix/sysv/linux/i386/fxstat.c
31825         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31826         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31827         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31828         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31829         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31830         * sysdeps/unix/sysv/linux/i386/lxstat.c
31831         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31832         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31833         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31834         Remove conditional code.
31835         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31836         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31837         Remove conditional code.
31838         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31839         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31840         <kernel-features.h>.
31841         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31842         Remove.
31843         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31844         Remove conditional code.
31845         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31846         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31847         Remove conditional.
31848
31849 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31850
31851         [BZ #5400]
31852         * NEWS: Add fixed bug number.
31853
31854 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31855
31856         [BZ #14519]
31857         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31858         underflowing exponent in case of negative sign.
31859         * stdlib/tst-strtod-round-data: Add more tests.
31860         * stdlib/tst-strtod-round.c (tests): Regenerated.
31861
31862         [BZ #3479]
31863         * stdlib/strtod_l.c (NDIG): Remove.
31864         (HEXNDIG): Likewise.
31865         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31866         smallest representable value.
31867         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31868         lie within an exact representation of 1/2 ulp of the result.
31869         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31870         unconditionally.
31871         (TENS_P9_IDX): Define unconditionally.
31872         (TENS_P9_SIZE): Likewise.
31873         (TENS_P10_IDX): Likewise.
31874         (TENS_P10_SIZE): Likewise.
31875         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31876         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31877         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31878         entries for 10^2^13 and 10^2^14.
31879         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31880         (TENS_P13_IDX): Define.
31881         (TENS_P13_SIZE): Likewise.
31882         (TENS_P14_IDX): Likewise.
31883         (TENS_P14_SIZE): Likewise.
31884         (_fpioconst_pow10): Change array size to
31885         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31886         unconditional.
31887         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31888         1024]: Add entries for 10^2^13 and 10^2^14.
31889         [LAST_POW10 > _LAST_POW10]: Remove #error.
31890         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31891         (_fpioconst_pow10): Change array size to
31892         FPIOCONST_POW10_ARRAY_SIZE.
31893         * stdlib/gen-fpioconst.c: New file.
31894         * stdlib/gen-tst-strtod-round.c: Likewise.
31895         * stdlib/tst-strtod-round-data: Likewise.
31896         * stdlib/tst-strtod-round.c: Likewise.
31897         * stdlib/Makefile (tests): Add tst-strtod-round.
31898
31899         [BZ #14459]
31900         * stdlib/strtod_l.c: Include <stdint.h>.
31901         (NDEBUG): Do not define.
31902         (round_and_return): Change EXPONENT parameter to type intmax_t.
31903         Rearrange calculations to avoid internal overflow possibilities.
31904         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31905         Rearrange calculations to avoid internal overflow possibilities.
31906         Assert that number fits inside MPNSIZE limbs.
31907         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31908         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31909         calculations and add assertions to avoid internal overflow
31910         possibilities.  Add casts to avoid signed/unsigned operations.
31911         * stdlib/tst-strtod-overflow.c: New file.
31912         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31913
31914 2012-08-25  Marek Polacek  <polacek@redhat.com>
31915
31916         * time/time.h: Fix some typos in comments.
31917
31918 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31919
31920         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31921         * posix/tst-rfc3484-2.c: Likewise.
31922         * posix/tst-rfc3484-3.c: Likewise.
31923
31924 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31925
31926         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31927         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31928
31929 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31930
31931         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31932         #include of fxstatat64.c.
31933
31934 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31935
31936         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31937         * shadow/getspent_r.c: Likewise.
31938         * shadow/getspnam.c: Likewise.
31939         * shadow/getspnam_r.c: Likewise.
31940         * gshadow/getsgent.c: Likewise.
31941         * gshadow/getsgent_r.c: Likewise.
31942         * gshadow/getsgnam.c: Likewise.
31943         * gshadow/getsgnam_r.c: Likewise.
31944         * inet/getnetbyad.c: Likewise.
31945         * inet/getnetbyad_r.c: Likewise.
31946         * inet/getnetbynm.c: Likewise.
31947         * inet/getnetbynm_r.c: Likewise.
31948         * inet/getnetent.c: Likewise.
31949         * inet/getnetent_r.c: Likewise.
31950         * inet/getproto.c: Likewise.
31951         * inet/getproto_r.c: Likewise.
31952         * inet/getprtent.c: Likewise.
31953         * inet/getprtent_r.c: Likewise.
31954         * inet/getprtname.c: Likewise.
31955         * inet/getprtname_r.c: Likewise.
31956         * inet/getrpcbyname.c: Likewise.
31957         * inet/getrpcbyname_r.c: Likewise.
31958         * inet/getrpcbynumber.c: Likewise.
31959         * inet/getrpcbynumber_r.c: Likewise.
31960         * inet/getrpcent.c: Likewise.
31961         * inet/getrpcent_r.c: Likewise.
31962         * inet/getaliasent.c: Likewise.
31963         * inet/getaliasent_r.c: Likewise.
31964         * inet/getaliasname.c: Likewise.
31965         * inet/getaliasname_r.c: Likewise.
31966         * nscd/getgrgid_r.c: Likewise.
31967         * nscd/getgrnam_r.c: Likewise.
31968         * nscd/gethstbyad_r.c: Likewise.
31969         * nscd/gethstbynm3_r.c: Likewise.
31970         * nscd/getpwnam_r.c: Likewise.
31971         * nscd/getpwuid_r.c: Likewise.
31972         * nscd/getsrvbynm_r.c: Likewise.
31973         * nscd/getsrvbypt_r.c: Likewise.
31974         * nscd/gai.c: Likewise.
31975
31976         * configure.in (build_nscd): New substituted variable, set
31977         by --disable-build-nscd and defaults to $use_nscd.
31978         * configure: Regenerated.
31979         * config.make.in (build-nscd): New substituted variable.
31980         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31981         Change conditional to require [$(build-nscd) = yes] as well.
31982         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31983
31984         [BZ# 13696]
31985         * configure.in (use_nscd): New substituted variable, set by
31986         --disable-nscd.  If enabled, define USE_NSCD.
31987         * configure: Regenerated.
31988         * config.h.in: Add USE_NSCD.
31989         * config.make.in (use-nscd): New substituted variable.
31990         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31991         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31992         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31993         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31994         (CFLAGS-getgrnam_r.c): Likewise.
31995         (CFLAGS-initgroups.c): Likewise.
31996         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31997         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31998         Variables removed.
31999         * inet/getnetgrent_r.c
32000         (nscd_setnetgrent): New function, broken out of ...
32001         (setnetgrent): ... here.  Call it.
32002         (innetgr): Conditionalize nscd bits on [USE_NSCD].
32003         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32004         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32005         * nscd/Makefile (routines, aux): Move definitions after include of
32006         Makeconfig.  Conditionalize on [$(use-nscd) != no].
32007         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32008         Conditionalize on [USE_NSCD].
32009         (is_nscd, nscd_init_cb): Likewise.
32010         (nss_load_library): Conditionalize init callback on [USE_NSCD].
32011         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32012         * nss/nss_db/db-init.c: Likewise.
32013         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32014         [USE_NSCD].
32015         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32016         (make_request): Use it.
32017         (cache_valid_p): New function.
32018         (__check_pf): Use it.
32019         * NEWS: Add item for --disable-nscd.
32020
32021 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
32022
32023         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32024         to support sed >= 4.2.1-20-ga9bf076.
32025         * configure: Regenerated.
32026
32027 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32028
32029         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32030         Conditionalize whole body on [IREL].
32031
32032 2012-08-22  Jeff Law <law@redhat.com>
32033
32034         [BZ #14505]
32035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32036         if the family is PF_UNSPEC.
32037
32038 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
32039
32040         * Makerules (lib-version): Rename from V.
32041         (install-lib-nosubdir): Change V to lib-version.
32042
32043 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
32044
32045         [BZ #14252]
32046         * powerpc32/power6/wcschr.c: New file.
32047         * powerpc32/power6/wcscpy.c: New file.
32048         * powerpc32/power6/wcsrchr.c: New file.
32049         * powerpc64/power6/wcschr.c: New file.
32050         * powerpc64/power6/wcscpy.c: New file.
32051         * powerpc64/power6/wcsrchr.c: New file.
32052
32053 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32054
32055         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32056         (two_way_short_needle): Use it.
32057         * string/strstr.c (AVAILABLE1_USES_J): Define.
32058         * string/strcasestr.c: Likewise.
32059
32060         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32061         array references.
32062         * string/strcasestr.c (TOLOWER): Make side-effect safe.
32063
32064         [BZ #11607]
32065         * NEWS: Add an entry.
32066         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32067         define their defaults.
32068         (two_way_short_needle): Detect end-of-string on-the-fly.
32069         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32070         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32071         * string/bug-strcasestr1.c: New test.
32072         * string/Makefile: Run it.
32073
32074 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32075
32076         [BZ #11607]
32077         * string/str-two-way.h (two_way_short_needle): Optimize matching of
32078         the first character.
32079
32080 2012-08-21  Roland McGrath  <roland@hack.frob.com>
32081
32082         * csu/elf-init.c (__libc_csu_irel): Function removed.
32083         * csu/libc-start.c (apply_irel): New function.
32084         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32085
32086 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
32087
32088         * sysdeps/unix/sysv/linux/kernel-features.h
32089         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32090         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32091         <kernel-features.h>.
32092         [__NR_fadvise64_64]: Make code unconditional.
32093         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32094         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32095         !__NR_fadvise64_64)]: Likewise.
32096         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32097         !__NR_fadvise64_64))]: Likewise.
32098         [__NR_fadvise64]: Make code unconditional.
32099         [!__NR_fadvise64]: Remove conditional code.
32100         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32101         <kernel-features.h>.
32102         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32103         unconditional.
32104         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32105         conditional code.
32106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32107         not include <kernel-features.h>.
32108         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32109         unconditional.
32110         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32111         conditional code.
32112         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32113         include <kernel-features.h>.
32114         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32115         unconditional.
32116         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32117         conditional code.
32118
32119 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32120
32121         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32122         slight instruction rearrangements per scrollpipe analysis.
32123         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32124
32125 2012-08-20  Roland McGrath  <roland@hack.frob.com>
32126
32127         * manual/syslog.texi (syslog; vsyslog, closelog):
32128         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32129         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32130
32131         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32132         DSOCAPS to match condition on defining it.
32133
32134 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
32135
32136         * sysdeps/unix/sysv/linux/kernel-features.h
32137         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32139         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32140         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32142         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32143         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32145         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32146         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32147
32148         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32149         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32150
32151         * sysdeps/unix/sysv/linux/kernel-features.h
32152         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32153         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32154         unconditional.
32155         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32156         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32157         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32158         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32159         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32160         Make code unconditional.
32161         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32162         (__mmap64) [!__NR_mmap2]: Likewise.
32163         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32164         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32165         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32166         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32167         [__NR_mmap2]: Make code unconditional.
32168         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32169         (__mmap64) [!__NR_mmap2]: Likewise.
32170
32171 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32172
32173         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32174
32175 2012-08-18  Andreas Jaeger  <aj@suse.de>
32176
32177         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32178
32179 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32180
32181         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32182         * include/unistd.h (__have_sock_cloexec): Likewise.
32183         (__have_pipe2): Likewise.
32184         (__have_dup3): Likewise.
32185
32186 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32187
32188         [BZ #9685]
32189         * include/unistd.h (__have_pipe2): Change define into an extern int.
32190         (__have_dup3): Likewise.
32191         * socket/have_sock_cloexec.c: Include fcntl.h.
32192         (__have_pipe2): New variable.
32193         (__have_dup3): Likewise.
32194
32195 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32196
32197         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32198
32199 2012-08-17  Marek Polacek  <polacek@redhat.com>
32200
32201         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32202         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32203
32204 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32205
32206         * configure.in: Add AC_SUBST for sysheaders.
32207         * configure: Regenerated.
32208         * config.make.in (sysheaders): New substituted variable.
32209
32210         * sysdeps/unix/mkfifo.c: Moved ...
32211         * sysdeps/posix/mkfifo.c: ... here.
32212         * sysdeps/unix/mkfifoat.c: Moved ...
32213         * sysdeps/posix/mkfifoat.c: ... here.
32214
32215         * sysdeps/unix/utime.c: Moved ...
32216         * sysdeps/posix/utime.c: ... here.
32217
32218         * sysdeps/unix/time.c: Moved ...
32219         * sysdeps/posix/time.c: ... here.
32220         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32221         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32222
32223         * sysdeps/unix/nice.c: Moved ...
32224         * sysdeps/posix/nice.c: ... here.
32225
32226         * sysdeps/unix/alarm.c: Moved ...
32227         * sysdeps/posix/alarm.c: ... here.
32228
32229         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32230
32231 2012-08-17  Jeff Law <law@redhat.com>
32232
32233         * intl/Makefile (codeset_mo): New variable.
32234         ($(codeset_mo)): New target.
32235         (tst-codeset.out): Depend on that.  Remove explicit rule.
32236         (tst-gettext3.out, tst-gettext5.out): Likewise.
32237         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32238         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32239         * intl/tst-codeset.sh: Remove.
32240         * intl/tst-gettext3.sh: Likewise.
32241         * intl/tst-gettext5.sh: Likewise.
32242
32243 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32244
32245         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32246         * sysdeps/unix/syscalls.list: ... here.
32247
32248         * sysdeps/posix/getaddrinfo.c
32249         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32250         (gaiconf_init, gaiconf_reload): Use them.
32251         [!_STATBUF_ST_NSEC]
32252         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32253         Define using time_t rather than struct timespec.
32254
32255         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32256         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32257         Macros removed.
32258         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32259         [!NO_THREADS].
32260         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32261         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32262         Likewise.
32263
32264         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32265         __libc_cleanup_push argument.
32266
32267         * bits/param.h: New file.
32268         * misc/sys/param.h: New file.
32269         * include/sys/param.h: New file.
32270         * misc/Makefile (headers): Add bits/param.h.
32271         * sysdeps/generic/sys/param.h: File removed.
32272         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32273         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32274         * sysdeps/mach/hurd/bits/param.h: New file.
32275         * sysdeps/mach/hurd/sys/param.h: File removed.
32276
32277         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32278         last change.
32279
32280         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32281         [_IO_MTSAFE_IO].
32282         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32283         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32284         New macros.
32285
32286         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32287         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32288         rather than -D_IO_MTSAFE_IO conditionally.
32289         * stdio-common/Makefile (CPPFLAGS): Likewise.
32290         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32291         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32292         Use $(libio-mtsafe).
32293         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32294         of -D_IO_MTSAFE_IO.
32295         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32296         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32297         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32298         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32299         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32300         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32301         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32302         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32303         (CFLAGS-fread_u_chk.c): Likewise.
32304         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32305         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32306         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32307         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32308         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32309         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32310         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32311         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32312         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32313
32314         * libio/Makefile: Test [$(libc-reentrant) = yes]
32315         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32316
32317         * Makeconfig
32318         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32319         * sysdeps/pthread/configure: File removed.
32320         * sysdeps/pthread/Makeconfig: New file.
32321         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32322         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32323
32324 2012-08-16  Gary Benson  <gbenson@redhat.com>
32325
32326         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32327         unmapping the first object in a namespace.
32328
32329 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32330
32331         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32332         (__internal_setnetgrent): ... this.  Add internal_function to
32333         definition.  Add libc_hidden_def.
32334         (setnetgrent): Update caller.
32335         (internal_endnetgrent): Renamed to ...
32336         (__internal_endnetgrent): ... this.  Add internal_function to
32337         definition.  Add libc_hidden_def.
32338         (endnetgrent): Update caller.
32339         (internal_getnetgrent_r): Renamed to ...
32340         (__internal_getnetgrent_r): ... this.  Add internal_function to
32341         definition.  Add libc_hidden_def.
32342         (__getnetgrent_r): Update caller.
32343         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32344
32345 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32346
32347         * stdlib/longlong.h: Update from GCC.
32348
32349 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32350
32351         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32352         on _QL, which is set by umul_ppmm but never used.
32353         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32354         variables, which are set by GMP macros but never used.
32355         * stdio-common/_itowa.c (_itowa): Likewise.
32356         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32357         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32358
32359 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32360
32361         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32362         struct La_sh_regs is not constant.
32363         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32364         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32365         and struct La_sparc64_regs are not constant.
32366
32367 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32368
32369         * sysdeps/unix/sysv/linux/kernel-features.h
32370         (__ASSUME_POSIX_TIMERS): Remove.
32371         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32372         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32373         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32374         Make code unconditional.
32375         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32376         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32377         Make code unconditional.
32378         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32379         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32380         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32381         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32382         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32383         Make code unconditional.
32384         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32385         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32386         (__libc_missing_posix_timers): Remove.
32387
32388 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32389
32390         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32391         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32392
32393         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32394
32395         * elf/dl-sym.c: Include <stdlib.h>.
32396
32397         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32398         constants, which avoids warnings in 32-bit builds.
32399
32400         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32401         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32402
32403         * misc/lseek.c: File moved to ...
32404         * io/lseek.c: ... here.
32405
32406         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32407
32408         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32409         shifting LEN more than 31 bits at once.
32410
32411 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32412
32413         [BZ #14195]
32414         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32415         segmentation fault for a case of two empty input strings.
32416         * string/test-strncasecmp.c (check1): Renamed to...
32417         (bz12205): ...this.
32418         (bz14195): Add new testcase for two empty input strings and N > 0.
32419         (test_main): Call new testcase, adapt for renamed function.
32420
32421 2012-08-15  Andreas Jaeger  <aj@suse.de>
32422
32423         [BZ #14090]
32424         * crypt/md5test2.c: New test, based on test supplied by Serge
32425         Belyshev <belyshev@depni.sinp.msu.ru>.
32426         * crypt/Makefile (xtests): Add md5test-giant..
32427         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32428
32429 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32430
32431         [BZ #14090]
32432         * crypt/md5.c (md5_process_block): Don't assume the buffer
32433         length is less than 2**32.
32434         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32435         length is less than 2**64.
32436
32437 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32438
32439         * string/str-two-way.h: Include <sys/param.h>.
32440         (MAX): Macro removed.
32441
32442         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32443         Move #define and #undef of memmove to just before and after
32444         including <string.h>.
32445
32446         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32447         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32448         and after including <string.h>.  Move declarations of
32449         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32450         to before #include "string/memmove.c".
32451
32452         * include/dirent.h: Declare __getdirentries.
32453
32454         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32455         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32456
32457 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32458
32459         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32460         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32461         * sysdeps/i386/configure: Regenerated.
32462         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32463         STABS_CURRENT_FILE, and STABS_FUN.
32464         (END): Remove call to STABS_FUN_END.
32465         (STABS_CURRENT_FILE1): Delete.
32466         (STABS_CURRENT_FILE): Likewise.
32467         (STABS_FUN): Likewise.
32468         (STABS_FUN_END): Likewise.
32469         (STABS_FUN2): Likewise.
32470         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32471         * sysdeps/x86_64/configure: Regenerated.
32472
32473 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32474
32475         * elf/dl-open.c: Include <atomic.h>.
32476         * elf/dl-lookup.c: Likewise.
32477
32478 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32479
32480         * sysdeps/unix/sysv/linux/kernel-features.h
32481         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32482         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32483         unconditionally.
32484         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32485         unconditionally.
32486         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32487         condition on __ASSUME_CLONE_THREAD_FLAGS.
32488
32489 2012-08-14  Andreas Jaeger  <aj@suse.de>
32490
32491         * sysdeps/i386/fpu/libm-test-ulps: Update.
32492
32493 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32494
32495         * include/atomic.h (atomic_exchange_and_add): Split into ...
32496         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32497         New atomic macros.
32498
32499 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32500
32501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32502
32503 2012-08-13  Jeff Law <law@redhat.com>
32504
32505         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32506         null byte in the output string.
32507
32508 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32509
32510         * sysdeps/unix/sysv/linux/kernel-features.h
32511         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32512         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32513         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32514         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32515         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32516         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32517         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32518
32519 2012-08-09  Jeff Law <law@redhat.com>
32520
32521         [BZ #13939]
32522         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32523         When avoid_arena is set, don't retry in the that arena.  Pick the
32524         next one, whatever it might be.
32525         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32526         (arena_lock): Pass in new parameter to arena_get2.
32527         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32528         arena_get2.
32529         (__libc_malloc): Unify retrying after main arena failure with
32530         __libc_memalign version.
32531         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32532
32533 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32534
32535         [BZ #14166]
32536         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32537         to __redirect_strstr.
32538         (__strstr_sse42): Use typeof __redirect_strstr.
32539         (__strstr_ia32): Likewise.
32540         (__libc_strstr): New prototype.
32541         (strstr): Renamed to ...
32542         (__libc_strstr): This.
32543         (strstr): New strong alias of __libc_strstr.
32544         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32545         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32546         __redirect_time.
32547         Include <time.h>.
32548         (__libc_time): New prototype.
32549         (time_ifunc): Replace time with __libc_time.
32550         (time): New strong alias and hidden definition of __libc_time.
32551         (__GI_time): Remove strong alias.
32552         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32553         Include <stddef.h>.
32554         (memmove): Redefined to __redirect_memmove.
32555         (__memmove_sse2): Use typeof __redirect_memmove.
32556         (__memmove_ssse3): Likewise.
32557         (__memmove_ssse3_back): Likewise.
32558         (__libc_memmove): New prototype.
32559         (memmove): Renamed to ...
32560         (__libc_memmove): This.
32561         (memmove): New strong alias of __libc_memmove.
32562
32563 2012-08-08  Mark Salter  <msalter@redhat.com>
32564
32565         * elf/elf.h
32566         (R_MN10300_TLS_GD): Define.
32567         (R_MN10300_TLS_LD): Likewise.
32568         (R_MN10300_TLS_LDO): Likewise.
32569         (R_MN10300_TLS_GOTIE): Likewise.
32570         (R_MN10300_TLS_IE): Likewise.
32571         (R_MN10300_TLS_LE): Likewise.
32572         (R_MN10300_TLS_DTPMOD): Likewise.
32573         (R_MN10300_TLS_DTPOFF): Likewise.
32574         (R_MN10300_TLS_TPOFF): Likewise.
32575         (R_MN10300_SYM_DIFF): Likewise.
32576         (R_MN10300_ALIGN): Likewise.
32577         (R_MN10300_NUM): Update.
32578
32579 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32580
32581         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32582         Remove.
32583
32584 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32585
32586         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32587
32588         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32589         sysdeps/unix -> sysdeps/posix move.
32590         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32591
32592 2012-08-07      Allan McRae     <allan@archlinux.org>
32593
32594         [BZ #14303]
32595         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32596         (SUNOS_CPP): Likewise.
32597         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32598         not found.
32599         (open_input): Call CPP using execvp.
32600
32601 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32602
32603         * sysdeps/unix/sysv/linux/kernel-features.h
32604         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32605         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32606         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32607         (__ASSUME_WAITID_SYSCALL): Likewise.
32608         * sysdeps/unix/sysv/linux/dl-execstack.c
32609         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32610         code unconditional.
32611         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32612         conditional code.
32613         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32614         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32615         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32616         code.
32617         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32618         unconditional.
32619         [__ASSUME_WAITID_SYSCALL]: Likewise.
32620         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32621
32622 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32623
32624         * sysdeps/unix/closedir.c: Renamed to ...
32625         * sysdeps/posix/closedir.c: ... here.
32626         * sysdeps/unix/dirfd.c: Renamed to ...
32627         * sysdeps/posix/dirfd.c: ... here.
32628         * sysdeps/unix/dirstream.h: Renamed to ...
32629         * sysdeps/posix/dirstream.h: ... here.
32630         * sysdeps/unix/fdopendir.c: Renamed to ...
32631         * sysdeps/posix/fdopendir.c: ... here.
32632         * sysdeps/unix/opendir.c: Renamed to ...
32633         * sysdeps/posix/opendir.c: ... here.
32634         * sysdeps/unix/readdir.c: Renamed to ...
32635         * sysdeps/posix/readdir.c: ... here.
32636         * sysdeps/unix/readdir_r.c: Renamed to ...
32637         * sysdeps/posix/readdir_r.c: ... here.
32638         * sysdeps/unix/rewinddir.c: Renamed to ...
32639         * sysdeps/posix/rewinddir.c: ... here.
32640         * sysdeps/unix/seekdir.c: Renamed to ...
32641         * sysdeps/posix/seekdir.c: ... here.
32642         * sysdeps/unix/telldir.c: Renamed to ...
32643         * sysdeps/posix/telldir.c: ... here.
32644         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32645         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32646         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32647         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32648
32649         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32650         * bits/fcntl.h: ... here.
32651
32652         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32653         not 0.
32654         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32655         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32656         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32657         (struct flock): Move l_start, l_len to the beginning.
32658         Use __pid_t for l_pid.
32659         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32660         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32661         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32662         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32663         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32664         [__USE_LARGEFILE64] (struct flock64): New type.
32665         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32666
32667         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32668         * bits/dirent.h: ... here.
32669
32670         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32671         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32672
32673 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32674
32675         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32676         Change from 2.6.0 to 2.6.16.
32677         * sysdeps/unix/sysv/linux/configure: Regenerated.
32678         * sysdeps/unix/sysv/linux/kernel-features.h
32679         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32680         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32681         version.
32682         (__ASSUME_UTIMES): Likewise.
32683         (__ASSUME_CLONE_STOPPED): Remove.
32684         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32685         architectures, not kernel version.
32686         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32687         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32688         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32689         (__ASSUME_WAITID_SYSCALL): Likewise.
32690         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32691         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32692         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32693         refer to older versions.
32694
32695 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32696
32697         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32698         Define alphasort64 as an alias.
32699         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32700         Define versionsort64 as an alias.
32701         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32702         Define scandir64 as an alias.
32703         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32704         Define scandirat64 as an alias.
32705         * dirent/alphasort64.c (alphasort64):
32706         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32707         * dirent/versionsort64.c: Likewise.
32708         * dirent/scandir64.c: Likewise.
32709         * dirent/scandirat64.c: Likewise.
32710         * sysdeps/wordsize-64/alphasort.c: File removed.
32711         * sysdeps/wordsize-64/alphasort64.c: File removed.
32712         * sysdeps/wordsize-64/scandir.c: File removed.
32713         * sysdeps/wordsize-64/scandir64.c: File removed.
32714         * sysdeps/wordsize-64/scandirat.c: File removed.
32715         * sysdeps/wordsize-64/scandirat64.c: File removed.
32716         * sysdeps/wordsize-64/versionsort.c: File removed.
32717         * sysdeps/wordsize-64/versionsort64.c: File removed.
32718         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32719         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32720         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32721         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32722         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32723         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32724         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32725         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32726
32727         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32728         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32729         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32730         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32731         [defined __arch64__ || defined __sparcv9]
32732         (__INO_T_MATCHES_INO64_T): New macro.
32733         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32734         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32735         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32736         * sysdeps/unix/sysv/linux/bits/dirent.h
32737         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32738         (_DIRENT_MATCHES_DIRENT64): New macro.
32739
32740         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32741         Define lockf64 as an alias.
32742         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32743         Define fseeko64 as an alias.
32744         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32745         Define ftello64 as an alias.
32746         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32747         Define _IO_fgetpos64 and fgetpos64 as aliases.
32748         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32749         Define _IO_fsetpos64 and fsetpos64 as aliases.
32750         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32751         Conditionalize body on this.
32752         * libio/fseeko64.c: Likewise.
32753         * libio/ftello64.c: Likewise.
32754         * libio/iofgetpos64.c: Likewise.
32755         * libio/iofsetpos64.c: Likewise.
32756         * sysdeps/wordsize-64/lockf.c: File removed.
32757         * sysdeps/wordsize-64/lockf64.c: File removed.
32758         * sysdeps/wordsize-64/fseeko.c: File removed.
32759         * sysdeps/wordsize-64/fseeko64.c: File removed.
32760         * sysdeps/wordsize-64/ftello.c: File removed.
32761         * sysdeps/wordsize-64/ftello64.c: File removed.
32762         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32763         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32764         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32765         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32766         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32767         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32768         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32769         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32770         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32771         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32772         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32773         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32774         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32775         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32776
32777         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32778         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32779         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32780         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32781         [defined __arch64__ || defined __sparcv9]
32782         (__OFF_T_MATCHES_OFF64_T): New macro.
32783         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32784         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32785         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32786         (__OFF_T_MATCHES_OFF64_T): New macro.
32787
32788 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32789
32790         * stdlib/secure-getenv.c (__secure_getenv): Replace
32791         GLIBC_2_16 with GLIBC_2_17.
32792
32793 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32794
32795         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32796         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32797
32798 2012-08-03  David S. Miller  <davem@davemloft.net>
32799
32800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32801
32802 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32803
32804         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32805         Remove.
32806         (__ASSUME_CORRECT_SI_PID): Likewise.
32807         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32808         (__ASSUME_TMPFS_NAME): Likewise.
32809         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32810         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32811         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32812         (HAVE_AUX_SECURE): Make definition unconditional.
32813         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32814         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32815
32816 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32817
32818         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32819         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32820         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32821         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32822         __eloop_threshold instead of SYMLOOP_MAX.
32823
32824         * sysdeps/generic/eloop-threshold.h: New file.
32825         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32826         of MAXSYMLINKS.
32827         * elf/chroot_canon.c (chroot_canon): Likewise.
32828
32829 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32830
32831         [BZ #13717]
32832         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32833         Change to 2.6.0 everywhere.
32834         * sysdeps/unix/sysv/linux/configure: Regenerated.
32835         * sysdeps/unix/sysv/linux/kernel-features.h
32836         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32837         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32838         kernel versions.
32839         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32840         (__ASSUME_FUTEX_REQUEUE): Remove.
32841         (__ASSUME_STATFS64): Define unconditionally.
32842         (__ASSUME_AT_SECURE): Likewise.
32843         (__ASSUME_CORRECT_SI_PID): Likewise.
32844         (__ASSUME_TGKILL): Define without depending on kernel version for
32845         i386.
32846         (__ASSUME_UTIMES): Likewise.
32847         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32848         kernel version.
32849         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32850         (__ASSUME_TMPFS_NAME): Likewise.
32851         * README: Update reference to Linux kernel versions.
32852
32853 2012-08-02  Marek Polacek  <polacek@redhat.com>
32854
32855         [BZ# 14150]
32856         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32857         libc_cv_asm_type_prefix with %.
32858         * configure: Regenerated.
32859         * include/libc-symbols.h: Remove comment about
32860         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32861         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32862         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32863         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32864         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32865         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32866         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32867         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32868         * elf/tst-unique2mod1.c: Likewise.
32869         * elf/tst-unique1mod2.c: Likewise.
32870         * elf/tst-unique1mod1.c: Likewise.
32871         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32872         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32873         Replace ASM_TYPE_DIRECTIVE with .type.
32874         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32875         * sysdeps/i386/sysdep.h: Likewise.
32876         * sysdeps/x86_64/sysdep.h: Likewise.
32877         * sysdeps/sh/sysdep.h: Likewise.
32878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32879         Do not define ASM_TYPE_DIRECTIVE.
32880         * sysdeps/powerpc/sysdep.h: Likewise.
32881         * sysdeps/powerpc/powerpc32/sysdep.h:
32882         Replace ASM_TYPE_DIRECTIVE with .type.
32883         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32884         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32885         * sysdeps/i386/fpu/e_powf.S: Likewise.
32886         * sysdeps/i386/fpu/e_expl.S: Likewise.
32887         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32888         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32889         * sysdeps/i386/fpu/e_pow.S: Likewise.
32890         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32891         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32892         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32893         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32894         * sysdeps/i386/fpu/e_log2.S: Likewise.
32895         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32896         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32897         * sysdeps/i386/fpu/e_powl.S: Likewise.
32898         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32899         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32900         * sysdeps/i386/fpu/e_logl.S: Likewise.
32901         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32902         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32903         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32904         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32905         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32906         * sysdeps/i386/fpu/e_log.S: Likewise.
32907         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32908         * sysdeps/i386/fpu/e_logf.S: Likewise.
32909         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32910         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32911         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32912         * sysdeps/i386/fpu/e_log10.S: Likewise.
32913         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32914         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32915         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32916         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32917         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32918         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32919         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32920         * sysdeps/i386/i686/strtok.S: Likewise.
32921         * sysdeps/i386/i386-mcount.S: Likewise.
32922         * sysdeps/i386/strtok.S: Likewise.
32923         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32924         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32925         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32926         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32927         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32928         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32929         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32930         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32931         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32932         * sysdeps/x86_64/_mcount.S: Likewise.
32933         * sysdeps/x86_64/strtok.S: Likewise.
32934         * sysdeps/sh/_mcount.S: Likewise.
32935
32936 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32937
32938         * libio/iofopen.c: Include <fcntl.h>.
32939         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32940         (_IO_fopen64, fopen64): Define as aliases.
32941         * libio/iofopen64.c: Include <fcntl.h>.
32942         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32943         Conditionalize body on this.
32944         * sysdeps/wordsize-64/iofopen.c: File removed.
32945         * sysdeps/wordsize-64/iofopen64.c: File removed.
32946
32947 2012-08-01  Marek Polacek  <polacek@redhat.com>
32948
32949         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32950         Use dlfcn directly instead of a variable.
32951         (binfmt-subdir): Do not define.
32952         (dlfcn): Likewise.
32953
32954 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32955
32956         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32957         Remove all definitions.
32958         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32959         <kernel-features.h>.
32960         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32961         (miss_F_GETOWN_EX): Remove all definitions.
32962         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32963         macro definition.
32964         [!__ASSUME_FCNTL64]: Remove conditional code.
32965         [__ASSUME_FCNTL64]: Make code unconditional.
32966         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32967         <kernel-features.h>.
32968         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32969         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32970         (lockf64) [__NR_fcntl64]: Make code unconditional.
32971         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32972
32973         * sysdeps/unix/sysv/linux/kernel-features.h
32974         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32975         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32976         Make code unconditional.
32977         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32978         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32980         [__NR_vfork]: Make code unconditional.
32981         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32982         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32984         [__NR_vfork]: Make code unconditional.
32985         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32986         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32987
32988 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32989
32990         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32991         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32992
32993         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32994         Define mkstemp64 as an alias.
32995         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32996         Define mkstemps64 as an alias.
32997         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32998         Define mkostemp64 as an alias.
32999         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33000         Define mkostemps64 as an alias.
33001         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33002         Conditionalize body on this.
33003         * misc/mkostemp64.c: Likewise.
33004         * misc/mkostemps64.c: Likewise.
33005         * misc/mkstemps64.c: Likewise.
33006         * sysdeps/wordsize-64/mkstemp64.c: File removed.
33007         * sysdeps/wordsize-64/mkostemp64.c: File removed.
33008         * sysdeps/wordsize-64/mkostemp.c: File removed.
33009         * sysdeps/wordsize-64/mkstemp.c: File removed.
33010         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33011         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33012         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33013         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33014
33015         [BZ #14138]
33016         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33017         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33018         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33019         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33020
33021         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33022         compat_symbol macros from <shlib-compat.h> rather than the underlying
33023         default_symbol_version and symbol_version macros, so that DEFAULT
33024         lines in shlib-versions are respected.
33025         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33026
33027 2012-08-01  Florian Weimer  <fweimer@redhat.com>
33028
33029         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33030         Declare with warn_unused_result.
33031         (setgid, setregid, setegid, setresgid): Likewise.
33032         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33033         Likewise.
33034         * WUR-REPORT: Remove set*id functions.
33035
33036 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
33037
33038         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33039
33040 2012-07-31  Roland McGrath  <roland@hack.frob.com>
33041
33042         [BZ #10191]
33043         * include/sys/socket.h (__libc_accept, __libc_accept4):
33044         Add attribute_hidden.
33045         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33046
33047         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33048         use of PTR_MANGLE.
33049         * inet/getnetgrent_r.c (setup): Likewise.
33050
33051         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33052
33053 2012-07-31  David S. Miller  <davem@davemloft.net>
33054
33055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33056
33057 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
33058
33059         [BZ #13629]
33060         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33061         value between 1.0 and 2.0 and smaller part has absolute value less
33062         than 1.0.
33063         * math/s_clog10.c (__clog10): Likewise.
33064         * math/s_clog10f.c (__clog10f): Likewise.
33065         * math/s_clog10l.c (__clog10l): Likewise.
33066         * math/s_clogf.c (__clogf): Likewise.
33067         * math/s_clogl.c (__clogl): Likewise.
33068         * math/libm-test.inc (clog_test): Add more tests.
33069         (clog10_test): Likewise.
33070         * sysdeps/i386/fpu/libm-test-ulps: Update.
33071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33072
33073 2012-07-31  Florian Weimer  <fweimer@redhat.com>
33074
33075         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33076         Exit with zero in case no suitable GID is found, and write a
33077         message to standard error.
33078
33079 2012-07-30  Roland McGrath  <roland@hack.frob.com>
33080
33081         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33082         rather than to 1.
33083         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33084         (MAXPATHLEN): Removed.
33085         (NOGROUP, NODEV): New macros.
33086         (setbit, clrbit, isset, isclr): New macros.
33087         (howmany, roundup, powerof2): New macros.
33088         (DEV_BSIZE): New macro.
33089
33090         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33091         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33092
33093         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33094         definition on [!__NO_LONG_DOUBLE_MATH].
33095
33096         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33097         PTR_MANGLE and PTR_DEMANGLE.
33098
33099         * socket/accept4.c (accept4): Rename to __libc_accept4.
33100         Define accept4 as a weak alias.
33101
33102         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33103         on [_DIRENT_HAVE_D_TYPE].
33104         * io/ftw.c (ftw_dir): Likewise.
33105
33106         * io/xmknod.c (__xmknod): Don't check PATH for being null.
33107
33108         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33109
33110         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33111         Use the BSD numbers rather than the arbitrary ones we had.
33112         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33113         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33114         (SIGXCPU, SIGXFSZ): New macros.
33115         (_NSIG): Now 32.
33116
33117         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33118         initializer on [_LIBC_REENTRANT].
33119
33120         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33121         definitions inside [_POSIX_MAPPED_FILES].
33122
33123         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33124
33125         * dirent/opendir.c: Include <fcntl.h>.
33126
33127         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33128         (__libc_getspecific): Likewise.
33129         (__libc_key_create): Likewise.
33130
33131         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33132         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33133         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33134         (tmpfile64): Define as alias.
33135         * sysdeps/wordsize-64/tmpfile.c: File removed.
33136         * sysdeps/wordsize-64/tmpfile64.c: File removed.
33137         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33138         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33139
33140         * stdio-common/vfscanf.c: Include <stdbool.h>.
33141         * nss/makedb.c: Likewise.
33142         * stdio-common/_i18n_number.h: Likewise.
33143         * argp/argp-help.c: Likewise.
33144         * posix/wordexp.c: Likewise.
33145         * sysdeps/posix/spawni.c: Likewise.
33146         * nss/nss_files/files-initgroups.c: Likewise.
33147         * stdio-common/reg-modifier.c: Include <stdlib.h>.
33148         * nss/nss_files/files-initgroups.c: Likewise.
33149         * nss/nss_db/db-netgrp.c: Likewise.
33150         * nss/nss_db/db-initgroups.c: Likewise.
33151         * io/fchmodat.c: Include <sys/stat.h>.
33152
33153         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33154         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33155
33156         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33157         [HAVE_MMAP].
33158
33159         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33160         Add multiple inclusion protection.
33161
33162 2012-07-27  David S. Miller  <davem@davemloft.net>
33163
33164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33165
33166 2012-07-27  Gary Benson  <gbenson@redhat.com>
33167
33168         [BZ #14298]
33169         * elf/rtld.c: Include <stap-probe.h>.
33170         (dl_main): Added static probes "init_start" and "init_complete".
33171         * elf/dl-load.c: Include <stap-probe.h>.
33172         (lose): Take new parameter "nsid".
33173         Added static probe "map_failed".
33174         (_dl_map_object_from_fd): Pass namespace id to lose.
33175         Added static probe "map_start".
33176         (open_verify): Pass namespace id to lose.
33177         * elf/dl-open.c: Include <stap-probe.h>.
33178         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33179         and "reloc_complete".
33180         * elf/dl-close.c: Include <stap-probe.h>.
33181         (_dl_close_worker): Added static probes "unmap_start" and
33182         "unmap_complete".
33183         * elf/rtld-debugger-interface.txt: New file documenting the above.
33184
33185 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33186
33187         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33188         rather than a string variable.
33189         * sunrpc/rpc_main.c (h_output): Likewise.
33190         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33191
33192 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33193
33194         * inet/check_native.c: New file.
33195
33196 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33197
33198         [BZ #13629]
33199         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33200         if larger part has absolute value 1.0.
33201         * math/s_clog10.c (__clog10): Likewise.
33202         * math/s_clog10f.c (__clog10f): Likewise.
33203         * math/s_clog10l.c (__clog10l): Likewise.
33204         * math/s_clogf.c (__clogf): Likewise.
33205         * math/s_clogl.c (__clogl): Likewise.
33206         * math/libm-test.inc (clog_test): Add more tests.
33207         (clog10_test): Likewise.
33208         * sysdeps/i386/fpu/libm-test-ulps: Update.
33209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33210
33211         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33212         (pltexit): Likewise.
33213         (La_regs): Likewise.
33214         (La_retval): Likewise.
33215         (int_retval): Likewise.
33216         Update #error for removed macros to refer only to definitions in
33217         tst-audit.h.
33218         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33219         macro.
33220         (pltexit): Likewise.
33221         (La_regs): Likewise.
33222         (La_retval): Likewise.
33223         (int_retval): Likewise.
33224         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33225         macro.
33226         (pltexit): Likewise.
33227         (La_regs): Likewise.
33228         (La_retval): Likewise.
33229         (int_retval): Likewise.
33230         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33231         macro.
33232         (pltexit): Likewise.
33233         (La_regs): Likewise.
33234         (La_retval): Likewise.
33235         (int_retval): Likewise.
33236         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33237         macro.
33238         (pltexit): Likewise.
33239         (La_regs): Likewise.
33240         (La_retval): Likewise.
33241         (int_retval): Likewise.
33242         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33243         macro.
33244         (pltexit): Likewise.
33245         (La_regs): Likewise.
33246         (La_retval): Likewise.
33247         (int_retval): Likewise.
33248         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33249         macro.
33250         (pltexit): Likewise.
33251         (La_regs): Likewise.
33252         (La_retval): Likewise.
33253         (int_retval): Likewise.
33254         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33255         macro definitions in tst-audit.h.
33256         * sysdeps/i386/tst-audit.h: New file.
33257         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33258         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33259         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33260         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33261         * sysdeps/sh/tst-audit.h: Likewise.
33262         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33263         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33264         * sysdeps/x86_64/tst-audit.h: Likewise.
33265
33266 2012-07-26  Andreas Jaeger  <aj@suse.de>
33267
33268         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33269         ptrace.
33270
33271         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33272         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33273         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33274         PTRACE_O_MASK.
33275         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33276         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33277         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33278
33279         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33280         value.
33281
33282         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33283         _sigsys.
33284         (si_call_addr, si_syscall, si_arch): Define new macro.
33285         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33286         _sigsys.
33287         (si_call_addr, si_syscall, si_arch): Define new marcro.
33288         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33289         _sigsys.
33290         (si_call_addr, si_syscall, si_arch): Define new macro.
33291         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33292         _sigsys.
33293         (si_call_addr, si_syscall, si_arch): Define new macro.
33294
33295 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33296
33297         [BZ #13717]
33298         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33299         Change to 2.4.21 where previously 2.4.1.
33300         * sysdeps/unix/sysv/linux/configure: Regenerated.
33301         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33302         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33303         Linux kernel version.
33304         (__ASSUME_STD_AUXV): Remove.
33305         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33306         kernel version.
33307         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33308         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33309         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33310         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33311         (__ASSUME_NETLINK_SUPPORT): Likewise.
33312         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33313         (__no_netlink_support): Remove conditional definition.
33314         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33315         Remove.
33316         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33317         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33318         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33319         (if_nameindex_ioctl): Remove.
33320         (if_nameindex_netlink): Do not handle __no_netlink_support.
33321         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33322         code.
33323         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33324         Remove conditional code.
33325         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33326         code.
33327         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33328         unconditional.
33329         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33330         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33331         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33332         Remove.
33333         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33334         [!__ASSUME_STD_AUXV]: Remove conditional code.
33335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33336         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33337         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33339         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33340         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33341         code.
33342         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33344         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33345         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33346         conditional code.
33347         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33349         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33350         code.
33351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33352         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33353         conditional code.
33354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33355         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33356         code unconditional.
33357         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33358         conditional code.
33359         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33360         unconditional.
33361         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33362         conditional code.
33363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33364         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33365         unconditional.
33366         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33367         conditional code.
33368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33369         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33370         code unconditional.
33371         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33372         conditional code.
33373         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33374         unconditional.
33375         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33376         conditional code.
33377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33378         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33379         code unconditional.
33380         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33381         conditional code.
33382         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33383         unconditional.
33384         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33385         conditional code.
33386
33387 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33388
33389         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33390         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33391         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33392         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33393         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33394         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33395         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33396         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33397         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33398         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33399         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33400         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33401         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33402         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33403         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33404         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33405         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33406         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33407         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33408         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33409         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33410         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33411         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33412
33413 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33414
33415         * Versions.def: Add GLIBC_2.17.
33416         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33417         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33418         Introduce __libc_secure_getenv.
33419         * stdlib/Versions (2.17): Add secure_getenv
33420         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33421         * stdlib/secure-getenv.c: Rename __secure_getenv to
33422         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33423         symbol __secure_getenv for GLIBC_2.0.
33424         * stdlib/tst-secure-getenv.c: New.
33425         * stdlib/Makefile (tests): Add testcase.
33426         * manual/startup.texi (Environment Access): Document
33427         secure_getenv.
33428         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33429         __libc_secure_getenv.
33430         * inet/ruserpass.c (ruserpass): Likewise.
33431         * malloc/mtrace.c (mtrace): Likewise.
33432         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33433         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33434         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33435         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33436         HAVE_SECURE_GETENV.
33437         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33438         __secure_getenv to __libc_secure_getenv.
33439         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33441         Likewise.
33442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33443         Likewise.
33444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33446         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33451
33452 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33453
33454         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33455         (struct La_i86_retval): Likewise.
33456         (struct La_x86_64_regs): Likewise.
33457         (struct La_x86_64_retval): Likewise.
33458         (struct La_x32_regs): Likewise.
33459         (struct La_x32_retval): Likewise.
33460         (struct La_ppc32_regs): Likewise.
33461         (struct La_ppc32_retval): Likewise.
33462         (struct La_ppc64_regs): Likewise.
33463         (struct La_ppc64_retval): Likewise.
33464         (struct La_sh_regs): Likewise.
33465         (struct La_sh_retval): Likewise.
33466         (struct La_s390_32_regs): Likewise.
33467         (struct La_s390_32_retval): Likewise.
33468         (struct La_s390_64_regs): Likewise.
33469         (struct La_s390_64_retval): Likewise.
33470         (struct La_sparc32_regs): Likewise.
33471         (struct La_sparc32_retval): Likewise.
33472         (struct La_sparc64_regs): Likewise.
33473         (struct La_sparc64_retval): Likewise.
33474         (struct audit_ifaces): Remove architecture-specific pltenter and
33475         pltexit members.
33476         * sysdeps/i386/ldsodefs.h: New file.
33477         * sysdeps/powerpc/ldsodefs.h: Likewise.
33478         * sysdeps/s390/ldsodefs.h: Likewise.
33479         * sysdeps/sh/ldsodefs.h: Likewise.
33480         * sysdeps/sparc/ldsodefs.h: Likewise.
33481         * sysdeps/x86_64/ldsodefs.h: Likewise.
33482
33483 2012-07-25  Marek Polacek  <polacek@redhat.com>
33484
33485         [BZ #6808]
33486         * math/libm-test.inc (yn_test): Add another test.
33487         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33488         to ERANGE when the result is +-Inf.
33489         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33490         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33491         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33492         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33493
33494 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33495
33496         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33497         equal to 0.
33498         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33499         clock_t.
33500         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33501
33502 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33503
33504         * configure.in <sysdeps resolving>: Correct printing
33505         Implies_before.
33506         * configure: Regenerate.
33507
33508 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33509
33510         * math/w_ilogb.c: Include <limits.h>.
33511         * math/w_ilogbl.c: Likewise.
33512
33513 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33514
33515         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33516         va_copy.  Document allowing for unavailable va_copy only as
33517         pre-C99 compatibility.
33518         * manual/string.texi (Copying and Concatenation): Use va_copy
33519         instead of __va_copy in concat example.
33520
33521 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33522
33523         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33524         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33525         it if not null.
33526
33527         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33528         with O_NOLINK passed to __file_name_lookup.
33529
33530         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33531         with O_NOLINK passed to __file_name_lookup.
33532
33533         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33534         negative N or less than NGIDS.
33535
33536         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33537         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33538         enough.  Use memcpy instead of strncpy.
33539
33540 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33541
33542         * elf/Makefile (check-data): Remove.
33543         (localplt.data): New vpath directive.
33544         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33545         instead of $(check-data).
33546         * scripts/data/localplt-generic.data: Move to ...
33547         * sysdeps/generic/localplt.data: ... here.
33548         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33549         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33550         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33552         ... here.
33553         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33555         ... here.
33556         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33558         ... here.
33559         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33561         ... here.
33562         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33564         ... here.
33565         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33567         ... here.
33568
33569 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33570
33571         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33572         PPC32 and PPC64 files.
33573         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33574         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33575
33576 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33577
33578         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33579         __makecontext_ret to ...
33580         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33581         ... here and call exit if uc_link is NULL.  New file.
33582         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33583         __makecontext_ret.S.
33584         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33585         __makecontext_ret to ...
33586         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33587         ... here and call exit if uc_link is NULL.  New file.
33588         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33589         __makecontext_ret.S.
33590
33591 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33592
33593         * elf/elf.h (R_390_IRELATIVE): New definition.
33594         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33595         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33596         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33597         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33598         (elf_machine_lazy_rel): Likewise.
33599         * sysdeps/s390/dl-irel.h: New file.
33600         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33601         * sysdeps/s390/s390-64/memset.S: New asm code.
33602         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33603         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33604         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33605         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33606         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33607         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33608         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33609         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33610         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33611         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33612         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33613         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33614         * sysdeps/s390/s390-32/memset.S: New asm code.
33615         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33616
33617 2012-07-17  Marek Polacek  <polacek@redhat.com>
33618
33619         [BZ #14349]
33620         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33621         * sysdeps/s390/s390-64/configure.in: Likewise.
33622         * sysdeps/sparc/configure.in: Likewise.
33623         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33624         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33625         * sysdeps/i386/configure.in: Likewise.
33626         * sysdeps/x86_64/configure.in: Likewise.
33627         * sysdeps/sh/configure.in: Likewise.
33628         * sysdeps/s390/s390-32/configure: Regenerated.
33629         * sysdeps/s390/s390-64/configure: Likewise.
33630         * sysdeps/x86_64/configure: Likewise.
33631         * sysdeps/sh/configure: Likewise.
33632         * sysdeps/powerpc/powerpc64/configure: Likewise.
33633         * sysdeps/powerpc/powerpc32/configure: Likewise.
33634         * sysdeps/sparc/configure: Likwise.
33635         * sysdeps/i386/configure: Likewise.
33636
33637         * elf/dl-open.c: Comment fixes.
33638
33639 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33640
33641         * Makefile [CXX] (check-data): Remove.
33642         [CXX] (c++-types.data): New vpath directive.
33643         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33644         vpath.  Do not allow for C++ type data being missing.
33645         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33646         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33647         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33648         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33649         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33650         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33651         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33653         ... here.
33654         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33656         ... here.
33657         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33659         ... here.
33660         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33662         ... here.
33663         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33665         ... here.
33666         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33668         ... here.
33669         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33671         ... here.
33672         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33674
33675         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33676         definitions to architecture-specific files.
33677         (TLS_IE): Likewise.
33678         (TLS_LD): Likewise.
33679         (TLS_GD): Likewise.
33680         * sysdeps/i386/tls-macros.h: New file.
33681         * sysdeps/powerpc/tls-macros.h: Likewise.
33682         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33683         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33684         * sysdeps/sh/tls-macros.h: Likewise.
33685         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33686         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33687         * sysdeps/x86_64/tls-macros.h: Likewise.
33688
33689 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33690
33691         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33692         zero value for regular exit case.
33693
33694         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33695         (__start_context): Preserve zero value for regular exit case.
33696
33697 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33698             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33699
33700         * manual/setjmp.texi (setcontext): Clarify normal process
33701         termination when uc_link is the null pointer.
33702         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33703         exit call.
33704
33705 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33706
33707         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33708         preprocessor.  Test for each exception mask separately.
33709
33710 2012-07-16  Andreas Jaeger  <aj@suse.de>
33711
33712         * po/ru.po: Update from translation team.
33713
33714 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33715
33716         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33717         equal to 0.
33718         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33719         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33720         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33721         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33722         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33723
33724 2012-07-13  Andreas Jaeger  <aj@suse.de>
33725
33726         * po/fr.po: Update from translation team.
33727
33728 2012-07-12  Marek Polacek  <polacek@redhat.com>
33729
33730         [BZ #14173]
33731         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33732         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33733         loop condition.
33734
33735 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33736
33737         [BZ #13717]
33738         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33739         Change to 2.4.1 where previously 2.4.0.
33740         * sysdeps/unix/sysv/linux/configure: Regenerated.
33741         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33742         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33743         version.
33744         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33745         (__ASSUME_AT_CLKTCK): Remove.
33746         (__ASSUME_AT_PAGESIZE): Likewise.
33747         (__ASSUME_AT_XID): Likewise.
33748         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33749         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33750         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33751         unconditionally.
33752         (HAVE_AUX_PAGESIZE): Likewise.
33753         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33754         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33755         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33756
33757 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33758
33759         [BZ #14307]
33760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33761         the temporary buffer used to invoke __gethostbyname2_r,
33762         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33763         host_data / struct gaih_addrtuple.
33764         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33765         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33766         header file nss/nsswitch.h.
33767         * nss/nsswitch.h (global scope): Add definition of implementation
33768         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33769         resolv/nss_dns/dns-host.c).
33770
33771 2012-07-11  Andreas Jaeger  <aj@suse.de>
33772
33773         * po/fr.po: Update from translation team.
33774
33775         * po/sv.po: Update from translation team
33776         * po/fr.po: Another update from translation team.
33777
33778 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33779
33780         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33781         for subnormals or multiply small sinh result by itself.
33782         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33784
33785 2012-07-11  David S. Miller  <davem@davemloft.net>
33786
33787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33788
33789 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33790
33791         [BZ #14347]
33792         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33793         (INTERNAL_MARK): Shift it here.
33794
33795 2012-07-10  Marek Polacek  <polacek@redhat.com>
33796
33797         [BZ #14151]
33798         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33799         libc_cv_asm_global_directive with .globl.
33800         * configure: Regenerated.
33801         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33802         with .globl.
33803         * sysdeps/i386/configure: Regenerated.
33804         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33805         with .globl.
33806         * sysdeps/x86_64/configure: Regenerated.
33807         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33808         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33809         * elf/tst-unique2mod2.c: Likewise.
33810         * elf/tst-unique2mod1.c: Likewise.
33811         * elf/tst-unique1mod2.c: Likewise.
33812         * elf/tst-unique1mod1.c: Likewise.
33813         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33814         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33815         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33816         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33817         * sysdeps/mach/sysdep.h: Likewise.
33818         * sysdeps/i386/sysdep.h: Likewise.
33819         * sysdeps/i386/i386-mcount.S: Likewise.
33820         * sysdeps/x86_64/_mcount.S: Likewise.
33821         * sysdeps/x86_64/sysdep.h: Likewise.
33822         * sysdeps/sh/_mcount.S: Likewise.
33823         * sysdeps/sh/sysdep.h: Likewise.
33824         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33825         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33826         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33827         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33828         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33829         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33830         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33831         * locale/localeinfo.h: Likewise.
33832         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33833         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33834
33835 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33836
33837         [BZ #14336]
33838         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33839         system".
33840         * manual/message.texi (The Uniforum approach): Likewise.
33841         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33842         (glibc iconv Implementation): Likewise.
33843
33844 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33845
33846         [BZ #14337]
33847         * math/s_clog.c (__clog): Avoid scaling a value down where that
33848         could result in underflow.
33849         * math/s_clog10.c (__clog10): Likewise.
33850         * math/s_clog10f.c (__clog10f): Likewise.
33851         * math/s_clog10l.c (__clog10l): Likewise.
33852         * math/s_clogf.c (__clogf): Likewise.
33853         * math/s_clogl.c (__clogl): Likewise.
33854         * math/libm-test.inc (clog_test): Add more tests.
33855         (clog10_test): Likewise.
33856         * sysdeps/i386/fpu/libm-test-ulps: Update.
33857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33858
33859 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33860
33861         [BZ #14283]
33862         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33863         by 7 not 8 to examine high bit of fractional part.
33864
33865         [BZ #14042]
33866         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33867         for call to __mcount_internal.
33868         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33869         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33870         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33871
33872 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33873
33874         [BZ #14154]
33875         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33876         approximation for values within 0x1p-13f of an odd multiple of
33877         pi/4.
33878         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33879         exception.  Add more tests.
33880         * sysdeps/i386/fpu/libm-test-ulps: Update.
33881
33882         [BZ #6778]
33883         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33884         inputs and return -1 for them.  Do not check for +Inf in case not
33885         reachable for +Inf.
33886         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33887         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33888         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33889         and return -1 for them.  Do not check for +Inf in case not
33890         reachable for +Inf.
33891         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33892         define.
33893         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33894         and return -1 for them.  Do not check for +Inf in case not
33895         reachable for +Inf.
33896         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33897         spurious underflow.
33898         * sysdeps/i386/fpu/libm-test-ulps: Update.
33899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33900
33901 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33902
33903         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33904
33905 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33906
33907         [BZ #14157]
33908         [BZ #14331]
33909         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33910         could result in spurious underflow.  Scale down values above
33911         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33912         * math/s_csqrtf.c (__csqrtf): Likewise.
33913         * math/s_csqrtl.c (__csqrtl): Likewise.
33914         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33915         spurious underflow.
33916         * sysdeps/i386/fpu/libm-test-ulps: Update.
33917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33918
33919 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33920
33921         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33922         xopen-msg.sed.
33923         * catgets/xopen-msg.awk: New file.
33924         * catgets/xopen-msg.sed: Removed.
33925
33926         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33927         po2text.sed.
33928         * intl/po2test.awk: New file.
33929         * intl/po2test.sed: Removed.
33930
33931 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33932
33933         [BZ #14328]
33934         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33935         or multiply small sinh result by itself.
33936         * math/s_ctanf.c (__ctanf): Likewise.
33937         * math/s_ctanh.c (__ctanh): Likewise.
33938         * math/s_ctanhf.c (__ctanhf): Likewise.
33939         * math/s_ctanhl.c (__ctanhl): Likewise.
33940         * math/s_ctanl.c (__ctanl): Likewise.
33941         * math/libm-test.inc (ctan_test_tonearest): New function.
33942         (ctan_test_towardzero): Likewise.
33943         (ctan_test_downward): Likewise.
33944         (ctan_test_upward): Likewise.
33945         (ctanh_test_tonearest): Likewise.
33946         (ctanh_test_towardzero): Likewise.
33947         (ctanh_test_downward): Likewise.
33948         (ctanh_test_upward): Likewise.
33949         (main): Call these new functions.
33950         * sysdeps/i386/fpu/libm-test-ulps: Update.
33951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33952
33953 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33954
33955         * .gitignore: Delete /ports entry.
33956
33957 2012-07-03  Andreas Jaeger  <aj@suse.de>
33958
33959         * po/bg.po: Update from translation team.
33960         * po/cs.po: Likewise.
33961         * po/de.po: Likewise.
33962         * po/hr.po: Likewise.
33963         * po/nl.pl: Likewise.
33964         * po/pl.po: Likewise.
33965         * po/vi.po: Likewise.
33966
33967 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33968
33969         * Makeconfig [!+link] (+link-before-libc): New variable.
33970         [!+link] (+link-after-libc): Likewise.
33971         [!+link] (+link-tests): Likewise.
33972         [!+link] (+link): Define in terms of $(+link-before-libc) and
33973         $(+link-after-libc).
33974         [!+link-static] (+link-static-before-libc): New variable.
33975         [!+link-static] (+link-static-after-libc): Likewise.
33976         [!+link-static] (+link-static-tests): Likewise.
33977         [!+link-static] (+link-static): Define in terms of
33978         $(+link-static-before-libc) and $(+link-static-after-libc).
33979         [build-shared] (link-libc-before-gnulib): New variable.
33980         [build-shared] (link-libc-tests): Likewise.
33981         [build-shared] (link-libc): Define in terms of
33982         $(link-libc-before-gnulib).
33983         [!build-shared] (link-libc-tests): New variable.
33984         (link-libc-static-tests): New variable.
33985         [!gnulib] (gnulib-arch): New variable.
33986         [!gnulib] (gnulib-tests): Likewise.
33987         [!gnulib] (static-gnulib-arch): Likewise.
33988         [!gnulib] (static-gnulib-tests): Likewise.
33989         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33990         Define with "=" instead of ":=".
33991         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33992         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33993         * Rules (binaries-all-notests): New variable.
33994         (binaries-all-tests): Likewise.
33995         (binaries-static-notests): Likewise.
33996         (binaries-static-tests): Likewise.
33997         (binaries-all): Define using $(binaries-all-notests) and
33998         $(binaries-all-tests).
33999         (binaries-static): Define using $(binaries-static-notests) and
34000         $(binaries-static-tests).
34001         (binaries-shared-tests): New variable.
34002         (binaries-shared-notests): Likewise.
34003         (binaries-shared): Remove variable.
34004         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34005         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34006         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34007         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34008         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34009         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34010         * elf/Makefile (sln-modules): New variable.
34011         (extra-objs): Add $(sln-modules:=.o).
34012         (ldconfig-modules): Add static-stubs.
34013         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34014         * elf/static-stubs.c: New file.
34015
34016         [BZ #14283]
34017         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34018         by 7 not 8 to examine high bit of fractional part.  Use volatile
34019         variables when splitting into final array of floats if
34020         __FLT_EVAL_METHOD__ != 0.
34021         * math/libm-test.inc (cos_test): Add another test.
34022         (sin_test): Likewise.
34023         * sysdeps/i386/fpu/libm-test-ulps: Update.
34024
34025         [BZ #14273]
34026         * math/libm-test.inc (cosh_test): Add more tests.
34027
34028         * version.h (RELEASE): Set to "development".
34029         (VERSION): Set to "2.16.90".
34030
34031 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
34032
34033         * NEWS: Update copyright. Remove last-updated date.
34034         Mention math library bug fixes and timezone data changes.
34035         * README: Mention GNU/Hurd, x32, and HPPA support status.
34036
34037 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
34038
34039         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34040
34041 2012-06-27  Andreas Jaeger  <aj@suse.de>
34042
34043         * manual/contrib.texi (Contributors): Add Samuel Thibault.
34044
34045 2012-06-25  Andreas Jaeger  <aj@suse.de>
34046
34047         * sysdeps/s390/fpu/libm-test-ulps: Update.
34048
34049 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
34050             Thomas Schwinge  <thomas@codesourcery.com>
34051
34052         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34053         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34054         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34055         fanotify_mark.
34056
34057 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
34058
34059         * sysdeps/mach/start.c: Remove file.
34060         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34061         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34062         * sysdeps/sh/init-first.c: Likewise.
34063
34064         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34065         registers for frame unwinding purposes, add CFI directives.
34066         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34067         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34068         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34069         Likewise.
34070
34071         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34072         __fortify_fail returning.
34073         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34074
34075         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34076         sysdeps/sh/____longjmp_chk.S.
34077         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34078         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34079         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34080         (gen-as-const-headers): Append sigaltstack-offsets.sym.
34081
34082         * sysdeps/sh/abort-instr.h: New file.
34083         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34084         process in case exit returns.
34085
34086         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34087         initialize the GOT register before use.
34088
34089         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34090         calculation of ARGC > 4.
34091
34092         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34093         meaningful names to some local labels.
34094
34095 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34096             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34097
34098         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34099         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34100         (__arch_compare_and_exchange_val_16_acq): Likewise.
34101         (__arch_compare_and_exchange_val_32_acq): Likewise.
34102         (atomic_exchange_and_add): Fix gUSA sequence.
34103         (atomic_add): Likewise.
34104         (atomic_add_negative): Likewise.
34105         (atomic_add_zero): Likewise.
34106         (atomic_bit_test_set): Likewise.
34107
34108 2012-06-22  Andreas Schwab  <schwab@redhat.com>
34109
34110         [BZ #13579]
34111         * include/link.h (struct link_map): Add l_free_initfini.
34112         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34113         l_initfini.
34114         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34115         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34116         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34117         set.
34118
34119 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
34120
34121         * configure.in: Use AC_LANG_SOURCE.
34122         * configure: Regenerate.
34123
34124 2012-06-22  Roland McGrath  <roland@hack.frob.com>
34125
34126         * configure.in (libc_cv_localstatedir): New substituted variable.
34127         * configure: Regenerated.
34128         * config.make.in (localstatedir): New variable, substituted from
34129         libc_cv_localstatedir.
34130         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34131         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34132         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34133         * sysdeps/gnu/configure: Regenerated.
34134
34135 2012-06-21  Jeff Law  <law@redhat.com>
34136
34137         [BZ #14277]
34138         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34139         free.  Simplify list management for _LIBC case.
34140
34141 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
34142
34143         [BZ #14273]
34144         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34145         Clear sign bit of 64-bit integer value before comparing against
34146         overflow value.
34147
34148         * sysdeps/mach/configure: Regenerated.
34149
34150 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
34151
34152         [BZ #14278]
34153         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34154
34155 2012-06-21  Jeff Law  <law@redhat.com>
34156
34157         [BZ #13882]
34158         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34159         uint16_t for elements in the "seen" array to avoid char overflows.
34160         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34161         * elf/dl-open.c (dl_open_worker): Likewise.
34162
34163 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34164
34165         * scripts/list-sources.sh: Scan PORTS for translations.
34166         * po/libc.pot: Regenerated.
34167
34168 2012-06-21  Andreas Jaeger  <aj@suse.de>
34169
34170         [BZ #12194]
34171         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34172         warning.
34173         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34174         * bits/byteswap-16.h (__bswap_16): Likewise.
34175         * bits/byteswap.h (__bswap_constant_16): Likewise.
34176
34177 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34178
34179         [BZ #14117]
34180         * sysdeps/i386/fpu_control.h: Removed.
34181         * sysdeps/x86_64/fpu_control.h: Moved to ...
34182         * sysdeps/x86/fpu_control.h: Here.
34183
34184         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34185         (_FPU_SETCW): Likewise.
34186
34187 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34188
34189         [BZ #14117]
34190         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34191         * sysdeps/x86/fpu/bits/mathinline.h: This.
34192         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34193
34194         [BZ #14050]
34195         [BZ #14117]
34196         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34197         functions if __x86_64__ is defined.
34198
34199 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34200
34201         * string/endian.h: Add !__ASSEMBLER__ condition for including
34202         conversion interfaces.
34203
34204 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34205
34206         [BZ #14241]
34207         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34208         of ABS(x) in calculating zero to negative powers other than odd
34209         integers.
34210         * math/libm-test.inc (pow_test): Add more tests.
34211
34212 2012-06-15  Andreas Jaeger  <aj@suse.de>
34213
34214         * manual/contrib.texi (Contributors): Update entry of Liubov
34215         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34216         Machado Filho.
34217
34218 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34219
34220         * string/string.h: Add __wur to GNU version of strerror_r.
34221
34222 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34223
34224         [BZ #14229]
34225         * string/Makefile (tests): Add tst-strtok_r.
34226         * string/tst-strtok_r.c: New file.
34227         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34228         RAX_LP/RDX_LP on SAVE_PTR.
34229
34230 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34231
34232         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34233
34234 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34235
34236         * libm_test.inc (csqrt_test): Allow more spurious underflow
34237         exceptions.
34238         (j0_test): Likewise.
34239         (j1_test): Likewise.
34240         (y0_test): Likewise.
34241         (y1_test): Likewise.
34242
34243 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34244
34245         * po/Makefile (libc.pot): Use UTF-8 charset.
34246
34247 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34248
34249         [BZ #14210]
34250         Suppress sign-conversion warning from FD_SET.
34251         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34252         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34253         not unsigned long int.
34254         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34255
34256 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34257
34258         [BZ #14050]
34259         [BZ #14117]
34260         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34261         __extern_always_inline instead of __extern_inline.
34262         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34263         (__signbit): Likewise.
34264         (__signbitl): Support C++ namespace.
34265         (lrintf): New inline function.
34266         (lrint): Likewise.
34267         (llrintf): Likewise.
34268         (llrint): Likewise.
34269         (fmaxf): Likewise.
34270         (fmax): Likewise.
34271         (fminf): Likewise.
34272         (fmin): Likewise.
34273         (rint): Likewise.
34274         (rintf): Likewise.
34275         (ceil): Likewise.
34276         (ceilf): Likewise.
34277         (floor): Likewise.
34278         (floorf): Likewise.
34279         (nearbyint): Likewise.
34280         (nearbyintf): Likewise.
34281
34282 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34283
34284         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34285         non-default versions.
34286
34287 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34288
34289         [BZ #14218]
34290         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34291
34292 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34293
34294         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34295         (FE_UPWARD, FE_DOWNWARD): Don't define.
34296         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34297         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34298
34299         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34300         reading it.
34301         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34302         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34303
34304 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34305
34306         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34307         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34308         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34309         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34310
34311 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34312
34313         [BZ #14117]
34314         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34315         * sysdeps/i386/fpu/Implies: New file.
34316         * sysdeps/x86_64/fpu/Implies: Likewise.
34317         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34318         * sysdeps/x86/fpu/bits/fenv.h: This.
34319
34320         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34321         __SSE_MATH__.
34322
34323 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34324
34325         [BZ #14134]
34326         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34327         character 0xffff that matches the last element of the
34328         conversion table.
34329
34330 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34331
34332         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34333         fmodl commit.
34334
34335 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34336
34337         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34338         values higher than 25.6283.
34339
34340 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34341
34342         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34343         subnormal exponent extraction and add some __builtin_expect.
34344         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34345         Fix for subnormal mantissa calculation.
34346
34347 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34348
34349         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34350         cpu2 is -1 and errno is not ENOSYS.
34351
34352 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34353
34354         [BZ #14117]
34355         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34356         * sysdeps/x86/bits/string.h: This.
34357         * sysdeps/x86_64/bits/string.h: Removed.
34358
34359         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34360         if not compiling for x86-64, but compiling for >= i486.
34361
34362         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34363         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34364
34365         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34366         New macro from Linux kernel 3.4.0.
34367         (FP_XSTATE_MAGIC2): Likewise.
34368         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34369         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34370         (struct _fpx_sw_bytes): New struct.
34371         (struct _xsave_hdr): Likewise.
34372         (struct _ymmh_state): Likewise.
34373         (struct _xstate): Likewise.
34374
34375         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34376         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34377         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34378         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34379         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34380         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34381
34382         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34383         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34384         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34385         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34386         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34387         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34388
34389 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34390
34391         [BZ #13743]
34392         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34393         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34394         (sysdep_headers): Include sys/platform/ppc.h.
34395         * sysdeps/powerpc/test-gettimebase.c: Test for
34396         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34397         * manual/Makefile (appendices): Include platform.texi.
34398         * manual/contrib.texi (Contributors): Update @node pointers.
34399         * manual/maint.texi (Maintenance): Likewise.
34400         (Platform): New node.
34401         * manual/platform.texi: New file.  Document the new features.
34402
34403 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34404             Jakub Jelinek  <jakub@redhat.com>
34405
34406         [BZ #14188]
34407         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34408         where __builtin_expect is unavailable.
34409
34410 2012-06-03  David S. Miller  <davem@davemloft.net>
34411
34412         * stdlib/longlong.h: Updated from GCC.
34413
34414 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34415
34416         [BZ #14042]
34417         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34418         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34419         __mcount_internal.
34420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34421         (GLIBC_2.16): Likewise.
34422
34423 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34424
34425         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34426
34427 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34428
34429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34430         (default-abi): New variable.
34431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34432         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34433         variable.
34434         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34435         Likewise.
34436         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34437         Likewise.
34438         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34439         Likewise.
34440
34441         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34442         definition.  Document in comment.
34443
34444 2012-06-01  David S. Miller  <davem@davemloft.net>
34445
34446         * stdlib/longlong.h: Updated from GCC.
34447
34448 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34449
34450         [BZ #14117]
34451         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34452         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34453         sys/debugreg.h sys/io.h here.
34454         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34455         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34456         sys/io.h.
34457         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34458         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34459         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34460         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34461         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34462         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34463
34464         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34465         Define only if __x86_64__ is defined.
34466
34467 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34468
34469         [BZ #14048]
34470         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34471         Use int64_t for variable i.
34472         * math/libm-test.inc (fmod_test): Add more tests.
34473
34474         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34475         z computation is not scheduled after fetestexcept.
34476         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34477         Use math_force_eval instead of asm to ensure calculation scheduled
34478         before exception test.
34479         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34480         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34481
34482 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34483
34484         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34485         computation is not scheduled after fetestexcept.
34486
34487 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34488
34489         [BZ #14117]
34490         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34491         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34492
34493 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34494
34495         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34496         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34497
34498 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34499
34500         [BZ #14117]
34501         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34502         <bits/wordsize.h>.
34503         (__WCHAR_MIN): Support __WORDSIZE == 64.
34504         (__WCHAR_MAX): Likewise.
34505
34506         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34507         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34508
34509         [BZ #14183]
34510         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34511         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34512
34513         [BZ #14117]
34514         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34515         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34516
34517         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34518         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34519
34520         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34521         Defined to 1 if __x86_64__ isn't defined.
34522         (_STAT_VER_LINUX_OLD): New.
34523         (st_atime): Remove duplicate.
34524         (st_mtime): Likewise.
34525         (st_ctime): Likewise.
34526
34527 2012-05-31  David S. Miller  <davem@davemloft.net>
34528
34529         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34530         entries.
34531
34532 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34533
34534         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34535         gen-libm-test.pl.
34536
34537         [BZ #14132]
34538         * elf/dl-reloc.c: Include <_itoa.h>.
34539         (_dl_reloc_bad_type): Remove use of INTUSE.
34540         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34541         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34542         * stdio-common/psiginfo.c (psiginfo): Likewise.
34543         * stdio-common/psignal.c (psignal): Likewise.
34544         * string/strsignal.c (strsignal): Likewise.
34545         * include/signal.h (_sys_siglist): Declare hidden proto.
34546         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34547         INTVARDEF with libc_hidden_data_def.
34548         * stdio-common/itoa-udigits.c: Likewise.
34549         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34550         (_itoa_lower_digits_internal): Remove declaration.
34551         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34552         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34553         (_sys_sigabbrev_internal): Remove aliases.
34554         (_sys_siglist): Define hidden alias.
34555
34556 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34557
34558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34559         bits/sysctl.h.
34560
34561 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34562
34563         [BZ #14117]
34564         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34565         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34566
34567         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34568         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34569         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34570         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34571         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34572         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34573
34574         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34575         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34576         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34577
34578         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34579         with __addr.
34580         (insw): Likewise.
34581         (insl): Likewise.
34582         (outsb): Likewise.
34583         (outsw): Likewise.
34584         (outsl): Likewise.
34585
34586         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34587         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34588         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34589
34590         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34591         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34592         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34593         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34594         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34595         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34596
34597         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34598         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34599
34600         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34601         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34602
34603         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34604         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34605         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34606
34607         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34608         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34609         to ...
34610         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34611
34612         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34613         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34614         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34615
34616         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34617         for x86-64.
34618         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34619
34620 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34621
34622         * math/math.h (M_El): Use two more decimal places.
34623         (M_LOG2El): Likewise.
34624         (M_LOG10El): Likewise.
34625         (M_LN2l): Likewise.
34626         (M_LN10l): Likewise.
34627         (M_PIl): Likewise.
34628         (M_PI_2l): Likewise.
34629         (M_PI_4l): Likewise.
34630         (M_1_PIl): Likewise.
34631         (M_2_PIl): Likewise.
34632         (M_2_SQRTPIl): Likewise.
34633         (M_SQRT2l): Likewise.
34634         (M_SQRT1_2l): Likewise.
34635
34636 2012-05-31  David S. Miller  <davem@davemloft.net>
34637
34638         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34639         values between float registers.
34640         * sysdeps/sparc/sparc64/memset.S: Likewise.
34641         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34642
34643 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34644
34645         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34646         -D_FORTIFY_SOURCE=1.
34647         (CPPFLAGS-tst-longjmp_chk.c): Define.
34648         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34649         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34650         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34651         CFLAGS-tst-wchar-h.c.
34652
34653 2012-05-31  Marek Polacek  <polacek@redhat.com>
34654
34655         [BZ #14132]
34656         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34657         __endmntent_internal): Remove declaration.
34658         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34659         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34660         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34661
34662 2012-05-30  David S. Miller  <davem@davemloft.net>
34663
34664         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34665         (___Q_simulate_exceptions): Use real FP ops rather than writing
34666         into the %fsr.
34667         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34668         Likewise.
34669
34670 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34671
34672         [BZ #14117]
34673         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34674         * sysdeps/x86/bits/xtitypes.h: This.
34675
34676         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34677         * sysdeps/x86/bits/wordsize.h: This.
34678
34679         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34680         * sysdeps/x86/bits/huge_vall.h: This.
34681
34682         * sysdeps/i386/bits/select.h: Removed.
34683         * sysdeps/x86_64/bits/select.h: Renamed to ...
34684         * sysdeps/x86/bits/select.h: This.
34685
34686         * sysdeps/i386/bits/setjmp.h: Removed.
34687         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34688         * sysdeps/x86/bits/setjmp.h: This.
34689
34690         * sysdeps/i386/bits/mathdef.h: Removed.
34691         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34692         * sysdeps/x86/bits/mathdef.h: This.
34693
34694 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34695
34696         [BZ #14132]
34697         * include/sys/socket.h (__connect_internal)
34698         (__libc_sa_len_internal): Remove declaration.
34699         (__connect, __libc_sa_len): Declare hidden_proto.
34700         (SA_LEN): Remove use of INTUSE.
34701         * socket/connect.c: Add libc_hidden_def.
34702         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34703         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34704         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34705         alias.
34706         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34707         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34708         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34709         of adding _internal alias.
34710
34711 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34712
34713         [BZ #14117]
34714         * sysdeps/i386/bits/link.h: Removed.
34715         * sysdeps/i386/bits/linkmap.h: Likewise.
34716         * sysdeps/x86_64/bits/link.h: Renamed to ...
34717         * sysdeps/x86/bits/link.h: This.
34718         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34719         * sysdeps/x86/bits/linkmap.h: This.
34720
34721         * sysdeps/i386/bits/endian.h: Removed.
34722         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34723         * sysdeps/x86/bits/endian.h: This.
34724
34725         * sysdeps/i386/bits/byteswap.h: Removed.
34726         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34727         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34728         * sysdeps/x86/bits/byteswap.h: This.
34729         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34730         * sysdeps/x86/bits/byteswap-16.h: This.
34731         * sysdeps/i386/Implies: Add x86.
34732         * sysdeps/x86_64/Implies: Likewise.
34733
34734 2012-05-30  David S. Miller  <davem@davemloft.net>
34735
34736         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34737         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34738         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34739         (FP_TRAPPING_EXCEPTIONS): Define.
34740         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34741         (FP_TRAPPING_EXCEPTIONS): Define.
34742         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34743         subnormals only when inexact has been signalled or underflow
34744         exceptions are enabled.
34745         (_FP_PACK_CANONICAL): Likewise.
34746
34747 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34748
34749         [BZ #14183]
34750         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34751         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34752
34753 2012-05-30  Richard Henderson  <rth@twiddle.net>
34754
34755         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34756         with #ifndef NOT_IN_libc.
34757
34758         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34759         marked to avoid plt entry.
34760
34761 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34762
34763         [BZ #14112]
34764         * Makeconfig (default-abi): New macro.
34765         (abi-includes): Likewise.
34766         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34767         $(abi-$(default-abi)-lib-soname) for soname if defined.
34768         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34769         abi-variants.
34770         * Makefile (installed-stubs): Likewise.
34771         * include/stubs-biarch.h: Removed.
34772         * scripts/lib-names.awk: Only handle one library at a time.
34773         * scripts/soversions.awk: Remove WORDSIZE support.
34774         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34775         entries.
34776         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34777         Removed.
34778         (syscall-list-default-condition): Likewise.
34779         (syscall-list-default-condition): Likewise.
34780         (syscall-list-includes): Likewise.
34781         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34782         syscall-list-* with abi-*.  Handle undefined abi-variants.
34783         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34784         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34785         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34786         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34787         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34788         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34789         Removed.
34790         (syscall-list-32-options): Likewise.
34791         (syscall-list-32-condition): Likewise.
34792         (syscall-list-64-options): Likewise.
34793         (syscall-list-64-condition): Likewise.
34794         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34795         macro.
34796         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34797         Renamed to ...
34798         (abi-*): This.
34799         (abi-64-ld-soname): New macro.
34800         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34801         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34802         Renamed to ...
34803         (abi-*): This.
34804         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34805         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34806
34807 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34808
34809         * sysdeps/unix/sysv/linux/kernel-features.h
34810         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34811         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34812         include <kernel-features.h>.
34813         [!__NR_ftruncate64]: Remove conditional code.
34814         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34815         [__NR_ftruncate64]: Make code unconditional.
34816         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34817         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34818         include <kernel-features.h>.
34819         [!__NR_ftruncate64]: Remove conditional code.
34820         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34821         [__NR_ftruncate64]: Make code unconditional.
34822         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34824         include <kernel-features.h>.
34825         [!__NR_ftruncate64]: Remove conditional code.
34826         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34827         [__NR_ftruncate64]: Make code unconditional.
34828         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34830         include <kernel-features.h>.
34831         [!__NR_ftruncate64]: Remove conditional code.
34832         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34833         [__NR_ftruncate64]: Make code unconditional.
34834         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34835
34836         * configure.in (libc_cv_fpie): Weaken to a compile test using
34837         LIBC_TRY_CC_OPTION.
34838         * configure: Regenerated.
34839
34840 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34841
34842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34846         Refreshed.
34847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34853         Refreshed.
34854
34855 2012-05-27  David S. Miller  <davem@davemloft.net>
34856
34857         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34858         (___Q_zero): New.
34859         (__Q_simulate_exceptions): Return void.  Change to simulate
34860         exceptions by writing into the %fsr.
34861         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34862         (__Qp_handle_exceptions): Likewise.
34863         (numbers): Delete.
34864         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34865         __Qp_handle_exceptions.
34866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34867         __Qp_handle_exceptions.
34868         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34869         as unused and give dummy FP_RND_NEAREST initializer.
34870         (FP_INHIBIT_RESULTS): Define.
34871         (___Q_simulate_exceptions): Update declaration.
34872         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34873         formatting.
34874         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34875         as unused and give dummy FP_RND_NEAREST initializer.
34876         (__Qp_handle_exceptions): Update declaration.
34877         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34878         formatting.
34879
34880 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34881
34882         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34883         the temporary FPU control word.
34884         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34885         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34886         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34887         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34888         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34889         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34890         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34891         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34892         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34893         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34894         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34895
34896 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34897
34898         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34899         fields.
34900
34901 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34902
34903         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34904         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34905         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34906         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34907         Likewise.
34908         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34909         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34910         Likewise.
34911
34912 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34913
34914         * po/h.po: Update from translation team.
34915
34916 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34917
34918         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34919
34920         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34921         handling of denormals.
34922         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34923         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34924         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34925         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34926         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34927         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34928         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34929         Likewise.
34930
34931 2012-05-26  Marek Polacek  <polacek@redhat.com>
34932
34933         [BZ #14152]
34934         * math/libm-test.inc (fma_test): Don't always expect underflow
34935         exception.
34936
34937 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34938
34939         [BZ #12416]
34940         * elf/tst-execstack.c: Include stackinfo.h.
34941         (do_test): Adjust test case to ensure that pthread_getattr_np
34942         behaviour remains the same after marking stack executable.
34943
34944 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34945
34946         * sysdeps/unix/sysv/linux/kernel-features.h
34947         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34948         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34949         kernel-features.h.
34950         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34951         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34952         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34953         kernel-features.h.
34954         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34955         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34956
34957 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34958
34959         * configure.in: Define the default includes to being none.
34960         * configure: Regenerated.
34961
34962 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34963
34964         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34965         * sysdeps/x86_64/setjmp.S: Likewise.
34966         * sysdeps/i386/bsd-setjmp.S: Likewise.
34967         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34968         * sysdeps/i386/setjmp.S: Likewise.
34969         * sysdeps/i386/__longjmp.S: Likewise.
34970         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34971         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34972
34973         * include/stap-probe.h: New file.
34974         * configure.in: Handle --enable-systemtap.
34975         * configure: Regenerated.
34976         * config.h.in (USE_STAP_PROBE): New #undef.
34977         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34978         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34979         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34980
34981 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34982
34983         [BZ #13717]
34984         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34985         to 2.4.0 where earlier.
34986         * sysdeps/unix/sysv/linux/configure: Regenerated.
34987         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34988         <kernel-features.h>.
34989         [__ASSUME_32BITUIDS]: Make code unconditional.
34990         [!__ASSUME_32BITUIDS]: Remove conditional code.
34991         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34992         <kernel-features.h>.
34993         [__ASSUME_32BITUIDS]: Make code unconditional.
34994         [!__ASSUME_32BITUIDS]: Remove conditional code.
34995         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34996         [__ASSUME_32BITUIDS]: Make code unconditional.
34997         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34998         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34999         <kernel-features.h>.
35000         [__ASSUME_32BITUIDS]: Make code unconditional.
35001         [!__ASSUME_32BITUIDS]: Remove conditional code.
35002         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35003         <kernel-features.h>.
35004         [__ASSUME_32BITUIDS]: Make code unconditional.
35005         [!__ASSUME_32BITUIDS]: Remove conditional code.
35006         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35007         <kernel-features.h>.
35008         [__ASSUME_32BITUIDS]: Make code unconditional.
35009         [!__ASSUME_32BITUIDS]: Remove conditional code.
35010         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35011         <kernel-features.h>.
35012         [__ASSUME_32BITUIDS]: Make code unconditional.
35013         [!__ASSUME_32BITUIDS]: Remove conditional code.
35014         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35015         <kernel-features.h>.
35016         [__ASSUME_32BITUIDS]: Make code unconditional.
35017         [!__ASSUME_32BITUIDS]: Remove conditional code.
35018         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35019         <kernel-features.h>.
35020         [__ASSUME_32BITUIDS]: Make code unconditional.
35021         [!__ASSUME_32BITUIDS]: Remove conditional code.
35022         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35023         <kernel-features.h>.
35024         [__ASSUME_32BITUIDS]: Make code unconditional.
35025         [!__ASSUME_32BITUIDS]: Remove conditional code.
35026         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35027         <kernel-features.h>.
35028         [__ASSUME_32BITUIDS]: Make code unconditional.
35029         [!__ASSUME_32BITUIDS]: Remove conditional code.
35030         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35031         <kernel-features.h>.
35032         [__ASSUME_32BITUIDS]: Make code unconditional.
35033         [!__ASSUME_32BITUIDS]: Remove conditional code.
35034         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35035         <kernel-features.h>.
35036         [__ASSUME_32BITUIDS]: Make code unconditional.
35037         [!__ASSUME_32BITUIDS]: Remove conditional code.
35038         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35039         <kernel-features.h>.
35040         [__NR_setresgid] (__setresgid): Do not declare.
35041         [__ASSUME_32BITUIDS]: Make code unconditional.
35042         [!__ASSUME_32BITUIDS]: Remove conditional code.
35043         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35044         <kernel-features.h>.
35045         [__NR_setresuid] (__setresuid): Do not declare.
35046         [__ASSUME_32BITUIDS]: Make code unconditional.
35047         [!__ASSUME_32BITUIDS]: Remove conditional code.
35048         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35049         <kernel-features.h>.
35050         [__ASSUME_32BITUIDS]: Make code unconditional.
35051         [!__ASSUME_32BITUIDS]: Remove conditional code.
35052         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35053         <kernel-features.h>.
35054         [__ASSUME_32BITUIDS]: Make code unconditional.
35055         [!__ASSUME_32BITUIDS]: Remove conditional code.
35056         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35057         <kernel-features.h>.
35058         [__ASSUME_32BITUIDS]: Make code unconditional.
35059         [!__ASSUME_32BITUIDS]: Remove conditional code.
35060         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35061         <kernel-features.h>.
35062         [__ASSUME_32BITUIDS]: Make code unconditional.
35063         [!__ASSUME_32BITUIDS]: Remove conditional code.
35064         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35065         <kernel-features.h>.
35066         [__ASSUME_32BITUIDS]: Make code unconditional.
35067         [!__ASSUME_32BITUIDS]: Remove conditional code.
35068         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35069         <kernel-features.h>.
35070         [__ASSUME_32BITUIDS]: Make code unconditional.
35071         [!__ASSUME_32BITUIDS]: Remove conditional code.
35072         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35073         <kernel-features.h>.
35074         [__ASSUME_32BITUIDS]: Make code unconditional.
35075         [!__ASSUME_32BITUIDS]: Remove conditional code.
35076         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35077         <kernel-features.h>.
35078         [__ASSUME_32BITUIDS]: Make code unconditional.
35079         [!__ASSUME_32BITUIDS]: Remove conditional code.
35080         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35081         <kernel-features.h>.
35082         [__ASSUME_32BITUIDS]: Make code unconditional.
35083         [!__ASSUME_32BITUIDS]: Remove conditional code.
35084         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35085         <kernel-features.h>.
35086         [__ASSUME_32BITUIDS]: Make code unconditional.
35087         [!__ASSUME_32BITUIDS]: Remove conditional code.
35088         * sysdeps/unix/sysv/linux/kernel-features.h
35089         (__ASSUME_SETRESUID_SYSCALL): Remove.
35090         (__ASSUME_SETRESGID_SYSCALL): Likewise.
35091         (__ASSUME_32BITUIDS): Likewise.
35092         (__ASSUME_LDT_WORKS): Likewise.
35093         (__ASSUME_O_DIRECTORY): Likewise.
35094         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35095         architecture but not kernel version.
35096         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35097         (__ASSUME_MMAP2_SYSCALL): Likewise.
35098         (__ASSUME_STAT64_SYSCALL): Likewise.
35099         (__ASSUME_IPC64): Likewise.
35100         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35101         <kernel-features.h>.
35102         [__ASSUME_32BITUIDS]: Make code unconditional.
35103         [!__ASSUME_32BITUIDS]: Remove conditional code.
35104         * sysdeps/unix/sysv/linux/opendir.c: Do not include
35105         <kernel-features.h>.
35106         [__ASSUME_O_DIRECTORY]: Make code unconditional.
35107         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35108         132096]: Remove conditional code.
35109         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35110         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35111         <kernel-features.h>.
35112         [__ASSUME_32BITUIDS]: Make code unconditional.
35113         [!__ASSUME_32BITUIDS]: Remove conditional code.
35114         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35115         <kernel-features.h>.
35116         [__ASSUME_32BITUIDS]: Make code unconditional.
35117         [!__ASSUME_32BITUIDS]: Remove conditional code.
35118         * sysdeps/unix/sysv/linux/setegid.c: Do not include
35119         <kernel-features.h>.
35120         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35121         unconditional.
35122         (__setresgid): Do not declare.
35123         [__ASSUME_32BITUIDS]: Make code unconditional.
35124         [!__ASSUME_32BITUIDS]: Remove conditional code.
35125         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35126         <kernel-features.h>.
35127         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35128         unconditional.
35129         (__setresuid): Do not declare.
35130         [__ASSUME_32BITUIDS]: Make code unconditional.
35131         [!__ASSUME_32BITUIDS]: Remove conditional code.
35132         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35133         <kernel-features.h>.
35134         [__ASSUME_32BITUIDS]: Make code unconditional.
35135         [!__ASSUME_32BITUIDS]: Remove conditional code.
35136         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35137         <kernel-features.h>.
35138         [__ASSUME_32BITUIDS]: Make code unconditional.
35139         [!__ASSUME_32BITUIDS]: Remove conditional code.
35140
35141 2012-05-25  Richard Henderson  <rth@twiddle.net>
35142
35143         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35144         dl_hwcap to ifunc resolver.
35145         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35146         elf_ifunc_invoke.
35147         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35148         dl_hwcap to ifunc resolver.
35149         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35150
35151 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35152
35153         [BZ #14153]
35154         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35155         for |x| <= 2**-26, not 2**-57.
35156         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35157         exception.
35158
35159 2012-05-24  Jeff Law  <law@redhat.com>
35160
35161         * stdio-common/Makefile (tests): Add bug25.
35162         * stdio-common/bug25.c: New test.
35163
35164 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35165
35166         [BZ #13576]
35167         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35168         multiple of MALLOC_ALIGNMENT in size.
35169         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35170
35171 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35172
35173         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35174         Require >= 256.
35175         (FILENAME_MAX): Use macro-int-constant.
35176         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35177         (_IOFBF): Use macro-int-constant.
35178         (_IOLBF): Likewise.
35179         (_IONBF): Likewise.
35180         (SEEK_CUR): Likewise.
35181         (SEEK_END): Likewise.
35182         (SEEK_SET): Likewise.
35183         (TMP_MAX): Likewise.
35184         (EOF): Use macro-int-constant.  Require < 0.
35185         (NULL): Use macro-constant.  Require == 0.
35186         (stdin): Require type to be FILE *.
35187         (stdout): Likewise.
35188         (stderr): Likewise.
35189         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35190         macro-int-constant.
35191         (EXIT_SUCCESS): Likewise.
35192         (NULL): Use macro-constant.  Require == 0.
35193         (RAND_MAX): Use macro-int-constant.
35194         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35195         [C99-based standards] (strtof): Require function.
35196         [C99-based standards] (strtold): Likewise.
35197         [C99-based standards] (strtoll): Likewise.
35198         [C99-based standards] (strtoull): Likewise.
35199         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35200         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35201         [ISO || ISO99 || ISO11] (math.h): Likewise.
35202         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35203         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35204         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35205
35206 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35207
35208         [BZ #14132]
35209         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35210         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35211         * intl/dgettext.c (DCGETTEXT): Likewise.
35212         * intl/gettext.c (DCGETTEXT): Likewise.
35213         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35214         * posix/regex_internal.h (gettext): Likewise.
35215         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35216         Remove declaration.
35217         * include/argz.h (__argz_count_internal)
35218         (__argz_stringify_internal): Remove declaration.
35219         (__argz_count, __argz_stringify): Declare hidden proto.
35220         * intl/dcgettext.c: Remove use of INTDEF.
35221         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35222         * string/argz-stringify.c: Likewise.
35223         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35224         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35225         Declare hidden proto.
35226         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35227         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35228         Declare hidden proto.
35229         * include/stdio.h (__asprintf_internal): Don't declare.
35230         (__asprintf): Don't define as macro.  Declare hidden proto.
35231         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35232         (__fsetlocking): Declare hidden proto.
35233         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35234         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35235         hidden proto.
35236         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35237         (_IO_setlinebuf): Remove use of INTUSE.
35238         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35239         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35240         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35241         Remove declaration.
35242         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35243         (_IO_do_flush): Remove use of INTUSE.
35244         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35245         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35246         (_IO_adjust_column, _IO_least_wmarker)
35247         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35248         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35249         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35250         (_IO_default_doallocate, _IO_wdefault_doallocate)
35251         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35252         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35253         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35254         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35255         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35256         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35257         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35258         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35259         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35260         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35261         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35262         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35263         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35264         proto.
35265         (_IO_flush_all_internal, _IO_adjust_column_internal)
35266         (_IO_default_uflow_internal, _IO_default_finish_internal)
35267         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35268         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35269         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35270         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35271         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35272         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35273         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35274         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35275         (_IO_file_close_internal, _IO_file_close_it_internal)
35276         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35277         (_IO_file_init_internal, _IO_file_attach_internal)
35278         (_IO_file_fopen_internal, _IO_file_read_internal)
35279         (_IO_file_sync_internal, _IO_file_seek_internal)
35280         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35281         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35282         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35283         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35284         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35285         (_IO_list_all_internal, _IO_link_in_internal)
35286         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35287         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35288         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35289         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35290         (_IO_do_write_internal, _IO_padn_internal)
35291         (_IO_getline_info_internal, _IO_getline_internal)
35292         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35293         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35294         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35295         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35296         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35297         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35298         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35299         with libc_hidden_ver, remove use of INTUSE.
35300         * libio/genops.c: Likewise.
35301         * libio/freopen.c: Likewise.
35302         * libio/freopen64.c: Likewise.
35303         * libio/iofclose.c: Likewise.
35304         * libio/iofdopen.c: Likewise.
35305         * libio/iofflush.c: Likewise.
35306         * libio/iofflush_u.c: Likewise.
35307         * libio/iofgets.c: Likewise.
35308         * libio/iofgets_u.c: Likewise.
35309         * libio/iofopen.c: Likewise.
35310         * libio/iofopncook.c: Likewise.
35311         * libio/iofread.c: Likewise.
35312         * libio/iofread_u.c: Likewise.
35313         * libio/ioftell.c: Likewise.
35314         * libio/iofwrite.c: Likewise.
35315         * libio/iogetline.c: Likewise.
35316         * libio/iogets.c: Likewise.
35317         * libio/iogetwline.c: Likewise.
35318         * libio/iopadn.c: Likewise.
35319         * libio/iopopen.c: Likewise.
35320         * libio/ioseekoff.c: Likewise.
35321         * libio/ioseekpos.c: Likewise.
35322         * libio/iosetbuffer.c: Likewise.
35323         * libio/iosetvbuf.c: Likewise.
35324         * libio/ioungetc.c: Likewise.
35325         * libio/ioungetwc.c: Likewise.
35326         * libio/iovdprintf.c: Likewise.
35327         * libio/iovsprintf.c: Likewise.
35328         * libio/iovsscanf.c: Likewise.
35329         * libio/memstream.c: Likewise.
35330         * libio/obprintf.c: Likewise.
35331         * libio/oldfileops.c: Likewise.
35332         * libio/oldiofclose.c: Likewise.
35333         * libio/oldiofdopen.c: Likewise.
35334         * libio/oldiofopen.c: Likewise.
35335         * libio/oldiopopen.c: Likewise.
35336         * libio/oldstdfiles.c: Likewise.
35337         * libio/putc.c: Likewise.
35338         * libio/setbuf.c: Likewise.
35339         * libio/setlinebuf.c: Likewise.
35340         * libio/stdfiles.c: Likewise.
35341         * libio/strops.c: Likewise.
35342         * libio/vasprintf.c: Likewise.
35343         * libio/vscanf.c: Likewise.
35344         * libio/vsnprintf.c: Likewise.
35345         * libio/vswprintf.c: Likewise.
35346         * libio/wfiledoalloc.c: Likewise.
35347         * libio/wfileops.c: Likewise.
35348         * libio/wgenops.c: Likewise.
35349         * libio/wmemstream.c: Likewise.
35350         * libio/wstrops.c: Likewise.
35351         * libio/__fpurge.c: Likewise.
35352         * libio/__fsetlocking.c: Likewise.
35353         * assert/assert.c: Likewise.
35354         * debug/fgets_chk.c: Likewise.
35355         * debug/fgets_u_chk.c: Likewise.
35356         * debug/fread_chk.c: Likewise.
35357         * debug/fread_u_chk.c: Likewise.
35358         * debug/gets_chk.c: Likewise.
35359         * debug/obprintf_chk.c: Likewise.
35360         * debug/vasprintf_chk.c: Likewise.
35361         * debug/vdprintf_chk.c: Likewise.
35362         * debug/vsnprintf_chk.c: Likewise.
35363         * debug/vsprintf_chk.c: Likewise.
35364         * malloc/mtrace.c: Likewise.
35365         * misc/error.c: Likewise.
35366         * misc/syslog.c: Likewise.
35367         * stdio-common/asprintf.c: Likewise.
35368         * stdio-common/fxprintf.c: Likewise.
35369         * stdio-common/getw.c: Likewise.
35370         * stdio-common/isoc99_fscanf.c: Likewise.
35371         * stdio-common/isoc99_scanf.c: Likewise.
35372         * stdio-common/isoc99_vfscanf.c: Likewise.
35373         * stdio-common/isoc99_vscanf.c: Likewise.
35374         * stdio-common/isoc99_vsscanf.c: Likewise.
35375         * stdio-common/printf-prs.c: Likewise.
35376         * stdio-common/printf_fp.c: Likewise.
35377         * stdio-common/printf_fphex.c: Likewise.
35378         * stdio-common/printf_size.c: Likewise.
35379         * stdio-common/putw.c: Likewise.
35380         * stdio-common/scanf.c: Likewise.
35381         * stdio-common/sprintf.c: Likewise.
35382         * stdio-common/tmpfile.c: Likewise.
35383         * stdio-common/vfprintf.c: Likewise.
35384         * stdio-common/vfscanf.c: Likewise.
35385         * stdlib/strfmon_l.c: Likewise.
35386         * sunrpc/openchild.c: Likewise.
35387         * sunrpc/xdr_stdio.c: Likewise.
35388         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35389         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35390
35391 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35392
35393         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35394
35395         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35396         in the third column, to generate for the shared library an IFUNC
35397         that uses _dl_vdso_vsym.
35398         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35399         * Makeconfig (object-suffixes-noshared): New variable.
35400
35401         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35402         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35403         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35404         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35405
35406         [BZ #14132]
35407         * include/sys/time.h (__gettimeofday): Remove macro.
35408         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35409         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35410         Remove INTDEF.
35411         (__gettimeofday): Add libc_hidden_def.
35412         (gettimeofday): Add libc_hidden_weak.
35413         * sysdeps/mach/gettimeofday.c: Likewise.
35414         * sysdeps/posix/gettimeofday.c: Likewise.
35415         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35416         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35417         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35418         (__gettimeofday_internal): Remove strong_alias.
35419         (__gettimeofday): Add libc_hidden_def.
35420         (gettimeofday): Add libc_hidden_weak.
35421         * sysdeps/unix/syscalls.list (gettimeofday):
35422         Remove __gettimeofday_internal alias.
35423
35424 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35425             H.J. Lu  <hongjiu.lu@intel.com>
35426
35427         [BZ #12495]
35428         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35429         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35430         (largebin_index_32_big): New.
35431         (largebin_index): Use it for 16-byte alignment.
35432         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35433         correction with front_misalign.
35434
35435 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35436
35437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35439         Likewise.
35440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35441         Likewise.
35442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35443         Likewise.
35444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35445         Likewise.
35446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35447         Likewise.
35448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35449         Likewise.
35450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35451         Likewise.
35452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35453         Likewise.
35454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35455         Likewise.
35456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35457         Likewise.
35458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35459         Likewise.
35460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35461         Likewise.
35462
35463         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35464         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35465
35466 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35467
35468         [BZ #10846]
35469         [BZ #14036]
35470         * math/libm-test.inc (exp_test): Add test from bug 14036.
35471         (pow_test): Add test from bug 10846.
35472
35473         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35474         and other flags.
35475         (special_function): Do not include flags in test name.
35476         (parse_args): Likewise.
35477         * sysdeps/i386/fpu/libm-test-ulps: Update.
35478         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35479         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35480         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35482
35483         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35484         exceptions.
35485         * math/libm-test.inc ("Philosophy"): Update comment about
35486         exception testing.
35487         (UNDERFLOW_EXCEPTION): New macro.
35488         (UNDERFLOW_EXCEPTION_OK): Likewise.
35489         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35490         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35491         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35492         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35493         (INVALID_EXCEPTION_OK): Update value.
35494         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35495         (OVERFLOW_EXCEPTION_OK): Likewise.
35496         (IGNORE_ZERO_INF_SIGN): Likewise.
35497         (test_exceptions): Handle underflow exceptions.
35498         (acos_test): Update for underflow exception expectations.
35499         (cexp_test): Likewise.
35500         (clog_test): Likewise.
35501         (clog10_test): Likewise.
35502         (csqrt_test): Likewise.
35503         (ctan_test): Likewise.
35504         (ctanh_test): Likewise.
35505         (exp_test): Likewise.
35506         (exp10_test): Likewise.
35507         (exp2_test): Likewise.
35508         (expm1_test): Likewise.
35509         (fma_test): Likewise.
35510         (j0_test): Likewise.
35511         (jn_test): Likewise.
35512         (nexttoward_test): Likewise.
35513         (pow_test): Likewise.
35514         (scalbn_test): Likewise.
35515         (scalbln_test): Likewise.
35516         (tan_test): Likewise.
35517         (y1_test): Likewise.
35518         * sysdeps/i386/fpu/libm-test-ulps: Update.
35519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35520
35521 2012-05-23  David S. Miller  <davem@davemloft.net>
35522
35523         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35524         (__libc_sigaction): Remove unused local variables.
35525
35526 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35527
35528         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35529
35530 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35531
35532         mktime: avoid signed integer overflow
35533         * time/mktime.c (__mktime_internal): Do not mishandle the case
35534         where diff == INT_MIN.
35535
35536         mktime: simplify computation of average
35537         * time/mktime.c (ranged_convert): Use new time_t_avg function
35538         instead of rolling our own (probably-slower) code.
35539
35540         mktime: do not assume signed right shift propagates sign bit
35541         * time/mktime.c (isdst_differ): New static function.
35542         (__mktime_internal): No need to normalize tm_isdst now.
35543         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35544         tm_isdst values.
35545
35546         mktime: merge another wrapv change from gnulib
35547         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35548         from some compilers.
35549
35550         mktime: remove incorrect attempt at unusual arithmetics
35551         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35552         The code didn't really work on such machines anyway.
35553         (TYPE_MINIMUM): Assume two's complement.
35554         (twos_complement_arithmetic): Verify that long_int and time_t
35555         are two's complement (or unsigned, in the latter case).
35556
35557         mktime: check signed shifts on long_int and time_t, too
35558         * time/mktime.c (SHR): Check that shifts work as desired
35559         on the types long_int and time_t too, as SHR is used on
35560         such types.
35561
35562         mktime: do not assume 'long' is wide enough
35563         * time/mktime.c (verify): Move decl up.
35564         (long_int): New type.
35565         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35566         to remove assumption in the code that 'long' is wide enough to
35567         store year values.  This assumption is not true on x32 and on
35568         some non-glibc platforms.
35569
35570         mktime: merge wrapv change from gnulib
35571         * time/mktime.c (WRAPV): New macro.
35572         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35573         (guess_time_tm, __mktime_internal): Do not assume that signed
35574         integer overflow wraps around; modern compilers generate code
35575         where this assumption is no longer valid.
35576
35577 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35578
35579         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35580         Replace "jmp L(pseudo_end)" with "ret".
35581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35582         Likewise.
35583
35584 2012-05-23  Andreas Jaeger  <aj@suse.de>
35585
35586         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35587         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35588
35589 2012-05-23  Andreas Jaeger  <aj@suse.de>
35590             Maximilian Attems  <max@stro.at>
35591
35592         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35593         New macros.
35594
35595 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35596
35597         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35598         code so that pseudo_end is just ret and the stack pointer is
35599         correct also for static library in error case.
35600
35601 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35602
35603         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35604         move to syscalls.list.
35605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35609
35610         * manual/install.texi (Running make install): Do not mention Linux
35611         kernel version for which pt_chown is not needed.
35612         (Linux): Do not mention problems with nscd with 2.0 kernels.
35613         * INSTALL: Regenerated.
35614
35615 2012-05-23  Andreas Jaeger  <aj@suse.de>
35616
35617         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35618         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35619         macro.
35620         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35621         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35622         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35623         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35624         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35625         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35626         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35627         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35628         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35629         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35630         * sysdeps/unix/sysv/linux/bits/in.h
35631         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35632
35633 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35634
35635         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35636         (PREPARE_VERSION): Just use assert instead, it will be elided
35637         under [NDEBUG] anyway.
35638
35639 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35640
35641         * sysdeps/unix/sysv/linux/Makefile: Include
35642         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35643         (sysdep_routines): Remove sysctl.
35644         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35645         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35646         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35647         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35648         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35649
35650 2012-05-22  Andreas Jaeger  <aj@suse.de>
35651
35652         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35653         that pseudo_end is just ret and the stack pointer is correct also
35654         for static library in error case.
35655
35656 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35657
35658         [BZ #14122]
35659         * nss/nsswitch.c (defconfig_entries): New variable.
35660         (__nss_database_lookup): Don't leak defconfig entries.
35661         (nss_parse_service_list): Don't leak on error paths.
35662         (free_database_entries): New function.
35663         (free_defconfig): New function.
35664         (free_mem): Move common code to free_database_entries.
35665
35666 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35667
35668         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35669         Add arch_prctl.
35670         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35671
35672         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35673         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35674         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35675         New macro.
35676         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35677         (INTERNAL_SYSCALL_TYPES): Likewise.
35678         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35679         (LOAD_REGS_TYPES_[1-6]): Likewise.
35680         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35681         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35682
35683 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35684
35685         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35686         copysignl for GLIBC_2_0.
35687         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35688         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35689         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35690         logbl for GLIBC_2_0.
35691         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35692         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35693
35694 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35695
35696         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35697         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35698
35699         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35700         Use "neg %eax".
35701
35702         * time/mktime.c: Update copyright years.
35703
35704 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35705
35706         mktime: merge comment-quoting-style change from gnulib
35707         * time/mktime.c: Quote 'like this' in comments.
35708         The GNU coding standards suggest that we no longer quote `like this',
35709         as "`" and "'" are typically rendered asymmetrically nowadays.
35710         The typical gnulib style is to quote 'like this' when quoting
35711         code, and "like this" when quoting English.
35712
35713         * time/mktime.c (compile-command): Add "-I.".
35714
35715         mktime: merge mktime-internal.h change from gnulib
35716         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35717
35718         mktime: merge time_r change from gnulib
35719         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35720
35721         mktime: merge DEBUG change from gnulib
35722         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35723         case system <time.h> has a #define.
35724
35725         mktime: merge <sys/types.h> change from gnulib
35726         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35727         since <time.t> is now guaranteed to define time_t.
35728
35729         mktime: merge HAVE_CONFIG_H change from gnulib
35730         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35731
35732 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35733
35734         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35735         Use "neg %eax".
35736
35737         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35738         __rlim_t cast.
35739         (struct rusage): Use anonymous union to pad each field to
35740         __syscall_slong_t.
35741
35742 2012-05-21  David S. Miller  <davem@davemloft.net>
35743
35744         * Makefules (o-iterator): Remove .s cases.
35745         (compile-command.s): Delete.
35746         (COMPILE.s): Delete.
35747         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35748
35749 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35750
35751         * configure.in (libc_cv_predef_stack_protector): Only consider
35752         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35753         * configure: Regenerated.
35754
35755 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35756
35757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35758         New macro.  Use R*LP on int and pointer.
35759         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35760         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35761         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35762         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35763
35764         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35765         [__WORDSIZE_TIME64_COMPAT32] instead of
35766         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35767         (struct utmp): Likewise.
35768         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35769         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35770         Renamed to ...
35771         (__WORDSIZE_TIME64_COMPAT32): This.
35772         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35773         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35774         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35775         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35776         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35777         (__WORDSIZE_TIME64_COMPAT32): New macro.
35778
35779 2012-05-21  Andreas Jaeger  <aj@suse.de>
35780
35781         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35782         only if [SHARED]. Add prototype for __wcschr_ia32.
35783
35784 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35785
35786         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35787         of %rbp unmolested in the jmp_buf while mangling the low bits.
35788         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35789         unmolested high bits of %rbp while demangling the low bits.
35790         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35791
35792 2012-05-21  Andreas Jaeger  <aj@suse.de>
35793
35794         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35795         * sunrpc/svc_simple.c: Use it for registerrpc.
35796         * sunrpc/xcrypt.c: Use it for passwd2des.
35797
35798         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35799
35800 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35801
35802         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35803         Don't define if [__SYSCALL_WORDSIZE != 32].
35804         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35805         New macro.
35806
35807 2012-05-21  Bruno Haible  <bruno@clisp.org>
35808             Andreas Jaeger  <aj@suse.de>
35809
35810         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35811         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35812         inptr and inend for must_buffer_ch.
35813         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35814         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35815         * stdio-common/Makefile (tests): Remove bug15.
35816         (bug15-ENV): Remove macro.
35817         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35818         anymore.
35819
35820 2012-05-19  Andreas Jaeger  <aj@suse.de>
35821             Roland McGrath  <roland@hack.frob.com>
35822
35823         * manual/contrib.texi: Completely rewritten. It contains now an
35824         alphabetical list of contributors and their contributions.
35825
35826 2012-05-21  Richard Henderson  <rth@twiddle.net>
35827
35828         * misc/getauxval.c (__getauxval): Use unsigned long int.
35829         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35830         (getauxval): Use unsigned long int.
35831
35832 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35833
35834         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35835
35836 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35837
35838         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35839         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35840         __alignof__ (long double).
35841
35842 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35843
35844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35845
35846 2012-05-20  Richard Henderson  <rth@twiddle.net>
35847
35848         * misc/getauxval.c: New file.
35849         * misc/sys/auxv.h: New file.
35850         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35851         (routines): Add getauxval.
35852         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35853         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35854         * elf/dl-sysdep.c (_dl_auxv): Remove.
35855         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35856         * elf/dl-support.c (_dl_auxv): New variable.
35857         (_dl_aux_init): Initialize it.
35858         * manual/startup.texi (Auxiliary Vector): New node.
35859         * sysdeps/generic/bits/hwcap.h: New file.
35860         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35861         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35862         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35863         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35864         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35865         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35867         Update.
35868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35871         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35876
35877 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35878
35879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35880
35881 2012-05-19  David S. Miller  <davem@davemloft.net>
35882
35883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35884
35885 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35886
35887         [BZ #14123]
35888         * math/s_ccosh.c: Include <float.h>
35889         (__ccosh): Avoid internal overflow calculating sinh and cosh
35890         values before multiplying by sin and cos values.
35891         * math/s_ccoshf.c: Likewise.
35892         * math/s_ccoshl.c: Likewise.
35893         * math/s_csin.c: Likewise.
35894         * math/s_csinf.c: Likewise.
35895         * math/s_csinl.c: Likewise.
35896         * math/s_csinh.c: Likewise.
35897         * math/s_csinhf.c: Likewise.
35898         * math/s_csinhl.c: Likewise.
35899         * math/libm-test.inc (ccos_test): Add more tests.
35900         (ccosh_test): Likewise.
35901         (csin_test): Likewise.
35902         (csinh_test): Likewise.
35903         * sysdeps/i386/fpu/libm-test-ulps: Update.
35904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35905
35906 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35907
35908         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35909         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35910
35911         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35912
35913 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35914
35915         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35916         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35917         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35918         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35919         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35920         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35921         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35922         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35923         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35924         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35925         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35926         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35927         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35928         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35929         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35930         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35931         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35932         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35933         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35934         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35935         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35936         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35937         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35938         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35939         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35940         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35941         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35942         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35943         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35944         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35945         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35946
35947 2012-05-18  Andreas Jaeger  <aj@suse.de>
35948
35949         * csu/.gitignore: Delete.
35950
35951 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35952
35953         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35954         (timex): Use __syscall_slong_t.
35955
35956 2012-05-18  Andreas Jaeger  <aj@suse.de>
35957             Carlos O'Donell  <carlos_odonell@mentor.com>
35958
35959         * manual/install.texi (Configuring and compiling): Update
35960         description about files modified in the source directory.
35961         * INSTALL: Regenerated.
35962
35963 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35964
35965         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35966         value.  Use "or" to set return value to -1.
35967         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35968         negate return value.
35969
35970 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35971
35972         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35973         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35974         failure if the compiler has Graphite support disabled.
35975         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35976         Likewise.
35977         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35978         (CFLAGS-memmove.c): Likewise.
35979         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35980         Likewise.
35981
35982 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35983
35984         * sysdeps/x86_64/x32/_itoa.h: New file.
35985
35986         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35987         getdents system call only if kernel and user dirents have the
35988         same d_ino and d_off.
35989
35990         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35991         LLONG_MAX != LONG_MAX.
35992         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35993         (_fitoa_word): Likewise.
35994
35995         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35996         years.
35997         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35998         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35999         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36000
36001         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36002         include <bits/wordsize.h>.  Check __x86_64__ instead of
36003         __WORDSIZE.
36004         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36005         if __x86_64__ is defined.  Use anonymous union on fpstate.
36006
36007         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36008         anonymous union.
36009
36010 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
36011
36012         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36013         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36014         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36015         Refer to _rtld_local_ro instead of _rtld_global_ro.
36016         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36017         Likewise.
36018         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36019         Likewise.
36020         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36021         Likewise.
36022         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36023         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36024         of _rtld_global, and rtld_progname instead of _dl_argv[0].
36025
36026         * sysdeps/powerpc/powerpc32/dl-machine.c
36027         (__elf_machine_runtime_setup) [PROF]: Don't reference
36028         _dl_prof_resolve.
36029
36030 2012-05-18  Andreas Jaeger  <aj@suse.de>
36031
36032         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36033         function only available for GCCs before 3.4 since GCC 3.4
36034         introduced a builtin.
36035         (lrint): Likewise.
36036         (llrintf): Likewise.
36037         (llrint): Likewise.
36038         (fmaxf): Likewise.
36039         (fmax): Likewise.
36040         (fminf): Likewise.
36041         (fmin): Likewise.
36042         (rint): Likewise.
36043         (rintf): Likewise.
36044         (nearbyint): Likewise.
36045         (nearbyintf): Likewise.
36046         (ceil): Likewise.
36047         (ceilf): Likewise.
36048         (floor): Likewise.
36049         (floorf): Likewise.
36050
36051 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36052
36053         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36054         on both fields and cast pointer to __syscall_ulong_t.
36055
36056         * bits/types.h (__fsword_t): New type.
36057         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36058         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36059         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36060         (__FSWORD_T_TYPE): Likewise.
36061         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36062         (__FSWORD_T_TYPE): Likewise.
36063         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36064         (__FSWORD_T_TYPE): Likewise.
36065         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36066         (__FSWORD_T_TYPE): Likewise.
36067         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36068         __SWORD_TYPE with __fsword_t.
36069         (statfs64): Likewise.
36070
36071 2012-05-17  David S. Miller  <davem@davemloft.net>
36072
36073         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36074
36075 2012-05-17  Andreas Jaeger  <aj@suse.de>
36076
36077         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36078         warning.
36079
36080 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36081
36082         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36083
36084 2012-05-17  Andreas Jaeger  <aj@suse.de>
36085
36086         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36087         when it is used.
36088
36089 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36090
36091         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36092
36093 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36094
36095         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36096         * sysdeps/x86_64/tst-mallocalign1.c: New file.
36097
36098 2012-05-17  Andreas Jaeger  <aj@suse.de>
36099             Carlos O'Donell  <carlos_odonell@mentor.com>
36100
36101         [BZ #14059]
36102         * sysdeps/x86_64/multiarch/init-arch.h
36103         (bit_YMM_Usable): Rename to...
36104         (bit_AVX_Usable): ... this.
36105         (bit_FMA4_Usable): New macro.
36106         (bit_XMM_state): New macro.
36107         (bit_YMM_state): New macro.
36108         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36109         [__ASSEMBLER__] (index_AVX_Usable): ... this.
36110         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36111         (CPUID_OSXSAVE): New macro.
36112         (CPUID_AVX): New macro.
36113         (CPUID_FMA4): New macro.
36114         (index_YMM_Usable): Rename to...
36115         (index_AVX_Usable): ... this.
36116         (HAS_AVX): Use HAS_ARCH_FEATURE.
36117         (HAS_FMA4): Likewise.
36118         (HAS_YMM_USABLE): Remove.
36119         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36120         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36121         are present.
36122         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36123         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36124         * sysdeps/x86_64/multiarch/Makefile: Likewise.
36125         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36126         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36127
36128 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36129
36130         * math/libm-test.c: Support platforms without multiple rounding modes.
36131         * math/bug-nextafter.c: Support platforms without FP exceptions.
36132         * math/bug-nexttoward.c: Likewise.
36133         * math/test-fenv.c: Likewise.
36134         * math/test-misc.c: Likewise.
36135         * stdlib/bug-getcontext.c: Likewise.
36136
36137 2012-05-17  Andreas Jaeger  <aj@suse.de>
36138
36139         * manual/examples/search.c (critter_cmp): Change signature to
36140         avoid warnings.
36141         * manual/string.texi (Collation Functions): Likewise.
36142
36143 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36144
36145         * bits/types.h: Fold copyright years.
36146         * bits/typesizes.h: Likewise.
36147         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36148         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36149         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36150         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36151         * time/time.h: Likewise.
36152
36153 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36154
36155         [BZ #208]
36156         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36157         in instead of returning them.  Return void.
36158         (__libc_mallinfo): Accumulate over all arenas.
36159         (__malloc_stats): Adjust for change in int_mallinfo interface.
36160
36161 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36162
36163         [BZ #10375]
36164         * configure.in (NM): Add AC_CHECK_TOOL for it.
36165         (libc_extra_cflags): New substituted variable.
36166         Check for -fstack-protector being used implicitly.
36167         * configure: Regenerated.
36168         * config.make.in (config-extra-cflags): New variable,
36169         gets @libc_extra_cflags@.
36170         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36171
36172         [BZ #10375]
36173         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36174         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36175         * configure: Regenerated.
36176         * config.make.in (CPPUNDEFS): New substituted variable.
36177         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36178         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36179         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36180
36181 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36182
36183         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36184         (mq_attr): Use __syscall_slong_t.
36185
36186 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36187
36188         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36189         Check __x86_64__ instead of __WORDSIZE.
36190         (_STAT_VER_LINUX): Likewise.
36191         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36192         __syscall_ulong_t and __syscall_slong_t.
36193         (stat64): Likewise.
36194
36195 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36196
36197         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36198
36199 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36200
36201         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36202
36203 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36204
36205         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36206         __syscall_ulong_t.
36207
36208         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36209         include <bits/wordsize.h>.  Check __x86_64__ instead of
36210         __WORDSIZE.
36211         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36212         defined.
36213         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36214
36215         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36216         include <bits/wordsize.h>.  Check __x86_64__ instead of
36217         __WORDSIZE.
36218         (user_regs_struct): Use "__extension__ unsigned long long"
36219         instead of "unsigned long" if __x86_64__ is defined.
36220         (user): Likewise.  Pad after pointer field if __ILP32__ is
36221         defined.
36222
36223 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36224
36225         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36226         versions 5 to 9.
36227         * configure: Regenerated.
36228         * manual/install.texi (texinfo): Increase version requirement to
36229         4.5 or later.
36230         * INSTALL: Regenerated.
36231
36232         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36233
36234 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36235
36236         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36237
36238         * sysdeps/x86_64/x32/ffs.c: New file.
36239
36240         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36241         __syscall_ulong_t.
36242         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36243         defined.  Use __syscall_ulong_t.
36244         (shminfo): Use __syscall_ulong_t.
36245         (shm_info): Likewise.
36246
36247         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36248         __syscall_ulong_t.
36249
36250         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36251         <bits/wordsize.h>.
36252         (msgqnum_t): Use __syscall_ulong_t.
36253         (msglen_t): Likewise.
36254         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36255         __syscall_ulong_t.
36256
36257         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36258         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36259
36260         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36261
36262         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36263         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36264
36265         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36266         __syscall_slong_t.
36267
36268         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36269         include <bits/wordsize.h>.  Check __x86_64__ instead of
36270         __WORDSIZE.
36271
36272         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36273         "unsigned long long int" if __x86_64__ is defined.
36274         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36275
36276         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36277         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36278         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36279
36280         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36281         <stdint.h>.
36282         (GET_PC): Cast to uintptr_t first.
36283         (GET_FRAME): Likewise.
36284         (GET_STACK): Likewise.
36285
36286         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36287         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36288         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36289         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36290         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36291         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36292         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36293         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36294         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36295         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36296         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36297         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36298         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36299         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36300         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36301         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36302         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36303         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36304         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36305         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36306         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36307         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36308         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36309         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36310         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36311         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36312         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36313         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36314         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36315
36316 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36317
36318         * Makerules (+depfiles): Also collect depfiles from .oS in
36319         $(extra-objs).
36320         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36321         .oS, $(libnldbl-routines)).
36322
36323         * Makerules (native-compile-mkdep-flags): Define.
36324         * sunrpc/Makefile (extra-objs): Add $(addprefix
36325         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36326         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36327         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36328         calling $(make-target-directory).
36329
36330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36331
36332         * bits/types.h (__snseconds_t): Removed.
36333         * time/time.h (struct timespec): Replace __snseconds_t with
36334         __syscall_slong_t.
36335         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36336         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36337         Likewise.
36338         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36339         (__SNSECONDS_T_TYPE): Likewise.
36340         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36341         (__SNSECONDS_T_TYPE): Likewise.
36342         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36343         (__SNSECONDS_T_TYPE): Likewise.
36344
36345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36346
36347         * sysdeps/mach/hurd/bits/typesizes.h
36348         (__SYSCALL_SLONG_TYPE): New macro.
36349         (__SYSCALL_ULONG_TYPE): Likewise.
36350
36351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36352
36353         * bits/types.h (__syscall_slong_t): New type.
36354         (__syscall_ulong_t): Likewise.
36355
36356         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36357         (__SYSCALL_ULONG_TYPE): Likewise.
36358         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36359         (__SYSCALL_SLONG_TYPE): Likewise.
36360         (__SYSCALL_ULONG_TYPE): Likewise.
36361         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36362         (__SYSCALL_SLONG_TYPE): Likewise.
36363         (__SYSCALL_ULONG_TYPE): Likewise.
36364         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36365         (__SYSCALL_SLONG_TYPE): Likewise.
36366         (__SYSCALL_ULONG_TYPE): Likewise.
36367
36368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36369
36370         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36371         Add sigaltstack-offsets.sym.
36372         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36373         <sigaltstack-offsets.h>.
36374         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36375         longjmp_msg pointer.
36376         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36377         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36378         signal stack.
36379         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36380
36381 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36382
36383         * elf/stackguard-macros.h: Remove file.
36384         * sysdeps/generic/stackguard-macros.h: New file.
36385         * sysdeps/i386/stackguard-macros.h: Likewise.
36386         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36387         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36388         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36389         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36390         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36391         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36392         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36393         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36394         <elf/stackguard-macros.h>.
36395
36396         [BZ #14109]
36397         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36398         __aligned__ in attribute.
36399         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36400         (gregset_t): Likewise.
36401
36402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36403
36404         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36405         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36406         * sysdeps/x86_64/x32/Implies-after: New file.
36407
36408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36409
36410         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36411         and access return value for _dl_profile_fixup.  Use R10_LP to
36412         load frame size.
36413
36414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36415
36416         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36417
36418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36419
36420         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36421         * sysdeps/x86_64/x32/sysdep.h: New file.
36422
36423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36424
36425         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36426         * sysdeps/x86_64/setjmp.S: Likewise.
36427
36428 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36429
36430         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36431         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36432         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36433         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36434         remove unused global constant.
36435
36436 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36437
36438         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36439         include of <not-cancel.h>.
36440
36441 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36442
36443         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36444
36445 2012-05-15  Jeff Law  <law@redhat.com>
36446             Andreas Jaeger  <aj@suse.de>
36447
36448         [BZ #13594]
36449         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36450         out from...
36451         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36452         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36453         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36454         code changing __hst_map_handle.map.
36455
36456 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36457
36458         * configure.in (sysnames): Look for Implies-before and Implies-after
36459         files.
36460         * configure: Regenerated.
36461
36462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36463
36464         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36465         8-byte data alignment with LP_SIZE alignment.
36466
36467 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36468
36469         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36470         into R10_LP.
36471
36472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36473
36474         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36475
36476 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36477
36478         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36479         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36480         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36481         Likewise.
36482         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36483
36484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36485
36486         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36487         (stackinfo_sub_sp): Likewise.
36488
36489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36490
36491         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36492         RAX_LP.
36493
36494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36495
36496         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36497         into R*_LP.
36498
36499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36500
36501         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36502         sizes into R*_LP.
36503
36504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36505
36506         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36507
36508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36509
36510         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36511         into R11_LP and load __x86_64_shared_cache_size_half into
36512         R8_LP.
36513
36514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36515
36516         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36517         R8_LP.
36518
36519 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36520
36521         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36522         logb for POWER7.
36523         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36524         logbf for POWER7.
36525         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36526         logbl for POWER7.
36527         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36528         powerpc32/power7/fpu/s_logb.c via #include.
36529         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36530         powerpc32/power7/fpu/s_logbf.c via #include.
36531         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36532         powerpc32/power7/fpu/s_logbl.c via #include.
36533
36534 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36535
36536         * README.libm: Remove file.
36537
36538 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36539
36540         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36541         count for x32.  Use R*_LP and omit operand-size suffix.
36542
36543 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36544
36545         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36546         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36547         * sysdeps/x86_64/x32/shlib-versions: New file.
36548
36549 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36550
36551         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36552         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36553         Use _dl_fatal_printf instead.
36554
36555 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36556
36557         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36558         set if not set by the user.  Do not allow for being unset.
36559         * sysdeps/unix/sysv/linux/configure: Regenerated.
36560
36561 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36562
36563         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36564         the `q' suffix from lea and replace .quad with ASM_ADDR.
36565
36566 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36567
36568         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36569         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36570         instead of $17.
36571         (PTR_DEMANGLE): Likewise.
36572
36573 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36574
36575         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36576         (LP_OP): Likewise.
36577         (ASM_ADDR): Likewise.
36578         (RAX_LP): Likewise.
36579         (RBP_LP): Likewise.
36580         (RBX_LP): Likewise.
36581         (RCX_LP): Likewise.
36582         (RDI_LP): Likewise.
36583         (RSI_LP): Likewise.
36584         (RSP_LP): Likewise.
36585         (R8_LP): Likewise.
36586         (R9_LP): Likewise.
36587         (R10_LP): Likewise.
36588         (R10_LP): Likewise.
36589         (R11_LP): Likewise.
36590         (R12_LP): Likewise.
36591         (R13_LP): Likewise.
36592         (R14_LP): Likewise.
36593         (R15_LP): Likewise.
36594
36595 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36596
36597         * sysdeps/x86_64/x32/dl-machine.h: New file.
36598
36599 2012-05-14  Andreas Jaeger  <aj@suse.de>
36600
36601         * manual/Makefile (subdir): Remove export of subdir.
36602         (all): Remove target.
36603         (.PHONY): Remove all from list.
36604         (mkinstalldirs): Remove.
36605         (.PHONY): Remove installdirs from list.
36606         ($(inst_infodir)/libc.info): Use make-target-directory.
36607         (installdirs): Remove.
36608         (subdir_%): Remove.
36609         (glibc-targets): Remove.
36610         (lib): Remove.
36611         (stubs): Remove.
36612         ($(objpfx)stubs ../po/manual.pot): Remove.
36613         ($(objpfx)stamp%): Remove.
36614         (make-target-directory): Remove.
36615         (subdir_install): Remove.
36616         (routines): Remove.
36617         (aux): Remove.
36618         (sources): Remove.
36619         (objects): Remove.
36620         (headers): Remove.
36621
36622         [BZ #13750]
36623         * manual/.gitignore: Remove, it's not needed anymore.
36624         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36625         all files in it.
36626         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36627         directory.
36628         (texis): Renamed to $(objpfx)texis.
36629         (texis-path): New, contains path to generated files.
36630         (chapters.%): Use texis-path for complete path, add extra argument
36631         libc-texinfo.sh.
36632         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36633         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36634         (summary,texi, stamp-summary): Use complete path of
36635         files. Generate files in build dir.
36636         (dir-add.texi): Build in build dir.
36637         (libm-err.texi,stamp-libm-err): Likewise.
36638         (version.texi, stamp-version): Likewise.
36639         (.%c.texi): Likewise.
36640         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36641         (mostlyclean): Remove target.
36642         (realclean): Remove target.
36643         (generated): Add new variable with contents from mostlyclean and
36644         realclean, remove entries duplicated in common-mostlyclean, add
36645         stamp-libm-err and stamp-version.
36646         (generated-dirs): Add libc directory.
36647         ($(inst_infodir)/libc.info): Install files from build dir.
36648
36649         * manual/install.texi (Configuring and compiling): Adjust since
36650         the info files are not part of the tar ball anymore.
36651
36652 2012-05-14  Andreas Jaeger  <aj@suse.de>
36653
36654         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36655         variable.
36656
36657 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36658
36659         [BZ #13717]
36660         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36661         to 2.2.0 where earlier.
36662         * sysdeps/unix/sysv/linux/configure: Regenerated.
36663         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36664         Remove conditional code.
36665         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36666         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36667         Remove conditional code.
36668         [!__NR_lchown]: Likewise.
36669         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36670         [__NR_lchown]: Likewise.
36671         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36672         comment referencing __ASSUME_LCHOWN_SYSCALL.
36673         * sysdeps/unix/sysv/linux/i386/sigaction.c
36674         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36675         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36676         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36677         Remove conditional code.
36678         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36679         (__protocol_available): Remove #if 0 code.
36680         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36681         conditional code.
36682         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36683         * sysdeps/unix/sysv/linux/kernel-features.h
36684         (__ASSUME_GETCWD_SYSCALL): Don't define.
36685         (__ASSUME_REALTIME_SIGNALS): Likewise.
36686         (__ASSUME_PREAD_SYSCALL): Likewise.
36687         (__ASSUME_PWRITE_SYSCALL): Likewise.
36688         (__ASSUME_POLL_SYSCALL): Likewise.
36689         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36690         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36691         non-SPARC.
36692         (__ASSUME_SIOCGIFNAME): Don't define.
36693         (__ASSUME_MSG_NOSIGNAL): Likewise.
36694         (__ASSUME_SENDFILE): Define unconditionally.
36695         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36696         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36697         conditional code.
36698         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36699         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36700         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36701         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36702         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36703         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36704         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36706         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36707         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36709         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36710         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36712         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36713         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36715         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36716         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36718         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36719         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36721         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36722         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36724         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36725         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36727         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36728         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36729         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36730         Remove conditional code.
36731         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36732         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36733         Remove conditional code.
36734         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36735         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36736         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36737         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36738         Remove conditional code.
36739         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36740         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36741         Remove conditional code.
36742         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36743         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36744         Remove conditional code.
36745         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36746         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36747         Remove conditional code.
36748         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36749         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36750         Remove conditional code.
36751         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36752         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36753         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36754         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36755         * sysdeps/unix/sysv/linux/sigaction.c
36756         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36757         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36758         * sysdeps/unix/sysv/linux/sigpending.c
36759         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36760         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36761         * sysdeps/unix/sysv/linux/sigprocmask.c
36762         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36763         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36764         * sysdeps/unix/sysv/linux/sigsuspend.c
36765         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36766         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36767         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36768         (__libc_missing_rt_sigs): Remove.
36769         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36770         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36771         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36772         Remove conditional code.
36773         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36774         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36775         return 1.
36776         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36777         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36778         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36779         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36780
36781 2012-05-14  Andreas Jaeger  <aj@suse.de>
36782
36783         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36784         it's not used in glibc.
36785         (__coshm1): Likewise.
36786         (__acosh1p): Likewise.
36787         (__sgn): Likewise.
36788
36789         * manual/string.texi (Copying and Concatenation): Add missing
36790         variable in concat example.
36791         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36792
36793 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36794
36795         [BZ #14103]
36796         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36797         __builtin_clzl with __builtin_clzll.
36798
36799 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36800
36801         [BZ #14104]
36802         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36803         libc_freeres_ptr.
36804
36805 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36806
36807         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36808         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36809         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36810         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36811
36812 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36813
36814         * NEWS: Update ia64 info.
36815
36816 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36817
36818         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36819         used as bcopy.
36820
36821 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36822
36823         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36824         * sysdeps/unix/syscalls.list (dup3): Likewise.
36825         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36826         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36827
36828 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36829
36830         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36831         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36832
36833 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36834
36835         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36836         thread pointer.
36837         (TLS_IE): Use mov/add instead of movq/addq to load thread
36838         pointer.
36839         (TLS_GD_PREFIX): New.
36840         (TLS_GD): Use it.
36841
36842 2012-05-11  David S. Miller  <davem@davemloft.net>
36843
36844         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36845         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36846         (_FPU_SETCW): Likewise.
36847
36848 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36849
36850         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36851         is 32-byte aligned.
36852
36853 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36854
36855         [BZ #11837]
36856         * iconvdata/gb18030.c: Update tables.
36857         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36858         characters specially.
36859         (BODY for TO_LOOP): Add encoding of missing ranges.
36860
36861 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36862
36863         [BZ #13673]
36864         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36865         * sysdeps/mach/hurd/dup3.c: Likewise.
36866         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36867         * sysdeps/powerpc/memmove.c:: Likewise.
36868
36869 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36870
36871         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36872         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36873
36874 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36875
36876         * elf/elf.h (R_X86_64_RELATIVE64): New.
36877         (R_X86_64_NUM): Updated.
36878         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36879         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36880         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36881         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36882         tst-quad1pie tst-quad2pie
36883         (modules-names): Add tst-quadmod1 tst-quadmod2.
36884         ($(objpfx)tst-quad1): New dependency.
36885         ($(objpfx)tst-quad2): Likewise.
36886         ($(objpfx)tst-quad1pie): Likewise.
36887         ($(objpfx)tst-quad2pie): Likewise.
36888         * sysdeps/x86_64/tst-quad1.c: New file.
36889         * sysdeps/x86_64/tst-quad1pie.c: New file.
36890         * sysdeps/x86_64/tst-quad2.c: Likewise.
36891         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36892         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36893         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36894         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36895         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36896
36897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36898
36899         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36900         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36901         * streams/stropts.h (t_scalar_t): Define type.
36902
36903         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36904         (_PATH_PRESERVE): Set to "/var/lib".
36905         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36906
36907         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36908         instead of int.
36909
36910         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36911         if __dir_mkfile succeeded.
36912
36913         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36914         checking for _hurd_dtablesize.  Unlock it right after having
36915         finished _hurd_dtable allocation.
36916
36917 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36918
36919         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36920         * sysdeps/mach/hurd/configure: Regenerated.
36921         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36922         special-casing to...
36923         * sysdeps/gnu/configure.in: ... this new file.
36924         * sysdeps/unix/sysv/linux/configure: Regenerated.
36925         * sysdeps/gnu/configure: New generated file.
36926
36927         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36928         for Linux: use nsec instead of usec, as well as:
36929         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36930         members of type struct timespec.
36931         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36932         New macros.
36933         (struct stat64): Likewise.
36934         (_STATBUF_ST_NSEC): New macro.
36935         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36936
36937         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36938         __strtoul_internal rather than strtoul.
36939
36940 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36941
36942         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36943         and reject them.
36944
36945 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36946
36947         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36948         which preserves existing values.
36949         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36950
36951 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36952
36953         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36954         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36955         greater than FD_SETSIZE.
36956
36957 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36958
36959         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36960         allocated, call __vm_protect to finish enabling the existing space, and
36961         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36962         allocate the remainder.
36963
36964 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36965
36966         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36967         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36968
36969 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36970
36971         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36972         sysdeps/mach/hurd/readlink.c.
36973
36974         * posix/tst-sysconf.c (posix_options): Only use
36975         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36976         _POSIX_SYNCHRONIZED_IO when they are defined
36977         * sysdeps/mach/hurd/bits/posix_opt.h:
36978         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36979         (_XOPEN_REALTIME): Undefine macro.
36980         (_XOPEN_REALTIME_THREADS): Undefine macro.
36981         (_XOPEN_SHM): Undefine macro.
36982         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36983         macro to -1.
36984         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36985         macro to -1.
36986         (_POSIX_ASYNC_IO): Undefine macro.
36987         (_POSIX_PRIORITIZED_IO): Undefine macro.
36988         (_POSIX_SPIN_LOCKS): Define macro to -1.
36989
36990         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36991         SA_NODEFER, SA_RESETHAND.
36992         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36993         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36994         F_DUPFD_CLOEXEC.
36995
36996 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36997
36998         * elf/Makefile (pldd-modules): Define unconditionally.
36999
37000 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37001
37002         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37003
37004 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37005
37006         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37007         Return ENOENT when name is empty.
37008         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37009
37010 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37011
37012         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37013
37014         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37015
37016 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37017
37018         Fix mlock in all cases except non-readable pages.
37019         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37020         instead of VM_PROT_ALL as parameter to __vm_wire function.
37021
37022         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37023         (__mkdir): When path is `/', just fail with EEXIST.
37024         * sysdeps/mach/hurd/mkdirat.c: Likewise.
37025
37026 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37027
37028         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37029         <sys/uio.h> (for writev).
37030         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37031         and <sys/param.h> (for MIN).
37032
37033 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37034
37035         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37036         REQUESTED_TIME.  Properly set the remaining time and return EINTR
37037         if interrupted.
37038
37039 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37040
37041         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37042         Depend on against $(link-rpcuserlibs).
37043
37044 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37045
37046         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37047         (__libc_stack_end): Do not use attribute_relro.
37048         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37049         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37050         to libthread-provided value.
37051         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37052         attribute_relro.
37053
37054 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37055
37056         [BZ #3748]
37057         * bits/libc-lock.h (__libc_once_get): New macro.
37058         * sysdeps/mach/bits/libc-lock.h: Likewise.
37059         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37060         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37061         instead of using implementation details.
37062
37063         * libio/fileops.c: Unconditionally include <kernel-features.h>.
37064         * libio/freopen.c: Likewise.
37065         * libio/freopen64.c: Likewise.
37066         * misc/syslog.c: Likewise.
37067         * nscd/connections.c: Likewise.
37068         * nscd/netgroupcache.c: Likewise.
37069         * sysdeps/posix/getcwd.c: Likewise.
37070
37071 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37072
37073         * math/w_ilogbf.c: Add #include <limits.h>.
37074
37075 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37076
37077         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37078         path instead of returning without unlocking.
37079
37080         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37081         immediate-write ioctls.
37082         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37083
37084 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37085
37086         * sysdeps/mach/hurd/i386/init-first.c (init): Use
37087         __builtin_frame_address instead of making assumptions about the
37088         location of the return address relative to DATA.  Force early load of
37089         the return address.
37090         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37091         __builtin_frame_address.
37092
37093         dup3 for GNU Hurd.
37094         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37095         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
37096         implement dup3 and do some further code clean-ups.
37097         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37098         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37099
37100 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37101
37102         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37103
37104         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37105         HURD_CRITICAL_END around holding _hurd_dtable_lock.
37106         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37107         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37108         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37109         d->port.lock.
37110
37111         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37112         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
37113         when handler == SIG_ERR, not when handler != SIG_ERR.
37114
37115 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37116
37117         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37118         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37119         definitions.
37120
37121         accept4 for GNU Hurd.
37122         * include/sys/socket.h (__libc_accept4): New prototype.
37123         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
37124         to implement __libc_accept4.
37125         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37126         __libc_accept4.
37127         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37128
37129         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37130         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37131         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37132         signal-defines.sym.
37133
37134 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37135
37136         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37137
37138 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37139
37140         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37141         assertion on O_CLOEXEC flag.
37142         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37143         * hurd/intern-fd.c: Likewise.
37144         * hurd/port2fd.c: Likewise.
37145
37146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37147
37148         [BZ #3906]
37149         * bits/in.h (IPV6_PKTINFO): Define new macro.
37150         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37151
37152 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37153
37154         [BZ #13954]
37155         [BZ #13955]
37156         [BZ #13956]
37157         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37158         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37159         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37160         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37161         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37162         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37163         * math/libm-test.inc (logb_test) : Additional logb tests.
37164
37165 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37166             Andreas Jaeger  <aj@suse.de>
37167
37168         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37169         * configure: Regenerated.
37170         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37171         * config.make.in (link-obsolete-rpc): New substituted variable.
37172         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37173         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37174         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37175         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37176         so that libc.a contains the symbols.
37177         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37178         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37179         * sunrpc/auth_none.c: Likewise.
37180         * sunrpc/auth_unix.c: Likewise.
37181         * sunrpc/authdes_prot.c: Likewise.
37182         * sunrpc/authuxprot.c: Likewise.
37183         * sunrpc/clnt_gen.c: Likewise.
37184         * sunrpc/clnt_perr.c: Likewise.
37185         * sunrpc/clnt_raw.c: Likewise.
37186         * sunrpc/clnt_simp.c: Likewise.
37187         * sunrpc/clnt_tcp.c: Likewise.
37188         * sunrpc/clnt_udp.c: Likewise.
37189         * sunrpc/clnt_unix.c: Likewise.
37190         * sunrpc/des_crypt.c: Likewise.
37191         * sunrpc/des_soft.c: Likewise.
37192         * sunrpc/get_myaddr.c: Likewise.
37193         * sunrpc/key_call.c: Likewise.
37194         * sunrpc/key_prot.c: Likewise.
37195         * sunrpc/netname.c: Likewise.
37196         * sunrpc/pm_getmaps.c: Likewise.
37197         * sunrpc/pm_getport.c: Likewise.
37198         * sunrpc/pmap_clnt.c: Likewise.
37199         * sunrpc/pmap_prot.c: Likewise.
37200         * sunrpc/pmap_prot2.c: Likewise.
37201         * sunrpc/pmap_rmt.c: Likewise.
37202         * sunrpc/publickey.c: Likewise.
37203         * sunrpc/rpc_cmsg.c: Likewise.
37204         * sunrpc/rpc_common.c: Likewise.
37205         * sunrpc/rpc_dtable.c: Likewise.
37206         * sunrpc/rpc_prot.c: Likewise.
37207         * sunrpc/rpc_thread.c: Likewise.
37208         * sunrpc/rtime.c: Likewise.
37209         * sunrpc/svc.c: Likewise.
37210         * sunrpc/svc_auth.c: Likewise.
37211         * sunrpc/svc_raw.c: Likewise.
37212         * sunrpc/svc_run.c: Likewise.
37213         * sunrpc/svc_tcp.c: Likewise.
37214         * sunrpc/svc_udp.c: Likewise.
37215         * sunrpc/svc_unix.c: Likewise.
37216         * sunrpc/svcauth_des.c: Likewise.
37217         * sunrpc/xcrypt.c: Likewise.
37218         * sunrpc/xdr.c: Likewise.
37219         * sunrpc/xdr_array.c: Likewise.
37220         * sunrpc/xdr_float.c: Likewise.
37221         * sunrpc/xdr_intXX_t.c: Likewise.
37222         * sunrpc/xdr_mem.c: Likewise.
37223         * sunrpc/xdr_rec.c: Likewise.
37224         * sunrpc/xdr_ref.c: Likewise.
37225         * sunrpc/xdr_sizeof.c: Likewise.
37226         * sunrpc/xdr_stdio.c: Likewise.
37227
37228 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37229
37230         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37231         change.  Update copyright years.
37232
37233 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37234
37235         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37236
37237 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37238             Joseph Myers  <joseph@codesourcery.com>
37239             Paul Pluzhnikov  <ppluzhnikov@google.com>
37240
37241         [BZ #14012]
37242         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37243         requiring rpcgen.
37244         [cross-compiling] (extra-libs): Likewise.
37245         [cross-compiling] (extra-libs-others): Likewise.
37246         [cross-compiling] (librpcsvc-routines): Likewise.
37247         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37248         [cross-compiling] (omit-deps): Likewise.
37249         (sunrpc-CPPFLAGS): New variable.
37250         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37251         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37252         (cross-rpcgen-objs): New variable.
37253         (extra-objs): Append $(cross-rpcgen-objs).
37254         ($(cross-rpcgen-objs)): New rule.
37255         ($(objpfx)cross-rpcgen): Likewise.
37256         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37257         comment.
37258         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37259         ($(objpfx)x%.stmp): Likewise.
37260         * sunrpc/proto.h [IS_IN_build] (_): Define.
37261         [IS_IN_build] (_libc_intl_domainname): Likewise.
37262
37263 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37264
37265         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37266         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37267         and R_X86_64_TPOFF64.
37268
37269 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37270
37271         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37272         sysdeps/unix/sysv/syscalls.list.
37273         (stime): Likewise.
37274         (utime): Likewise.
37275         * sysdeps/unix/sysv/syscalls.list: Remove file.
37276
37277 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37278
37279         [BZ #3440]
37280         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37281         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37282         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37283         (__LC_IDENTIFICATION): Make these macros useful in #if
37284         expressions, as required by C99.
37285
37286 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37287
37288         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37289         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37290         after this.
37291
37292 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37293
37294         * stdlib/longlong.h: Updated from GCC.
37295
37296 2012-05-09  Andreas Jaeger  <aj@suse.de>
37297
37298         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37299         default is first entry.
37300         (run_mode): Set type.
37301         (main): Remove informal message about syslog.
37302         (options): Fix typo.
37303
37304         [BZ #14053]
37305         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37306         to asm.
37307         (lrint): Likewise.
37308         (llrintf): Likewise.
37309         (llrint): Likewise.
37310         (rint): Likewise.
37311         (rintf): Likewise.
37312         (nearbyint): Likewise.
37313         (nearbyintf): Likewise.
37314
37315 2012-05-09  Andreas Jaeger  <aj@suse.de>
37316             Pedro Alves  <palves@redhat.com>
37317
37318         * nscd/nscd.c (run_mode): Use enum.
37319         (main): Cleanup coding style issue.
37320
37321 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37322             Andreas Jaeger  <aj@suse.de>
37323
37324         * nscd/nscd.c (go_background): Replaced with...
37325         (run_mode): ... this.
37326         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37327         (options): Add -F --foreground.
37328         (main): Implement it.
37329         (parse_opt): Parse it.
37330
37331 2012-05-09  Andreas Jaeger  <aj@suse.de>
37332
37333         [BZ #14083]
37334         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37335         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37336         -Wconversion warning.
37337         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37338         Likewise.
37339
37340 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37341
37342         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37343         == 0.
37344         (LC_ALL): Use macro-int-constant.
37345         (LC_COLLATE): Likewise.
37346         (LC_CTYPE): Likewise.
37347         (LC_MESSAGES): Likewise.
37348         (LC_MONETARY): Likewise.
37349         (LC_NUMERIC): Likewise.
37350         (LC_TIME): Likewise.
37351         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37352         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37353         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37354         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37355         Specify type.
37356         [C99-based standards] (float_t): Expect type.
37357         [C99-based standards] (double_t): Expect type.
37358         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37359         type.
37360         [C99-based standards] (HUGE_VALL): Likewise.
37361         [C99-based standards] (INFINITY): Likewise.
37362         [C99-based standards] (NAN): Likewise.
37363         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37364         [C99-based standards] (FP_NAN): Likewise.
37365         [C99-based standards] (FP_NORMAL): Likewise.
37366         [C99-based standards] (FP_SUBNORMAL): Likewise.
37367         [C99-based standards] (FP_ZERO): Likewise.
37368         [C99-based standards] (FP_FAST_FMA): Use
37369         optional-macro-int-constant.  Specify type.  Require == 1.
37370         [C99-based standards] (FP_FAST_FMAF): Likewise.
37371         [C99-based standards] (FP_FAST_FMAL): Likewise.
37372         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37373         [C99-based standards] (FP_ILOGBNAN): Likewise.
37374         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37375         Specify type.
37376         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37377         [C99-based standards] (math_errhandling): Specify type.
37378         [ISO99 || ISO11] (signgam): Do not allow.
37379         [non-C99-based standards] (copysignf): Do not allow.
37380         [non-C99-based standards] (exp2f): Likewise.
37381         [non-C99-based standards] (log2f): Likewise.
37382         [non-C99-based standards] (modff): Allow.
37383         [non-C99-based standards] (erff): Do not allow.
37384         [non-C99-based standards] (erfcf): Likewise.
37385         [non-C99-based standards] (gammaf): Likewise.
37386         [non-C99-based standards] (hypotf): Likewise.
37387         [non-C99-based standards] (j0f): Likewise.
37388         [non-C99-based standards] (j1f): Likewise.
37389         [non-C99-based standards] (jnf): Likewise.
37390         [non-C99-based standards] (lgammaf): Likewise.
37391         [non-C99-based standards] (tgammaf): Likewise.
37392         [non-C99-based standards] (y0f): Likewise.
37393         [non-C99-based standards] (y1f): Likewise.
37394         [non-C99-based standards] (ynf): Likewise.
37395         [non-C99-based standards] (isnanf): Likewise.
37396         [non-C99-based standards] (acoshf): Likewise.
37397         [non-C99-based standards] (asinhf): Likewise.
37398         [non-C99-based standards] (atanhf): Likewise.
37399         [non-C99-based standards] (cbrtf): Likewise.
37400         [non-C99-based standards] (expm1f): Likewise.
37401         [non-C99-based standards] (ilogbf): Likewise.
37402         [non-C99-based standards] (log1pf): Likewise.
37403         [non-C99-based standards] (logbf): Likewise.
37404         [non-C99-based standards] (nextafterf): Likewise.
37405         [non-C99-based standards] (remainderf): Likewise.
37406         [non-C99-based standards] (rintf): Likewise.
37407         [non-C99-based standards] (scalbf): Likewise.
37408         [non-C99-based standards] (copysignl): Likewise.
37409         [non-C99-based standards] (exp2l): Likewise.
37410         [non-C99-based standards] (log2l): Likewise.
37411         [non-C99-based standards] (modfl): Allow.
37412         [non-C99-based standards] (erfl): Do not allow.
37413         [non-C99-based standards] (erfcl): Likewise.
37414         [non-C99-based standards] (gammal): Likewise.
37415         [non-C99-based standards] (hypotl): Likewise.
37416         [non-C99-based standards] (j0l): Likewise.
37417         [non-C99-based standards] (j1l): Likewise.
37418         [non-C99-based standards] (jnl): Likewise.
37419         [non-C99-based standards] (lgammal): Likewise.
37420         [non-C99-based standards] (tgammal): Likewise.
37421         [non-C99-based standards] (y0l): Likewise.
37422         [non-C99-based standards] (y1l): Likewise.
37423         [non-C99-based standards] (ynl): Likewise.
37424         [non-C99-based standards] (isnanl): Likewise.
37425         [non-C99-based standards] (acoshl): Likewise.
37426         [non-C99-based standards] (asinhl): Likewise.
37427         [non-C99-based standards] (atanhl): Likewise.
37428         [non-C99-based standards] (cbrtl): Likewise.
37429         [non-C99-based standards] (expm1l): Likewise.
37430         [non-C99-based standards] (ilogbl): Likewise.
37431         [non-C99-based standards] (log1pl): Likewise.
37432         [non-C99-based standards] (logbl): Likewise.
37433         [non-C99-based standards] (nextafterl): Likewise.
37434         [non-C99-based standards] (remainderl): Likewise.
37435         [non-C99-based standards] (rintl): Likewise.
37436         [non-C99-based standards] (scalbl): Likewise.
37437         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37438         [non-C99-based standards] (FP_*): Do not allow.
37439         [C99-based standards] (FP_*): Change to
37440         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37441         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37442         allow.
37443         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37444         (SIG_ERR): Likewise.
37445         [X/Open-based standards] (SIG_HOLD): Likewise.
37446         (SIG_IGN): Likewise.
37447         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37448         positive value.
37449         (SIGFPE): Likewise.
37450         (SIGILL): Likewise.
37451         (SIGINT): Likewise.
37452         (SIGSEGV): Likewise.
37453         (SIGTER): Likewise.
37454         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37455         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37456         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37457         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37458         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37459         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37460         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37461         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37462         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37463         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37464         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37465         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37466         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37467         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37468         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37469         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37470         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37471         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37472         [X/Open-based standards] (SIGTRAP): Likewise.
37473         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37474         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37475         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37476         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37477         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37478         allow.
37479
37480 2012-05-08  Ian Wienand  <ianw@vmware.com>
37481
37482         [BZ #14080]
37483         * time/tzset.c (__tzset_parse_tz): Update default rules for
37484         daylight time changes in the Energy Policy Act of 2005.
37485
37486 2012-05-09  Andreas Jaeger  <aj@suse.de>
37487
37488         [BZ #13983]
37489         * elf/ldconfig.c (parse_conf): Change string to make clear that
37490         ldconfig only issued a warning if ld.so.conf does not exist.
37491
37492 2012-05-08  David S. Miller  <davem@davemloft.net>
37493
37494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37495         movxtod instead of popping the value on the stack.
37496
37497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37498
37499 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37500
37501         * config.h.in: Add HAVE_ARM_PCS_VFP.
37502
37503 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37504
37505         [BZ #13979]
37506         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37507         checking but the checks are disabled for any reason.
37508
37509 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37510
37511         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37512         and ELF64_R_TYPE with ELFW(R_TYPE).
37513
37514 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37515
37516         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37517         (ulimit): Likewise.
37518
37519         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37520         (settimeofday): Likewise.
37521
37522 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37523
37524         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37525         a struct th_u2 inside the union, and move tu_block/tu_code into
37526         a new th_u3 union of tu_block/tu_code inside of that.  Move
37527         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37528         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37529         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37530         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37531         (th_stuff): Change to th_u1.tu_stuff.
37532         (th_data): Define.
37533         (th_msg): Change to th_u1.th_u2.tu_data.
37534
37535 2012-05-07  David S. Miller  <davem@davemloft.net>
37536
37537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37538
37539         [BZ #14074]
37540         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37541         (SETUP_PIC_REG): Use it.
37542         (SETUP_PIC_REG_LEAF): Use it.
37543
37544 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37545
37546         [BZ #13885]
37547         [BZ #13923]
37548         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37549         USE_AS_EXPM1L.
37550         (EXPL_FINITE): Likewise.
37551         (FLDLOG): Likewise.
37552         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37553         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37554         e_expl.S.
37555         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37556         USE_AS_EXPM1L.
37557         (EXPL_FINITE): Likewise.
37558         (FLDLOG): Likewise.
37559         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37560         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37561         e_expl.S.
37562         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37563         test of -max_value argument for long double.
37564         * sysdeps/i386/fpu/libm-test-ulps: Update.
37565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37566
37567 2012-05-06  David S. Miller  <davem@davemloft.net>
37568
37569         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37570         quad soft-float symbols whose references which are compiler
37571         generated.
37572         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37573
37574 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37575
37576         [BZ #13884]
37577         [BZ #13914]
37578         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37579         USE_AS_EXP10L.
37580         (EXPL_FINITE): Likewise.
37581         (FLDLOG): Likewise.
37582         (c0): Likewise.
37583         (c1): Likewise.
37584         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37585         Adjust comments for base varying.
37586         (__expl_finite): Change alias to EXPL_FINITE.
37587         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37588         e_expl.S.
37589         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37590         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37591         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37592         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37593         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37594         USE_AS_EXP10L.
37595         (EXPL_FINITE): Likewise.
37596         (FLDLOG): Likewise.
37597         (c0): Likewise.
37598         (c1): Likewise.
37599         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37600         Adjust comments for base varying.
37601         (__expl_finite): Change alias to EXPL_FINITE.
37602         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37603         tests for bugs.
37604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37605
37606         [BZ #14064]
37607         * math/libm-test.inc (check_float_internal): Correct ulp
37608         calculation for subnormal expected results.
37609
37610 2012-05-06  Andreas Jaeger  <aj@suse.de>
37611
37612         * Makeconfig (+math-flags): New, set to -frounding-math.
37613         (+cflags): Add +math-flags so that all of glibc gets compiled with
37614         it.
37615
37616         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37617
37618 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37619
37620         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37621         Disable one test.
37622
37623         [BZ #13787]
37624         [BZ #13922]
37625         [BZ #14036]
37626         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37627         (__ieee754_expl): Allow for and saturate large arguments.
37628         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37629         (u_threshold): Likewise.
37630         (__exp): Call __ieee754_exp before checking for overflow and
37631         underflow.
37632         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37633         (u_threshold): Likewise.
37634         (__expf): Call __ieee754_expf before checking for overflow and
37635         underflow.
37636         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37637         (u_threshold): Likewise.
37638         (__expl): Call __ieee754_expl before checking for overflow and
37639         underflow.
37640         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37641         (__ieee754_expl): Allow for and saturate large arguments.
37642         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37643         missing overflow exception on overflow.
37644         (expm1_test): Do not allow missing overflow exception on overflow.
37645
37646         * sysdeps/i386/fpu/e_expl.c: Move to ...
37647         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37648         rather than using inline asm.
37649         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37650         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37651         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37652
37653         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37654         (nice): Likewise.
37655         (poll): Likewise.
37656         (signal): Likewise.
37657         (time): Likewise.
37658         (times): Likewise.
37659
37660 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37661
37662         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37663         sysdeps/unix/common/syscalls.list.
37664         (fchmod): Likewise.
37665         (fchown): Likewise.
37666         (ftruncate): Likewise.
37667         (getrusage): Likewise.
37668         (gettimeofday): Likewise.
37669         (setpgid): Likewise.
37670         (setregid): Likewise.
37671         (setreuid): Likewise.
37672         (sigaction): Likewise.
37673         (truncate): Likewise.
37674         (vhangup): Likewise.
37675         * sysdeps/unix/common/syscalls.list: Remove file.
37676         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37677         * sysdeps/unix/sysv/linux/Implies: Likewise.
37678
37679 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37680
37681         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37683         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37684         Moved to ...
37685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37686         Here.
37687         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37688         to ...
37689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37690         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37691         to ...
37692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37693         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37694         to ...
37695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37696         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37697         to ...
37698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37699         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37700         to ...
37701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37702         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37703         to ...
37704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37705         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37706         to ...
37707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37708         Here.
37709         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37710         to ...
37711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37712         Here.
37713         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37714         to ...
37715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37716         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37717         Moved to ...
37718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37719         Here.
37720         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37721         to ...
37722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37723
37724 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37725
37726         * sysdeps/unix/common/bits/dirent.h: Remove file.
37727         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37728
37729         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37730         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37731         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37732         * sysdeps/unix/bsd/isatty.c: Likewise.
37733         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37734         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37735         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37736
37737 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37738
37739         [BZ #13563]
37740         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37741         long double comparison inaccuracies.
37742         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37744
37745 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37746
37747         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37748         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37749
37750 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37751
37752         [BZ #14049]
37753         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37754         nonzero digits before rounding a hex value.
37755         * stdlib/tst-strtod.c (tests): Add another test.
37756
37757 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37758
37759         * sysdeps/s390/fpu/libm-test-ulps: Update.
37760
37761 2012-05-03  Andreas Jaeger  <aj@suse.de>
37762
37763         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37764         does not get optimized out.
37765         (malloc_opt_barrier): New.
37766
37767 2012-05-03  Andreas Jaeger  <aj@suse.de>
37768             Roland McGrath  <roland@hack.frob.com>
37769
37770         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37771         intermediate file deletion.
37772         (generated): Add .symlist files.
37773
37774 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37775
37776         [BZ #13775]
37777         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37778         Redirect under this condition.
37779         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37780         [__USE_GNU] (__dprintf_chk): Not under this condition.
37781         [__USE_GNU] (__vdprintf_chk): Likewise.
37782         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37783         under this condition.
37784         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37785         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37786         [__USE_XOPEN2K8] (vdprintf): Likewise.
37787         [__USE_GNU] (__dprintf_chk): Not under this condition.
37788         [__USE_GNU] (__vdprintf_chk): Likewise.
37789         [__USE_GNU] (dprintf): Likewise.
37790         [__USE_GNU] (vdprintf): Likewise.
37791
37792 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37793
37794         * elf/Makefile (common-generated): Set this instead of generated for
37795         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37796         $(all-built-dso)-derived lists.
37797
37798 2012-05-03  Andreas Jaeger  <aj@suse.de>
37799
37800         * sysdeps/i386/fpu/libm-test-ulps: Update.
37801
37802         * FAQ: Removed.
37803         * FAQ.in: Likewise.
37804         * scripts/gen-FAQ.pl: Likewise.
37805         * manual/install.texi (Installation): Point to online location of
37806         FAQ.
37807         * Makefile (files-for-dist): Remove FAQ.
37808         (FAQ): Remove.
37809
37810 2012-05-02  Allan McRae  <allan@archlinux.org>
37811
37812         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37813         (LDFLAGS-reldepmod5.so): Likewise.
37814         (LDFLAGS-reldep6mod1.so): Likewise.
37815         (LDFLAGS-reldep6mod4.so): Likewise.
37816         (LDFLAGS-reldep8mod3.so): Likewise.
37817         (LDFLAGS-unload4mod1.so): Likewise.
37818         (LDFLAGS-unload4mod2.so): Likewise.
37819         (LDFLAGS-tst-initorder): Likewise.
37820         (LDFLAGS-tst-initordera2.so): Likewise.
37821         (LDFLAGS-tst-initordera3.so): Likewise.
37822         (LDFLAGS-tst-initordera4.so): Likewise.
37823         (LDFLAGS-tst-initorderb2.so): Likewise.
37824         (LDFLAGS-noload): Likewise.
37825         (LDFLAGS-next): Likewise.
37826         (LDFLAGS-order2mod1.so): Likewise.
37827         (LDFLAGS-order2mod2.so): Likewise.
37828         (LDFLAGS-tst-initorder2): Likewise.
37829         (LDFLAGS-tst-initorder2a.so): Likewise.
37830         (LDFLAGS-tst-initorder2b.so): Likewise.
37831         (LDFLAGS-tst-initorder2c.so): Likewise.
37832         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37833
37834 2012-05-02  David S. Miller  <davem@davemloft.net>
37835
37836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37837
37838 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37839
37840         [BZ #14055]
37841         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37842
37843 2012-05-02  Andreas Jaeger  <aj@suse.de>
37844
37845         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37846         since we manipulate rounding mode.
37847         (CPPFLAGS-test-idouble.c): Likewise.
37848         (CPPFLAGS-test-ifloat.c): Likewise.
37849         (CFLAGS-test-ldouble.c): Likewise.
37850         (CFLAGS-test-double.c): Likewise.
37851         (CFLAGS-test-float.c): Likewise.
37852         (CFLAGS-test-misc.c): Likewise.
37853         (CFLAGS-test-test-fenv.c): Likewise.
37854
37855 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37856
37857         [BZ #2550]
37858         [BZ #2570]
37859         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37860         comparisons to determine direction to adjust input.
37861
37862 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37863
37864         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37865         output to the target.
37866
37867         * scripts/localplt.awk: New file.
37868         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37869         (check-localplt-CFLAGS): Variable removed.
37870         ($(all-built-dso:=.jmprel)): New static pattern rule.
37871         (generated): Add those targets.
37872         (localplt-built-dso): New variable.
37873         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37874
37875         * elf/check-localplt.c: File removed.
37876
37877         * scripts/check-execstack.awk: New file.
37878         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37879         (check-execstack-CFLAGS): Variable removed.
37880         ($(objpfx)check-execstack.h): Target removed.
37881         ($(objpfx)execstack-default): New target.
37882         (generated): Add that instead of check-execstack.h.
37883         ($(all-built-dso:=.phdr)): New static pattern rule.
37884         (generated): Add those targets.
37885         * elf/check-execstack.c: File removed.
37886
37887         * scripts/check-textrel.awk: New file.
37888         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37889         (check-textrel-CFLAGS): Variable removed.
37890         (all-built-dso): Use := to define.o
37891         ($(all-built-dso:=.dyn)): New static pattern rule.
37892         (generated): Add those targets.
37893         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37894         * config.make.in (READELF): New substituted variable.
37895         * elf/check-textrel.c: File removed.
37896
37897 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37898
37899         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37900         allow.
37901         * conform/data/ctype.h-data [C99-based standards] (isblank):
37902         Expect function.
37903         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37904         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37905         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37906         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37907         Specify type.  Require positive value.
37908         (EILSEQ): Likewise.
37909         (ERANGE): Likewise.
37910         [ISO || POSIX] (EILSEQ): Do not expect.
37911         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37912         Specify type.  Require positive value.
37913         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37914         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37915         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37916         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37917         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37918         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37919         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37920         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37921         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37922         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37923         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37924         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37925         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37926         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37927         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37928         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37929         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37930         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37931         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37932         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37933         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37934         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37935         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37936         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37937         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37938         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37939         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37940         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37941         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37942         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37943         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37944         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37945         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37946         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37947         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37948         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37949         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37950         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37951         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37952         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37953         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37954         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37955         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37956         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37957         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37958         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37959         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37960         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37961         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37962         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37963         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37964         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37965         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37966         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37967         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37968         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37969         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37970         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37971         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37972         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37973         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37974         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37975         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37976         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37977         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37978         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37979         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37980         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37981         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37982         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37983         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37984         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37985         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37986         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37987         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37988         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37989         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37990         Require >= 2.
37991         (FLT_ROUNDS): Expect as macro, not constant.
37992         (FLT_MANT_DIG): Use macro-int-constant.
37993         (DBL_MANT_DIG): Likewise.
37994         (LDBL_MANT_DIG): Likewise.
37995         (FLT_DIG): Likewise.
37996         (DBL_DIG): Likewise.
37997         (LDBL_DIG): Likewise.
37998         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37999         (DBL_MIN_EXP): Likewise.
38000         (LDBL_MIN_EXP): Likewise.
38001         (FLT_MAX_EXP): Use macro-int-constant.
38002         (DBL_MAX_EXP): Likewise.
38003         (LDBL_MAX_EXP): Likewise.
38004         (FLT_MAX_10_EXP): Likewise.
38005         (DBL_MAX_10_EXP): Likewise.
38006         (LDBL_MAX_10_EXP): Likewise.
38007         (FLT_MAX): Use macro-constant.
38008         (DBL_MAX): Likewise.
38009         (LDBL_MAX): Likewise.
38010         (FLT_EPSILON): Use macro-constant.  Give upper bound.
38011         (DBL_EPSILON): Likewise.
38012         (LDBL_EPSILON): Likewise.
38013         (FLT_MIN): Likewise.
38014         (DBL_MIN): Likewise.
38015         (LDBL_MIN): Likewise.
38016         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38017         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38018         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38019         [ISO11] (FLT_HAS_SUBNORM): Likewise.
38020         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38021         [ISO11] (DBL_DECIMAL_DIG): Likewise.
38022         [ISO11] (FLT_DECIMAL_DIG): Likewise.
38023         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38024         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38025         [ISO11] (FLT_TRUE_MIN): Likewise.
38026         [ISO11] (LDBL_TRUE_MIN): Likewise.
38027         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38028         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38029         (SCHAR_MIN): Use macro-int-constant.  Specify type.
38030         (SCHAR_MAX): Likewise.
38031         (UCHAR_MAX): Likewise.
38032         (CHAR_MIN): Likewise.
38033         (CHAR_MAX): Likewise.
38034         (MB_LEN_MAX): Use macro-int-constant.
38035         (SHRT_MIN): Use macro-int-constant.  Specify type.
38036         (SHRT_MAX): Likewise.
38037         (USHRT_MAX): Likewise.
38038         (INT_MAX): Likewise.
38039         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
38040         bound negative.
38041         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38042         bound with "U".
38043         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38044         bound with "L".
38045         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
38046         bound negative.  Suffix upper bound with "L".
38047         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38048         bound with "UL".
38049         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38050         Specify type.
38051         [C99-based standards] (LLONG_MAX): Likewise.
38052         [C99-based standards] (ULLONG_MAX): Likewise.
38053         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
38054         == 0.
38055         [ISO11] (max_align_t): Require type.
38056         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38057
38058         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38059         from $CFLAGS, without defining away __attribute__ calls.
38060         (checknamespace): Use $CFLAGS_namespace.
38061
38062         * conform/conformtest.pl (@keywords): Only include C99 keywords
38063         for standards based on C99 or C11.
38064
38065         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38066         Disable tests.
38067         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38068         UNIX98]: Likewise.
38069
38070         * conform/conformtest.pl: Handle "macro-int-constant" and test for
38071         usability of symbols in #if.
38072
38073         * conform/conformtest.pl: If macro or constant types start
38074         "promoted:", expect the symbol to be of the following type
38075         promoted by the integer promotions.
38076
38077         * conform/conformtest.pl: Parse all "constant" and "macro" lines
38078         in one place.  Also handle "macro-constant".
38079
38080         * conform/conformtest.pl: Only accept expected macro values with
38081         "==".  Parse all "macro" lines in one place.
38082         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38083
38084         * conform/conformtest.pl: Handle braced types on "constant" lines
38085         instead of handling "typed-constant".
38086         * conform/data/signal.h-data: Use "constant" instead of
38087         "typed-constant".
38088
38089         * conform/conformtest.pl: Handle "optional-" at start of lines in
38090         one place rather than duplicating several cases.  Handle each
38091         format of "macro" line with initial "optional-".
38092
38093         * conform/conformtest.pl: Only accept expected constant or
38094         optional-constant values with "==".  Parse all "constant" lines in
38095         one place.  Parse all "optional-constant" lines in one place.
38096         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38097         * conform/data/fmtmsg.h-data: Likewise.
38098         * conform/data/netinet/in.h-data: Likewise.
38099         * conform/data/tar.h-data: Likewise.
38100         * conform/data/limits.h-data: Use "==" form on "constant" and
38101         "optional-constant" lines.
38102
38103         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38104         Use -std=c99 for XOPEN2K.
38105         (@knownproblems): Remove.
38106         (newtoken): Don't check %isknown.
38107
38108         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38109         Do not expect macro.
38110         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38111         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38112         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38113         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38114         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38115         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38116         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38117         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38118         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38119         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38120         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38121         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38122         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38123         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38124         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38125         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38126         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38127         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38128         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38129         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38130         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38131         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38132         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38133         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38134         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38135         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38136         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38137         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38138         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38139         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38140         [XPG3] (acosh): Likewise.
38141         [XPG3] (asinh): Likewise.
38142         [XPG3] (atanh): Likewise.
38143         [XPG3] (cbrt): Likewise.
38144         [XPG3] (expm1): Likewise.
38145         [XPG3] (ilogb): Likewise.
38146         [XPG3] (log1p): Likewise.
38147         [XPG3] (logb): Likewise.
38148         [XPG3] (nextafter): Likewise.
38149         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38150         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38151         [XPG3] (remainder): Likewise.
38152         [XPG3] (rint): Likewise.
38153         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38154         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38155         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38156         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38157         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38158         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38159         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38160         [UNIX98 || XOPEN2K] (scalb): Expect.
38161         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38162         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38163         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38164         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38165         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38166         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38167         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38168         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38169         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38170         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38171         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38172         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38173         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38174         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38175         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38176         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38177         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38178         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38179         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38180         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38181         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38182         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38183         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38184         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38185         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38186         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38187         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38188         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38189         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38190         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38191         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38192         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38193         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38194         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38195         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38196         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38197         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38198         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38199         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38200         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38201         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38202         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38203         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38204         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38205         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38206         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38207         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38208         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38209         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38210         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38211         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38212         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38213         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38214         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38215         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38216         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38217         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38218         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38219         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38220         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38221         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38222         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38223         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38224         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38225         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38226         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38227         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38228         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38229         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38230         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38231         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38232         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38233         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38234         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38235         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38236         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38237         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38238         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38239         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38240         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38241         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38242         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38243         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38244         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38245         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38246         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38247         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38248         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38249         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38250         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38251         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38252         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38253         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38254         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38255         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38256         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38257         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38258         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38259         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38260         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38261         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38262         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38263         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38264         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38265         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38266         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38267         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38268         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38269         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38270         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38271         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38272         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38273         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38274         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38275         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38276         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38277         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38278         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38279         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38280         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38281         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38282         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38283         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38284         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38285         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38286         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38287         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38288         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38289         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38290         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38291         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38292         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38293         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38294         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38295         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38296         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38297         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38298
38299         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38300         _XOPEN_SOURCE_EXTENDED for XPG4.
38301
38302         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38303
38304         * Makeconfig (localtime): Remove variable.
38305         (inst_localtime-file): Likewise.
38306
38307 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38308
38309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38310         Update.
38311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38312         Update.
38313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38314         Update.
38315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38316         Update.
38317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38318         Update.
38319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38320         Update.
38321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38322         Update.
38323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38324         Update.
38325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38326         Update.
38327
38328 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38329
38330         [BZ #2550]
38331         [BZ #2570]
38332         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38333         comparisons to determine direction to adjust input.
38334         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38335         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38336         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38337         Likewise.
38338         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38339         Likewise.
38340         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38341         Likewise.
38342         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38343         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38344         Likewise.
38345         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38346         Likewise.
38347         * math/libm-test.inc (nexttoward_test): Add more tests.
38348
38349 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38350
38351         [BZ #14040]
38352         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38353         in version GLIBC_2.1, not GLIBC_2.0.
38354         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38355         Likewise.
38356
38357 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38358
38359         [BZ #13942]
38360         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38361         (1 - x) * (1 + x).
38362         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38363         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38364         * math/libm-test.inc (acos_test): Add more tests.
38365         (asin_test): Likewise.
38366         * sysdeps/i386/fpu/libm-test-ulps: Update.
38367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38368
38369         [BZ #14034]
38370         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38371         of square root.
38372         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38373         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38374         * math/libm-test.inc (acos_test_tonearest): New function.
38375         (acos_test_towardzero): Likewise.
38376         (acos_test_downward): Likewise.
38377         (acos_test_upward): Likewise.
38378         (asin_test_tonearest): Likewise.
38379         (asin_test_towardzero): Likewise.
38380         (asin_test_downward): Likewise.
38381         (asin_test_upward): Likewise.
38382         (main): Call the new functions.
38383         * sysdeps/i386/fpu/libm-test-ulps: Update.
38384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38385
38386         [BZ #13884]
38387         [BZ #13924]
38388         * math/e_exp10.c: Include <float.h>.
38389         (__ieee754_exp10): Handle underflow here rather than multiplying
38390         large negative argument by M_LN10.
38391         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38392         of __ieee754_expf.
38393         * math/e_exp10l.c: Include <float.h>.
38394         (__ieee754_exp10l): Handle underflow here rather than multiplying
38395         large negative argument by M_LN10l.
38396         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38397         spurious overflow exception on underflow.
38398
38399 2012-04-29  Marek Polacek  <polacek@redhat.com>
38400
38401         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38402         (__fortify_function): New macro.
38403         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38404         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38405         __extern_always_inline.
38406         * libio/bits/stdio2.h: Likewise.
38407         * libio/bits/stdio.h: Likewise.
38408         * string/string.h: Likewise.
38409         * string/bits/string3.h: Likewise.
38410         * include/stdio.h: Likewise.
38411         * stdlib/bits/stdlib.h: Likewise.
38412         * stdlib/stdlib.h: Likewise.
38413         * rt/bits/mqueue2.h: Likewise.
38414         * rt/mqueue.h: Likewise.
38415         * posix/bits/unistd.h: Likewise.
38416         * posix/unistd.h: Likewise.
38417         * io/bits/poll2.h: Likewise.
38418         * io/bits/fcntl2.h: Likewise.
38419         * io/fcntl.h: Likewise.
38420         * io/sys/poll.h: Likewise.
38421         * misc/bits/syslog.h: Likewise.
38422         * misc/bits/syslog-ldbl.h: Likewise.
38423         * misc/sys/syslog.h: Likewise.
38424         * socket/bits/socket2.h: Likewise.
38425         * socket/sys/socket.h: Likewise.
38426         * debug/tst-chk1.c: Likewise.
38427         * wcsmbs/bits/wchar2.h: Likewise.
38428         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38429         * wcsmbs/wchar.h: Likewise.
38430
38431 2012-04-29  Andreas Jaeger  <aj@suse.de>
38432
38433         * Makerules (tests): Remove enable-check-abi protection.
38434         (check-abi-warn): Remove.
38435         (check-abi-%): Remove check-abi-warn usage.
38436
38437         * configure.in: Remove check-abi configure option.
38438         * configure: Regenerated.
38439         * config.make.in (enable-check-abi): Remove.
38440
38441 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38442
38443         [BZ #14033]
38444         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38445         double functions to double *_finite functions.
38446
38447         [BZ #13941]
38448         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38449         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38450         LDBL_MIN_EXP.
38451         * stdio-common/Makefile (tests): Add tst-sprintf3.
38452         * stdio-common/tst-sprintf3.c: New file.
38453
38454         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38455         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38456
38457 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38458
38459         * conform/conformtest.pl: Remove duplicate typed-constant
38460         handling.
38461
38462 2012-04-28  David S. Miller  <davem@davemloft.net>
38463
38464         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38465         (check-abi-%): Remove AWK script prerequisite and explicit
38466         abilist directory.
38467         (check-abi): Rewrite to just diff the symlist with the abilist.
38468         (config-tls, config-abi-config): Delete, no longer used.
38469         (update-abi-%): Remove AWK script and explicit abilist directory.
38470         (update-abi): Rewrite to simply compare and conditionally copy the
38471         symlist and the sysdep abilist file.  Remove update-abi-config
38472         checks.
38473         * abilist/ld.abilist: Remove.
38474         * abilist/libBrokenLocale.abilist: Remove.
38475         * abilist/libanl.abilist: Remove.
38476         * abilist/libcrypt.abilist: Remove.
38477         * abilist/libdl.abilist: Remove.
38478         * abilist/librt.abilist: Remove.
38479         * abilist/libthread_db.abilist: Remove.
38480         * abilist/libutil.abilist: Remove.
38481         * scripts/extract-abilist.awk: Remove.
38482         * scripts/merge-abilist.awk: Remove.
38483         * sysdeps/generic/libcidn.abilist: New file.
38484         * sysdeps/generic/libnss_compat.abilist: New file.
38485         * sysdeps/generic/libnss_db.abilist: New file.
38486         * sysdeps/generic/libnss_dns.abilist: New file.
38487         * sysdeps/generic/libnss_files.abilist: New file.
38488         * sysdeps/generic/libnss_hesiod.abilist: New file.
38489         * sysdeps/generic/libnss_nis.abilist: New file.
38490         * sysdeps/generic/libnss_nisplus.abilist: New file.
38491         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38492         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38493         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38494         file.
38495         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38496         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38497         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38498         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38499         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38500         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38501         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38502         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38503         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38504         file.
38505         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38506         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38507         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38508         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38509         file.
38510         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38511         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38512         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38513         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38514         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38515         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38516         file.
38517         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38518         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38519         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38520         file.
38521         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38522         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38523         New file.
38524         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38525         New file.
38526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38527         New file.
38528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38529         New file.
38530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38531         New file.
38532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38533         New file.
38534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38535         New file.
38536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38537         New file.
38538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38539         New file.
38540         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38541         New file.
38542         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38543         New file.
38544         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38545         New file.
38546         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38547         New file.
38548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38549         file.
38550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38551         New file.
38552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38553         New file.
38554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38555         file.
38556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38557         New file.
38558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38559         New file.
38560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38561         file.
38562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38563         New file.
38564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38565         New file.
38566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38567         New file.
38568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38569         New file.
38570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38571         New file.
38572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38573         New file.
38574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38576         file.
38577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38578         New file.
38579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38580         file.
38581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38582         file.
38583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38584         file.
38585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38586         file.
38587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38588         file.
38589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38590         New file.
38591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38592         file.
38593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38594         file.
38595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38596         New file.
38597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38598         file.
38599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38601         file.
38602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38603         New file.
38604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38605         file.
38606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38607         file.
38608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38609         file.
38610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38611         file.
38612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38613         file.
38614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38615         New file.
38616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38617         file.
38618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38619         file.
38620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38621         New file.
38622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38623         file.
38624         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38625         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38626         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38627         file.
38628         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38629         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38630         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38631         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38632         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38633         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38634         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38635         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38636         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38637         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38640         file.
38641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38642         New file.
38643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38644         file.
38645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38646         file.
38647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38648         file.
38649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38650         file.
38651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38652         file.
38653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38654         New file.
38655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38656         New file.
38657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38658         file.
38659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38660         New file.
38661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38662         file.
38663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38665         file.
38666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38667         New file.
38668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38669         file.
38670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38671         file.
38672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38673         file.
38674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38675         file.
38676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38677         file.
38678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38679         New file.
38680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38681         New file.
38682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38683         file.
38684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38685         New file.
38686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38687         file.
38688
38689 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38690
38691         * conform/conformtest.pl: Fix typo in handling typed-constant from
38692         allow-header.
38693
38694 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38695
38696         * README: Cut down references to pre-2.6 Linux kernels and
38697         Linuxthreads.  Update lists of configurations in libc and ports
38698         and sort alphabetically.  Say "or newer" with Linux kernel version
38699         requirements.
38700
38701         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38702
38703 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38704
38705         [BZ #887]
38706         * math/libm-test.inc (logb_test_downward): New test to expose
38707         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38708         rounding mode.
38709
38710 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38711
38712         [BZ #14027]
38713         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38714         to be done.
38715         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38716         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38717
38718 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38719
38720         * sysdeps/unix/i386/brk.S: Remove file.
38721         * sysdeps/unix/i386/dl-brk.S: Likewise.
38722         * sysdeps/unix/i386/pipe.S: Likewise.
38723         * sysdeps/unix/i386/sigreturn.S: Likewise.
38724         * sysdeps/unix/i386/syscall.S: Likewise.
38725         * sysdeps/unix/i386/vfork.S: Likewise.
38726         * sysdeps/unix/i386/wait.S: Likewise.
38727
38728         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38729         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38730
38731         * configure.in (arm*-none*): Do not allow without
38732         --enable-hacker-mode.
38733         (netbsd*): Remove case setting base_os.
38734         (386bsd*): Likewise.
38735         (freebsd*): Likewise.
38736         (bsdi*): Likewise.
38737         (osf*): Likewise.
38738         (sunos*): Likewise.
38739         (ultrix*): Likewise.
38740         (newsos*): Likewise.
38741         (dynix*): Likewise.
38742         (*bsd*): Likewise.
38743         (sysv*): Likewise.
38744         (isc*): Likewise.
38745         (esix*): Likewise.
38746         (sco*): Likewise.
38747         (minix*): Likewise.
38748         (irix4*): Likewise.
38749         (irix6*): Likewise.
38750         (solaris[2-9]*): Likewise.
38751         (none): Likewise.
38752         * configure: Regenerated.
38753
38754 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38755
38756         [BZ #11521]
38757         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38758         overflow or cancellation in calculating denominator.
38759         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38760         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38761         down expression to avoid unexpected rounding in newer GCCs.
38762         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38763
38764 2012-04-26  David S. Miller  <davem@davemloft.net>
38765
38766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38767         long-double compat symbols.
38768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38781
38782 2012-04-25  David S. Miller  <davem@davemloft.net>
38783
38784         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38785         HWCAP_* values only after the memory barriers have been defined.
38786         (atomic_full_barrier): Define.
38787         (atomic_read_barrier): Define.
38788         (atomic_write_barrier): Define.
38789
38790 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38791
38792         * shlib-versions: Add libgcc_s version information.
38793         * sysdeps/generic/libgcc_s.h: Remove.
38794         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38795         libgcc_s.h.
38796         * sysdeps/gnu/unwind-resume.c: Likewise.
38797         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38798
38799 2012-04-25  David S. Miller  <davem@davemloft.net>
38800
38801         * sysdeps/unix/sparc/brk.S: Delete.
38802         * sysdeps/unix/sparc/dl-brk.S: Delete.
38803         * sysdeps/unix/sparc/pipe.S: Delete.
38804         * sysdeps/unix/sparc/sysdep.S: Delete.
38805         * sysdeps/unix/sparc/sysdep.h: Delete.
38806         * sysdeps/unix/sparc/vfork.S: Delete.
38807         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38808         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38809         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38810         (ret_ERRVAL, r0, r1, MOVE): Define.
38811         (JUMPTARGET): Remove.
38812         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38813         sysdeps/unix/sparc/sysdep.h
38814         (ENTRY, END): Remove.
38815         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38816
38817 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38818
38819         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38820         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38821         -DIS_IN_build.
38822
38823         * timezone/README: Update upstream location and email address for
38824         tzcode and tzdata.
38825         * timezone/zdump.c: Update from tzcode 2012b.
38826         * timezone/zic.c: Likewise.
38827
38828         * configure.in (libc_cv_as_needed): Remove test.
38829         * configure: Regenerated.
38830         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38831         conditional definition.
38832         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38833         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38834         * config.make.in (have-as-needed): Remove variable.
38835
38836 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38837             Paul Pluzhnikov  <ppluzhnikov@google.com>
38838
38839         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38840         strings correctly.
38841
38842 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38843
38844         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38845         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38846         * sysdeps/sh/strlen.S: Likewise.
38847
38848 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38849
38850         * sysdeps/unix/fork.S: Remove file.
38851         * sysdeps/unix/i386/fork.S: Likewise.
38852         * sysdeps/unix/sparc/fork.S: Likewise.
38853
38854         * sysdeps/unix/system.c: Remove file.
38855         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38856
38857         * sysdeps/unix/getegid.S: Remove file.
38858         * sysdeps/unix/geteuid.S: Likewise.
38859
38860 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38861
38862         * scripts/check-localplt.awk: New file.
38863         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38864         of diff.
38865         * scripts/data/localplt-generic.data: Add a comment.
38866
38867         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38868         NODE when __dir_mkfile failed.
38869         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38870         Reported by Ludovic Courtès <ludo@gnu.org>.
38871
38872 2012-04-24  Andreas Jaeger  <aj@suse.de>
38873
38874         * Makerules (common-clean): Also remove gen-as-const-headers
38875         files.
38876
38877 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38878
38879         * Makerules (native-compile): Do not change working directory for
38880         build.  Use $(OUTPUT_OPTION) in command.
38881         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38882
38883 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38884
38885         [BZ #13886]
38886         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38887         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38888         * math/libm-test.inc (floor_test): Add more tests.
38889         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38890
38891 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38892
38893         * sysdeps/unix/getdents.c: Remove file.
38894         * sysdeps/unix/sysv/getdents.c: Likewise.
38895         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38896
38897         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38898         sysdeps/unix/mman/syscalls.list.
38899         (mmap): Likewise.
38900         (mprotect): Likewise.
38901         (msync): Likewise.
38902         (munmap): Likewise.
38903         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38904         * sysdeps/unix/mman/syscalls.list: Remove.
38905         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38906
38907         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38908         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38909         * configure: Regenerated.
38910         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38911         $(libgcc_s_suffix).
38912         * config.make.in (libgcc_s_suffix): Remove variable.
38913
38914 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38915
38916         * sysdeps/unix/sysv/gethostname.c: Move to ...
38917         * sysdeps/posix/gethostname.c: ... here.
38918
38919         * sysdeps/unix/execve.S: Remove file.
38920
38921         * sysdeps/unix/_exit.S: Remove file.
38922
38923 2012-04-23  Andreas Jaeger  <aj@suse.de>
38924
38925         [BZ #13739]
38926         * manual/Makefile: Remove make dist support, there's no
38927         need for a stand-alone documentation tar ball.
38928         (TEXI2DVI): Define always, it's not in Makeconfig.
38929         (dist): Removed.
38930         (tar-it): Removed.
38931         (edition): Removed.
38932         (glibc-doc-$(edition).tar): Removed
38933         (%.Z): Removed.
38934         (%.gz): Removed.
38935         (%.uu): Removed.
38936         (ETAGS): Remove, it's in Makeconfig.
38937         (move-if-change): Remove, it's in Makeconfig.
38938
38939 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38940
38941         [BZ #13970]
38942         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38943         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38944         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38945         (strtod_l, strtof_l, strtold_l): Remove __wur.
38946         It is not necessarily an error to ignore strtol's return value.
38947         One can reliably look at the stored endptr to decide whether
38948         the number had valid syntax.
38949
38950 2012-04-21  Andreas Jaeger  <aj@suse.de>
38951
38952         [BZ #13739]
38953         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38954
38955 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38956
38957         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38958         * sysdeps/unix/sysv/Versions: Remove file.
38959
38960 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38961
38962         [BZ #13927]
38963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38964
38965 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38966
38967         [BZ #7064]
38968         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38969         version from __vm86.
38970
38971 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38972
38973         * sysdeps/unix/common/lxstat.c: Remove file.
38974         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38975
38976         * sysdeps/unix/sysv/Makefile: Remove file.
38977
38978         * sysdeps/unix/sysv/direct.h: Remove file.
38979
38980         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38981         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38982         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38983         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38984         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38985         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38986         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38987
38988         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38989
38990         * sysdeps/unix/xmknod.c: Remove file.
38991         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38992
38993         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38994
38995         * sysdeps/unix/sysv/i386/time.S: Remove file.
38996
38997         * sysdeps/unix/fxstat.c: Remove file.
38998         * sysdeps/unix/xstat.c: Likewise.
38999         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39000
39001         * sysdeps/unix/sysv/sigaction.c: Remove file.
39002
39003         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39004         (sysdep_headers): Remove variable.
39005         [termio.h not in sysdep_headers] (generated): Likewise.
39006         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39007         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39008         * sysdeps/unix/sysv/tcdrain.c: Likewise.
39009         * sysdeps/unix/sysv/tcflow.c: Likewise.
39010         * sysdeps/unix/sysv/tcflush.c: Likewise.
39011         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39012         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39013         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39014         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39015         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39016
39017         * sysdeps/unix/siglist.c: Remove file.
39018
39019         * sysdeps/unix/getppid.S: Remove file.
39020
39021         * sysdeps/unix/mkdir.c: Remove file.
39022         * sysdeps/unix/rmdir.c: Likewise.
39023
39024 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
39025
39026         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39027         ERR_MAX value.
39028         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39029         errlist-compat value.
39030
39031 2012-04-18  David S. Miller  <davem@davemloft.net>
39032
39033         * sysdeps/generic/memcopy.h (reg_char): Delete.
39034         * debug/strcat_chk.c: Use char, not reg_char.
39035         * debug/strcpy_chk.c: Likewise.
39036         * debug/strncat_chk.c: Likewise.
39037         * debug/strncpy_chk.c: Likewise.
39038         * string/memchr.c: Likewise.
39039         * string/memrchr.c: Likewise.
39040         * string/rawmemchr.c: Likewise.
39041         * string/strcat.c: Likewise.
39042         * string/strchr.c: Likewise.
39043         * string/strchrnul.c: Likewise.
39044         * string/strcmp.c: Likewise.
39045         * string/strcpy.c: Likewise.
39046         * string/strncat.c: Likewise.
39047         * string/strncmp.c: Likewise.
39048         * string/strncpy.c: Likewise.
39049
39050 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39051
39052         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39053         __builtin_memcopy is called when src and dest ranges are known to not
39054         overlap.
39055
39056 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39057
39058         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39059         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39060         fwd_align_merge macro call.
39061         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39062         bwd_align_merge macro call.
39063         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39064
39065 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39066
39067         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39068         bwd_align_merge macros.
39069         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39070         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39071         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39072
39073 2012-04-18  David S. Miller  <davem@davemloft.net>
39074
39075         * sysdeps/sparc/sparc64/memcopy.h: Delete.
39076
39077 2012-04-18  Andreas Jaeger  <aj@suse.de>
39078
39079         [BZ# 6794]
39080         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39081         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39082         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39083
39084         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39085         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39086         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39087
39088         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39089         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39090         Adjust for changed ldbl-128 files.
39091
39092         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39093         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39094         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39095
39096 2012-04-17  David S. Miller  <davem@davemloft.net>
39097
39098         * sysdeps/sparc/sparc32/memcopy.h: Delete.
39099
39100 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
39101
39102         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39103         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39104         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39105         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39106         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39107         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39108
39109 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39110
39111         [BZ #6794]
39112         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39113         * math/libm-test.inc: Add ilogb errno and exception tests.
39114         * math/w_ilogb.c: New file: ilogb wrapper.
39115         * math/w_ilogbf.c: New file: ilogbf wrapper.
39116         * math/w_ilogbl.c: New file: ilogbl wrapper.
39117         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39118         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39119         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39120         exception being thrown with 0.0 as argument.
39121         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39122         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39123         exception being thrown with 0.0 as argument.
39124         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39125         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39126         exception being thrown with 0.0 as argument.
39127         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39128         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39129         exception being thrown with 0.0 as argument.
39130         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39131         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39132         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39133         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39134         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39135         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39136         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39137         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39138         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39139
39140 2012-04-17  Petr Baudis  <pasky@ucw.cz>
39141
39142         * include/sys/uio.h: Change __vector to __iovec to avoid clash
39143         with altivec.
39144
39145 2012-04-16  Marek Polacek  <polacek@redhat.com>
39146
39147         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39148
39149 2012-04-16  Marek Polacek  <polacek@redhat.com>
39150
39151         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39152         operands of fdivp instruction.
39153
39154 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39155
39156         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39157         * elf/tst-auditmod3b.c: Likewise.
39158         * elf/tst-auditmod4b.c: Likewise.
39159         * elf/tst-auditmod5b.c: Likewise.
39160         * elf/tst-auditmod6b.c: Likewise.
39161         * elf/tst-auditmod6c.c: Likewise.
39162         * elf/tst-auditmod7b.c: Likewise.
39163         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39164         * sysdeps/x86_64/preconfigure.in: Likewise.
39165         * sysdeps/x86_64/preconfigure: Regenerated.
39166
39167 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39168
39169         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39170         __ILP32__.
39171
39172 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39173
39174         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39175         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39176
39177 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39178
39179         [BZ #13973]
39180         * locale/iso-639.def: Fix gl language name. Spotted by
39181         Yaron Shahrabani.
39182
39183 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39184
39185         [BZ #2074]
39186         * libio/libio.h (__io_write_fn): Update comment.
39187
39188 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39189
39190         [BZ #2074]
39191         * stdio.texi (Hook Functions): The user provided writer function
39192         is not allowed to return -1.
39193
39194 2012-04-11  David S. Miller  <davem@davemloft.net>
39195
39196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39197
39198 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39199
39200         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39201         Add a leading slash to rtkaio.
39202
39203 2012-04-11  Jim Meyering  <meyering@redhat.com>
39204
39205         [BZ #11959]
39206         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39207         It is not necessarily an error to ignore fwrite's return
39208         value.  One can reliably use ferror to test for errors after
39209         the fact.
39210
39211 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39212
39213         * bits/types.h (__snseconds_t): New type.
39214         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39215
39216         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39217         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39218         (__SNSECONDS_T_TYPE): Likewise.
39219         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39220         (__SNSECONDS_T_TYPE): Likewise.
39221         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39222         (__SNSECONDS_T_TYPE): Likewise.
39223
39224 2012-04-10  Andreas Jaeger  <aj@suse.de>
39225
39226         [BZ #2636]
39227         * manual/time.texi (Processor Time): Return type of times is
39228         elapsed real time since an arbitrary point in the past.
39229         (CPU Time): Move CLK_TCK from here...
39230         (Processor Time): ...to here.  Correct description.
39231         * manual/conf.texi (Constants for Sysconf): Correct description of
39232         _SC_CLK_TCK.
39233
39234 2012-04-10  David S. Miller  <davem@davemloft.net>
39235
39236         [BZ #13967]
39237         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39238         where the is a gap between DT_REL(A) and DT_JMPREL.
39239
39240 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39241
39242         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39243         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39244         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39245
39246 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39247
39248         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39249         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39250         (dl_main): Handle --inhibit-cache.
39251         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39252         _dl_inhibit_cache.
39253         * elf/dl-load.c (_dl_map_object): Use it.
39254         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39255
39256 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39257
39258         [BZ #13872]
39259         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39260         (__ieee754_powl): Saturate large exponents rather than testing for
39261         overflow of y*log2(x).
39262         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39263         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39264         exceptions.
39265
39266         [BZ #11521]
39267         * math/s_ctan.c: Include <float.h>.
39268         (__ctan): Avoid internal overflow or cancellation in calculating
39269         denominator.
39270         * math/s_ctanf.c: Likewise.
39271         * math/s_ctanl.c: Likewise.
39272         * math/s_ctanh.c: Likewise.
39273         * math/s_ctanhf.c: Likewise.
39274         * math/s_ctanhl.c: Likewise.
39275         * math/libm-test.inc (ctan_test): Add more tests.
39276         (ctanh_test): Likewise.
39277         * sysdeps/i386/fpu/libm-test-ulps: Update.
39278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39279
39280 2012-04-09  Andreas Jaeger  <aj@suse.de>
39281
39282         [BZ #6894]
39283         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39284         is an optional BSD extension.
39285
39286         [BZ #10254]
39287         * manual/stdio.texi (Opening Streams): Document additional fopen
39288         parameters.
39289
39290 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39291
39292         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39293         %eax without telling the compiler.
39294
39295 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39296
39297         [BZ # 13963]
39298         * manual/install.texi: Use sourceware.org.
39299
39300 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39301
39302         [BZ #13873]
39303         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39304         (__ieee754_pow): Generate overflow and underflow using huge*huge
39305         and tiny*tiny rather than just returning constant infinity or zero
39306         for large exponents.
39307         * math/libm-test.inc (pow_test): Require overflow exceptions for
39308         applicable cases of large exponents.
39309
39310         [BZ #706]
39311         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39312         (__ieee754_pow): Use iterative multiplication algorithm only for
39313         integer exponents with absolute value below 1024.  Check for odd
39314         integer exponents when using algorithm for real exponents.
39315         * math/libm-test.inc (pow_test): Add more tests.
39316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39317
39318 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39319
39320         [BZ #13705]
39321         * math/libm-test.inc (exp_test): Do not allow overflow exception
39322         on underflow test.
39323
39324 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39325
39326         [BZ #13705]
39327         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39328         instead of __kernel_standard_f.
39329
39330 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39331
39332         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39333         * sysdeps/x86_64/memset_chk.S: Likewise.
39334
39335 2012-04-08  Andreas Jaeger  <aj@suse.de>
39336
39337         [BZ #10153]
39338         * manual/startup.texi (Environment Access): Describe return value
39339         for putenv and setenv.
39340
39341         [BZ #6895]
39342         * manual/filesys.texi (Directory Entries): Add description for
39343         DT_LNK.
39344
39345         [BZ #6890]
39346         * manual/filesys.texi (Directory Entries): Clarify that it's file
39347         system not operating system in the description of DT_UNKNOWN.
39348
39349         [BZ #6578]
39350         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39351
39352 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39353
39354         [BZ #6649]
39355         * manual/llio.texi (Opening and Closing Files): Add cross
39356         reference to explain mode argument.
39357
39358 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39359
39360         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39361         * sysdeps/x86_64/memset_chk.S: Likewise.
39362
39363 2012-04-07  David S. Miller  <davem@davemloft.net>
39364
39365         * elf/elf.h (R_SPARC_WDISP10): Define.
39366         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39367         R_SPARC_SIZE32.
39368         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39369         R_SPARC_SIZE64 and R_SPARC_H34.
39370
39371 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39372
39373         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39374         conditions and remove no longer applicable assertion.
39375
39376 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39377
39378         * bits/byteswap.h: Include <features.h>.
39379         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39380         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39381
39382 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39383
39384         * bits/byteswap.h (__bswap_16): Removed.
39385         Include <bits/byteswap-16.h> to get __bswap_16.
39386         * sysdeps/i386/bits/byteswap.h: Likewise.
39387         * sysdeps/s390/bits/byteswap.h: Likewise.
39388         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39389         * bits/byteswap-16.h: New file.
39390         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39391         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39392         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39393         * string/Makefile (headers): Add bits/byteswap-16.h.
39394
39395 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39396
39397         [BZ #13895]
39398         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39399         extra indirection.
39400         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39401         * nss/tst-nss-static.c: New.
39402
39403 2012-04-06  Robert Millan  <rmh@gnu.org>
39404
39405         [BZ #6486]
39406         * manual/llio.texi (File Position Primitive): lseek
39407         refers to WHENCE when it really means OFFSET.
39408
39409 2012-04-06  Andreas Jaeger  <aj@suse.de>
39410
39411         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39412         strncmp declarations.
39413
39414         * abilist/libc.abilist: Add __poll and __ppoll.
39415
39416 2012-04-05  David S. Miller  <davem@davemloft.net>
39417
39418         * scripts/check-local-headers.sh: Accept a host triplet in the
39419         path matched by the exclude regexp.
39420
39421         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39422         definition.
39423         * sysdeps/powerpc/powerpc32/dl-machine.h
39424         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39425         * sysdeps/s390/s390-32/dl-machine.h
39426         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39427         * sysdeps/sparc/sparc32/dl-machine.h
39428         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39429         * sysdeps/sparc/sparc64/dl-machine.h
39430         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39431
39432         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39433         lazy binding.
39434         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39435         undefined symbol errors.
39436
39437         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39438         DT_NEEDED entries.
39439
39440 2012-04-05  Michael Matz  <matz@suse.de>
39441
39442         [BZ #13592]
39443         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39444
39445 2012-04-05  Andreas Jaeger  <aj@suse.de>
39446
39447         [BZ #13908]
39448         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39449         comment.
39450
39451 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39452
39453         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39454         which ROUND is no valid rounding mode.
39455
39456 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39457
39458         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39459         read again.
39460         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39461
39462 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39463
39464         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39465         an exception using FPU order intentionally.
39466
39467 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39468
39469         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39470         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39471         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39472         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39473
39474 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39475
39476         [BZ #12340]
39477         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39478         EINVAL when BUFLEN is too smal.
39479
39480 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39481
39482         [BZ #13553]
39483         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39484         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39485
39486 2012-04-03  Andreas Jaeger  <aj@suse.de>
39487
39488         [BZ #13938]
39489         * manual/setjmp.texi (System V contexts): Fix sentence.
39490
39491         [BZ #13926]
39492         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39493         New macro for this case.
39494         [!__GNUC__] (__bswap_64): New inline function for this case.
39495         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39496         * bits/byteswap.h: Likewise.
39497         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39498         ull, guard with __GLIBC_HAVE_LONG_LONG.
39499
39500         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39501         __GLIBC_HAVE_LONG_LONG.
39502
39503         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39504         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39505
39506 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39507
39508         [BZ #13691]
39509         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39510         inptr and inend, rather than using last_ch.
39511
39512 2012-04-02  David S. Miller  <davem@davemloft.net>
39513
39514         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39515         * stdio-common/printf-parse.h (read_int): Change return type to
39516         'int', return -1 on INT_MAX overflow.
39517         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39518         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39519         overflows INT_MAX.  Check for overflow of in-format-string precision
39520         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39521         SIZE_MAX not INT_MAX for integer overflow test.
39522         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39523         skip the construct in the format string but do not record anything.
39524         * stdio-common/bug22.c: Adjust to test both width/prevision
39525         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39526         explicitly for proper errno values.
39527
39528 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39529
39530         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39531         CHAR_MAX.
39532         * string/test-strcmp.c [! WIDE]: Likewise.
39533         * time/tst-mktime2.c: Likewise for INT_MAX.
39534         * string/test-string.h: #include <sys/param.h> for MIN.
39535
39536         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39537         * sysdeps/i386/init-first.c (init): Likewise.
39538         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39539         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39540         * sysdeps/sh/init-first.c (init): Likewise.
39541
39542 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39543
39544         * po/ru.po: Update from translation team.
39545         * po/vi.po: Likewise.
39546
39547 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39548
39549         * resolv/nss_dns/dns-host.c: Merge copyright years.
39550
39551 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39552
39553         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39554         Optimize memcpy with prefetch if
39555         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39556         src, dst pointers have unequal 16 byte alignments.
39557
39558 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39559
39560         [BZ #13928]
39561         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39562         from a CNAME entry and return the minimum ttl for the query.
39563         (gaih_getanswer_slice): Likewise.
39564
39565 2012-03-30  Jeff Law  <law@redhat.com>
39566
39567         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39568         due to long keys.
39569         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39570         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39571
39572         * resolv/nss_dns/dns-host.c: Update copyright year.
39573
39574 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39575
39576         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39577         requests to save a system call.  Fix check that all bytes are sent.
39578
39579         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39580         comments for sendmmsg.
39581
39582 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39583
39584         [BZ #13691]
39585         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39586         with only 1 character between 0x0041 and 0x01b0.
39587         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39588         * wcsmbs/tst-mbsnrtowcs.c: New file.
39589
39590 2012-03-29  David S. Miller  <davem@davemloft.net>
39591
39592         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39593         small copies by hand.
39594
39595 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39596
39597         [BZ #13761]
39598         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39599         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39600         group memberships.
39601
39602 2012-03-28  David S. Miller  <davem@davemloft.net>
39603
39604         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39605         that branches into memcpy.
39606         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39607         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39608         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39609         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39610         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39611         bits.
39612         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39613         implementation too.
39614         * sysdeps/sparc/mempcpy.S: New file.
39615
39616         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39617         the IFUNC routine in the libc case.
39618         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39619
39620         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39621         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39622         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39623         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39624         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39625         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39626         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39627         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39628
39629         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39630         loop to 256 bytes instead of 64 bytes and fix test signedness.
39631
39632         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39633         * sysdeps/sparc/sparc32/Makefile: rather than here...
39634         * sysdeps/sparc/sparc64/Makefile: and here.
39635
39636 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39637
39638         * malloc/mallocbug.c: Avoid warnings about unused variables.
39639
39640 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39641
39642         [BZ #13760]
39643         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39644         in the right place. Discard and retry query if response is
39645         larger than input buffer size.
39646
39647 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39648
39649         [BZ #369]
39650         [BZ #2678]
39651         [BZ #3866]
39652         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39653         x for large integer exponent.
39654         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39655         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39656         sign of result as needed afterwards.
39657         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39658         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39659         result for underflowing pow the same as for overflow.
39660         (__kernel_standard_l): Handle powl overflow and underflow here
39661         rather than calling __kernel_standard.
39662         * math/libm-test.inc (pow_test): Add more tests.
39663
39664         [BZ #3868]
39665         [BZ #13879]
39666         [BZ #13910]
39667         [BZ #13911]
39668         [BZ #13912]
39669         [BZ #13913]
39670         [BZ #13915]
39671         [BZ #13916]
39672         [BZ #13917]
39673         [BZ #13918]
39674         [BZ #13919]
39675         [BZ #13920]
39676         [BZ #13921]
39677         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39678         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39679         (__kernel_standard_l): New function.
39680         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39681         __kernel_standard.
39682         * math/w_acosl.c (__acosl): Likewise.
39683         * math/w_asinl.c (__asinl): Likewise.
39684         * math/w_atan2l.c (__atan2l): Likewise.
39685         * math/w_atanhl.c (__atanhl): Likewise.
39686         * math/w_coshl.c (__coshl): Likewise.
39687         * math/w_exp10l.c (__exp10l): Likewise.
39688         * math/w_exp2l.c (__exp2l): Likewise.
39689         * math/w_fmodl.c (__fmodl): Likewise.
39690         * math/w_hypotl.c (__hypotl): Likewise.
39691         * math/w_j0l.c (__j0l, __y0l): Likewise.
39692         * math/w_j1l.c (__j1l, __y1l): Likewise.
39693         * math/w_jnl.c (__jnl, __ynl): Likewise.
39694         * math/w_lgammal.c (__lgammal): Likewise.
39695         * math/w_log10l.c (__log10l): Likewise.
39696         * math/w_log2l.c (__log2l): Likewise.
39697         * math/w_logl.c (__logl): Likewise.
39698         * math/w_powl.c (__powl): Likewise.
39699         * math/w_remainderl.c (__remainderl): Likewise.
39700         * math/w_scalbl.c (sysv_scalbl): Likewise.
39701         * math/w_sinhl.c (__sinhl): Likewise.
39702         * math/w_sqrtl.c (__sqrtl): Likewise.
39703         * math/w_tgammal.c (__tgammal): Likewise.
39704         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39705         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39706         * math/libm-test.inc (acos_test): Add more tests.
39707         (acosh_test): Likewise.
39708         (asin_test): Likewise.
39709         (atanh_test): Likewise.
39710         (exp_test): Likewise.
39711         (exp10_test): Likewise.
39712         (exp2_test): Likewise.
39713         (expm1_test): Likewise.
39714         (lgamma_test): Likewise.
39715         (log_test): Likewise.
39716         (log10_test): Likewise.
39717         (log1p_test): Likewise.
39718         (log2_test): Likewise.
39719         (pow_test): Do not allow some spurious overflow exceptions.
39720         (sqrt_test): Add more tests.
39721         (tgamma_test): Likewise.
39722         (y0_test): Likewise.
39723         (y1_test): Likewise.
39724         (yn_test): Likewise.
39725
39726 2012-03-27  Anton Blanchard  <anton@samba.org>
39727
39728         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39729         MAP_HUGETLB.
39730         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39731         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39732         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39733
39734 2012-03-27  David S. Miller  <davem@davemloft.net>
39735
39736         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39737
39738         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39739         have-as-vis3 check.
39740
39741 2012-03-27  Andreas Jaeger  <aj@suse.de>
39742
39743         * sysdeps/x86_64/elf/configure.in: Moved to ...
39744         * sysdeps/x86_64/configure.in: ... here.
39745         * sysdeps/x86_64/elf/start.S: Moved to ...
39746         * sysdeps/x86_64/start.S: ... here.
39747         * sysdeps/x86_64/elf/configure: Delete.
39748
39749         * sysdeps/x86_64/configure.in: Merge contents from
39750         sysdeps/i386/configure.in (without i686 check).
39751
39752         * sysdeps/i386/elf/Versions: Merge into ...
39753         * sysdeps/i386/Versions: ... this.
39754         * sysdeps/i386/elf/Versions: Delete file.
39755         * sysdeps/i386/elf/start.S: Moved to ...
39756         * sysdeps/i386/start.S: ...here.
39757         * sysdeps/i386/elf/configure.in: Merge into...
39758         * sysdeps/i386/configure.in: ...here.
39759         * sysdeps/i386/elf/configure.in: Delete file.
39760         * sysdeps/i386/elf/configure: Delete file.
39761
39762         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39763         * debug/backtracesyms.c: ... here.
39764         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39765         * debug/backtracesymsfd.c: ... here.
39766         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39767         * sysdeps/generic/ifunc-sel.h: ... here.
39768
39769         * sysdeps/unix/i386/start.c: Delete file.
39770         * sysdeps/unix/sparc/start.c: Delete file.
39771         * sysdeps/unix/start.c: Delete file.
39772
39773         * sysdeps/sh/elf/configure.in: Moved to ...
39774         * sysdeps/sh/configure.in: ... here.
39775         * sysdeps/sh/elf/start.S: Moved to ...
39776         * sysdeps/sh/start.S: ... here.
39777         * sysdeps/sh/elf/configure: Delete file.
39778
39779         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39780         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39781         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39782         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39783         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39784         * sysdeps/powerpc/powerpc64/start.S: here.
39785         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39786         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39787         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39788         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39789         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39790
39791         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39792         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39793         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39794         * sysdeps/powerpc/powerpc32/start.S: ... here.
39795         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39796         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39797         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39798
39799         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39800         * sysdeps/powerpc/ifunc-sel.h: ... here.
39801         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39802         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39803
39804         * sysdeps/sparc/elf/configure.in: Moved to ...
39805         * sysdeps/sparc/configure.in: ... here.
39806         * sysdeps/sparc/elf/configure: Delete file.
39807         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39808         * sysdeps/sparc/sparc32/start.S: ... here.
39809         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39810         * sysdeps/sparc/sparc64/start.S: ... here.
39811         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39812         * sysdeps/sparc/sparc32/Makefile: ... this.
39813         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39814         * sysdeps/sparc/sparc64/Makefile: ... this.
39815
39816         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39817         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39818         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39819         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39820         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39821         * sysdeps/s390/s390-32/setjmp.S: ... here.
39822         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39823         * sysdeps/s390/s390-32/configure.in: ... here.
39824         * sysdeps/s390/s390-32/elf/configure: Delete file.
39825         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39826         * sysdeps/s390/s390-32/start.S: ... here.
39827
39828         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39829         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39830         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39831         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39832         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39833         * sysdeps/s390/s390-64/setjmp.S: ... here.
39834         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39835         * sysdeps/s390/s390-64/configure.in: ... here
39836         * sysdeps/s390/s390-64/elf/configure: Delete file.
39837         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39838         * sysdeps/s390/s390-64/start.S: ... here.
39839         * sysdeps/s390/s390-64/elf/configure: Delete.
39840
39841         * configure.in: Remove support for elf directories in sysdeps.
39842
39843         * configure: Regenerated.
39844         * sysdeps/i386/configure: Regenerated.
39845         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39846         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39847         * sysdeps/s390/s390-32/configure: Regenerated.
39848         * sysdeps/s390/s390-64/configure: Regenerated.
39849         * sysdeps/sh/configure: Regenerated.
39850         * sysdeps/sparc/configure: Regenerated.
39851         * sysdeps/x86_64/configure: Regenerated.
39852
39853 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39854
39855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39856
39857         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39858         denormal result into account.
39859
39860 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39861
39862         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39863         Reported by Allan McRae <allan@archlinux.org>.
39864
39865 2012-03-23  Jeff Law  <law@redhat.com>
39866
39867         * nss/getnssent.c (__nss_getent): Fix typo.
39868
39869 2012-03-23  David S. Miller  <davem@davemloft.net>
39870
39871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39872
39873 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39874
39875         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39876         to pad to uint64_t for each field.
39877         (dl_tls_index): Replace unsigned long with uint64_t.
39878
39879 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39880         Paul Pluzhnikov  <ppluzhnikov@google.com>
39881
39882         [BZ #6528]
39883         * grp/Makefile (otherlibs): Don't set it.
39884         * inet/Makefile (otherlibs): Likewise.
39885         * login/Makefile (otherlibs): Likewise.
39886         * nscd/Makefile (otherlibs): Likewise.
39887         * posix/Makefile (otherlibs): Likewise.
39888         * pwd/Makefile (otherlibs): Likewise.
39889         * rt/Makefile (otherlibs): Likewise.
39890         * sunrpc/Makefile (otherlibs): Likewise.
39891         * nss/Makefile (otherlibs): Likewise.
39892         Add libnss_files to routines and static-only-routines.
39893         ($(objpfx)getent): Remove rule.
39894         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39895         static-only-routines.
39896
39897 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39898
39899         [BZ #13892]
39900         * math/s_cexp.c: Include <float.h>.
39901         (__cexp): Handle exp result overflowing not necessarily
39902         overflowing both real and imaginary parts of result.
39903         * math/s_cexpf.c: Likewise.
39904         * math/s_cexpl.c: Likewise.
39905         * math/libm-test.inc (cexp_test): Add more tests.
39906         * sysdeps/i386/fpu/libm-test-ulps: Update.
39907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39908
39909 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39910
39911         * include/link.h (ELFW): New macro.
39912         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39913         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39914
39915 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39916
39917         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39918         with uint64_t.
39919
39920 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39921
39922         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39923         declaration.
39924         (struct La_x32_retval): Likewise.
39925
39926 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39927
39928         * sysdeps/x86_64/preconfigure.in: New file.
39929         * sysdeps/x86_64/preconfigure: New generated file.
39930
39931 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39932
39933         [BZ #13824]
39934         * math/e_exp2l.c: Include <float.h>.
39935         (__ieee754_exp2l): Handle overflow and underflow cases
39936         separately.  Only pass fractional part of argument to
39937         __ieee754_expl.
39938         * math/libm-test.inc (exp2_test): Add more tests.
39939
39940         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39941         negating x to take absolute value.
39942         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39943         Likewise.
39944         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39945         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39946         Likewise.
39947         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39948         computing low part if x was negated.
39949         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39950
39951 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39952
39953         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39954         la_x32_gnu_pltexit.
39955         (pltexit): Cast int_retval to ptrdiff_t.
39956         * elf/tst-auditmod3b.c: Likewise.
39957         * elf/tst-auditmod4b.c: Likewise.
39958         * elf/tst-auditmod5b.c: Likewise.
39959         * elf/tst-auditmod6b.c: Likewise.
39960         * elf/tst-auditmod6c.c: Likewise.
39961         * elf/tst-auditmod7b.c: Likewise.
39962
39963         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39964         and x32_gnu_pltexit.
39965
39966         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39967         __ELF_NATIVE_CLASS.
39968         (La_x32_regs): New macro.
39969         (La_x32_retval): Likewise.
39970         (la_x32_gnu_pltenter): New function prototype.
39971         (la_x32_gnu_pltexit): Likewise.
39972
39973 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39974
39975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39976         exponent.
39977
39978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39979
39980         * configure.in (libc_cv_cc_nofma): Check for option to disable
39981         generation of FMA instructions.
39982         * configure: Regenerate.
39983         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39984         * sysdeps/ieee754/dbl-64/Makefile: New file.
39985         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39986         Remove brandred-fma4.
39987         (CFLAGS-brandred-fma4.c): Remove.
39988         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39989         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39990         define.
39991         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39992         define.
39993
39994 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39995
39996         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39997         LLONG_MAX != LONG_MAX.
39998         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39999         (_fitoa_word): Likewise.
40000         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40001         LLONG_MAX != LONG_MAX.
40002         * stdio-common/_itowa.h: Include <_itoa.h>.
40003         (_itowa_word): Use _ITOA_WORD_TYPE on value.
40004         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
40005         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
40006         only if not defined.
40007         (_ITOA_WORD_TYPE): Likewise.
40008         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40009         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40010
40011 2012-03-21  David S. Miller  <davem@davemloft.net>
40012
40013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40014
40015 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40016
40017         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40018         of x86_64 when setting libc_cv_slibdir, libdir and
40019         libc_cv_localedir.
40020         * sysdeps/unix/sysv/linux/configure: Regenerated.
40021
40022 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40023
40024         * manual/lang.texi (Old Varargs): Remove section.
40025         (How Variadic): Update menu.
40026         (va_start): Do not mention varargs.h.
40027
40028 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40029             Joseph Myers  <joseph@codesourcery.com>
40030
40031         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40032         link test.
40033         * configure: Regenerated.
40034
40035 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40036
40037         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40038         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40039         conformtest.pl
40040
40041 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40042
40043         * NOTES: Remove.
40044         * Makefile (files-for-dist): Remove NOTES.
40045         (NOTES): Remove rule.
40046         * README: Don't refer to NOTES.
40047         * manual/creature.texi: Don't include macros.texi.
40048         * manual/intro.texi (creature.texi): Remove comment referring to
40049         NOTES.
40050
40051         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40052         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40053         * configure: Regenerated.
40054         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40055         LIBC_TRY_CC_OPTION.
40056         (libc_cv_as_i686): Likewise.
40057         (libc_cv_cc_avx): Likewise.
40058         (libc_cv_cc_sse2avx): Likewise.
40059         (libc_cv_cc_fma4): Likewise.
40060         (libc_cv_cc_novzeroupper): Likewise.
40061         * sysdeps/i386/configure: Regenerated.
40062
40063         [BZ #13883]
40064         * sysdeps/i386/fpu/s_cexp.S: Remove.
40065         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40066         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40067         * math/libm-test.inc (cexp_test): Add more tests.
40068         * sysdeps/i386/fpu/libm-test-ulps: Update.
40069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40070
40071 2012-03-21  Allan McRae  <allan@archlinux.org>
40072
40073         * timezone/Makefile: Do not install iso3166.tab and zone.tab
40074
40075 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40076
40077         [BZ #13871]
40078         * math/w_exp2.c: Do not include <float.h>.
40079         (o_threshold, u_threshold): Remove.
40080         (__exp2): Calculate result before checking finiteness and calling
40081         __kernel_standard.
40082         * math/w_exp2f.c: Likewise.
40083         * math/w_exp2l.c: Likewise.
40084         * math/libm-test.inc (exp2_test): Require overflow exception for
40085         1e6 input.
40086
40087         [BZ #3866]
40088         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40089         range of signed 64-bit integers before using fistpll.  Remove
40090         checks for whether integers fit in mantissa bits.
40091         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40092         the range of signed 32-bit integers before using fistpl.  Remove
40093         checks for whether integers fit in mantissa bits.
40094         * sysdeps/i386/fpu/e_powl.S (p64): New object.
40095         (__ieee754_powl): Test for y outside the range of signed 64-bit
40096         integers before using fistpll.  Reduce 64-bit values to 63-bit
40097         ones as needed.
40098         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40099         divide-by-zero is raised for zero to large negative powers.
40100         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40101         (__ieee754_powl): Test for y outside the range of signed 64-bit
40102         integers before using fistpll.  Reduce 64-bit values to 63-bit
40103         ones as needed.
40104         * math/libm-test.inc (pow_test): Add more tests.
40105
40106 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40107
40108         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40109         <stdio-common/_itoa.h>.
40110         * debug/segfault.c: Likewise.
40111         * elf/dl-cache.c: Likewise.
40112         * elf/dl-minimal.c: Likewise.
40113         * elf/dl-misc.c: Likewise.
40114         * elf/dl-sysdep.c: Likewise.
40115         * elf/dl-version.c: Likewise.
40116         * elf/rtld.c: Likewise.
40117         * hurd/hurdsock.c: Likewise.
40118         * hurd/lookup-retry.c: Likewise.
40119         * malloc/malloc.c: Likewise.
40120         * malloc/mtrace.c: Likewise.
40121         * nscd/nscd_getgr_r.c: Likewise.
40122         * nscd/nscd_getpw_r.c: Likewise.
40123         * nscd/nscd_getserv_r.c: Likewise.
40124         * posix/getopt_init.c: Likewise.
40125         * posix/wordexp.c: Likewise.
40126         * stdio-common/_itoa.c: Likewise.
40127         * stdio-common/printf_fphex.c: Likewise.
40128         * stdio-common/vfprintf.c: Likewise.
40129         * string/_strerror.c: Likewise.
40130         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40131         * sysdeps/i386/i686/hp-timing.h: Likewise.
40132         * sysdeps/mach/_strerror.c: Likewise.
40133         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40134         * sysdeps/mach/hurd/sethostid.c: Likewise.
40135         * sysdeps/mach/hurd/xmknodat.c: Likewise.
40136         * sysdeps/mach/xpg-strerror.c: Likewise.
40137         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40138         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40139         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40140         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40141         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40142         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40143         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40144         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40145         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40146         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40147         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40148         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40149         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40150         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40151         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40152         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40153         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40154         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40155         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40156         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40157         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40158
40159         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40160
40161         * stdio-common/_itoa.h: Moved to ...
40162         * sysdeps/generic/_itoa.h: Here.
40163
40164         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40165
40166         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40167         instead of "_itoa.h" and "_itowa.h".
40168         * stdio-common/vfprintf.: Likewise.
40169
40170 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40171
40172         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40173         <bits/wordsize.h>.
40174         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40175         (__signbit): Likwise.
40176         (llrintf): Likwise.
40177         (llrint): Likwise.
40178
40179 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40180
40181         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40182         __WORDSIZE != 64.
40183
40184 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40185
40186         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40187         OVERFLOW_EXCEPTION_OK.
40188         * math/libm-test.inc ("Philosophy"): Update comment about
40189         exception testing.
40190         (OVERFLOW_EXCEPTION): Define.
40191         (OVERFLOW_EXCEPTION_OK): Likewise.
40192         (INVALID_EXCEPTION_OK): Renumber.
40193         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40194         (IGNORE_ZERO_INF_SIGN): Likewise.
40195         (test_exceptions): Handle FE_OVERFLOW.
40196         (exp10_test): Expect overflow exceptions.
40197         (exp2_test): Likewise.
40198         (expm1_test): Likewise.
40199         (nextafter_test): Likewise.
40200         (pow_test): Likewise.
40201         (scalbn_test): Likewise.
40202         (scalbln_test): Likewise.
40203
40204 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40205
40206         * sysdeps/x86_64/bits/atomic.h
40207         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40208         64bit integer.
40209         (atomic_exchange_acq): Likewise.
40210         (__arch_exchange_and_add_body): Likewise.
40211         (__arch_add_body): Likewise.
40212         (atomic_add_negative): Likewise.
40213         (atomic_add_zero): Likewise.
40214
40215 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40216
40217         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40218         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40219
40220 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40221
40222         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40223         Check __x86_64__ instead of __WORDSIZE.
40224
40225 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40226
40227         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40228
40229 2012-03-19  David S. Miller  <davem@davemloft.net>
40230
40231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40232
40233         * sysdeps/sparc/fpu/fenv_private.h: New file.
40234         * sysdeps/sparc/fpu/math_private.h: Use it.
40235         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40236         Remove.
40237         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40238         (libc_feholdexcept_setroundl): Remove.
40239         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40240         Remove.
40241         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40242         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40243
40244 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40245
40246         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40247         int64_t instead of long int.
40248         (INSERT_WORDS64): Likwise.
40249
40250 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40251
40252         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40253         _Unwind_GetCFA return to _Unwind_Ptr first.
40254
40255 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40256
40257         [BZ #13629]
40258         * math/s_clog.c: Include <float.h>.
40259         (__clog): Scale large or subnormal inputs.
40260         * math/s_clogf.c: Likewise.
40261         * math/s_clogl.c: Likewise.
40262         * math/s_clog10.c: Include <float.h>.
40263         (M_LOG10_2): Define.
40264         (__clog10): Scale large or subnormal inputs.
40265         * math/s_clog10f.c: Likewise.
40266         * math/s_clog10l.c: Likewise.
40267         * math/libm-test.inc (clog_test): Add more tests.
40268         (clog10_test): Likewise.
40269         * sysdeps/i386/fpu/libm-test-ulps: Update.
40270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40271
40272         [BZ #11451]
40273         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40274         x and y.
40275         * math/libm-test.inc (atan2_test): Add another test.
40276
40277         * Makerules (common-objdir-compile): Remove.
40278         * sysdeps/unix/Makefile (config-generated): Do not add
40279         $(unix-generated) to variable.
40280         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40281         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40282         Remove rule.
40283         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40284         Likewise.
40285         [generic bits/local_lim.h] (before-compile): Do not append to
40286         variable.
40287         [generic bits/local_lim.h] (common-generated): Likewise.
40288         [generic sys/param.h] (before-compile): Do not append to variable.
40289         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40290         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40291         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40292         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40293         include.
40294         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40295         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40296         [generic sys/param.h] ($(addprefix
40297         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40298         [generic sys/param.h] (common-generated): Do not append to
40299         variable.
40300         [generic sys/param.h] (sysdep_headers): Likewise.
40301         [generic bits/errno.h] (before-compile): Do not append to
40302         variable.
40303         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40304         rule.
40305         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40306         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40307         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40308         [generic bits/errno.h] (common-generated): Do not append to
40309         variable.
40310         [generic bits/ioctls.h] (before-compile): Do not append to
40311         variable.
40312         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40313         rule.
40314         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40315         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40316         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40317         rule.
40318         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40319         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40320         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40321         [generic bits/ioctls.h] (common-generated): Do not append to
40322         variable.
40323         [generic sys/syscall.h] (syscall.h): Remove variable.
40324         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40325         rule.
40326         [generic sys/syscall.h] (before-compile): Do not append to
40327         variable.
40328         [generic sys/syscall.h] (common-generated): Likewise.
40329         * sysdeps/unix/errnos-tmpl.c: Remove file.
40330         * sysdeps/unix/errnos.awk: Likewise.
40331         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40332         * sysdeps/unix/ioctls.awk: Likewise.
40333         * sysdeps/unix/mk-local_lim.c: Likewise.
40334         * sysdeps/unix/snarf-ioctls: Likewise.
40335
40336 2012-03-19  Richard Henderson  <rth@twiddle.net>
40337
40338         * sysdeps/i386/fpu/fenv_private.h: New file.
40339         * sysdeps/i386/fpu/math_private.h: Use it.
40340         (math_opt_barrier, math_force_eval): Remove.
40341         (libc_feholdexcept_setround_53bit): Remove.
40342         (libc_feupdateenv_53bit): Remove.
40343         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40344         (math_opt_barrier, math_force_eval): Remove.
40345         (libc_feholdexcept): Remove.
40346         (libc_feholdexcept_setround): Remove.
40347         (libc_fetestexcept, libc_fesetenv): Remove.
40348         (libc_feupdateenv_test): Remove.
40349         (libc_feupdateenv, libc_feholdsetround): Remove.
40350         (libc_feresetround): Remove.
40351
40352         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40353         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40354
40355         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40356         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40357         (libc_feupdateenv_testl): New.
40358         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40359         (libc_feupdateenv_testf): New.
40360         (libc_feupdateenv): Use libc_feupdateenv_test.
40361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40362         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40363
40364         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40365         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40366         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40367         (libc_feresetround_noex): New.
40368         (libc_feresetround_noexf): New.
40369         (libc_feresetround_noexl): New.
40370         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40371         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40372         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40373         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40374         SET_RESTORE_ROUND.
40375         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40377         (__cos): Likewise.
40378         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40379         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40380         SET_RESTORE_ROUND_NOEX.
40381         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40382         SET_RESTORE_ROUND_NOEXF.
40383         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40384         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40385         (libc_feholdsetroundf): New.
40386         (libc_feresetround, libc_feresetroundf): New.
40387
40388         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40389         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40390         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40391
40392         * sysdeps/generic/math_private.h: Include <fenv.h>.
40393         (default_libc_feholdexcept): New.
40394         (default_libc_feholdexcept_setround): New.
40395         (default_libc_fesetenv, default_libc_feupdateenv): New.
40396         (libc_feholdexcept): Only define if undefined.
40397         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40398         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40399         (libc_feholdexcept_setroundl): Likewise.
40400         (libc_feholdexcept_setround_53bit): Likewise.
40401         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40402         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40403         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40404         (libc_feupdateenv_53bit): Likewise.
40405         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40406         (libc_feholdexcept): Convert from macro to inline function.
40407         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40408         (libc_fesetenv, libc_feupdateenv): Likewise.
40409
40410         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40411         not previously defined.
40412         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40413         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40414         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40415         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40416         * sysdeps/ieee754/flt-32/math_private.h: New file.
40417         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40418         math_private.h below SET_FLOAT_WORD.
40419         (__isnan, __isinf_ns, __finite): Remove.
40420         (__isnanf, __isinf_nsf, __finitef): Remove.
40421
40422 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40423
40424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40425
40426 2012-03-17  David S. Miller  <davem@davemloft.net>
40427
40428         [BZ #6471]
40429         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40430         for 2.16.
40431
40432 2012-03-16  David S. Miller  <davem@davemloft.net>
40433
40434         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40435         warnings.
40436
40437         [BZ #6471]
40438         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40439         properly.
40440         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40441         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40442         sysdep_routines when subdir is sysvipc.
40443         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40444         __getshmlba helper.
40445
40446         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40447
40448 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40449
40450         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40451         [__LP64__].
40452
40453 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40454
40455         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40456         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40457         (__lround): Renamed to ...
40458         (__llround): This.  Replace long int with long long int.
40459         Define lround functions as aliases of llround functions.
40460         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40461
40462 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40463
40464         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40465         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40466         adresses to uintptr_t.  Replace "long int" and "unsigned long
40467         int" with "greg_t" on va_arg.
40468
40469 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40470
40471         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40472         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40473
40474         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40475         Move e_machine check before EI_CLASS check.  Handle x32
40476         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40477         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40478         SKIP_EM_IA_64 and include
40479         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40480
40481         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40482         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40483         (add_system_dir): New macro.
40484
40485         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40486         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40487
40488 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40489
40490         [BZ #2551]
40491         [BZ #2552]
40492         [BZ #2553]
40493         [BZ #2554]
40494         [BZ #2562]
40495         [BZ #2563]
40496         [BZ #2565]
40497         [BZ #2566]
40498         [BZ #2576]
40499         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40500         (y0): Likewise.
40501         * math/w_j0f.c (j0f): Likewise.
40502         (y0f): Likewise.
40503         * math/w_j0l.c (__j0l): Likewise.
40504         (__y0l): Likewise.
40505         * math/w_j1.c (j1): Likewise.
40506         (y1): Likewise.
40507         * math/w_j1f.c (j1f): Likewise.
40508         (y1f): Likewise.
40509         * math/w_j1l.c (__j1l): Likewise.
40510         (__y1l): Likewise.
40511         * math/w_jn.c (jn): Likewise.
40512         (yn): Likewise.
40513         * math/w_jnf.c (jnf): Likewise.
40514         (ynf): Likewise.
40515         * math/w_jnl.c (__jnl): Likewise.
40516         (__ynl): Likewise.
40517         * math/libm-test.inc (j0_test): Add more tests.
40518         (j1_test): Likewise.
40519         (jn_test): Likewise.  Add trailing semicolon to existing test.
40520         (y0_test): Likewise.
40521         (y1_test): Likewise.
40522         * sysdeps/i386/fpu/libm-test-ulps: Update.
40523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40524
40525         [BZ #13851]
40526         [BZ #13854]
40527         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40528         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40529         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40530         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40531         (__tanl): Set errno for infinite argument.
40532         * sysdeps/i386/fpu/mptan.c: Remove.
40533         * sysdeps/i386/fpu/s_tan.S: Likewise.
40534         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40535         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40536         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40537         * math/libm-test.inc (tan_test): Add more tests and enable more
40538         tests for double and long double.
40539         * sysdeps/i386/fpu/libm-test-ulps: Update.
40540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40541
40542 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40543
40544         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40545         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40546
40547 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40548
40549         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40550         * configure.in: Use it for both main tree and add-ons.
40551         * configure: Regenerated.
40552
40553 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40554
40555         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40556
40557 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40558
40559         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40560         in comment.
40561
40562         [BZ #13851]
40563         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40564         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40565         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40566         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40567         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40568         infinite argument.
40569         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40570         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40571         != 0 for prec == 2.
40572         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40573         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40574         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40575         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40576         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40577         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40578         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40579         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40580         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40581         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40582         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40583         * math/libm-test.inc (cos_test): Add more tests and enable more
40584         tests for long double.
40585         (sin_test): Likewise.
40586         (sincos_test): Likewise.
40587         * sysdeps/i386/fpu/libm-test-ulps: Update.
40588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40589
40590 2012-03-16  David S. Miller  <davem@davemloft.net>
40591
40592         * sysdeps/sparc/fpu/math_private.h: New file.
40593
40594 2012-03-15  David S. Miller  <davem@davemloft.net>
40595
40596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40597         file.
40598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40600         file.
40601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40606         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40607         sysdep routines.
40608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40609
40610         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40611         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40612
40613         * sysdeps/sparc/sparc-ifunc.h: New file.
40614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40615         sparc-ifunc.h
40616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40618         Likewise.
40619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40620         Likewise.
40621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40625         Likewise.
40626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40631         Likewise.
40632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40633         Likewise.
40634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40638         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40639         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40640         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40641         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40648         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40649         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40650         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40651         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40652         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40653         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40654         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40655         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40656         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40657         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40658
40659 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40660
40661         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40662         scaling.
40663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40664
40665 2012-03-15  Andreas Jaeger  <aj@suse.de>
40666
40667         [BZ #13852]
40668         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40669         ieee754/flt-32 implementation for sin, cos and sincos.
40670         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40671         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40672         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40673         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40674         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40675         ieee754/flt-32 implementation for tan.
40676
40677         * math/libm-test.inc (cos_test): Enable some large input tests for
40678         float as well
40679         (sin_test): Likewise.
40680         (sincos_test): Likewise.
40681         (tan_test): Add tests for large input.
40682
40683         * sysdeps/i386/fpu/libm-test-ulps: Update.
40684
40685 2012-03-15  Andreas Jaeger  <aj@suse.de>
40686
40687         [BZ #13658]
40688         * math/libm-test.inc (cos_test): Add more test cases.
40689         (sin_test): Likewise.
40690         (sincos_test): Likewise.
40691
40692 2012-03-15  Andreas Jaeger  <aj@suse.de>
40693
40694         [BZ #13837]
40695         * math/libm-test.inc (cos_test): Add a test case for large input
40696         value.
40697         (sin_test): Likewise.
40698         (sincos_test): Likewise.
40699
40700 2012-03-15  Andreas Jaeger  <aj@suse.de>
40701             Joseph Myers  <joseph@codesourcery.com>
40702
40703         [BZ #13658]
40704         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40705         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40706         * sysdeps/i386/fpu/branred.c: Likewise.
40707         * sysdeps/i386/fpu/dosincos.c: Likewise.
40708         * sysdeps/i386/fpu/mpa.c: Likewise.
40709         * sysdeps/i386/fpu/s_cos.S: Likewise.
40710         * sysdeps/i386/fpu/s_sin.S: Likewise.
40711         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40712         * sysdeps/i386/fpu/sincos32.c: Likewise.
40713
40714         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40715         Define.
40716         (libc_feupdateenv_53bit): Define.
40717         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40718         Define.
40719         (libc_feupdateenv_53bit): Define.
40720
40721         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40722         53 bit (without extend i386 double precision).
40723
40724         * math/libm-test.inc (sincos_test): Add tests for large input.
40725         (sin): Likewise.
40726         (cos): Likewise.
40727
40728         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40729
40730 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40731
40732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40733
40734 2012-03-15  David S. Miller  <davem@davemloft.net>
40735
40736         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40737         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40738         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40739         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40752         file.
40753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40755         file.
40756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40758         file.
40759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40761         file.
40762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40763         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40764         fmin/fmax sysdep routines.
40765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40766
40767 2012-03-14  David S. Miller  <davem@davemloft.net>
40768
40769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40770         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40773         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40775         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40776         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40777         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40789         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40790         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40791         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40792         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40793         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40794         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40795         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40796         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40797         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40798         routines.
40799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40800         file.
40801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40803         file.
40804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40806         file.
40807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40809         file.
40810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40812         file.
40813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40815         file.
40816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40817         file.
40818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40819         file.
40820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40821         file.
40822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40823         New file.
40824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40825         file.
40826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40827         file.
40828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40830         file.
40831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40833         file.
40834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40836         file.
40837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40839         VIS3 routines.
40840
40841         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40842         New file.
40843
40844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40845
40846         * sysdeps/sparc/configure.in: New file.
40847         * sysdeps/sparc/configure: Generate.
40848         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40849         * configure: Regenerate.
40850         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40851         * config.make.in (have-as-vis3): New.
40852         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40853         available use -Av9d instead of -Av9a.
40854         * sysdeps/sparc/sparc64/Makefile: Likewise.
40855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40857         New file.
40858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40859         file.
40860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40861         New file.
40862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40863         file.
40864         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40865         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40866         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40867         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40868         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40869
40870         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40871         fzeros/fnegs to load 0x80000000 into a float register instead of
40872         using the stack.
40873         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40874
40875 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40876
40877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40878         bits/syscall.h.
40879         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40880         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40881         ($(inst_includedir)/bits/syscall.h): Remove rule.
40882         ($(objpfx)bits/syscall.d): Include instead of
40883         $(objpfx)syscall-list.d.
40884         (generated): Change syscall-list.h and syscall-list.d to
40885         bits/syscall.h and bits/syscall.d.
40886
40887 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40888
40889         [BZ #13846]
40890         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40891
40892 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40893
40894         [BZ #13841]
40895         * math/s_csqrt.c: Include <float.h>.
40896         (__csqrt): Scale large or subnormal inputs.
40897         * math/s_csqrtf.c: Likewise.
40898         * math/s_csqrtl.c: Likewise.
40899         * math/libm-test.inc (csqrt_test): Add more tests.
40900         * sysdeps/i386/fpu/libm-test-ulps: Update.
40901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40902
40903         [BZ #13840]
40904         * math/libm-test.inc (hypot_test): Add more tests.
40905
40906 2012-03-13  David S. Miller  <davem@davemloft.net>
40907
40908         [BZ #13840]
40909         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40910         double-precision for the calculation instead of scaling.
40911
40912 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40913
40914         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40915         manipulate bits before adding and subtracting TWO52[sx].
40916         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40917         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40918         Likewise.
40919         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40920
40921 2012-03-13  David S. Miller  <davem@davemloft.net>
40922
40923         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40924         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40925         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40926         rtld-global-offsets.h
40927         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40928
40929         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40930         large parameters.
40931
40932         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40933
40934         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40935         'err' in the ifdef scope in which it is actually used.
40936
40937         * nss/nss_db/db-init.c: Include string.h
40938
40939 2012-03-12  David S. Miller  <davem@davemloft.net>
40940
40941         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40942         masking out of the most significant byte of random value used.
40943         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40944         Fix coding style in previous change.
40945
40946         * sysdeps/unix/sysv/linux/kernel-features.h
40947         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40948         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40949         expression.
40950         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40951         later.
40952
40953 2012-03-11  David S. Miller  <davem@davemloft.net>
40954
40955         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40956         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40957         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40958         for 'resultvar' otherwise things get truncated on 64-bit.
40959
40960         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40961         Fix masking out of the most significant byte of random value used.
40962
40963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40964
40965 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40966
40967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40968
40969 2012-03-09  David S. Miller  <davem@davemloft.net>
40970
40971         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40972         variables with appropriate CPP guards.
40973         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40974         from the frame pointer, not the stack pointer.  Correct layout
40975         comments.  Fix test on resulting framesize and the management of
40976         the outregs buffer for pltexit.  Preserve floating point return
40977         values across _dl_call_pltexit call.
40978         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40979         framesize and the management of the outregs buffer for pltexit.
40980         Preserve floating point return values across _dl_call_pltexit
40981         call.
40982         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40983         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40984         (la_sparc64_gnu_pltexit): New functions.
40985         (print_exit): Fix format string for return register value.
40986
40987 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40988
40989         * sunrpc/Makefile (others): Add rpcgen.
40990         ($(objpfx)rpcgen): Remove special build rule and dependency on
40991         libc.
40992         * sunrpc/rpcgen.c: New file.
40993
40994 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40995
40996         [BZ #13673]
40997         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40998         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40999         * sysdeps/i386/crti.S: Likewise.
41000         * sysdeps/i386/crtn.S: Likewise.
41001         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41002         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41003         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41004         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41005         * sysdeps/sh/crti.S: Likewise.
41006         * sysdeps/sh/crtn.S: Likewise.
41007         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41008
41009         [BZ #13673]
41010         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41011         with URL.
41012         * locale/programs/locfile-kw.gperf: Likewise.
41013         * locale/programs/charmap-kw.h: Regenerated.
41014         * locale/programs/locfile-kw.h: Likewise.
41015
41016         [BZ #13673]
41017         * intl/plural.y: Replace FSF snail mail address with URL.
41018         * intl/plural.c: Regenerated.
41019
41020 2012-03-09  Richard Henderson  <rth@twiddle.net>
41021
41022         * include/math_private.h: Remove file.
41023         * math/math_private.h: Move file ...
41024         * sysdeps/generic/math_private.h: ... here.
41025
41026         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41027         * sysdeps/powerpc/fpu/math_private.h: Likewise.
41028         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41029
41030         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41031         and <math_private.h>.
41032         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41033         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41034         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41035         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41036         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41037         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41038         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41039         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41040         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41041         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41042         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41043         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41044         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41045         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41046         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41047         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41048         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41049         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41050         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41051         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41052         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41053         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41054         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41055         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41056         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41057         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41058         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41059         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41060         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41061         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41062         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41063         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41064         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41065         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41066         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41067         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41068         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41069         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41070         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41071         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41072         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41073         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41074         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41075         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41076         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41077         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41078         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41079         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41080         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41081         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41082         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41083         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41084         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41085         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41086         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41087         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41088         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41089         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41090         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41091         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41092         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41093         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41094         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41095         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41096         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41097         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41098         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41099         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41100         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41101         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41102         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41103         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41104         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41105         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41106         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41107         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41110         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41111         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41112         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41113         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41114         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41115         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41116         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41117         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41118         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41119         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41120         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41121         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41122         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41123         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41124         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41125         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41126         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41127         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41128         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41129         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41130         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41131         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41132         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41133         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41134         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41135         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41136         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41137         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41138         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41139         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41140         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41141         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41142         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41143         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41144         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41145         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41146         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41147         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41148         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41149         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41150         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41151         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41152         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41153         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41154         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41155         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41156         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41157         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41158         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41159         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41160         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41161         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41162         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41163         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41164         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41165         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41166         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41167         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41168         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41169         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41170         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41171         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41172         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41173         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41174         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41175         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41176         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41177         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41178         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41179         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41180         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41181         * sysdeps/ieee754/k_standard.c: Likewise.
41182         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41183         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41184         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41185         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41186         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41187         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41188         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41189         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41190         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41191         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41192         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41193         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41194         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41195         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41196         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41197         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41198         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41199         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41200         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41201         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41202         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41203         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41204         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41205         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41206         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41207         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41208         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41209         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41211         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41212         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41213         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41214         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41215         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41216         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41217         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41218         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41219         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41220         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41221         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41222         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41223         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41224         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41225         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41227         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41228         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41229         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41230         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41231         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41232         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41233         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41234         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41235         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41236         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41237         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41238         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41239         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41240         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41241         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41242         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41243         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41244         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41245         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41246         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41247         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41248         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41249         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41250         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41251         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41252         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41253         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41254         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41255         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41256         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41257         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41258         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41259         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41260         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41261         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41262         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41263         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41264         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41265         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41266         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41267         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41268         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41269         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41270         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41271         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41272         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41273         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41274         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41275         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41276         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41277         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41278         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41279         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41280         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41281         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41282         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41283         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41284         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41285         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41286         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41287         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41288         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41289         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41290         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41291         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41292         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41293         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41294         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41295         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41296         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41297         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41298         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41299         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41300         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41301         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41302         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41303         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41304         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41305         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41306         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41307         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41308         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41309         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41310         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41311         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41312         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41313         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41314         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41315         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41316         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41317         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41318         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41319         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41320         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41321         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41322         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41323         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41324         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41325         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41326         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41327         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41328         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41329         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41330         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41331         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41332         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41333         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41334         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41335         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41336         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41337         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41338         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41339         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41340         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41341         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41342         * sysdeps/ieee754/s_lib_version.c: Likewise.
41343         * sysdeps/ieee754/s_matherr.c: Likewise.
41344         * sysdeps/ieee754/s_signgam.c: Likewise.
41345         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41346         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41347         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41348         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41349         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41350         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41351         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41352         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41353         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41354         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41355         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41356         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41357         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41358         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41359         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41360         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41361         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41362         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41363         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41364         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41365         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41366
41367 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41368
41369         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41370         * sunrpc/rpc_main.c: Likewise.
41371         * sunrpc/rpc_svcout.c: Likewise.
41372
41373 2012-03-09  David S. Miller  <davem@davemloft.net>
41374
41375         * include/math_private.h: New file.
41376
41377 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41378
41379         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41380         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41381         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41382         from <bits/socket_type.h>.
41383         (enum __socket_type): Don't define here.
41384         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41385         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41386         bits/socket_type.h.
41387
41388         [BZ #13566]
41389         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41390         checking __USE_GNU.
41391
41392         * Makerules ($(inst_includedir)/%.h): New rule.
41393         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41394         (install-others): Remove variable setting.
41395         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41396
41397 2012-03-08  Richard Henderson  <rth@twiddle.net>
41398
41399         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41400         from macro to inline function; merge with the
41401         !__LIBC_INTERNAL_MATH_INLINES version.
41402         (__ieee754_sqrtf): Likewise.
41403
41404         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41405         to inline function.
41406         (__rintf, __floor, __floorf): Likewise.
41407
41408         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41409         macro to inline function.
41410         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41411
41412         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41413         not <math/math_private.h>.
41414
41415 2012-03-08  David S. Miller  <davem@davemloft.net>
41416
41417         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41418         copyright year.
41419         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41420
41421 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41422
41423         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41424         normalization.
41425         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41426         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41427
41428 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41429
41430         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41431         be defined individually, they must be defined as a block.  Define
41432         S for printing a string instead of hidint the different by using a
41433         macro for adding the 'l'.
41434         * stdio-common/tst-fphex-wide.c: Adjust.
41435
41436 2012-03-07  Marek Polacek  <polacek@redhat.com>
41437
41438         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41439
41440 2012-03-08  Marek Polacek  <polacek@redhat.com>
41441
41442         [BZ #13806]
41443         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41444         * stdio-common/tst-fphex.c: Define a few macros to make the
41445         test reusable.  Use them.
41446         * stdio-common/tst-fphex-wide.c: New file.
41447
41448 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41449
41450         [BZ #6911]
41451         * manual/macros.texi (gnusystems): New macro.
41452         (nongnusystems): Likewise.
41453         (gnulinuxhurdsystems): Likewise.
41454         (gnuhurdsystems): Likewise..
41455         (gnulinuxsystems): Likewise.
41456         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41457         variants of the GNU system, not "GNU system".
41458         * manual/conf.texi: Likewise.
41459         * manual/errno.texi: Likewise.  Update example of errno macro
41460         expansion.
41461         * manual/filesys.texi: Likewise.
41462         (getumask): Document as specific to GNU/Hurd.
41463         * manual/install.texi: Likewise.  Reword some references to
41464         GNU/Linux.
41465         * manual/intro.texi: Likewise.
41466         * manual/io.texi: Likewise.
41467         (File Name Portability): Detail which constraints are inapplicable
41468         to all GNU systems and which are only inapplicable to GNU/Hurd.
41469         * manual/job.texi: Likewise.
41470         * manual/llio.texi: Likewise.
41471         (O_NOCTTY): Document as present on GNU/Linux.
41472         * manual/maint.texi: Likewise.
41473         * manual/memory.texi: Likewise.
41474         * manual/pattern.texi: Likewise.
41475         * manual/pipe.texi: Likewise.
41476         * manual/process.texi: Likewise.
41477         * manual/resource.texi: Likewise.
41478         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41479         child on GNU/Hurd.
41480         * manual/setjmp.texi: Likewise.
41481         * manual/signal.texi: Likewise.
41482         * manual/startup.texi: Likewise.
41483         * manual/stdio.texi: Likewise.
41484         * manual/terminal.texi: Likewise.
41485         (ONLCR): Document as POSIX.
41486         (OXTABS): Document availability on GNU/Linux as XTABS.
41487         (ONOEOT): Document availability separately from other bits.
41488         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41489         * manual/time.texi: Likewise.
41490         * manual/users.texi: Likewise.
41491         * INSTALL: Regenerated.
41492         * sysdeps/gnu/errlist.c: Regenerated.
41493
41494         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41495         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41496         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41497         puts.
41498         * configure: Regenerated.
41499
41500 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41501
41502         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41503         default includes instead of AC_HEADER_CHECK.
41504         * sysdeps/i386/configure: Regenerated.
41505
41506         [BZ #10716]
41507         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41508         * math/s_cacoshf.c (__cacoshf): Likewise.
41509         * math/s_cacoshl.c (__cacoshl): Likewise.
41510         * math/s_casinh.c (__casinh): Set signs of result from argument.
41511         * math/s_casinhf.c (__casinhf): Likewise.
41512         * math/s_casinhl.c (__casinhl): Likewise.
41513         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41514         (casinh_test): Add more tests.
41515         * sysdeps/i386/fpu/libm-test-ulps: Update.
41516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41517
41518 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41519
41520         * po/zh_TW.po: Update from translation team.
41521
41522         * login/Makefile (distribute): Remove variable.
41523         * catgets/Makefile: Likewise.
41524         * mach/Makefile: Likewise.
41525         * malloc/Makefile: Likewise.
41526         * misc/Makefile: Likewise.
41527         * iconv/Makefile: Likewise.
41528         * nscd/Makefile: Likewise.
41529         * hurd/Makefile: Likewise.
41530         * manual/Makefile: Likewise.
41531         * locale/Makefile: Likewise.
41532         * intl/Makefile: Likewise.
41533         * conform/Makefile: Likewise.
41534         * nss/Makefile: Likewise.
41535         * time/Makefile: Likewise.
41536         * soft-fp/Makefile: Likewise.
41537         * dirent/Makefile: Likewise.
41538         * gmon/Makefile: Likewise.
41539         * po/Makefile: Likewise.
41540         * rt/Makefile: Likewise.
41541         * socket/Makefile: Likewise.
41542         * math/Makefile: Likewise.
41543         * signal/Makefile: Likewise.
41544         * debug/Makefile: Likewise.
41545         * elf/Makefile: Likewise.
41546         * timezone/Makefile: Likewise.
41547         * stdlib/Makefile: Likewise.
41548         * iconvdata/Makefile: Likewise.
41549         * sunrpc/Makefile: Likewise.
41550         * io/Makefile: Likewise.
41551         * argp/Makefile: Likewise.
41552         * inet/Makefile: Likewise.
41553         * hesiod/Makefile: Likewise.
41554         * grp/Makefile: Likewise.
41555         * csu/Makefile: Likewise.
41556         * wctype/Makefile: Likewise.
41557         * crypt/Makefile: Likewise.
41558         * libio/Makefile: Likewise.
41559         * string/Makefile: Likewise.
41560         * nis/Makefile: Likewise.
41561         * resolv/Makefile: Likewise.
41562         * stdio-common/Makefile: Likewise.
41563         * wcsmbs/Makefile: Likewise.
41564         * dlfcn/Makefile: Likewise.
41565         * posix/Makefile: Likewise.
41566
41567         [BZ #6959]
41568         * timezone/Makefile: Don't install timezone files, just the programs
41569         and scripts.
41570
41571 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41572
41573         * nss/databases.def: Add missing gshadow entry.
41574
41575         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41576
41577 2012-03-06  Marek Polacek  <polacek@redhat.com>
41578
41579         [BZ #13726]
41580         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41581         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41582         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41583         * stdio-common/tst-long-dbl-fphex.c: New file.
41584
41585 2012-03-06  David S. Miller  <davem@davemloft.net>
41586
41587         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41588         (set_obp_int): New function.
41589         (get_obp_int): New function.
41590         (__get_clockfreq_via_dev_openprom): Likewise.
41591         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41592         Avoid unused variable warnings on 'val' and use builtin_expect.
41593         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41594         __builtin_expect.
41595         (INLINE_CLONE_SYSCALL): Likewise.
41596
41597 2012-03-05  David S. Miller  <davem@davemloft.net>
41598
41599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41600
41601 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41602
41603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41604
41605         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41606         only for |x| >= 40.
41607         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41608
41609 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41610
41611         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41612         Replace gettimeofday with __vdso_gettimeofday.
41613
41614         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41615         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41616         __vdso_clock_gettime and __vdso_getcpu.
41617
41618         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41619         time with __vdso_time.
41620
41621 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41622
41623         * manual/lang.texi (size_t): Note types to which size_t may be
41624         equivalent with the GNU C Library, but do not describe when
41625         differences between them are significant.
41626
41627 2012-03-05  Andreas Jaeger  <aj@suse.de>
41628
41629         * sysdeps/i386/fpu/libm-test-ulps: Update.
41630
41631 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41632
41633         [BZ #3976]
41634         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41635         (__ieee754_pow): Save and restore rounding mode and use
41636         round-to-nearest for main computations.
41637         * math/libm-test.inc (pow_test_tonearest): New function.
41638         (pow_test_towardzero): Likewise.
41639         (pow_test_downward): Likewise.
41640         (pow_test_upward): Likewise.
41641         (main): Call the new functions.
41642         * sysdeps/i386/fpu/libm-test-ulps: Update.
41643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41644
41645         [BZ #3976]
41646         * math/libm-test.inc (cosh_test_tonearest): New function.
41647         (cosh_test_towardzero): Likewise.
41648         (cosh_test_downward): Likewise.
41649         (cosh_test_upward): Likewise.
41650         (sinh_test_tonearest): Likewise.
41651         (sinh_test_towardzero): Likewise.
41652         (sinh_test_downward): Likewise.
41653         (sinh_test_upward): Likewise.
41654         (main): Call the new functions.
41655         * sysdeps/i386/fpu/libm-test-ulps: Update.
41656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41657
41658 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41659
41660         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41661         default stack guard is set in last bytes.
41662         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41663
41664 2012-03-05  Kees Cook  <keescook@chromium.org>
41665
41666         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41667
41668         [BZ #13656]
41669         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41670         possibly allocate from heap instead of stack.
41671         * stdio-common/bug-vfprintf-nargs.c: New file.
41672         * stdio-common/Makefile (tests): Add nargs overflow test.
41673
41674 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41675
41676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41677
41678 2012-03-03  Marek Polacek  <polacek@redhat.com>
41679
41680         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41681         * math/math_private.h: Likewise.
41682         * stdlib/tst-strtod.c: Likewise.
41683         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41684         * sysdeps/x86_64/bits/atomic.h: Likewise.
41685
41686 2012-03-02  David S. Miller  <davem@davemloft.net>
41687
41688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41692         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41693         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41694         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41695         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41696
41697 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41698
41699         [BZ #13792]
41700         * manual/examples/README: New file, says the example source files
41701         can be used under GPL>=2.
41702         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41703         line containing just "*/".
41704         * manual/examples/add.c: Add copyright header (GPL>=2).
41705         * manual/examples/argp-ex1.c: Likewise.
41706         * manual/examples/argp-ex2.c: Likewise.
41707         * manual/examples/argp-ex3.c: Likewise.
41708         * manual/examples/argp-ex4.c: Likewise.
41709         * manual/examples/atexit.c: Likewise.
41710         * manual/examples/db.c: Likewise.
41711         * manual/examples/dir.c: Likewise.
41712         * manual/examples/dir2.c: Likewise.
41713         * manual/examples/execinfo.c: Likewise.
41714         * manual/examples/filecli.c: Likewise.
41715         * manual/examples/filesrv.c: Likewise.
41716         * manual/examples/fmtmsgexpl.c: Likewise.
41717         * manual/examples/genpass.c: Likewise.
41718         * manual/examples/inetcli.c: Likewise.
41719         * manual/examples/inetsrv.c: Likewise.
41720         * manual/examples/isockad.c: Likewise.
41721         * manual/examples/longopt.c: Likewise.
41722         * manual/examples/memopen.c: Likewise.
41723         * manual/examples/memstrm.c: Likewise.
41724         * manual/examples/mkfsock.c: Likewise.
41725         * manual/examples/mkisock.c: Likewise.
41726         * manual/examples/mygetpass.c: Likewise.
41727         * manual/examples/pipe.c: Likewise.
41728         * manual/examples/popen.c: Likewise.
41729         * manual/examples/rprintf.c: Likewise.
41730         * manual/examples/search.c: Likewise.
41731         * manual/examples/select.c: Likewise.
41732         * manual/examples/setjmp.c: Likewise.
41733         * manual/examples/sigh1.c: Likewise.
41734         * manual/examples/sigusr.c: Likewise.
41735         * manual/examples/stpcpy.c: Likewise.
41736         * manual/examples/strdupa.c: Likewise.
41737         * manual/examples/strftim.c: Likewise.
41738         * manual/examples/strncat.c: Likewise.
41739         * manual/examples/subopt.c: Likewise.
41740         * manual/examples/swapcontext.c: Likewise.
41741         * manual/examples/termios.c: Likewise.
41742         * manual/examples/testopt.c: Likewise.
41743         * manual/examples/testpass.c: Likewise.
41744         * manual/examples/timeval_subtract.c: Likewise.
41745
41746         [BZ #13792]
41747         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41748         function to ...
41749         * manual/timeval_subtract.c.texi: ... here, new file.
41750
41751 2012-03-02  David S. Miller  <davem@davemloft.net>
41752
41753         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41754
41755 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41756
41757         [BZ #3976]
41758         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41759         (__sin): Save and restore rounding mode and use round-to-nearest
41760         for all computations.
41761         (__cos): Save and restore rounding mode and use round-to-nearest
41762         for all computations.
41763         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41764         <fenv.h>.
41765         (tan): Save and restore rounding mode and use round-to-nearest for
41766         all computations.
41767         * math/libm-test.inc (cos_test_tonearest): New function.
41768         (cos_test_towardzero): Likewise.
41769         (cos_test_downward): Likewise.
41770         (cos_test_upward): Likewise.
41771         (sin_test_tonearest): Likewise.
41772         (sin_test_towardzero): Likewise.
41773         (sin_test_downward): Likewise.
41774         (sin_test_upward): Likewise.
41775         (tan_test_tonearest): Likewise.
41776         (tan_test_towardzero): Likewise.
41777         (tan_test_downward): Likewise.
41778         (tan_test_upward): Likewise.
41779         (main): Call the new functions.
41780         * sysdeps/i386/fpu/libm-test-ulps: Update.
41781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41782
41783         [BZ #10135]
41784         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41785         small n, then large n, before computing and testing k+n.
41786         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41787         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41788         Likewise.
41789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41790         Likewise.
41791         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41792         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41793         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41794         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41795         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41796         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41797         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41798         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41799         * math/libm-test.inc (scalbn_test): Add more tests.
41800         (scalbln_test): Likewise.
41801
41802         * manual/filesys.texi (mode_t): Describe constraints on size and
41803         signedness, not exact equivalence to a particular type.
41804         (ino_t): Likewise.
41805         (ino64_t): Likewise.
41806         (dev_t): Likewise.
41807         (nlink_t): Likewise.
41808         (blkcnt_t): Likewise.
41809         (blkcnt64_t): Likewise.
41810         * manual/llio.texi (off_t): Likewise.
41811
41812         [BZ #3976]
41813         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41814         (__ieee754_exp): Save and restore rounding mode and use
41815         round-to-nearest for all computations.
41816         * math/libm-test.inc (exp_test_tonearest): New function.
41817         (exp_test_towardzero): Likewise.
41818         (exp_test_downward): Likewise.
41819         (exp_test_upward): Likewise.
41820         (main): Call the new functions.
41821         * sysdeps/i386/fpu/libm-test-ulps: Update.
41822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41823
41824 2012-03-01  Chris Demetriou  <cgd@google.com>
41825
41826         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41827         have predictable order.
41828
41829 2012-03-01  David S. Miller  <davem@davemloft.net>
41830
41831         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41832
41833         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41834         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41835         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41836         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41837
41838         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41839         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41840         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41842         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41843         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41844         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41845         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41846         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41847
41848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41849
41850         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41851         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41852         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41853
41854         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41855         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41856         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41857         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41858         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41859         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41860         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41861         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41862         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41863         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41864         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41865         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41866         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41867         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41868         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41869         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41870         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41871         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41872         * sysdeps/sparc/elf/configure: Regenerated.
41873
41874 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41875
41876         * configure.in (AS, LD): Require binutils 2.20 or later.
41877         * configure: Regenerated.
41878         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41879         as required minimum version.
41880         * INSTALL: Regenerated.
41881
41882         [BZ #2541]
41883         [BZ #4108]
41884         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41885         before squaring exponent.
41886         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41887         bottom long double and 27 bits of top long double before squaring
41888         exponent.
41889         * math/libm-test.inc (erfc_test): Add more tests.
41890         * sysdeps/i386/fpu/libm-test-ulps: Update.
41891         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41893
41894 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41895
41896         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41897         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41898         containing bit-fields.
41899         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41900         * soft-fp/single.h (_FP_UNION_S): Likewise.
41901         * soft-fp/double.h (_FP_UNION_D): Likewise.
41902
41903 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41904
41905         [BZ #13786]
41906         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41907         not include ../strcmp.S.
41908         [USE_AS_STRNCASECMP_L]: Likewise.
41909         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41910         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41911         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41912         (__strncasecmp_l_ia32): Define as alias to
41913         __strncasecmp_l_nonascii.
41914
41915         [BZ #5794]
41916         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41917         * sysdeps/i386/fpu/libm-test-ulps: Update.
41918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41919
41920         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41922
41923 2012-02-29  Jeff Law  <law@redhat.com>
41924
41925         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41926         out of bounds read.
41927
41928 2012-02-29  Marek Polacek  <polacek@redhat.com>
41929
41930         [BZ #13706]
41931         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41932         * elf/Makefile: Add rules to run tst-unused-dep.out.
41933
41934 2012-02-28  David S. Miller  <davem@davemloft.net>
41935
41936         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41937         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41938         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41939         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41940         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41941         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41942
41943 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41944
41945         * math/libm-test.inc (llround_test): Move one test from
41946         lround_test.  Use TEST_f_L in moved test.
41947         (lround_test): Move misplaced test to llround_test.  Add testcase
41948         from bug 2561.
41949
41950 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41951
41952         * sysdeps/x86_64/fpu/e_expf.S: New file.
41953         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41954
41955 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41956
41957         [BZ #13637]
41958         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41959         of remain_len that may cause incomplete multi-byte character and
41960         false match.
41961         * posix/bug-regex33.c: New file.
41962         * posix/Makefile (tests): Add bug-regex33.
41963
41964 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41965
41966         * manual/macros.texi: New file.
41967         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41968         * manual/libc.texinfo: Include macros.texi.
41969         * manual/creatute.texi: Likewise.
41970         * manual/install.texi: Likewise.
41971         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41972         @glibcadj{} in references to the GNU C Library.
41973         * manual/charset.texi: Likewise.
41974         * manual/conf.texi: Likewise.
41975         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41976         when not using those macros.
41977         * manual/creature.texi: Likewise.
41978         * manual/crypt.texi: Likewise.
41979         * manual/errno.texi: Likewise.
41980         * manual/filesys.texi: Likewise.
41981         * manual/header.texi: Likewise.
41982         * manual/install.texi: Likewise.
41983         * manual/intro.texi: Likewise.
41984         * manual/io.texi: Likewise.
41985         * manual/job.texi: Likewise.
41986         * manual/lang.texi: Likewise.
41987         * manual/libc.texiinfo: Likewise.
41988         * manual/llio.texi: Likewise.
41989         * manual/locale.texi: Likewise.
41990         * manual/maint.texi: Likewise.
41991         * manual/math.texi: Likewise.
41992         * manual/memory.texi: Likewise.
41993         * manual/message.texi: Likewise.
41994         * manual/nss.texi: Likewise.
41995         * manual/pattern.texi: Likewise.
41996         * manual/process.texi: Likewise.
41997         * manual/resource.texi: Likewise.
41998         * manual/search.texi: Likewise.
41999         * manual/setjmp.texi: Likewise.
42000         * manual/signal.texi: Likewise.
42001         * manual/socket.texi: Likewise.
42002         * manual/startup.texi: Likewise.
42003         * manual/stdio.texi: Likewise.
42004         * manual/string.texi: Likewise.
42005         * manual/sysinfo.texi: Likewise.
42006         * manual/syslog.texi: Likewise.
42007         * manual/terminal.texi: Likewise.
42008         * manual/time.texi: Likewise.
42009         * manual/users.texi: Likewise.
42010         * INSTALL: Regenerated.
42011         * NOTES: Regenerated.
42012         * sysdeps/gnu/errlist.c: Regenerated.
42013
42014 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
42015
42016         * include/dirent.h: Include <dirstream.h> before
42017         <dirent/dirent.h>.
42018
42019 2012-02-28  David S. Miller  <davem@davemloft.net>
42020
42021         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42022         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42023         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42024         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42025
42026 2012-02-27  David S. Miller  <davem@davemloft.net>
42027
42028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42030         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42031         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42032
42033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42034         frame pointer instead of stack pointer relative arg slot.
42035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42036         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42037         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42038
42039 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
42040
42041         [BZ #3992]
42042         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42043
42044 2012-02-27  David S. Miller  <davem@davemloft.net>
42045
42046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42050         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42051         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42052         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42053         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42054
42055 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42056
42057         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42058         later.  Allow versions 5-9.
42059         * configure: Regenerated.
42060         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42061         required minimum version and 4.6 as recommended version.  Do not
42062         mention bugs in GCC 2.7 and 2.8.
42063         * INSTALL: Regenerated.
42064
42065 2012-02-27  David S. Miller  <davem@davemloft.net>
42066
42067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42071         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42072         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42073         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42074         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42075
42076         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42077         manipulate bits before adding and subtracting TWO112[sx].
42078         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42079
42080 2012-02-27  Roland McGrath  <roland@hack.frob.com>
42081
42082         [BZ #13775]
42083         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42084         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42085         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42086         being in POSIX, because they are in 1003.1-2008.
42087
42088         * rt/tst-aio.c: Include <fcntl.h>.
42089         * rt/tst-aio7.c: Likewise.
42090         * rt/tst-aio64.c: Likewise.
42091
42092         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42093
42094 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42095
42096         * manual/install.texi (--with-headers): Describe headers as
42097         interface headers, not private headers.
42098         (Specific advice for GNU/Linux systems): Describe use of headers
42099         from "make headers_install", not private headers from older
42100         kernels.
42101         * INSTALL: Regenerated.
42102         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42103         Change to 2.6.19.
42104         * sysdeps/unix/sysv/linux/configure: Regenerated.
42105
42106         * manual/llio.texi (fclean): Remove documentation.
42107
42108         * manual/Makefile (libc-texi-generated): New variable.  Include
42109         version.texi.
42110         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42111         $(libc-texi-generated), not duplicated list of files.
42112         (version.texi, stamp-version): New rules.
42113         (realclean): Remove $(libc-texi-generated), not individual files
42114         from that list.  Do not remove dir-add.texinfo.
42115         * manual/libc.texinfo: Comment out uses of edition numbers and
42116         references to printed manual.  Remove last-updated dates.
42117         (EDITION): Comment out.
42118         (ISBN): Likewise.
42119         (VERSION, UPDATED): Remove.
42120         (version.texi): Include.
42121
42122 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
42123
42124         * sysdeps/posix/spawni.c: Include <signal.h>.
42125         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42126         * sysdeps/pthread/aio_fsync.c: Likewise.
42127
42128 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
42129
42130         * conform/Makefile (tests): Run only when not cross-compiling and
42131         when fast-check is not defined.
42132
42133         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42134         * conform/data/limits.h-data: Fixes for POSIX2008.
42135         * conform/run-conformtest.sh: Run all tests.
42136         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42137         headers.
42138         * include/bits/dlfcn.h: Likewise.
42139         * include/langinfo.h: Likewise.
42140         * include/monetary.h: Likewise.
42141         * include/sys/poll.h: Likewise.
42142
42143         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42144         for __USE_GNU.
42145         * posix/spawn.h: Define __need_sigset_t.
42146         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42147         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42148         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
42149         to get sigevent_t only.
42150         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42151         only for __USE_GNU.
42152         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42153         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42154         process_vm_writev only for __USE_GNU.
42155         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42156
42157         * conform/Makefile: For now ignore errors from run-conformtest.
42158         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42159         POSIX to avoid namespace pollution.  Don't prepend headers.
42160         * conform/data/aio.h-data: Fixes for POSIX testing.
42161         * conform/data/fcntl.h-data: Likewise.
42162         * conform/data/glob.h-data: Likewise.
42163         * conform/data/grp.h-data: Likewise.
42164         * conform/data/pthread.h-data: Likewise.
42165         * conform/data/pwd.h-data: Likewise.
42166         * conform/data/signal.h-data: Likewise.
42167         * conform/data/spawn.h-data: Likewise.
42168         * conform/data/stdio.h-data: Likewise.
42169         * conform/data/stdlib.h-data: Likewise.
42170         * conform/data/stropts.h-data: Likewise.
42171         * conform/data/sys/mman.h-data: Likewise.
42172         * conform/data/sys/stat.h-data: Likewise.
42173         * conform/data/sys/types.h-data: Likewise.
42174         * conform/data/sys/wait.h-data: Likewise.
42175         * conform/data/time.h-data: Likewise.
42176         * conform/data/unistd.h-data: Likewise.
42177         * conform/data/utime.h-data: Likewise.
42178
42179         * io/sys/stat.h: fchmod was always in POSIX.
42180         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42181         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42182         * rt/aio.h: Define __need_timespec before including <time.h>.
42183         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42184         struct.  Add forward declaration of pthread_attr_t and use it in
42185         sigevent.
42186         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42187         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42188         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42189         always remove CLK_TCK definition.
42190
42191 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42192
42193         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42194
42195 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42196
42197         * conform/run-conformtest.sh: New file.
42198         * conform/Makefile: Run run-conformtest for tests.
42199         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42200         support.
42201
42202         * conform/data/uchar.h-data: New file.
42203         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42204         * conform/data/arpa/inet.h-data: Likewise.
42205         * conform/data/assert.h-data: Likewise.
42206         * conform/data/complex.h-data: Likewise.
42207         * conform/data/cpio.h-data: Likewise.
42208         * conform/data/ctype.h-data: Likewise.
42209         * conform/data/dirent.h-data: Likewise.
42210         * conform/data/dlfcn.h-data: Likewise.
42211         * conform/data/errno.h-data: Likewise.
42212         * conform/data/fcntl.h-data: Likewise.
42213         * conform/data/float.h-data: Likewise.
42214         * conform/data/fmtmsg.h-data: Likewise.
42215         * conform/data/fnmatch.h-data: Likewise.
42216         * conform/data/ftw.h-data: Likewise.
42217         * conform/data/glob.h-data: Likewise.
42218         * conform/data/grp.h-data: Likewise.
42219         * conform/data/iconv.h-data: Likewise.
42220         * conform/data/inttypes.h-data: Likewise.
42221         * conform/data/langinfo.h-data: Likewise.
42222         * conform/data/libgen.h-data: Likewise.
42223         * conform/data/limits.h-data: Likewise.
42224         * conform/data/locale.h-data: Likewise.
42225         * conform/data/math.h-data: Likewise.
42226         * conform/data/monetary.h-data: Likewise.
42227         * conform/data/mqueue.h-data: Likewise.
42228         * conform/data/ndbm.h-data: Likewise.
42229         * conform/data/net/if.h-data: Likewise.
42230         * conform/data/netdb.h-data: Likewise.
42231         * conform/data/netinet/in.h-data: Likewise.
42232         * conform/data/nl_types.h-data: Likewise.
42233         * conform/data/poll.h-data: Likewise.
42234         * conform/data/pthread.h-data: Likewise.
42235         * conform/data/pwd.h-data: Likewise.
42236         * conform/data/regex.h-data: Likewise.
42237         * conform/data/sched.h-data: Likewise.
42238         * conform/data/search.h-data: Likewise.
42239         * conform/data/semaphore.h-data: Likewise.
42240         * conform/data/setjmp.h-data: Likewise.
42241         * conform/data/signal.h-data: Likewise.
42242         * conform/data/spawn.h-data: Likewise.
42243         * conform/data/stdarg.h-data: Likewise.
42244         * conform/data/stdio.h-data: Likewise.
42245         * conform/data/stdlib.h-data: Likewise.
42246         * conform/data/string.h-data: Likewise.
42247         * conform/data/strings.h-data: Likewise.
42248         * conform/data/stropts.h-data: Likewise.
42249         * conform/data/sys/ipc.h-data: Likewise.
42250         * conform/data/sys/mman.h-data: Likewise.
42251         * conform/data/sys/msg.h-data: Likewise.
42252         * conform/data/sys/resource.h-data: Likewise.
42253         * conform/data/sys/select.h-data: Likewise.
42254         * conform/data/sys/sem.h-data: Likewise.
42255         * conform/data/sys/shm.h-data: Likewise.
42256         * conform/data/sys/socket.h-data: Likewise.
42257         * conform/data/sys/stat.h-data: Likewise.
42258         * conform/data/sys/statvfs.h-data: Likewise.
42259         * conform/data/sys/time.h-data: Likewise.
42260         * conform/data/sys/timeb.h-data: Likewise.
42261         * conform/data/sys/times.h-data: Likewise.
42262         * conform/data/sys/types.h-data: Likewise.
42263         * conform/data/sys/uio.h-data: Likewise.
42264         * conform/data/sys/un.h-data: Likewise.
42265         * conform/data/sys/utsname.h-data: Likewise.
42266         * conform/data/sys/wait.h-data: Likewise.
42267         * conform/data/syslog.h-data: Likewise.
42268         * conform/data/tar.h-data: Likewise.
42269         * conform/data/termios.h-data: Likewise.
42270         * conform/data/utime.h-data: Likewise.
42271         * conform/data/utmpx.h-data: Likewise.
42272         * conform/data/varargs.h-data: Likewise.
42273         * conform/data/wchar.h-data: Likewise.
42274         * conform/data/wctype.h-data: Likewise.
42275         * conform/data/wordexp.h-data: Likewise.
42276
42277         * include/stropts.h: New file.
42278         * include/uchar.h: New file.
42279         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42280         * include/assert.h: Likewise.
42281         * include/ctype.h: Likewise.
42282         * include/dirent.h: Likewise.
42283         * include/dlfcn.h: Likewise.
42284         * include/fcntl.h: Likewise.
42285         * include/fnmatch.h: Likewise.
42286         * include/glob.h: Likewise.
42287         * include/grp.h: Likewise.
42288         * include/libio.h: Likewise.
42289         * include/locale.h: Likewise.
42290         * include/math.h: Likewise.
42291         * include/net/if.h: Likewise.
42292         * include/netdb.h: Likewise.
42293         * include/netinet/in.h: Likewise.
42294         * include/pthread.h: Likewise.
42295         * include/pwd.h: Likewise.
42296         * include/regex.h: Likewise.
42297         * include/sched.h: Likewise.
42298         * include/search.h: Likewise.
42299         * include/setjmp.h: Likewise.
42300         * include/signal.h: Likewise.
42301         * include/stdio.h: Likewise.
42302         * include/stdlib.h: Likewise.
42303         * include/string.h: Likewise.
42304         * include/sys/cdefs.h: Likewise.
42305         * include/sys/mman.h: Likewise.
42306         * include/sys/msg.h: Likewise.
42307         * include/sys/resource.h: Likewise.
42308         * include/sys/select.h: Likewise.
42309         * include/sys/socket.h: Likewise.
42310         * include/sys/stat.h: Likewise.
42311         * include/sys/statvfs.h: Likewise.
42312         * include/sys/time.h: Likewise.
42313         * include/sys/times.h: Likewise.
42314         * include/sys/uio.h: Likewise.
42315         * include/sys/utsname.h: Likewise.
42316         * include/sys/wait.h: Likewise.
42317         * include/termios.h: Likewise.
42318         * include/time.h: Likewise.
42319         * include/ulimit.h: Likewise.
42320         * include/unistd.h: Likewise.
42321         * include/utime.h: Likewise.
42322         * include/wchar.h: Likewise.
42323         * include/wctype.h: Likewise.
42324         * include/wordexp.h: Likewise.
42325
42326         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42327
42328         * time/time.h: TIME_UTC must be a macro.
42329         Make timespec_get available for ISO C11 only as well.
42330
42331 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42332
42333         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42334         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42335
42336 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42337
42338         * configure.in: Use -o not -a in test for unsupported multi-arch.
42339
42340 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42341
42342         * manual/texinfo.tex: Update to version 2012-01-19.16.
42343
42344 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42345
42346         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42347
42348 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42349
42350         [BZ #13738]
42351         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42352         * manual/fdl-1.3.texi: New file.
42353         * manual/fdl-1.1.texi: File removed.
42354
42355         [BZ #13738]
42356         * manual/libc.texinfo (FDL_VERSION): New @set.
42357         Use it for mention of FDL in cover text.
42358         (Documentation License): Use it in @include file name.
42359
42360 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42361             Roland McGrath  <roland@hack.frob.com>
42362
42363         [BZ #5461]
42364         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42365         (not LONG_LONG_MAX and LONG_LONG_MIN.
42366         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42367         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42368         name.
42369         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42370
42371 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42372
42373         [BZ #2547]
42374         [BZ #11365]
42375         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42376         manipulate bits before adding and subtracting TWO23[sx].
42377         * math/libm-test.inc (nearbyint_test): Add more tests.
42378
42379 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42380
42381         [BZ #2548]
42382         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42383         bits before adding and subtracting TWO23[sx].
42384         * math/libm-test.inc (rint_test): Add more tests.
42385         (rint_test_tonearest): Likewise.
42386         (rint_test_towardzero): Likewise.
42387         (rint_test_downward): Likewise.
42388         (rint_test_upward: Likewise.
42389
42390 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42391
42392         [BZ #10110]
42393         * include/stdc-predef.h: New file.  Extracted from features.h.
42394         * include/features.h: Include stdc-predef.h.
42395         * Makefile (headers): Add stdc-predef.h.
42396         * CONFORMANCE (Compiler limitations): Update.
42397
42398 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42399
42400         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42401
42402 2012-02-21  David S. Miller  <davem@davemloft.net>
42403
42404         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42405         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42406
42407 2012-02-20  David S. Miller  <davem@davemloft.net>
42408
42409         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42410         using a normal save/restore sequence, rather than allocating a
42411         dummy stack frame just to store a frame pointer and restore.
42412         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42413
42414 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42415
42416         * manual/install.texi: Fix stray word in line-wrapped comment.
42417
42418 2012-02-20  David S. Miller  <davem@davemloft.net>
42419
42420         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42421         both binutils and gcc support GOTDATA.
42422
42423         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42424         "rd %pc" in the PIC register setup sequences.
42425
42426         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42427         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42428         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42429         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42430         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42431         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42432         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42433         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42434         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42435         (SYSCALL_ERROR_HANDLER): Likewise.
42436         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42437         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42439         (SYSCALL_ERROR_HANDLER): Likewise.
42440
42441         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42442         (HAVE_GCC_GOTDATA): New.
42443         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42444         relocation support in both binutils and gcc.
42445         * sysdeps/sparc/elf/configure: Regenerate.
42446
42447         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42448         * sysdeps/sparc/sparc32/elf/configure: Delete.
42449         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42450         * sysdeps/sparc/sparc64/elf/configure: Delete.
42451         * sysdeps/sparc/elf/configure.in: New file.
42452         * sysdeps/sparc/elf/configure: Generate.
42453
42454         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42455         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42456         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42457         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42458         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42459
42460 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42461
42462         * manual/install.texi: Do not mention specific glibc version
42463         numbers.
42464         * manual/libc.texinfo (VERSION, UPDATED): Update.
42465         (@copying): Use @copyright{} and range of years.
42466
42467 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42468
42469         [BZ #13695]
42470         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42471         [crti.S not in sysdirs] (generated): Do not append.
42472         [crti.S not in sysdirs] (omit-deps): Likewise.
42473         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42474         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42475         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42476         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42477         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42478         Likewise.
42479         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42480         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42481         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42482         * csu/defs.awk: Remove file.
42483         * sysdeps/generic/initfini.c: Likewise.
42484         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42485         variable.
42486         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42487         Likewise.
42488
42489 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42490
42491         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42492         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42493         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42494         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42495         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42496         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42497         <bits/epoll.h>.
42498         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42499         (__EPOLL_PACKED): Define to empty if not defined by
42500         <bits/epoll.h>.
42501         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42502         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42503         bits/epoll.h.
42504
42505 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42506
42507         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42508         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42509         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42510         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42511         <bits/timerfd.h>.
42512         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42513         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42514         bits/timerfd.h.
42515
42516 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42517
42518         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42519         in C locale.
42520         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42521         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42522         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42524
42525 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42526
42527         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42528         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42529
42530 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42531
42532         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42533         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42534         defined.
42535         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42536         Likewise.
42537         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42538         entry for 2.16.
42539
42540 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42541
42542         * math/w_acos.c: Use non-signaling floating-point comparisons.
42543         * math/w_acosf.c: Likewise.
42544         * math/w_acosh.c: Likewise.
42545         * math/w_acoshf.c: Likewise.
42546         * math/w_acoshl.c: Likewise.
42547         * math/w_acosl.c: Likewise.
42548         * math/w_asin.c: Likewise.
42549         * math/w_asinf.c: Likewise.
42550         * math/w_asinl.c: Likewise.
42551         * math/w_atanh.c: Likewise.
42552         * math/w_atanhf.c: Likewise.
42553         * math/w_atanhl.c: Likewise.
42554         * math/w_exp2.c: Likewise.
42555         * math/w_exp2f.c: Likewise.
42556         * math/w_exp2l.c: Likewise.
42557         * math/w_j0.c: Likewise.
42558         * math/w_j0f.c: Likewise.
42559         * math/w_j0l.c: Likewise.
42560         * math/w_j1.c: Likewise.
42561         * math/w_j1f.c: Likewise.
42562         * math/w_j1l.c: Likewise.
42563         * math/w_jn.c: Likewise.
42564         * math/w_jnf.c: Likewise.
42565         * math/w_log.c: Likewise.
42566         * math/w_log10.c: Likewise.
42567         * math/w_log10f.c: Likewise.
42568         * math/w_log10l.c: Likewise.
42569         * math/w_log2.c: Likewise.
42570         * math/w_log2f.c: Likewise.
42571         * math/w_log2l.c: Likewise.
42572         * math/w_logf.c: Likewise.
42573         * math/w_logl.c: Likewise.
42574         * math/w_sqrt.c: Likewise.
42575         * math/w_sqrtf.c: Likewise.
42576         * math/w_sqrtl.c: Likewise.
42577         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42578         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42579         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42580         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42581         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42582
42583 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42584
42585         [BZ #9739]
42586         * manual/string.texi (strnlen): Use correct parameter name in
42587         equivalent expression.
42588
42589 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42590
42591         [BZ #11174]
42592         * manual/users.texi (seteuid): Consistently use neweuid for
42593         argument name.
42594
42595 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42596
42597         [BZ #13704]
42598         * manual/nss.texi (Services in the NSS configuration): Correct
42599         list of services in example configuration file.
42600
42601 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42602
42603         [BZ #11322]
42604         * manual/arith.texi: Remove statements about negative zero
42605         behaving identically to zero.
42606
42607 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42608
42609         [BZ #5993]
42610         * manual/install.texi: Do not document upgrading from libc5.
42611
42612 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42613
42614         [BZ #4596]
42615         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42616
42617 2012-02-18  David S. Miller  <davem@davemloft.net>
42618
42619         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42620         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42621         %o7 across the call.
42622         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42623         instead.
42624         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42625         SETUP_PIC_REG_LEAF.
42626         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42627         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42628         * sysdeps/sparc/crtn.S: Likewise.
42629
42630 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42631
42632         * aout/Makefile: Remove.
42633
42634 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42635
42636         [BZ #13058]
42637         * manual/examples/argp-ex1.c (main): Format definition in GNU
42638         style.
42639         * manual/examples/argp-ex2.c (main): Likewise.
42640         * manual/examples/argp-ex3.c (main): Likewise.
42641         * manual/examples/argp-ex4.c (main): Likewise.
42642         * manual/examples/longopt.c (main): Use new-style prototype
42643         definition.
42644         * manual/examples/strncat.c (main): Specify return type and use
42645         (void) for arguments.
42646         * manual/examples/subopt.c (main): Use char **argv argument.
42647
42648 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42649
42650         [BZ #5077]
42651         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42652         rounding modes.
42653
42654 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42655
42656         [BZ #6907]
42657         * manual/string.texi (strchr): Change when strchrnul is
42658         recommended.
42659
42660 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42661
42662         [BZ #174]
42663         * manual/locale.texi (setlocale): Document LOCPATH.
42664
42665 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42666
42667         [BZ #10210]
42668         * manual/process.texi (execle): Move @dots{} before last argument.
42669
42670 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42671
42672         [BZ #12047]
42673         * manual/charset.texi (Generic Charset Conversion): Fix typo
42674         (LC_TYPE -> LC_CTYPE).
42675
42676 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42677
42678         [BZ #5805]
42679         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42680         (scalbnf): Likewise.
42681         (scalbnl): Likewise.
42682         (scalbln): Likewise.
42683         (scalblnf): Likewise.
42684         (scalblnl): Likewise.
42685         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42686         (vwarnx): Likewise.
42687         (verr): Likewise.
42688         (verrx): Likewise.
42689         * manual/filesys.texi (telldir): Use braces around return type.
42690         * manual/llio.texi (mmap): Add space after comma.
42691         (mmap64): Likewise.
42692         * manual/math.texi (jn): Use @var{} on parameter names.
42693         (jnf): Likewise.
42694         (jnl): Likewise.
42695         (yn): Likewise.
42696         (ynf): Likewise.
42697         (ynl): Likewise.
42698         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42699         line.
42700         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42701         "...".
42702         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42703         (sched_get_priority_max): Likewise.
42704         * manual/signal.texi (sigvec): Add space after comma.
42705         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42706         names.
42707         (if_indextoname): Likewise.
42708         (if_freenameindex): Likewise.
42709         (sendto): Use ',' instead of '.' in prototype.
42710         * manual/startup.texi (syscall): Use @dots{} instead of literal
42711         "...".
42712         * manual/stdio.texi (__fpending): Separate initial words of
42713         paragraph from @deftypefun line.
42714         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42715         "...".
42716         (vsyslog): Use @var{} on parameter names.
42717         * manual/terminal.texi (stty): Use @var{} on parameter names.
42718         * manual/users.texi (getutmp): Use @var{} on parameter names.
42719         (getutmpx): Likewise.
42720
42721 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42722
42723         [BZ #6884]
42724         * manual/stdio.texi (fopen): Fix typos in description of
42725         ",ccs=STRING".
42726
42727 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42728
42729         [BZ #4026]
42730         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42731         get clock_id definition.
42732
42733 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42734
42735         [BZ #4822]
42736         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42737         (madvise): Cast every argument to void on its own.
42738
42739 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42740
42741         [BZ #9902]
42742         * manual/startup.texi (Exit Status): Fix typo.
42743
42744 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42745
42746         [BZ #10140]
42747         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42748         * manual/examples/argp-ex2.c: Likewise.
42749         * manual/examples/argp-ex3.c: Likewise.
42750
42751 2012-02-16  Richard Henderson  <rth@redhat.com>
42752
42753         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42754         * sysdeps/s390/s390-32/initfini.c: Remove.
42755         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42756         * sysdeps/s390/s390-64/initfini.c: Remove.
42757
42758 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42759
42760         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42761         compiler output for sysdeps/generic/initfini.c.
42762         * sysdeps/sh/elf/initfini.c: Remove file.
42763
42764 2012-02-16  David S. Miller  <davem@davemloft.net>
42765
42766         [BZ #11494]
42767         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42768
42769         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42770         * sysdeps/sparc/crti.S: New file.
42771         * sysdeps/sparc/crtn.S: New file.
42772         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42773         * sysdeps/sparc/sparc64/Makefile: Likewise.
42774
42775 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42776
42777         [BZ #3335]
42778         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42779
42780 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42781
42782         [BZ #4822]
42783         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42784
42785         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42786         (write, read, close): Likewise.
42787         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42788
42789 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42790
42791         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42792         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42793         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42794         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42795         <bits/signalfd.h>.
42796         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42797         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42798         bits/signalfd.h.
42799
42800 2012-02-14  Marek Polacek  <polacek@redhat.com>
42801
42802         * sysdeps/x86_64/crti.S: New file.
42803         * sysdeps/x86_64/crtn.S: New file.
42804         * sysdeps/x86_64/elf/initfini.c: Remove file.
42805
42806 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42807
42808         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42809         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42810         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42811         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42812         <bits/inotify.h>.
42813         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42814         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42815         bits/inotify.h.
42816
42817 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42818
42819         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42820         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42821         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42822         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42823         <bits/eventfd.h>.
42824         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42825         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42826         bits/eventfd.h.
42827
42828 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42829
42830         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42831         __feraiseexcept instead of feraiseexcept.
42832
42833         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42834         nanosleep invocations.
42835         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42836         strings, and add error checking for a nanosleep invocations.
42837
42838 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42839
42840         Replace FSF snail mail address with URLs, as per GNU coding standards.
42841         Most of the snail mail addresses were wrong anyway, and omitting
42842         them makes the source code easier to maintain.  Almost all of the
42843         changes are to license notices and to locale LC_IDENTIFICATION
42844         addresses, except for this one:
42845         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42846         not its snail mail address.
42847
42848 2012-02-09  Richard Henderson  <rth@twiddle.net>
42849
42850         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42851         of kernel-features.h.
42852
42853         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42854
42855 2012-02-08  Marek Polacek  <polacek@redhat.com>
42856
42857         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42858         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42859         * sysdeps/gnu/_G_config.h: Likewise.
42860         * sysdeps/generic/_G_config.h: Likewise.
42861
42862 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42863
42864         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42865         tests.
42866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42867
42868         * sysdeps/powerpc/powerpc32/crti.S: New file.
42869         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42870         * sysdeps/powerpc/powerpc64/crti.S: New file.
42871         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42872
42873         * Makeconfig (have-initfini): Don't set.
42874         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42875         * configure.in (nopic_initfini): Don't substitute.
42876         * config.h.in (HAVE_INITFINI): Don't #undef.
42877         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42878         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42879
42880 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42881
42882         Support crti.S and crtn.S provided directly by architectures.
42883         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42884         [crti.S in sysdirs] (omit-deps): Likewise.
42885         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42886         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42887         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42888         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42889         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42890         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42891         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42892         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42893         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42894         compiler output for sysdeps/generic/initfini.c.
42895         * sysdeps/i386/elf/Makefile: Remove file.
42896         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42897
42898 2012-02-07  Marek Polacek  <polacek@redhat.com>
42899
42900         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42901         * sysdeps/gnu/_G_config.h: Likewise.
42902         * sysdeps/mach/hurd/_G_config.h: Likewise.
42903
42904 2012-02-07  Marek Polacek  <polacek@redhat.com>
42905
42906         * math/Makefile (tests): Add tst-CMPLX2.
42907         * math/tst-CMPLX2.c: New file.
42908
42909 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42910
42911         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42912
42913         * math/libm-test.inc (jn_test): Add missing L suffix.
42914
42915 2012-02-06  Marek Polacek  <polacek@redhat.com>
42916
42917         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42918         * sysdeps/i386/fpu/e_powf.S: Likewise.
42919         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42920         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42921         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42922         * sysdeps/i386/fpu/e_pow.S: Likewise.
42923         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42924         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42925         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42926         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42927         * sysdeps/i386/fpu/e_log2.S: Likewise.
42928         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42929         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42930         * sysdeps/i386/fpu/e_powl.S: Likewise.
42931         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42932         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42933         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42934         * sysdeps/i386/fpu/e_logl.S: Likewise.
42935         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42936         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42937         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42938         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42939         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42940         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42941         * sysdeps/i386/fpu/e_log.S: Likewise.
42942         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42943         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42944         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42945         * sysdeps/i386/fpu/e_logf.S: Likewise.
42946         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42947         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42948         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42949         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42950         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42951         * sysdeps/i386/fpu/e_log10.S: Likewise.
42952         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42953         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42954         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42955         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42956         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42957         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42958         * sysdeps/i386/asm-syntax.h: Likewise.
42959         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42960         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42961         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42962         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42963         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42964         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42965         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42966         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42967         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42968         * sysdeps/powerpc/sysdep.h: Likewise.
42969         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42970         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42971
42972 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42973
42974         [BZ #411]
42975         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42976
42977 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42978
42979         * sysdeps/i386/sysdep.h: Include <features.h>.
42980         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42981         version.
42982
42983 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42984
42985         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42986         Define.
42987         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42988         LOAD_PIC_REG_STR.
42989
42990 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42991
42992         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42993         (SETUP_PIC_REG): Use GET_PC_THUNK.
42994         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42995         macro.
42996
42997 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42998
42999         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43000         for non-PIC compilation.
43001         (SETUP_PIC_REG): Add .p2align directive.
43002         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43003         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43004         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43005         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43006         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43007         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43008         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43009         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43010         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43011         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43012         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43013         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43014         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43015         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43016         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43017         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43018         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43019         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43020         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43021         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43022         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43023         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43024         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43025         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43026         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43027         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43028         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43029         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43030         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43031         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43032         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43033         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43034         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43035         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43036         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43037         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43038         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43039         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43040         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43041         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43042         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43043
43044 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43045
43046         * math/tst-CMPLX.c: Include <stdio.h>.
43047
43048 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
43049
43050         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43051         float.
43052         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43053         * sysdeps/sparc/bits/mathdef.h: Likewise.
43054
43055 2012-01-31  Marek Polacek  <polacek@redhat.com>
43056
43057         * libio/libio.h: Don't define _PARAMS.
43058         * locale/programs/config.h: Don't define PARAMS.
43059         * stdlib/strtol_l.c: Likewise.
43060         (__strtol_l): Remove PARAMS from the prototype.
43061
43062 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
43063
43064         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
43065         names.  Just use the correct names.  Remove unnecessary wrapper
43066         functions.
43067         * malloc/arena.c: Likewise.
43068         * malloc/hooks.c: Likewise.
43069
43070         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43071         ARENA_TEST says not to.  Simplify test for creation of a new arena.
43072         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43073
43074 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
43075
43076         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43077         into tail calls.
43078         (update_get_addr): New function.
43079         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43080         GET_ADDR_MODULE parameter.
43081
43082 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43083
43084         * crypt/cert.c: Remove __STDC__ conditionals.
43085         * crypt/crypt-entry.c: Likewise.
43086         * crypt/crypt_util.c: Likewise.
43087         * libio/filedoalloc.c: Likewise.
43088         * libio/fileops.c: Likewise.
43089         * libio/genops.c: Likewise.
43090         * libio/iofclose.c: Likewise.
43091         * libio/iofdopen.c: Likewise.
43092         * libio/iofopen.c: Likewise.
43093         * libio/iofopen64.c: Likewise.
43094         * libio/iogetdelim.c: Likewise.
43095         * libio/iopopen.c: Likewise.
43096         * libio/obprintf.c: Likewise.
43097         * libio/oldfileops.c: Likewise.
43098         * libio/oldiofclose.c: Likewise.
43099         * libio/oldiofdopen.c: Likewise.
43100         * libio/oldiofopen.c: Likewise.
43101         * libio/oldiopopen.c: Likewise.
43102         * libio/wfiledoalloc.c: Likewise.
43103         * libio/wgenops.c: Likewise.
43104         * locale/programs/xmalloc.c: Likewise.
43105         * misc/syslog.c: Likewise.
43106         * stdio-common/xbug.c: Likewise.
43107         * string/memchr.c: Likewise.
43108         * string/memcmp.c: Likewise.
43109         * string/memrchr.c: Likewise.
43110         * string/rawmemchr.c: Likewise.
43111         * sysdeps/posix/getcwd.c: Likewise.
43112         * time/strftime_l.c: Likewise.
43113
43114 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43115
43116         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43117         * config.make.in (config-cflags-sse2avx): Define.
43118         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43119         Fix typo.
43120
43121 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
43122
43123         * scripts/config.guess: Update from upstream config git repository.
43124         * scripts/config.sub: Likewise.
43125
43126 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
43127
43128         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43129         (EM_NUM): Update.
43130         (R_TILEPRO_*, R_TILEGX_*): New macros.
43131
43132         * scripts/firstversions.awk: Fix bug in version range handling.
43133
43134         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43135
43136         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43137
43138         * include/sys/epoll.h: New file.
43139         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43140         libc_hidden_def.
43141
43142 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
43143
43144         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43145         Avoid unnecessary __WORDSIZE == 64 test.
43146         (fmaxf): Use VEX format if possible.
43147         (fmax): Likewise.
43148         (fminf): Likewise.
43149         (fmin): Likewise.
43150
43151         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43152         * math/math_private.h: Remove libc_fegetround* and
43153         libc_fesetround*.
43154         * sysdeps/i386/configure.in: Check for -msse2avx.
43155         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43156         also if SSE2AVX is defined.
43157         Remove libc_fegetround* and libc_fesetround*.
43158         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43159         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43160         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43161         of HAS_YMM_USABLE.
43162         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43163         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43164         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43165         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43166         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43167
43168         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43169
43170 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43171
43172         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43173         size is not set.
43174         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43175
43176 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43177
43178         [BZ #13618]
43179         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43180         relocation.
43181         * Makeconfig (libm): Define.
43182         * elf/Makefile: Add rules to build and run tst-relsort1.
43183         * elf/tst-relsort1.c: New file.
43184         * elf/tst-relsort1mod1.c: New file.
43185         * elf/tst-relsort1mod2.c: New file.
43186
43187 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43188
43189         * math/s_ldexp.c: Remove __STDC__ conditionals.
43190         * math/s_ldexpf.c: Likewise.
43191         * math/s_ldexpl.c: Likewise.
43192         * math/s_nextafter.c: Likewise.
43193         * math/s_nexttowardf.c: Likewise.
43194         * math/s_significand.c: Likewise.
43195         * math/s_significandf.c: Likewise.
43196         * math/s_significandl.c: Likewise.
43197         * math/w_jnl.c: Likewise.
43198         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43199         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43200         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43201         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43202         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43203         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43204         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43205         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43206         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43207         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43208         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43209         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43210         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43211         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43212         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43213         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43214         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43215         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43216         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43217         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43218         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43219         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43220         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43221         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43222         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43223         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43224         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43225         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43226         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43227         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43228         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43229         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43230         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43231         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43232         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43233         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43234         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43235         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43236         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43237         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43238         * sysdeps/ieee754/k_standard.c: Likewise.
43239         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43240         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43241         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43242         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43243         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43244         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43245         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43246         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43247         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43248         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43249         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43250         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43251         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43252         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43253         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43254         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43255         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43256         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43257         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43258         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43259         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43260         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43261         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43262         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43263         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43264         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43265         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43266         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43267         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43268         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43269         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43270         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43271         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43272         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43273         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43274         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43275         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43276         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43277         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43278         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43279         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43280         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43281         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43282         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43283         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43284         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43285         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43286         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43287         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43288         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43289         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43290         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43291         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43292         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43293         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43294         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43295         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43296         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43297         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43298         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43299         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43300         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43301         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43302         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43303         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43304         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43305         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43306         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43307         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43308         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43309         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43310         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43311         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43312         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43313         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43314         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43315         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43316         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43317         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43318         * sysdeps/ieee754/s_matherr.c: Likewise.
43319         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43320         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43321         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43322         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43323
43324 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43325
43326         * crypt/md5.h: Remove __STDC__ conditionals.
43327         * libio/libioP.h: Likewise.
43328         * locale/programs/config.h: Likewise.
43329         * sysdeps/generic/sysdep.h: Likewise.
43330         * sysdeps/i386/asm-syntax.h: Likewise.
43331         * sysdeps/s390/asm-syntax.h: Likewise.
43332         * sysdeps/unix/sysdep.h: Likewise.
43333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43335
43336 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43337
43338         * libio/libio.h: Remove __STDC__ conditionals.
43339         * malloc/obstack.h: Likewise.
43340         * math/complex.h: Likewise.
43341         * math/math.h: Likewise.
43342         * sysdeps/generic/_G_config.h: Likewise.
43343         * sysdeps/gnu/_G_config.h: Likewise.
43344         * sysdeps/mach/hurd/_G_config.h: Likewise.
43345         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43346         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43347         * sysdeps/sparc/bits/mathdef.h: Likewise.
43348
43349 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43350
43351         [BZ #13583]
43352         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43353         Clean up HAS_* macros.
43354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43355         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43356         possible.
43357         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43358         HAS_AVX.
43359         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43360         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43361         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43362         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43363         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43364
43365 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43366
43367         * elf/tst-unique3.cc (gets): Remove declaration.
43368         * elf/tst-unique3lib.cc (gets): Likewise.
43369         * elf/tst-unique3lib2.cc (gets): Likewise.
43370         * elf/tst-unique4.cc (gets): Likewise.
43371
43372 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43373
43374         * include/stdio.h: Add C++ protection.  Add gets declarations and
43375         definitions.
43376         * debug/tst-chk1.c: Don't declare gets here.
43377         * stdio-common/tst-gets.c: Likewise.
43378
43379 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43380
43381         * posix/glob: Remove directory.
43382
43383 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43384
43385         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43386
43387 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43388
43389         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43390         of the non-standard EPFNOSUPPORT.
43391
43392 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43393
43394         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43395         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43396         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43397
43398 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43399
43400         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43401
43402 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43403
43404         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43405         transient errors.
43406         * nscd/grpcache.c (cache_addgr): Likewise.
43407         * nscd/hstcache.c (cache_addhst): Likewise.
43408         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43409         * nscd/pwdcache.c (cache_addpw): Likewise.
43410         * nscd/servicescache.c (cache_addserv): Likewise.
43411
43412 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43413
43414         * malloc/malloc.c: Various cleanups.
43415         * malloc/hooks.c: Likewise.
43416
43417         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43418         * stdlib/bug-fmtmsg1.c: New file.
43419
43420         * stdlib/fmtmsg.c (init): Add missing unlock.
43421         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43422
43423 2012-01-12  Marek Polacek  <polacek@redhat.com>
43424
43425         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43426         and _GNU_SOURCE.
43427
43428 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43429
43430         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43431         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43432         macro to ensure uniqueness of label name.
43433         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43434         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43435
43436 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43437
43438         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43439
43440         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43441         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43442         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43443         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43444
43445 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43446
43447         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43448
43449         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43450         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43451         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43452
43453         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43454
43455         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43456         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43457         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43459
43460         * math/bits/math-finite.h: Add ldexp support.
43461
43462 2012-01-10  Marek Polacek  <polacek@redhat.com>
43463
43464         * locale/programs/localedef.h (show_archive_content): Add noreturn
43465         attribute.
43466
43467 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43468
43469         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43470
43471 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43472
43473         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43474
43475         * io/Makefile (headers): Add bits/poll2.h.
43476
43477 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43478
43479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43480         typo #include statement.
43481
43482 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43483
43484         * include/sys/cdefs.h: Define __attribute_alloc_size.
43485         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43486         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43487         * elf/pldd.c: Likewise.
43488         * iconv/iconv_charmap.c: Likewise.
43489         * iconv/iconvconfig.c: Likewise.
43490         * iconv/strtab.c: Likewise.
43491         * locale/programs/locale.c: Likewise.
43492         * locale/programs/localedef.h: Likewise.
43493         * locale/programs/simple-hash.c: Likewise.
43494         * nscd/nscd.h: Likewise.
43495         * nss/makedb.c: Likewise.
43496         * sysdeps/generic/ldconfig.h: Likewise.
43497         * locale/programs/localedef.c: Remove xmalloc prototype.
43498         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43499
43500 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43501
43502         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43503         appropriate.
43504
43505 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43506
43507         * math/Makefile (tests): Add tst-CMPLX.
43508         * math/tst-CMPLX.c: New file.
43509
43510         * math/complex.h (CMPLXL): Fix typo.
43511
43512         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43513         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43514         GLIBC_2.16.
43515         * debug/tst-chk1.c: Add poll and ppoll tests.
43516         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43517         * include/sys/poll.h: Add hidden proto for ppoll.
43518         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43519         * sysdeps/mach/hurd/ppoll.c: Likewise.
43520         * io/ppoll.c: Likewise.
43521         * debug/poll_chk.c: New file.
43522         * debug/ppoll_chk.c: New file.
43523         * include/bits/poll2.h: New file.
43524         * io/bits/poll2.h: New file.
43525
43526         [BZ #1350]
43527         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43528
43529         * configure.in: static is always set to yes.  Remove.
43530         * config.make.in: Don't set build-static.
43531         * Makeconfig: Remove use of build-static.
43532         * dlfcn/Makefile: Likewise.
43533         * elf/Makefile: Likewise.
43534         * math/Makefile: Likewise.
43535         * misc/Makefile: Likewise.
43536         * nptl/Makefile: Likewise.
43537         * sysdeps/mach/hurd/Makefile: Likewise.
43538
43539         * configure.in: PWD_P is not used anymore.
43540         * config.make.in: Remove PWD_P entry.
43541
43542         * configure.in: Remove last remnants of RANLIB.
43543         No need to check for signed size_t anymore.
43544         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43545         and IA-64.
43546         Remove __builtin_expect test because we require at least gcc 3.4.
43547         * aclocal.m4: Likewise.
43548
43549         * wcsmbs/mbrtoc16.c: Implement using towc function.
43550         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43551         * wcsmbs/wcsmbsload.c: Likewise.
43552         * iconv/gconv_simple.c: Likewise.
43553         * iconv/gconv_int.h: Likewise.
43554         * iconv/gconv_builtin.h: Likewise.
43555         * iconv/iconv_prog.c: Remove CHAR16 handling.
43556
43557         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43558
43559         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43560
43561         * configure.in: Remove --with-elf and --enable-bounded options.
43562         Dont set base_machine for ia64.  More non-ELF conditions removed.
43563         Remove testing and setting of leading underscore information.
43564         * config.make.in (build-bounded): Set to no.
43565         * config.h.in: Remove NO_UNDERSCORES entry.
43566         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43567         them.
43568         * csu/start.c: Remove !NO_UNDERSCORE code.
43569         * locale/localeinfo.h: Likewise.
43570         * sysdeps/generic/machine-gmon.h: Likewise.
43571         * sysdeps/generic/sysdep.h: Likewise.
43572         * sysdeps/i386/sysdep.h: Likewise.
43573         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43574         * sysdeps/mach/sysdep.h: Likewise.
43575         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43576         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43577         * sysdeps/sh/sysdep.h: Likewise.
43578         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43579         * sysdeps/unix/i386/sysdep.S: Likewise.
43580         * sysdeps/unix/sparc/start.c: Likewise.
43581         * sysdeps/unix/sparc/sysdep.S: Likewise.
43582         * sysdeps/unix/sparc/sysdep.h: Likewise.
43583         * sysdeps/unix/start.c: Likewise.
43584         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43585         * sysdeps/x86_64/sysdep.h: Likewise.
43586
43587 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43588
43589         [BZ #13553]
43590         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43591         for non-gcc.
43592         * argp/argp-fmtstream.h: Use const instead __const.
43593         * argp/argp.h: Likewise.
43594         * assert/assert.h: Likewise.
43595         * bits/fenv.h: Likewise.
43596         * bits/sched.h: Likewise.
43597         * bits/sigset.h: Likewise.
43598         * bits/sigthread.h: Likewise.
43599         * catgets/nl_types.h: Likewise.
43600         * conform/data/pthread.h-data: Likewise.
43601         * crypt/crypt-private.h: Likewise.
43602         * crypt/crypt.h: Likewise.
43603         * crypt/crypt_util.c: Likewise.
43604         * ctype/ctype.h: Likewise.
43605         * debug/execinfo.h: Likewise.
43606         * debug/mbsnrtowcs_chk.c: Likewise.
43607         * debug/mbsrtowcs_chk.c: Likewise.
43608         * debug/wcsnrtombs_chk.c: Likewise.
43609         * debug/wcsrtombs_chk.c: Likewise.
43610         * debug/wcstombs_chk.c: Likewise.
43611         * dirent/dirent.h: Likewise.
43612         * dlfcn/dlfcn.h: Likewise.
43613         * elf/neededtest4.c: Likewise.
43614         * grp/grp.h: Likewise.
43615         * gshadow/gshadow.h: Likewise.
43616         * iconv/gconv.h: Likewise.
43617         * iconv/gconv_int.h: Likewise.
43618         * iconv/gconv_simple.c: Likewise.
43619         * iconv/iconv.h: Likewise.
43620         * iconv/loop.c: Likewise.
43621         * iconv/skeleton.c: Likewise.
43622         * include/aio.h: Likewise.
43623         * include/aliases.h: Likewise.
43624         * include/argz.h: Likewise.
43625         * include/arpa/inet.h: Likewise.
43626         * include/assert.h: Likewise.
43627         * include/dirent.h: Likewise.
43628         * include/dlfcn.h: Likewise.
43629         * include/execinfo.h: Likewise.
43630         * include/fcntl.h: Likewise.
43631         * include/fenv.h: Likewise.
43632         * include/glob.h: Likewise.
43633         * include/grp.h: Likewise.
43634         * include/libintl.h: Likewise.
43635         * include/mntent.h: Likewise.
43636         * include/netdb.h: Likewise.
43637         * include/pwd.h: Likewise.
43638         * include/rpc/netdb.h: Likewise.
43639         * include/sched.h: Likewise.
43640         * include/search.h: Likewise.
43641         * include/shadow.h: Likewise.
43642         * include/signal.h: Likewise.
43643         * include/stdio.h: Likewise.
43644         * include/stdlib.h: Likewise.
43645         * include/string.h: Likewise.
43646         * include/sys/socket.h: Likewise.
43647         * include/sys/stat.h: Likewise.
43648         * include/sys/statfs.h: Likewise.
43649         * include/sys/statvfs.h: Likewise.
43650         * include/sys/syslog.h: Likewise.
43651         * include/sys/time.h: Likewise.
43652         * include/sys/uio.h: Likewise.
43653         * include/time.h: Likewise.
43654         * include/unistd.h: Likewise.
43655         * include/utmp.h: Likewise.
43656         * include/wchar.h: Likewise.
43657         * include/wctype.h: Likewise.
43658         * inet/aliases.h: Likewise.
43659         * inet/arpa/inet.h: Likewise.
43660         * inet/netinet/ether.h: Likewise.
43661         * inet/netinet/in.h: Likewise.
43662         * intl/libintl.h: Likewise.
43663         * io/bits/fcntl2.h: Likewise.
43664         * io/fcntl.h: Likewise.
43665         * io/ftw.h: Likewise.
43666         * io/sys/poll.h: Likewise.
43667         * io/sys/stat.h: Likewise.
43668         * io/sys/statfs.h: Likewise.
43669         * io/sys/statvfs.h: Likewise.
43670         * io/utime.h: Likewise.
43671         * libio/bits/stdio.h: Likewise.
43672         * libio/bits/stdio2.h: Likewise.
43673         * libio/libio.h: Likewise.
43674         * libio/libioP.h: Likewise.
43675         * libio/stdio.h: Likewise.
43676         * locale/lc-ctype.c: Likewise.
43677         * locale/locale.h: Likewise.
43678         * login/utmp.h: Likewise.
43679         * malloc/arena.c: Likewise.
43680         * malloc/malloc.c: Likewise.
43681         * malloc/malloc.h: Likewise.
43682         * malloc/mcheck.c: Likewise.
43683         * malloc/mtrace.c: Likewise.
43684         * math/bits/mathcalls.h: Likewise.
43685         * math/fenv.h: Likewise.
43686         * math/math_private.h: Likewise.
43687         * misc/bits/error.h: Likewise.
43688         * misc/bits/syslog.h: Likewise.
43689         * misc/err.h: Likewise.
43690         * misc/error.h: Likewise.
43691         * misc/fstab.h: Likewise.
43692         * misc/mntent.h: Likewise.
43693         * misc/regexp.h: Likewise.
43694         * misc/search.h: Likewise.
43695         * misc/sgtty.h: Likewise.
43696         * misc/sys/mman.h: Likewise.
43697         * misc/sys/syslog.h: Likewise.
43698         * misc/sys/uio.h: Likewise.
43699         * misc/sys/xattr.h: Likewise.
43700         * misc/ttyent.h: Likewise.
43701         * nis/rpcsvc/ypclnt.h: Likewise.
43702         * nss/nss.h: Likewise.
43703         * posix/bits/unistd.h: Likewise.
43704         * posix/fnmatch.h: Likewise.
43705         * posix/glob.h: Likewise.
43706         * posix/sched.h: Likewise.
43707         * posix/spawn.h: Likewise.
43708         * posix/sys/wait.h: Likewise.
43709         * posix/unistd.h: Likewise.
43710         * posix/wordexp.h: Likewise.
43711         * pwd/pwd.h: Likewise.
43712         * resolv/netdb.h: Likewise.
43713         * resource/sys/resource.h: Likewise.
43714         * rt/aio.h: Likewise.
43715         * rt/bits/mqueue2.h: Likewise.
43716         * rt/mqueue.h: Likewise.
43717         * shadow/shadow.h: Likewise.
43718         * signal/signal.h: Likewise.
43719         * socket/send.c: Likewise.
43720         * socket/sendto.c: Likewise.
43721         * socket/sys/socket.h: Likewise.
43722         * stdio-common/printf.h: Likewise.
43723         * stdlib/bits/stdlib.h: Likewise.
43724         * stdlib/fmtmsg.h: Likewise.
43725         * stdlib/monetary.h: Likewise.
43726         * stdlib/stdlib.h: Likewise.
43727         * stdlib/ucontext.h: Likewise.
43728         * streams/stropts.h: Likewise.
43729         * string/argz.h: Likewise.
43730         * string/bits/string2.h: Likewise.
43731         * string/string.h: Likewise.
43732         * string/strings.h: Likewise.
43733         * sunrpc/rpc/auth.h: Likewise.
43734         * sunrpc/rpc/auth_des.h: Likewise.
43735         * sunrpc/rpc/clnt.h: Likewise.
43736         * sunrpc/rpc/netdb.h: Likewise.
43737         * sunrpc/rpc/pmap_clnt.h: Likewise.
43738         * sunrpc/rpc/xdr.h: Likewise.
43739         * sysdeps/generic/inttypes.h: Likewise.
43740         * sysdeps/generic/net/if.h: Likewise.
43741         * sysdeps/generic/sys/swap.h: Likewise.
43742         * sysdeps/gnu/net/if.h: Likewise.
43743         * sysdeps/gnu/utmpx.h: Likewise.
43744         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43745         * sysdeps/i386/i486/bits/string.h: Likewise.
43746         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43747         * sysdeps/s390/bits/string.h: Likewise.
43748         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43749         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43750         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43751         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43752         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43753         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43754         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43755         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43756         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43757         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43758         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43759         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43760         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43761         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43762         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43763         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43764         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43765         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43766         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43767         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43768         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43769         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43770         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43771         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43772         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43773         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43774         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43775         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43776         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43777         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43778         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43779         * sysvipc/sys/ipc.h: Likewise.
43780         * sysvipc/sys/msg.h: Likewise.
43781         * sysvipc/sys/sem.h: Likewise.
43782         * sysvipc/sys/shm.h: Likewise.
43783         * termios/termios.h: Likewise.
43784         * time/sys/time.h: Likewise.
43785         * time/time.h: Likewise.
43786         * wcsmbs/bits/wchar2.h: Likewise.
43787         * wcsmbs/uchar.h: Likewise.
43788         * wcsmbs/wchar.h: Likewise.
43789         * wctype/wctype.h: Likewise.
43790
43791         [BZ #13551]
43792         * Makeconfig: Remove all but ELF support including AIX support.
43793         * Makerules: Likewise.
43794         * config.h.in: Likewise.
43795         * config.make.in: Likewise.
43796         * configure: Likewise.
43797         * configure.in: Likewise.
43798         * csu/Makefile: Likewise.
43799         * csu/version.c: Likewise.
43800         * debug/Makefile: Likewise.
43801         * dlfcn/Makefile: Likewise.
43802         * elf/Makefile: Likewise.
43803         * extra-lib.mk: Likewise.
43804         * iconv/Makefile: Likewise.
43805         * include/libc-symbols.h: Likewise.
43806         * include/shlib-compat.h: Likewise.
43807         * resolv/Makefile: Likewise.
43808         * resolv/res_libc.c: Likewise.
43809         * rt/Makefile: Likewise.
43810         * sysdeps/i386/asm-syntax.h: Likewise.
43811         * sysdeps/i386/sysdep.h: Likewise.
43812         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43813         * sysdeps/mach/sysdep.h: Likewise.
43814         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43815         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43816         * sysdeps/s390/asm-syntax.h: Likewise.
43817         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43818         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43819         * sysdeps/sh/sysdep.h: Likewise.
43820         * sysdeps/unix/sparc/sysdep.h: Likewise.
43821         * sysdeps/wordsize-32/divdi3.c: Likewise.
43822         * sysdeps/x86_64/sysdep.h: Likewise.
43823
43824         * argp/Versions: Remove _argp_unlock_xxx.
43825
43826         [BZ #13559]
43827         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43828         * abilist/libBrokenLocale.abilist: Likewise.
43829         * abilist/libanl.abilist: Likewise.
43830         * abilist/libc.abilist: Likewise.
43831         * abilist/libcrypt.abilist: Likewise.
43832         * abilist/libdl.abilist: Likewise.
43833         * abilist/libm.abilist: Likewise.
43834         * abilist/libnsl.abilist: Likewise.
43835         * abilist/libpthread.abilist: Likewise.
43836         * abilist/libresolv.abilist: Likewise.
43837         * abilist/librt.abilist: Likewise.
43838         * abilist/libthread_db.abilist: Likewise.
43839         * abilist/libutil.abilist: Likewise.
43840         * abilist/libnss_db.abilist: New file.
43841
43842         * scripts/abilist.awk: Add support for indirect functions.
43843
43844         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43845
43846         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43847
43848         * shlib-versions: Remove entries for ports architectures.
43849
43850         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43851         files in ports.
43852         * elf/stackguard-macros.h: Remove support for IA-64.
43853         * elf/tst-auditmod1.c: Likewise.
43854         * sysdeps/generic/ldsodefs.h: Likewise.
43855
43856         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43857         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43858         configure files.
43859
43860         [BZ #13552]
43861         * configure.in: Remove --enable-omitfp support.
43862         * FAQ.in: Adjust.
43863         * config.make.in: Likewise.
43864         * Makeconfig: Likewise.
43865         * manual/install.texi: Likewise.
43866
43867         In case anyone cares, the IA-64 architecture could move to ports.
43868         * sysdeps/ia64/*: Removed.
43869         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43870         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43871
43872         [BZ #13555]
43873         * configure.in: Remove entries for unsupported architectures.
43874
43875         [BZ #13533]
43876         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43877         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43878         routines.
43879         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43880         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43881         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43882         fall back to using wcrtomb.
43883         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43884         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43885         renaming.
43886         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43887         * wcsmbs/tst-c16c32-1.c: New file.
43888
43889         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43890         local variable.
43891
43892         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43893
43894         * elf/tst-unique3.cc: Add explicit declaration of gets.
43895         * elf/tst-unique3lib.cc: Likewise.
43896         * elf/tst-unique3lib2.cc: Likewise.
43897         * elf/tst-unique4.cc: Likewise.
43898
43899         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43900
43901 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43902
43903         [BZ #13566]
43904         * assert/assert.h (static_assert): Don't define for C++.
43905         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43906         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43907
43908 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43909
43910         * iconv/loop.c (single loop): Fix assertion in storing of
43911         remaining bytes.
43912
43913         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43914
43915 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43916
43917         * posix/getconf.c: Update copyright year.
43918         * nss/getent.c: Likewise.
43919         * nss/makedb.c: Likewise.
43920         * iconv/iconvconfig.c: Likewise.
43921         * iconv/iconv_prog.c: Likewise.
43922         * elf/ldconfig.c: Likewise.
43923         * elf/pldd.c: Likewise.
43924         * elf/sotruss.ksh: Likewise.
43925         * catgets/gencat.c: Likewise.
43926         * csu/version.c: Likewise.
43927         * elf/ldd.bash.in: Likewise.
43928         * elf/sprof.c (print_version): Likewise.
43929         * locale/programs/locale.c: Likewise.
43930         * locale/programs/localedef.c: Likewise.
43931         * login/programs/pt_chown.c: Likewise.
43932         * nscd/nscd.c (print_version): Likewise.
43933         * debug/xtrace.sh: Likewise.
43934         * malloc/memusage.sh: Likewise.
43935         * malloc/mtrace.pl: Likewise.
43936         * debug/catchsegv.sh: Likewise.
43937
43938 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43939
43940         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43941         pure attribute.
43942
43943 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43944
43945         [BZ #13533]
43946         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43947         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43948         transformations.
43949         * iconv/gconv_int.h: Likewise.
43950         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43951         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43952         from libc for GLIBC_2.16.
43953         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43954         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43955         * wcsmbs/uchar.h: Really define mbstate_t.
43956         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43957         * wcsmbs/c16rtomb.c: New file.
43958         * wcsmbs/mbrtoc16.c: New file.
43959         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43960         for C/POSIX locale.
43961         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43962         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43963
43964         * wcsmbs/wchar.h: Add missing __restrict.
43965
43966 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43967
43968         [BZ #13532]
43969         * time/Makefile (routines): Add timespec_get.
43970         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43971         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43972         timespec for ISO C11.
43973         * time/timespec_get.c: New file.
43974         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43975         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43976
43977         [BZ #13531]
43978         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43979         * stdlib/stdlib.h: Declare aligned_alloc.
43980         * Versions.def: Add GLIBC_2.16 for libc.
43981         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43982
43983         [BZ 13527]
43984         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43985         ISO C11.
43986
43987         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43988         code.
43989
43990         [BZ #13528]
43991         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43992
43993         [BZ #13529]
43994         * assert/assert.h (static_assert): Define.
43995
43996         * version.h: Update for 2.16 development version.
43997
43998         [BZ #13526]
43999         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44000         _ISOC11_SOURCE.
44001
44002         * version.h (RELEASE): Bump for 2.15 release.
44003         * include/features.h (__GLIBC_MINOR__): Bump to 15.
44004
44005         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44006         Patch by Marek Polacek <mpolacek@redhat.com>.
44007
44008         * bits/byteswap.h: Protect long long constants with __extension__.
44009         * sysdeps/i386/bits/byteswap.h: Likewise.
44010         * sysdeps/ia64/bits/byteswap.h: Likewise.
44011         * sysdeps/s390/bits/byteswap.h: Likewise.
44012         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44013
44014 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44015
44016         [BZ #13540]
44017         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44018         destination buffer.
44019         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44020
44021 2011-12-23  Marek Polacek  <polacek@redhat.com>
44022
44023         * elf/dl-addr.c (determine_info): Add inline keyword.
44024         * elf/tst-auditmod4b.c (check_avx): Likewise.
44025         * elf/tst-auditmod6b.c (check_avx): Likewise.
44026         * elf/tst-auditmod6c.c (check_avx): Likewise.
44027         * elf/tst-auditmod7b.c (check_avx): Likewise.
44028
44029 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44030
44031         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44032         !__SSE_MATH__.
44033
44034 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44035
44036         [BZ #13540]
44037         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44038         processing for last bytes.
44039
44040 2011-08-06  Bruno Haible  <bruno@clisp.org>
44041
44042         [BZ #13061]
44043         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44044         U+0385, not to U+1FEE.
44045
44046         [BZ #13062]
44047         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44048         entry for U+00A5 U+0301.
44049
44050 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44051
44052         [BZ #13166]
44053         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44054         buffer for the output is too small.
44055
44056         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44057         optimization.
44058
44059         [BZ #13185]
44060         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44061         SSE flags if possible.
44062
44063 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44064
44065         [BZ #13540]
44066         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44067         processing for last bytes.
44068
44069 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
44070
44071         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44072         (syscall-list-default-options, syscall-list-default-condition)
44073         (syscall-list-includes): Define.
44074         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44075         list of ABIs and options and #if conditions for each ABI.  Do not
44076         handle common syscalls between ABIs specially.
44077         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44078         Remove.
44079         (syscall-list-variants, syscall-list-32bit-options)
44080         (syscall-list-32bit-condition, syscall-list-64bit-options)
44081         (syscall-list-64bit-condition): Define.
44082         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44083         (syscall-list-variants, syscall-list-32bit-options)
44084         (syscall-list-32bit-condition, syscall-list-64bit-options)
44085         (syscall-list-64bit-condition): Define.
44086         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44087         Remove.
44088         (syscall-list-variants, syscall-list-32bit-options)
44089         (syscall-list-32bit-condition, syscall-list-64bit-options)
44090         (syscall-list-64bit-condition): Define.
44091         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44092         Remove.
44093         (syscall-list-variants, syscall-list-32bit-options)
44094         (syscall-list-32bit-condition, syscall-list-64bit-options)
44095         (syscall-list-64bit-condition): Define.
44096
44097 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44098
44099         * locale/iso-639.def: Add brx entry.
44100
44101         [BZ #13328]
44102         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44103         Proposed by Mariusz_Cukr <marcukr@op.pl>.
44104
44105         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44106         __feraiseexcept_renamed.
44107
44108 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44109
44110         [BZ #13538]
44111         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44112         EPOLLET with unsigned values.
44113         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44114         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44115
44116         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44117         to large cancellation.
44118         * math/s_cacoshf.c: Likewise.
44119         * math/s_cacoshl.c: Likewise.
44120
44121 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
44122
44123         [BZ #13305]
44124         [BZ #12786]
44125         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44126         * math/s_cacoshf.c: Likewise.
44127         * math/s_cacoshl.c: Likewise.
44128
44129 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44130
44131         [BZ #13439]
44132         * iconv/gconv.h: Define __GCONV_SWAP.
44133         * iconvdata/unicode.c: The swap bit must be stored in __flags.
44134         * iconvdata/utf-16.c: Likewise.
44135         * iconvdata/utf-32.c: Likewise.
44136
44137 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
44138
44139         [BZ #13524]
44140         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44141         numerator after shifting it by one limb.
44142
44143 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
44144
44145         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44146         under [__USE_EXTERN_INLINES].
44147
44148 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44149
44150         [BZ #13446]
44151         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44152
44153 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44154
44155         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44156         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44157         optimized code.
44158         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44159         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44160         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44161         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44162         for strncasecmp/strncasecmp_l compilation.
44163         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44164         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44165
44166 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44167
44168         [BZ #13484]
44169         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44170         of __asm__.
44171
44172 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44173
44174         [BZ #13506]
44175         * time/tzfile.c (__tzfile_read): Check values from file header.
44176
44177 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44178
44179         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44180         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44181         * powerpc/powerpc32/dl-start.S: Likewise.
44182         * powerpc/powerpc32/elf/start.S: Likewise.
44183         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44184         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44185         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44186         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44187         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44188         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44189         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44190         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44191         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44192         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44193         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44194         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44195         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44196         * powerpc/powerpc32/memset.S: Likewise.
44197         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44198         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44199         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44200         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44201         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44202         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44203         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44204         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44205         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44206         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44207         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44208         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44209         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44210
44211 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44212
44213         * math/libm-test.inc: Added more nearbyint tests.
44214         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44215         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44216         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44217         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44218
44219 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44220
44221         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44222         FD_CLOEXEC.
44223
44224 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44225
44226         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44227         Add wcscpy-ssse3 wcscpy-c.
44228         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44229         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44230         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44231         * sysdeps/x86_64/wcschr.S: New file.
44232         * sysdeps/x86_64/wcsrchr.S: New file.
44233         * string/test-strcmp.c: Remove checking of wcscmp function for
44234         wrong alignments.
44235         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44236         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44237         wcsrchr-sse2 wcsrchr-c.
44238         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44239         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44240         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44241         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44242         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44243         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44244         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44245         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44246         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44247         * wcsmbc/wcschr.c (WCSCHR): New macro.
44248
44249 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44250
44251         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44252         * wcsmbs/test-wcsrchr.c: New file.
44253         * string/test-strrchr.c: Add wcsrchr support.
44254         (WIDE): New macro.
44255         * wcsmbs/test-wcscpy.c: New file.
44256         * string/test-strcpy.c: Add wcscpy support.
44257         (WIDE): New macro.
44258
44259 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44260
44261         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44262         the inner loop.
44263
44264 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44265
44266         [BZ #13472]
44267         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44268
44269 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44270
44271         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44272         Minor optimizations.
44273
44274         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44275         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44276         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44277
44278 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44279
44280         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44281         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44282         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44283         for gcc to avoid warnings.
44284         * inet/Makefile (tests): Add tst-checks.
44285         * inet/tst-checks.c: New file.
44286
44287         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44288         warning.
44289
44290         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44291         __wmemcmp_sse2.
44292
44293         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44294         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44295
44296         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44297
44298 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44299
44300         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44301         problem.
44302
44303         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44304
44305 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44306
44307         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44308         conditional on GCC version.
44309         (__arch_compare_and_exchange_val_8_acq)
44310         (__arch_compare_and_exchange_val_16_acq)
44311         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44312         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44313         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44314
44315 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44316
44317         * sysdeps/sh/backtrace.c: New file.
44318
44319 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44320
44321         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44322         parenthesis.
44323
44324 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44325
44326         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44327         falling back to utime.
44328
44329 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44330
44331         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44332         expectations for float.
44333
44334 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44335
44336         * locale/weight.h (findidx): Add parameter len.
44337         * locale/weightwc.h (findidx): Likewise.
44338         * posix/fnmatch_loop.c (FCT): Adjust caller.
44339         * posix/regcomp.c (build_equiv_class): Likewise.
44340         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44341         * posix/regexec.c (check_node_accept_bytes): Likewise.
44342         * string/strcoll_l.c (STRCOLL): Likewise.
44343         * string/strxfrm_l.c (STRXFRM): Likewise.
44344
44345 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44346
44347         * Makefile.in: Remove CVSOPT handling.
44348         * configure.in: Remove use of AC_REVISION.
44349         * iconvdata/Makefile (distribute): No need to filter out CVS.
44350         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44351         handling.
44352
44353 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44354
44355         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44356         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44357         [USE_AS_STRNCASECMP_L]: Likewise.
44358         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44359         NO_TLS_DIRECT_SEG_REFS.
44360         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44361         Fix argument offsets for non-PIC.
44362         [USE_AS_STRNCASECMP_L]: Likewise.
44363         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44364         NO_TLS_DIRECT_SEG_REFS.
44365
44366 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44367
44368         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44369         O_CLOEXEC.
44370         * locale/loadlocale.c (_nl_load_locale): Likewise.
44371
44372 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44373
44374         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44375         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44376         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44377         (SYSCALL_GETTIME): Set errno on error.
44378
44379         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44380         count references to noai6ai_cached.
44381
44382 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44383
44384         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44385
44386         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44387         FD_CLOEXEC for /proc/self/maps.
44388
44389         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44390         FD_CLOEXEC for /proc/meminfo.
44391
44392         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44393         gai.conf.
44394
44395         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44396         FD_CLOEXEC for given file.
44397
44398         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44399
44400         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44401         FD_CLOEXEC for /etc/hosts.
44402         (_gethtent): Likewise.
44403
44404         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44405
44406         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44407         cancellation and set FD_CLOEXEC for /etc/netgroup.
44408
44409         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44410         reading /etc/publickey.
44411
44412         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44413         allow cancellation when reading /etc/group.
44414
44415         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44416         cancellation.
44417         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44418
44419         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44420         when using data file.
44421
44422         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44423
44424         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44425         (write_nis_obj): Use "c" and "e" in fopen.
44426
44427         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44428
44429         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44430
44431         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44432
44433         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44434
44435         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44436         locale.alias.
44437
44438         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44439
44440         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44441
44442         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44443
44444         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44445         file parsing and set FD_CLOEXEC.
44446
44447 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44448
44449         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44450
44451 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44452
44453         * malloc/arena.c (arena_get2): Don't call reused_arena when
44454         _int_new_arena failed.
44455
44456 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44457
44458         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44459         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44460         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44461         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44462         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44463         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44464         to compile strcasecmp and strncasecmp.
44465         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44466         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44467
44468         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44469
44470 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44471
44472         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44473         locale-defines.sym to gen-as-const-headers.
44474         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44475         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44476         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44477         to compile strcasecmp and strncasecmp.
44478         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44479         strcasecmp_l and strncasecmp_l.
44480         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44481         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44482         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44483         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44484         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44485         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44486         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44487         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44488         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44489         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44490         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44491
44492 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44493
44494         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44495         result of SYSDEP_GETTIME_CPU to retval.
44496         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44497         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44498
44499         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44500         variable.
44501
44502         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44503         mantissa words.
44504         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44505
44506         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44507         from unused variable.
44508
44509         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44510         DWARF definitions.
44511         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44512         for assembling.
44513
44514         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44515         over namespaces.
44516
44517         * sunrpc/rpc_prot.c (rejected): Fix case value.
44518
44519         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44520         unsigned long long int to avoid warnings in shift.
44521
44522         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44523         of use of trans.
44524         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44525         variable tmp.
44526
44527         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44528         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44529         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44530
44531         * nis/nis_table.c (nis_list): Use variable of correct type for
44532         result of __follow_path call.
44533
44534 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44535
44536         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44537         of math functions ceil, trunc, floor, round, and sqrt, when
44538         avaliable on the platform.
44539         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44540         name clash.
44541         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44542         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44543         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44544
44545 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44546
44547         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44548         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44549
44550 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44551
44552         * include/unistd.h: Fix __readlink return type.
44553         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44554
44555 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44556
44557         * stdlib/ucontext.h: Undo last change for makecontext.
44558
44559 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44560
44561         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44562
44563         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44564         * setjmp/setjmp.h: Mark functions as non-leaf.
44565         * setjmp/bits/setjmp2.h: Likewise.
44566         * stdlib/ucontext.h: Likewise.
44567
44568 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44569
44570         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44571         (reused_arena): Don't check arena limit.
44572         (arena_get2): Atomically check arena limit.
44573
44574 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44575
44576         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44577         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44578
44579         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44580         instructions.
44581
44582 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44583
44584         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44585         handler when locking.
44586
44587         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44588         Fix size of allocated buffer.
44589
44590 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44591
44592         [BZ #10103]
44593         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44594         declarations for long double functions.
44595         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44596
44597         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44598
44599 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44600
44601         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44602         installed.
44603
44604         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44605         is disabled.
44606
44607 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44608
44609         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44610
44611 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44612
44613         * include/alloca.h (stackinfo_alloca_round): Define.
44614         (extend_alloca): Use it.
44615         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44616         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44617         here.
44618
44619         * scripts/check-local-headers.sh: Ignore libaudit.h.
44620
44621         * nscd/Makefile (extra-objs): Make recursively expanded.
44622
44623 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44624
44625         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44626         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44627
44628         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44629         * posix/tst-rfc3484-2.c: Likewise.
44630         * posix/tst-rfc3484-3.c: Likewise.
44631
44632         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44633         process_vm_writev.
44634         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44635         process_vm_writev.
44636         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44637         process_vm_writev from libc using GLIBC_2.15 version.
44638
44639         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44640
44641 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44642
44643         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44644         stack usage.
44645
44646 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44647
44648         [BZ #13367]
44649         * nss/getent.c (initgroups_keys): Show error message in case no group
44650         names are given.
44651
44652         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44653         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44654         __bump_nl_timestamp.
44655         * nscd/connections (nscd_init): When host database is served open
44656         netlink socket and request notification about configuration changes.
44657         (main_loop_poll): Track netlink file descriptor and bump timestamp
44658         in case data becomes available.
44659         (main_loop_epoll): Likewise.
44660         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44661         (database_pers_head): Add extra_data fileds.
44662         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44663         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44664         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44665         Adjust caller.
44666         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44667         in6ai data, call __free_in6ai.
44668         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44669         Add -DHAVE_NETLINK.
44670         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44671         interface information.  Reuse previous data if netlink timestamp
44672         is not changed.
44673         (__bump_nl_timestamp): New function.
44674         (__free_in6ai): New function.
44675
44676 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44677
44678         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44679         close_not_cancel_no_status here.
44680         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44681
44682 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44683
44684         [BZ #13276]
44685         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44686         return value.
44687
44688         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44689         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44690         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44691
44692 2011-07-03  Andreas Jaeger  <aj@suse.de>
44693
44694         [BZ #10709]
44695         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44696         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44697         * math/libm-test.inc (sin_test): Add test case.
44698
44699 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44700
44701         [BZ #13337]
44702         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44703         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44704
44705         * elf/chroot_canon.c (chroot_canon): Cleanups.
44706
44707         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44708
44709         [BZ #13335]
44710         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44711         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44712
44713         * string/test-strchr.c: Make usable for strchrnul testing.
44714         * string/test-strchrnul.c: New file.
44715         * string/Makefile (strop-tests): Add strchrnul.
44716
44717         * po/it.po: Update from translation team.
44718         * po/es.po: Likewise.
44719
44720 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44721
44722         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44723         the three constants needed as parameters.  Drop the others.
44724         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44725         __m128i_strloadu_tolower.
44726         Create and initialize variable zero and use it in all the places
44727         where _mm_setzero_si128 was used.
44728
44729         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44730         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44731         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44732         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44733         anymore.
44734         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44735         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44736         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44737         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44738         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44739         __mpranred, __mptan.
44740         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44741         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44742         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44743         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44744         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44745         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44746         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44747         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44748         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44749
44750 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44751
44752         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44753         redefine if SHARED.
44754         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44755
44756         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44757         wide char related routines to wcsmbs subdir.
44758
44759 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44760
44761         [BZ #13344]
44762         * misc/sys/cdefs.h (__THROWNL): Define.
44763         * posix/unistd.h: Use __THREADNL instead of __THREAD
44764         for memory synchronization functions.
44765
44766 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44767
44768         [BZ #13349]
44769         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44770         doesn't exist.
44771         * manual/stdio.texi (Obstack Streams): Node removed.
44772
44773 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44774
44775         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44776         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44777         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44778
44779         * math/math_private.h (math_force_eval): Allow non-addressable
44780         arguments.
44781         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44782
44783 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44784
44785         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44786         file is not needed.
44787
44788         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44789         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44790         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44791         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44792         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44793         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44794         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44795         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44796         Add AVX variants.
44797         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44798         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44799         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44800         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44801         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44802         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44803         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44804         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44805         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44806         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44807         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44808         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44809         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44810         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44811         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44812         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44813         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44814         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44815         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44816
44817         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44818         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44819
44820         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44821         place.  Use VEX encoding when compiling for AVX.
44822
44823 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44824
44825         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44826         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44827
44828         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44829
44830 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44831
44832         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44833         useless if() expression.
44834         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44835         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44836         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44837         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44838         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44839         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44840         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44841         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44842         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44843         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44844         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44845         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44846         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44847         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44848         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44849         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44850         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44851         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44852         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44853
44854         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44855
44856 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44857
44858         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44859         condition.
44860         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44861
44862 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44863
44864         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44865         .text section.  Avoid duplicate constants.
44866         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44867         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44868         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44869         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44870         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44871         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44872         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44873         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44874         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44875         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44876         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44877         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44878         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44879         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44880         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44881         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44882         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44883         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44884         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44885         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44886         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44887         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44888         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44889         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44890         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44891         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44892         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44893         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44894         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44895         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44896         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44897         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44898         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44899         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44900         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44901         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44902         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44903         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44904         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44905         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44906         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44907         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44908         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44909         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44910         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44911
44912 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44913
44914         * sysdeps/x86_64/dla.h: Move to ...
44915         * sysdeps/x86_64/fpu/dla.h: ...here.
44916         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44917         situations.  Use __builtin_fma only for gcc 4.6 and up.
44918
44919         * config.make.in: Add have-mfma4 entry.
44920         * configure.in: Substitute libc_cv_cc_fma4.
44921         * math/Makefile (dbl-only-routines): Add sincostab.
44922         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44923         Use __sincostab not sincos.
44924         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44925         name is a macro.
44926         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44927         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44928         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44929         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44930         using __copysign.
44931         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44932         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44933         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44934         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44935         and __inv.
44936         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44937         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44938         __copysign.
44939         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44940         define aliases when function name is a macro.
44941         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44942         sysdeps/ieee754/dbl-64/sincos.tbl.
44943         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44944         fma4-enabled routines.
44945         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44946         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44947         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44948         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44949         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44950         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44951         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44952         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44953         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44954         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44955         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44956         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44957         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44958         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44959         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44960         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44961         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44962         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44963         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44964         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44965         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44966         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44967         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44968         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44969         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44970         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44971         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44972         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44973         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44974         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44975
44976         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44977         rename.
44978         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44979         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44980         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44981         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44982         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44983         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44984         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44985         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44986
44987 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44988
44989         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44990
44991 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44992
44993         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44994
44995         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44996         prediction.
44997         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44998
44999         * string/strnlen.c: Don't define STRNLEN, reverse logic.
45000         Remove unused variable magic_bits.
45001         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45002
45003         * string/strnlen.c: Define and use STRNLEN macro.
45004         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45005         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45006         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45007         * wcsmbs/wcslen.c: Define and use WCSLEN.
45008         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45009         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45010         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45011         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45012         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45013         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45014         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45015
45016 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45017
45018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45019         strnlen-sse2-no-bsf.
45020         Rename strlen-no-bsf to strlen-sse2-no-bsf.
45021         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45022         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45023         Add strnlen support.
45024         (USE_AS_STRNLEN): New macro.
45025         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45026         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45027         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45028         * sysdeps/x86_64/wcslen.S: New file.
45029
45030 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
45031
45032         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45033         XMM-moves are used for copying on small sizes.
45034
45035 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45036
45037         * wcsmbs/Makefile (strop-tests): Add wcschr.
45038         * wcsmbs/test-wcschr.c: New file.
45039         * string/test-strchr.c: Update.
45040         Add wcschr support.
45041         (WIDE): New macro.
45042
45043 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45044
45045         * wcsmbs/Makefile (strop-tests): Add wcslen.
45046         * wcsmbs/test-wcslen.c: New file.
45047         * string/test-strlen.c: Update.
45048         Add wcslen support.
45049         (WIDE): New macro.
45050
45051 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45052
45053         * po/it.po: Update from translation team.
45054
45055 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45056
45057         * sysdeps/x86_64/wcscmp.S: Update.
45058         Fix wrong comparison semantics.
45059         wcscmp shall use signed comparison not unsigned.
45060         Don't use substraction to avoid overflow bug.
45061         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45062         * wcsmbc/wcscmp.c: Likewise.
45063         * string/test-strcmp.c: Likewise.
45064         Add new tests to check cases with negative values.
45065
45066 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45067
45068         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45069         * sysdeps/x86_64/dla.h: ...here.  New file.
45070         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45071         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45072         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45073         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45074         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45075         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45076         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45077         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45078         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45079
45080 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
45081
45082         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45083         __ynl_finite aliases.
45084
45085 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45086
45087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45088
45089         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45090         define DLA_FMA.
45091         [DLA_FMA] (EMULV): Use DLA_FMA.
45092         [DLA_FMA] (MUL12): Use EMULV.
45093         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45094         that are not needed.
45095         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45096         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45097         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45098         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45099         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45100         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45101         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45102
45103 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
45104
45105         * math/s_nan.c: Undef __nan.
45106         * math/s_nanf.c: Undef __nanf.
45107         * math/s_nanl.c: Undef __nanl.
45108         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45109         "math_private.h".
45110
45111 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45112
45113         * math/s_catan.c: Add branch predictions.
45114         * math/s_catanf.c: Likewise.
45115         * math/s_catanh.c: Likewise.
45116         * math/s_catanhf.c: Likewise.
45117         * math/s_catanhl.c: Likewise.
45118         * math/s_catanl.c: Likewise.
45119         * math/s_cexp.c: Likewise.
45120         * math/s_cexpf.c: Likewise.
45121         * math/s_cexpl.c: Likewise.
45122         * math/s_clog.c: Likewise.
45123         * math/s_clog10.c: Likewise.
45124         * math/s_clog10f.c: Likewise.
45125         * math/s_clog10l.c: Likewise.
45126         * math/s_clogf.c: Likewise.
45127         * math/s_clogl.c: Likewise.
45128         * math/s_csqrt.c: Likewise.
45129         * math/s_csqrtf.c: Likewise.
45130         * math/s_csqrtl.c: Likewise.
45131         * math/s_ctanf.c: Likewise.
45132         * math/s_ctanh.c: Likewise.
45133         * math/s_ctanhf.c: Likewise.
45134         * math/s_ctanhl.c: Likewise.
45135         * math/s_ctanl.c: Likewise.
45136
45137         * math/math_private.h: Define __nan, __nanf, __nanl.
45138         * math/s_cacosh.c: Include <math_private.h>.
45139         * math/s_cacoshl.c: Likewise.
45140         * math/s_casinh.c: Likewise.
45141         * math/s_casinhf.c: Likewise.
45142         * math/s_casinhl.c: Likewise.
45143         * math/s_ccos.c: Rely entire on ccosh.
45144         * math/s_ccosf.c: Rely entire on ccoshf.
45145         * math/s_ccosl.c: Rely entirely on ccoshl.
45146         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
45147         Remove tests for FE_INVALID.
45148         * math/s_ccoshf.c: Likewise.
45149         * math/s_ccoshl.c: Likewise.
45150         * math/s_csin.c: Likewise.
45151         * math/s_csinf.c: Likewise.
45152         * math/s_csinh.c Likewise.
45153         * math/s_csinhf.c: Likewise.
45154         * math/s_csinhl.c: Likewise.
45155         * math/s_csinl.c: Likewise.
45156         * math/s_ctan.c: Likewise.
45157         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45158         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45159         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45160
45161 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45162
45163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45164         compilation problems.
45165
45166         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45167         __builtin_expect.
45168
45169 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45170
45171         * sysdeps/i386/configure.in: Test for -mfma4 option.
45172         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45173         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45174         COMMON_CPUID_INDEX_80000001.
45175         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45176         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45177         use it if FMA3 is not supported.
45178         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45179
45180         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45181         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45182
45183 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45184
45185         [BZ #12892]
45186         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45187         it would create a cycle with a link time dependency.
45188
45189 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45190
45191         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45192         instruction.
45193         * string/Makefile (strop-tests): Add rawmemchr.
45194         * string/test-rawmemchr.c: New file.
45195
45196         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45197         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45198         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45199         when compiling str{,n}casecmp and when AVX is available.  Hook up
45200         new optimized code in initializers.
45201
45202 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45203
45204         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45205         __feraiseexcept instead of feraiseexcept.
45206
45207 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45208
45209         * math/math_private.h: Define defaults for libc_fetestexcept and
45210         libc_feupdateenv.
45211         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45212         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45213         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45214         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45215         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45216         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45217         libc_fetestexcept and libc_feupdateenv.
45218
45219         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45220         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45221         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45222         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45223         libc_feholdexcept_setround.
45224
45225         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45226         Add s_nearbyint-c and s_nearbyintf-c.
45227         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45228         nearbyintf inlines.
45229         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45230         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45231         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45232         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45233
45234         * math/math_private.h: Define defaults for libc_fegetround,
45235         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45236         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45237         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45238         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45239         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45240         standard functions.
45241         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45242         Remove comments and hacks for old compiler versions.
45243         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45244         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45245         libc_feholdexceptl.
45246
45247 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45248
45249         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45250         (__feraiseexcept_renamed): Add __NTH.
45251         (feraiseexcept): Add __NTH.  Rename local variables to fix
45252         namespace violations.
45253
45254 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45255
45256         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45257
45258         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45259
45260         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45261         recently added interfaces.
45262         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45263
45264         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45265         about macro parameter expansion.
45266
45267         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45268         __NO_MATH_INLINES is defined.  Cleanups.
45269
45270         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45271         and __floorf is target has SSE4.1.
45272         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45273         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45274         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45275         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45276
45277         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45278         name.
45279         (floorf): Likewise.
45280
45281         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45282
45283 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45284
45285         * misc/sys/cdefs.h: Fix last change.
45286
45287         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45288         database lookup.
45289
45290 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45291
45292         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45293
45294         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45295         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45296         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45297         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45298         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45299         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45300         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45301         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45302         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45303         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45304         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45305         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45306         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45307         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45308         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45309         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45310         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45311         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45312         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45313         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45314         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45315         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45316
45317         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45318         ceil, ceilf, floor, floorf.
45319
45320         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45321         Perform IRELATIVE relocations last.
45322
45323         * elf/do-rel.h: Add another parameter nrelative, replacing the
45324         local variable with the same name.  Change name of the function
45325         to end in Rel or Rela (uppercase).
45326         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45327         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45328         elf_dynamic_do_##reloc function.
45329
45330 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45331
45332         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45333         is sufficient, at least on modern CPUs.
45334
45335         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45336
45337         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45338         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45339
45340         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45341         __expl_finite.
45342         * math/bits/math-finite.h: Add entries for exp.
45343         * math/e_expl.c: Add __*_finite alias.
45344         * sysdeps/i386/fpu/e_exp.S: Likewise.
45345         * sysdeps/i386/fpu/e_expf.S: Likewise.
45346         * sysdeps/i386/fpu/e_expl.c: Likewise.
45347         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45348         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45349         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45350         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45351         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45352         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45353         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45354
45355         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45356         is sufficient, at least on modern CPUs.
45357
45358         * ctype/ctype-info.c (__ctype_init): Define.
45359         * include/ctype.h (__ctype_init): Declare.
45360         (__ctype_b_loc): The variable is always initialized.
45361         (__ctype_toupper_loc): Likewise.
45362         (__ctype_tolower_loc): Likewise.
45363         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45364         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45365
45366 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45367
45368         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45369
45370         * configure.in: Also look in $cxxmachine/include for C++ system
45371         headers.
45372
45373 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45374
45375         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45376         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45377         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45378         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45379         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45380         (USE_AS_WMEMCMP): New macro.
45381         Fixing indents.
45382         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45383         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45384         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45385         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45386         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45387         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45388         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45389         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45390         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45391         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45392         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45393         (USE_AS_WMEMCMP): New macro.
45394         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45395         * sysdeps/string/test-memcmp.c: Update.
45396         Fix simple_wmemcmp.
45397         Add new tests.
45398         * wcsmbs/wmemcmp.c: Update.
45399         (WMEMCMP): New macro.
45400         Fix overflow bug.
45401
45402 2011-10-12  Andreas Jaeger  <aj@suse.de>
45403
45404         [BZ #13268]
45405         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45406
45407 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45408
45409         * libio/iofwide.c (do_length): Avoid warning.
45410
45411         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45412
45413 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45414
45415         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45416
45417         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45418         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45419         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45420         * sysdeps/i386/i686/fpu/e_log.S: New file.
45421         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45422         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45423
45424         * ctype/ctype.h: Add support for inlined isXXX functions when
45425         compiling C++ code.
45426
45427 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45428
45429         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45430
45431         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45432
45433 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45434
45435         [BZ #13291]
45436         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45437
45438 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45439
45440         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45441         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45442         feraiseexcept.
45443
45444         * sysdeps/x86_64/memrchr.S: Check for zero size.
45445
45446         * string/stratcliff.c: Add memrchr tests.
45447
45448 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45449
45450         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45451         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45452         rawmemchr-sse2 rawmemchr-sse2-bsf.
45453         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45454         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45455         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45456         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45457         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45458         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45459         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45460         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45461         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45462         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45463         * string/memrchr.c (MEMRCHR): New macro.
45464
45465 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45466
45467         Add integration with gcc's -ffinite-math-only and optimize wrapper
45468         functions in libm.
45469         * Versions.def: Define GLIBC_2.15 version for libm.
45470         * math/Makefile (headers): Add bits/math-finite.h.
45471         * math/bits/math-finite.h: New file.
45472         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45473         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45474         * math/e_acoshl.c: Add __*_finite alias.
45475         * math/e_acosl.c: Likewise.
45476         * math/e_asinl.c: Likewise.
45477         * math/e_atan2l.c: Likewise.
45478         * math/e_atanhl.c: Likewise.
45479         * math/e_coshl.c: Likewise.
45480         * math/e_exp10.c: Likewise.
45481         * math/e_exp10f.c: Likewise.
45482         * math/e_exp10l.c: Likewise.
45483         * math/e_exp2l.c: Likewise.
45484         * math/e_fmodl.c: Likewise.
45485         * math/e_gammal_r.c: Likewise.
45486         * math/e_hypotl.c: Likewise.
45487         * math/e_j0l.c: Likewise.
45488         * math/e_j1l.c: Likewise.
45489         * math/e_jnl.c: Likewise.
45490         * math/e_lgammal_r.c: Likewise.
45491         * math/e_log10l.c: Likewise.
45492         * math/e_log2l.c: Likewise.
45493         * math/e_logl.c: Likewise.
45494         * math/e_powl.c: Likewise.
45495         * math/e_sinhl.c: Likewise.
45496         * math/e_sqrtl.c: Likewise.
45497         * math/e_scalb.c: Completely rewritten and optimized.
45498         * math/e_scalbf.c: Likewise.
45499         * math/e_scalbl.c: Likewise.
45500         * math/w_acos.c: Likewise.
45501         * math/w_acosf.c: Likewise.
45502         * math/w_acosl.c: Likewise.
45503         * math/w_acosh.c: Likewise.
45504         * math/w_acoshf.c: Likewise.
45505         * math/w_acoshl.c: Likewise.
45506         * math/w_asin.c: Likewise.
45507         * math/w_asinf.c: Likewise.
45508         * math/w_asinl.c: Likewise.
45509         * math/w_atan2.c: Likewise.
45510         * math/w_atan2f.c: Likewise.
45511         * math/w_atan2l.c: Likewise.
45512         * math/w_atanh.c: Likewise.
45513         * math/w_atanhf.c: Likewise.
45514         * math/w_atanhl.c: Likewise.
45515         * math/w_exp10.c: Likewise.
45516         * math/w_exp10f.c: Likewise.
45517         * math/w_exp10l.c: Likewise.
45518         * math/w_fmod.c: Likewise.
45519         * math/w_fmodf.c: Likewise.
45520         * math/w_fmodl.c: Likewise.
45521         * math/w_j0.c: Likewise.
45522         * math/w_j0f.c: Likewise.
45523         * math/w_j0l.c: Likewise.
45524         * math/w_j1.c: Likewise.
45525         * math/w_j1f.c: Likewise.
45526         * math/w_j1l.c: Likewise.
45527         * math/w_jn.c: Likewise.
45528         * math/w_jnf.c: Likewise.
45529         * math/w_log.c: Likewise.
45530         * math/w_logf.c: Likewise.
45531         * math/w_logl.c: Likewise.
45532         * math/w_log10.c: Likewise.
45533         * math/w_log10f.c: Likewise.
45534         * math/w_log10l.c: Likewise.
45535         * math/w_log2.c: Likewise.
45536         * math/w_log2f.c: Likewise.
45537         * math/w_log2l.c: Likewise.
45538         * math/w_pow.c: Likewise.
45539         * math/w_powf.c: Likewise.
45540         * math/w_powl.c: Likewise.
45541         * math/w_remainder.c: Likewise.
45542         * math/w_remainderf.c: Likewise.
45543         * math/w_remainderl.c: Likewise.
45544         * math/w_scalb.c: Likewise.
45545         * math/w_scalbf.c: Likewise.
45546         * math/w_scalbl.c: Likewise.
45547         * math/w_sqrt.c: Likewise.
45548         * math/w_sqrtf.c: Likewise.
45549         * math/w_sqrtl.c: Likewise.
45550         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45551         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45552         used.
45553         * math/math_private.h: Declare __kernel_standard_f.
45554         * math/w_cosh.c: Remove cruft and optimize a bit.
45555         * math/w_coshf.c: Likewise.
45556         * math/w_coshl.c: Likewise.
45557         * math/w_exp2.c: Likewise.
45558         * math/w_exp2f.c: Likewise.
45559         * math/w_exp2l.c: Likewise.
45560         * math/w_hypot.c: Likewise.
45561         * math/w_hypotf.c: Likewise.
45562         * math/w_hypotl.c: Likewise.
45563         * math/w_lgamma.c: Likewise.
45564         * math/w_lgamma_r.c: Likewise.
45565         * math/w_lgammaf.c: Likewise.
45566         * math/w_lgammaf_r.c: Likewise.
45567         * math/w_lgammal.c: Likewise.
45568         * math/w_lgammal_r.c: Likewise.
45569         * math/w_sinh.c: Likewise.
45570         * math/w_sinhf.c: Likewise.
45571         * math/w_sinhl.c: Likewise.
45572         * math/w_tgamma.c: Likewise.
45573         * math/w_tgammaf.c: Likewise.
45574         * math/w_tgammal.c: Likewise.
45575         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45576         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45577         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45578         Minor optimizations.  Pretty printing.  Remove cruft.
45579         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45580         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45581         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45582         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45583         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45584         * sysdeps/i386/fpu/e_asin.S: Likewise.
45585         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45586         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45587         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45588         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45589         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45590         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45591         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45592         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45593         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45594         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45595         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45596         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45597         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45598         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45599         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45600         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45601         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45602         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45603         * sysdeps/i386/fpu/e_log.S: Likewise.
45604         * sysdeps/i386/fpu/e_log10.S: Likewise.
45605         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45606         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45607         * sysdeps/i386/fpu/e_log2.S: Likewise.
45608         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45609         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45610         * sysdeps/i386/fpu/e_logf.S: Likewise.
45611         * sysdeps/i386/fpu/e_logl.S: Likewise.
45612         * sysdeps/i386/fpu/e_pow.S: Likewise.
45613         * sysdeps/i386/fpu/e_powf.S: Likewise.
45614         * sysdeps/i386/fpu/e_powl.S: Likewise.
45615         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45616         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45617         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45618         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45619         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45620         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45621         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45622         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45623         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45624         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45625         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45626         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45627         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45628         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45629         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45630         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45631         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45632         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45633         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45634         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45635         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45636         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45637         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45638         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45639         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45640         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45641         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45642         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45643         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45644         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45645         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45646         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45647         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45648         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45649         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45650         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45651         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45652         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45653         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45654         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45655         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45656         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45657         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45658         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45659         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45660         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45661         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45662         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45663         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45664         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45665         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45666         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45667         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45668         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45669         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45670         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45671         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45672         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45673         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45674         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45675         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45676         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45677         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45678         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45679         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45680         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45681         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45682         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45683         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45684         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45685         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45686         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45687         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45688         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45689         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45690         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45691         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45692         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45693         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45694         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45695         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45696         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45697         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45698         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45699         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45700         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45701         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45702         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45703         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45704         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45705         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45706         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45707         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45708         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45709         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45710         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45711         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45712         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45713         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45714         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45715         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45716         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45717         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45718         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45719         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45720         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45721         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45722         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45723         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45724         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45725         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45726         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45727         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45728         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45729         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45730         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45731         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45732         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45733         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45734         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45735         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45736         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45737         (__isnanf): Likewise.
45738         (__isinf_ns): Likewise.
45739         (__isinf_nsf): Likewise.
45740         (__finite): Likewise.
45741         (__finitef): Likewise.
45742         (__ieee754_sqrt): Define as macro.
45743         (__ieee754_sqrtf): Define as macro.
45744         (__ieee754_sqrtl): Define as macro.
45745         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45746         inlined copy.
45747         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45748         __FINITE_MATH_ONLY__ consistent.
45749         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45750
45751 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45752
45753         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45754         of rawmemchr.
45755
45756         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45757
45758 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45759
45760         * po/ja.po: Update from translation team.
45761
45762 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45763
45764         * locale/programs/locarchive.c (prepare_address_space): New function.
45765         (create_archive, enlarge_archive, open_archive): Use it.
45766
45767         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45768         inside [SHARED], where it is used.
45769
45770         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45771
45772         * nss/getent.c (netgroup_keys): Remove unused variable.
45773         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45774
45775 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45776
45777         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45778         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45779         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45780         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45781         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45782         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45783         * math/Makefile (libm-calls): Add s_isinf_ns.
45784         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45785         * math/multc3.c: Likewise.
45786         * math/s_casin.c: Likewise.
45787         * math/s_casinf.c: Likewise.
45788         * math/s_casinl.c: Likewise.
45789         * math/s_ccos.c: Likewise.
45790         * math/s_ccosf.c: Likewise.
45791         * math/s_ccosl.c: Likewise.
45792         * math/s_ctan.c: Likewise.
45793         * math/s_ctanf.c: Likewise.
45794         * math/s_ctanh.c: Likewise.
45795         * math/s_ctanhf.c: Likewise.
45796         * math/s_ctanhl.c: Likewise.
45797         * math/s_ctanl.c: Likewise.
45798         * math/w_fmod.c: Likewise.
45799         * math/w_fmodf.c: Likewise.
45800         * math/w_fmodl.c: Likewise.
45801         * math/w_remainder.c: Likewise.
45802         * math/w_remainderf.c: Likewise.
45803         * math/w_remainderl.c: Likewise.
45804         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45805         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45806         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45807         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45808         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45809         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45810         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45811         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45812
45813         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45814         of the number.
45815         * stdio-common/printf_fphex.c: Likewise.
45816         * stdio-common/printf_size.c: Likewise.
45817
45818         * math/e_exp10.c: Include math_private.h using <...> not "...".
45819         * math/e_exp10f.c: Likewise.
45820         * math/e_exp10l.c: Likewise.
45821         * math/e_exp2l.c: Likewise.
45822         * math/e_j0l.c: Likewise.
45823         * math/e_j1l.c: Likewise.
45824         * math/e_jnl.c: Likewise.
45825         * math/e_lgammal_r.c: Likewise.
45826         * math/e_rem_pio2l.c: Likewise.
45827         * math/e_scalb.c: Likewise.
45828         * math/e_scalbf.c: Likewise.
45829         * math/e_scalbl.c: Likewise.
45830         * math/k_cosl.c: Likewise.
45831         * math/k_sinl.c: Likewise.
45832         * math/k_tanl.c: Likewise.
45833         * math/s_cacoshf.c: Likewise.
45834         * math/s_catan.c: Likewise.
45835         * math/s_catanf.c: Likewise.
45836         * math/s_catanh.c: Likewise.
45837         * math/s_catanhf.c: Likewise.
45838         * math/s_catanhl.c: Likewise.
45839         * math/s_catanl.c: Likewise.
45840         * math/s_ccosh.c: Likewise.
45841         * math/s_ccoshf.c: Likewise.
45842         * math/s_ccoshl.c: Likewise.
45843         * math/s_cexp.c: Likewise.
45844         * math/s_cexpf.c: Likewise.
45845         * math/s_cexpl.c: Likewise.
45846         * math/s_clog.c: Likewise.
45847         * math/s_clog10.c: Likewise.
45848         * math/s_clog10f.c: Likewise.
45849         * math/s_clog10l.c: Likewise.
45850         * math/s_clogf.c: Likewise.
45851         * math/s_clogl.c: Likewise.
45852         * math/s_csin.c: Likewise.
45853         * math/s_csinf.c: Likewise.
45854         * math/s_csinh.c: Likewise.
45855         * math/s_csinhf.c: Likewise.
45856         * math/s_csinhl.c: Likewise.
45857         * math/s_csinl.c: Likewise.
45858         * math/s_csqrt.c: Likewise.
45859         * math/s_csqrtf.c: Likewise.
45860         * math/s_csqrtl.c: Likewise.
45861         * math/s_ctan.c: Likewise.
45862         * math/s_ctanf.c: Likewise.
45863         * math/s_ctanh.c: Likewise.
45864         * math/s_ctanhf.c: Likewise.
45865         * math/s_ctanhl.c: Likewise.
45866         * math/s_ctanl.c: Likewise.
45867         * math/s_ldexp.c: Likewise.
45868         * math/s_ldexpf.c: Likewise.
45869         * math/s_ldexpl.c: Likewise.
45870         * math/s_significand.c: Likewise.
45871         * math/s_significandf.c: Likewise.
45872         * math/s_significandl.c: Likewise.
45873         * math/w_acos.c: Likewise.
45874         * math/w_acosf.c: Likewise.
45875         * math/w_acosh.c: Likewise.
45876         * math/w_acoshf.c: Likewise.
45877         * math/w_acoshl.c: Likewise.
45878         * math/w_acosl.c: Likewise.
45879         * math/w_asin.c: Likewise.
45880         * math/w_asinf.c: Likewise.
45881         * math/w_asinl.c: Likewise.
45882         * math/w_atan2.c: Likewise.
45883         * math/w_atan2f.c: Likewise.
45884         * math/w_atan2l.c: Likewise.
45885         * math/w_atanh.c: Likewise.
45886         * math/w_atanhf.c: Likewise.
45887         * math/w_atanhl.c: Likewise.
45888         * math/w_cosh.c: Likewise.
45889         * math/w_coshf.c: Likewise.
45890         * math/w_coshl.c: Likewise.
45891         * math/w_dremf.c: Likewise.
45892         * math/w_exp10.c: Likewise.
45893         * math/w_exp10f.c: Likewise.
45894         * math/w_exp10l.c: Likewise.
45895         * math/w_exp2.c: Likewise.
45896         * math/w_exp2f.c: Likewise.
45897         * math/w_fmod.c: Likewise.
45898         * math/w_fmodf.c: Likewise.
45899         * math/w_fmodl.c: Likewise.
45900         * math/w_hypot.c: Likewise.
45901         * math/w_hypotf.c: Likewise.
45902         * math/w_hypotl.c: Likewise.
45903         * math/w_j0.c: Likewise.
45904         * math/w_j0f.c: Likewise.
45905         * math/w_j0l.c: Likewise.
45906         * math/w_j1.c: Likewise.
45907         * math/w_j1f.c: Likewise.
45908         * math/w_j1l.c: Likewise.
45909         * math/w_jn.c: Likewise.
45910         * math/w_jnf.c: Likewise.
45911         * math/w_jnl.c: Likewise.
45912         * math/w_lgamma.c: Likewise.
45913         * math/w_lgamma_r.c: Likewise.
45914         * math/w_lgammaf.c: Likewise.
45915         * math/w_lgammaf_r.c: Likewise.
45916         * math/w_lgammal.c: Likewise.
45917         * math/w_lgammal_r.c: Likewise.
45918         * math/w_log.c: Likewise.
45919         * math/w_log10.c: Likewise.
45920         * math/w_log10f.c: Likewise.
45921         * math/w_log10l.c: Likewise.
45922         * math/w_log2.c: Likewise.
45923         * math/w_log2f.c: Likewise.
45924         * math/w_log2l.c: Likewise.
45925         * math/w_logf.c: Likewise.
45926         * math/w_logl.c: Likewise.
45927         * math/w_pow.c: Likewise.
45928         * math/w_powf.c: Likewise.
45929         * math/w_powl.c: Likewise.
45930         * math/w_remainder.c: Likewise.
45931         * math/w_remainderf.c: Likewise.
45932         * math/w_remainderl.c: Likewise.
45933         * math/w_scalb.c: Likewise.
45934         * math/w_scalbf.c: Likewise.
45935         * math/w_scalbl.c: Likewise.
45936         * math/w_sinh.c: Likewise.
45937         * math/w_sinhf.c: Likewise.
45938         * math/w_sinhl.c: Likewise.
45939         * math/w_sqrt.c: Likewise.
45940         * math/w_sqrtf.c: Likewise.
45941         * math/w_sqrtl.c: Likewise.
45942         * math/w_tgamma.c: Likewise.
45943         * math/w_tgammaf.c: Likewise.
45944         * math/w_tgammal.c: Likewise.
45945
45946         * po/ja.po: Update from translation team.
45947
45948 2011-09-29  Andreas Jaeger  <aj@suse.de>
45949
45950         [BZ #13179]
45951         * sunrpc/netname.c (netname2host): Fix logic.
45952
45953         [BZ #6779]
45954         [BZ #6783]
45955         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45956         correctly.
45957         * math/w_remainder.c (__remainder): Likewise.
45958         * math/w_remainderf.c (__remainderf): Likewise.
45959         * math/libm-test.inc (remainder_test): Add test cases.
45960
45961 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45962
45963         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45964         sdiv_qrnnd.
45965
45966 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45967
45968         * string/test-memcmp.c: Avoid unncessary #defines.
45969         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45970
45971 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45972
45973         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45974         Use new sse2 version for core i3 - i7 as it's faster
45975         than sse42 version.
45976         (bit_Prefer_PMINUB_for_stringop): New.
45977         * sysdeps/x86_64/rawmemchr.S: Update.
45978         Replace with faster SSE2 version.
45979         * sysdeps/x86_64/memrchr.S: New file.
45980         * sysdeps/x86_64/memchr.S: Update.
45981         Replace with faster SSE2 version.
45982
45983 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45984
45985         * elf/dl-load.c (lose): Add cast to avoid warning.
45986
45987 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45988
45989         * po/ca.po: Update from translation team.
45990
45991         * inet/getnetgrent_r.c: Hook up nscd.
45992         * nscd/Makefile (routines): Add nscd_netgroup.
45993         (nscd-modules): Add netgroupcache.
45994         (CFLAGS-netgroupcache.c): Define.
45995         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45996         (cache_search): Add const to second parameter.
45997         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45998         INNETGR.
45999         (dbs): Add netgrdb entry.
46000         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46001         (verify_persistent_db): Handle netgrdb.
46002         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46003         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46004         GETFDNETGR.
46005         (netgroup_response_header): Define.
46006         (innetgroup_response_header): Define.
46007         (datahead): Add netgroup_response_header and innetgroup_response_header
46008         elements.
46009         * nscd/nscd.conf: Add entries for netgroup cache.
46010         * nscd/nscd.h (dbtype): Add netgrdb.
46011         (_PATH_NSCD_NETGROUP_DB): Define.
46012         (netgroup_iov_disabled): Declare.
46013         (xmalloc, xcalloc, xrealloc): Move declarations here.
46014         (cache_search): Adjust prototype.
46015         Add netgroup-related prototypes.
46016         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46017         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46018         (__nscd_innetgr): Declare.
46019         * nscd/selinux.c (perms): Use access_vector_t as element type and
46020         add netgroup-related initializers.
46021         * nscd/netgroupcache.c: New file.
46022         * nscd/nscd_netgroup.c: New file.
46023         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46024         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46025         For four parameters use innetgr.
46026         * nss/nss_files/files-init.c: Add definition and callback for netgr.
46027         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46028         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46029         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46030
46031         * nscd/connections.c (register_traced_file): Don't register file
46032         for disabled databases.
46033
46034 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
46035
46036         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46037
46038         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46039         from tree and freeing node.
46040
46041 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
46042
46043         * nss/nsswitch.c (__nss_database_lookup): Handle
46044         nss_parse_service_list out of memory case.
46045
46046 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
46047
46048         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46049         out of memory case.
46050
46051 2011-10-04  Andreas Schwab  <schwab@redhat.com>
46052
46053         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46054         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46055         pass it down.
46056         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46057         elf_machine_rela, elf_machine_lazy_rel.
46058         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46059         (ELF_DYNAMIC_DO_REL): Likewise.
46060         (ELF_DYNAMIC_DO_RELA): Likewise.
46061         (ELF_DYNAMIC_RELOCATE): Likewise.
46062         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46063         to ELF_DYNAMIC_DO_REL.
46064         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46065         (dl_main): In trace mode always set __RTLD_NOIFUNC.
46066         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46067         elf_machine_rela.
46068         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46069         skip_ifunc, don't call ifunc function if non-zero.
46070         (elf_machine_rela): Likewise.
46071         (elf_machine_lazy_rel): Likewise.
46072         (elf_machine_lazy_rela): Likewise.
46073         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46074         (elf_machine_lazy_rel): Likewise.
46075         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46076         Likewise.
46077         (elf_machine_lazy_rel): Likewise.
46078         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46079         Likewise.
46080         (elf_machine_lazy_rel): Likewise.
46081         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46082         (elf_machine_lazy_rel): Likewise.
46083         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46084         (elf_machine_lazy_rel): Likewise.
46085         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46086         (elf_machine_lazy_rel): Likewise.
46087         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46088         (elf_machine_lazy_rel): Likewise.
46089         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46090         (elf_machine_lazy_rel): Likewise.
46091         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46092         (elf_machine_lazy_rel): Likewise.
46093
46094 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
46095
46096         * nss/nss_files/files-init.c (_nss_files_init): Use static
46097         initialization for all the *_traced_file variables.
46098
46099 2011-09-28  Andreas Schwab  <schwab@redhat.com>
46100
46101         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46102
46103 2011-09-27  Roland McGrath  <roland@hack.frob.com>
46104
46105         [BZ #13226]
46106         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46107
46108 2011-09-27  Andreas Schwab  <schwab@redhat.com>
46109
46110         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46111         Reread the line before reparsing it.
46112
46113 2011-09-26  Andreas Schwab  <schwab@redhat.com>
46114
46115         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46116
46117 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
46118             Maxim Kuvyrkov  <maxim@codesourcery.com>
46119             Joseph Myers  <joseph@codesourcery.com>
46120
46121         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46122         if needed for __stack_chk_guard.
46123
46124 2011-09-19  Roland McGrath  <roland@hack.frob.com>
46125
46126         * sysdeps/posix/spawni.c (script_execute): Always define it.
46127         It will be optimized away if unused.
46128         (maybe_script_execute): New function.
46129         (__spawni): Call it.
46130
46131         * Makerules: Don't include tls.make.
46132         (config-tls): Always set to thread.
46133         * tls.make.c: File removed.
46134
46135 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
46136
46137         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46138         * config.make.in (CPPFLAGS-config): New substituted variable.
46139
46140 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46141
46142         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46143
46144         [BZ #13192]
46145         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46146         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46147
46148 2011-09-15  Roland McGrath  <roland@hack.frob.com>
46149
46150         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46151         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46152         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46153         (CALL_FAIL): Likewise.
46154         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46155         (CALL_FAIL): Macro removed.
46156         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46157
46158 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46159
46160         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46161         for __FINITE_MATH_ONLY__ == 1.
46162
46163 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46164
46165         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46166         __ieee754_sqrt instead of sqrt.
46167         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46168         __ieee754_sqrtf instead of sqrtf.
46169         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46170         __floorf instead of floorf.
46171         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46172         __floorf, __truncf instead of floorf, truncf.
46173
46174 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46175
46176         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46177
46178         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46179         __extern_always_inline.
46180         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46181         32-bit.
46182
46183 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46184
46185         * elf/rtld.c (dl_main): Also relocate in dependency order when
46186         doing symbol dependency testing.
46187
46188 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46189
46190         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46191         Always define `refsym'.
46192
46193 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46194
46195         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46196         (__FD_ELT): Renamed from __FDELT.
46197         * misc/bits/select2.h (__FD_ELT): Likewise.
46198         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46199         __FD_MASK instead of __FDELT, __FDMASK.
46200         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46201         Likewise.
46202         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46203         Likewise.
46204
46205         * elf/Makefile (gen-ldd): Fix pattern.
46206
46207         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46208         (init_tls): Likewise.
46209
46210 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46211
46212         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46213
46214 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46215
46216         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46217         `struct cmsghdr *' instead of `void *'.
46218         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46219         Likewise.
46220
46221 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46222
46223         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46224         if non-absolute.
46225         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46226         ldd_rewrite_script.
46227
46228 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46229
46230         * configure.in: Remove --with-tls option.
46231         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46232         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46233         out in case it is missing.
46234         * sysdeps/ia64/elf/configure.in: Likewise.
46235         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46236         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46237         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46238         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46239         * sysdeps/sh/elf/configure.in: Likewise.
46240         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46241         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46242         * sysdeps/x86_64/elf/configure.in: Likewise.
46243         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46244         * sysdeps/mach/hurd/tls.h: Likewise.
46245
46246         [BZ #13067]
46247         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46248
46249         [BZ #13090]
46250         * configure.in: Fix use of AC_INIT.
46251
46252         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46253
46254 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46255
46256         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46257         __set_errno.
46258         * malloc/hooks.c: Likewise.
46259
46260         [BZ #11929]
46261         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46262         variables statically.
46263         (narenas): Initialize.
46264         (list_lock): Initialize.
46265         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46266         initializtion of main_arena and list_lock.  Small cleanups.
46267         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46268         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46269         Add initializers to main_arena and mp_.
46270         (malloc_state): Remove pagesize member.  Change all users to use
46271         GLRO(dl_pagesize).
46272
46273         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46274         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46275         is always initialized.
46276
46277         * malloc/malloc.c: Removed unused configurations and dead code.
46278         * malloc/arena.c: Likewise.
46279         * malloc/hooks.c: Likewise.
46280         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46281
46282         * include/tls.h: Removed.  USE___THREAD must always be defined.
46283         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46284         * elf/dl-libc.c: Likewise.
46285         * elf/dl-tsd.c: Likewise.
46286         * include/errno.h: Likewise.
46287         * include/netdb.h: Likewise.
46288         * include/resolv.h: Likewise.
46289         * inet/herrno-loc.c: Likewise.
46290         * inet/herrno.c: Likewise.
46291         * malloc/arena.c: Likewise.
46292         * malloc/hooks.c: Likewise.
46293         * malloc/malloc.c: Likewise.
46294         * resolv/res-state.c: Likewise.
46295         * resolv/res_libc.c: Likewise.
46296         * sysdeps/i386/dl-machine.h: Likewise.
46297         * sysdeps/ia64/dl-machine.h: Likewise.
46298         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46299         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46300         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46301         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46302         * sysdeps/sh/dl-machine.h: Likewise.
46303         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46304         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46305         * sysdeps/unix/i386/sysdep.S: Likewise.
46306         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46307         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46308         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46311         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46312         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46313         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46314         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46316         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46317         * sysdeps/x86_64/dl-machine.h: Likewise.
46318         * tls.make.c: Likewise.
46319
46320         * configure.in: Remove --with-__thread option.  Make tests for
46321         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46322         tls_model attribute fail if no support is available.  Remove
46323         USE_IN_LIBIO.
46324         * Makeconfig: Adjust for dropped configure option.  All features are
46325         now mandatory.
46326         * Makerules: Likewise.
46327         * Versions.def: Likewise.
46328         * argp/argp-fmtstream.c: Likewise.
46329         * argp/argp-fmtstream.h: Likewise.
46330         * argp/argp-help.c: Likewise.
46331         * assert/assert.c: Likewise.
46332         * config.h.in: Likewise.
46333         * config.make.in: Likewise.
46334         * configure: Likewise.
46335         * configure.in: Likewise.
46336         * csu/Versions: Likewise.
46337         * csu/init.c: Likewise.
46338         * elf/tst-audit2.c: Likewise.
46339         * elf/tst-tls10.c: Likewise.
46340         * elf/tst-tls10.h: Likewise.
46341         * elf/tst-tls11.c: Likewise.
46342         * elf/tst-tls12.c: Likewise.
46343         * elf/tst-tls14.c: Likewise.
46344         * elf/tst-tlsmod11.c: Likewise.
46345         * elf/tst-tlsmod12.c: Likewise.
46346         * elf/tst-tlsmod13.c: Likewise.
46347         * elf/tst-tlsmod13a.c: Likewise.
46348         * elf/tst-tlsmod14a.c: Likewise.
46349         * elf/tst-tlsmod15b.c: Likewise.
46350         * elf/tst-tlsmod16a.c: Likewise.
46351         * elf/tst-tlsmod16b.c: Likewise.
46352         * elf/tst-tlsmod7.c: Likewise.
46353         * elf/tst-tlsmod8.c: Likewise.
46354         * elf/tst-tlsmod9.c: Likewise.
46355         * gmon/gmon.c: Likewise.
46356         * grp/fgetgrent_r.c: Likewise.
46357         * grp/putgrent.c: Likewise.
46358         * hurd/fopenport.c: Likewise.
46359         * include/libc-symbols.h: Likewise.
46360         * include/tls.h: Likewise.
46361         * intl/gettextP.h: Likewise.
46362         * intl/loadinfo.h: Likewise.
46363         * locale/global-locale.c: Likewise.
46364         * locale/localeinfo.h: Likewise.
46365         * mach/devstream.c: Likewise.
46366         * malloc/arena.c: Likewise.
46367         * malloc/set-freeres.c: Likewise.
46368         * misc/err.c: Likewise.
46369         * misc/getttyent.c: Likewise.
46370         * misc/mntent_r.c: Likewise.
46371         * posix/getopt.c: Likewise.
46372         * posix/wordexp.c: Likewise.
46373         * pwd/fgetpwent_r.c: Likewise.
46374         * resolv/Versions: Likewise.
46375         * resolv/res_hconf.c: Likewise.
46376         * shadow/fgetspent_r.c: Likewise.
46377         * shadow/putspent.c: Likewise.
46378         * stdio-common/printf_fphex.c: Likewise.
46379         * stdio-common/tmpfile.c: Likewise.
46380         * stdlib/abort.c: Likewise.
46381         * stdlib/fmtmsg.c: Likewise.
46382         * sunrpc/auth_unix.c: Likewise.
46383         * sunrpc/clnt_perr.c: Likewise.
46384         * sunrpc/clnt_tcp.c: Likewise.
46385         * sunrpc/clnt_udp.c: Likewise.
46386         * sunrpc/clnt_unix.c: Likewise.
46387         * sunrpc/openchild.c: Likewise.
46388         * sunrpc/svc_simple.c: Likewise.
46389         * sunrpc/svc_tcp.c: Likewise.
46390         * sunrpc/svc_udp.c: Likewise.
46391         * sunrpc/svc_unix.c: Likewise.
46392         * sunrpc/xdr.c: Likewise.
46393         * sunrpc/xdr_array.c: Likewise.
46394         * sunrpc/xdr_rec.c: Likewise.
46395         * sunrpc/xdr_ref.c: Likewise.
46396         * sunrpc/xdr_stdio.c: Likewise.
46397
46398 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46399
46400         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46401
46402 2011-07-03  Andreas Jaeger  <aj@suse.de>
46403
46404         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46405         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46406         regenerate with gen-libm-tests.pl.
46407
46408 2010-05-12  Petr Baudis  <pasky@suse.cz>
46409
46410         [BZ #11589]
46411         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46412         around j0() zero points by switching to j1().
46413         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46414         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46415         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46416         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46417
46418 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46419
46420         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46421         instead of 0.
46422         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46423         instead of 0.
46424         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46425         Patch in part by Pavel Roskin <proski@gnu.org>.
46426
46427         [BZ #13138]
46428         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46429         realloc.
46430         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46431         Free memory block if necessary.
46432
46433         [BZ #12847]
46434         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46435         be NULL.  Don't lock in this case.
46436
46437 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46438
46439         * elf/elf.h (ELFOSABI_GNU): New macro.
46440         (ELFOSABI_LINUX): Define to that.
46441
46442 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46443
46444         * string/strncat.c (strncat): Undef the symbol in case it has been
46445         defined in bits/string.h.
46446
46447 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46448
46449         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46450
46451         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46452         link map.
46453
46454 2011-08-17  Andreas Jaeger  <aj@suse.de>
46455
46456         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46457
46458 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46459             Ian Lance Taylor  <iant@google.com>
46460
46461         * math/libm-test.inc (lround_test): New testcase.
46462         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46463
46464 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46465
46466         * Makefile: Remove support for automatic cvs check-ins.
46467         * Makerules: Likewise.
46468         * config.make.in: Likewise.
46469         * configure.in: Likewise.
46470         * intl/Makefile: Likewise.
46471         * locale/Makefile: Likewise.
46472         * po/Makefile: Likewise.
46473         * posix/Makefile: Likewise.
46474         * sysdeps/gnu/Makefile: Likewise.
46475         * sysdeps/mach/hurd/Makefile: Likewise.
46476         * sysdeps/sparc/sparc32/Makefile: Likewise.
46477
46478         [BZ #13118]
46479         * posix/Makefile (bug-regex32-ENV): Define.
46480         Patch by John Stanley <jpsinthemix@verizon.net>.
46481
46482         * misc/Makefile (headers): Add bits/select2.h.
46483         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46484         * misc/bits/select2.h: New file.
46485         * include/bits/select2.h: New file.
46486         * debug/Makefile (routines): Add fdelt_chk.
46487         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46488         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46489         FD_ISSET.
46490         * debug/fdelt_chk.c: New file.
46491
46492         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46493         * wcsmbs/test-wmemcmp.c: Likewise.
46494         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46495         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46496
46497 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46498
46499         * string/Makefile (strop-tests): Add memcmp.
46500         * string/test-wmemcmp.c: New file.
46501         * string/test-memcmp.c: Add wmemcmp support.
46502
46503 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46504
46505         [BZ #13153]
46506         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46507         2011-07-19 change.
46508
46509         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46510         garbage value in a __mach_port_mod_refs call in the cases of the
46511         task-self and thread-self ports.
46512
46513 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46514
46515         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46516
46517 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46518
46519         * elf/dl-load.c (lose): Check for non-null L.
46520
46521 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46522
46523         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46524
46525         * elf/dl-libc.c (dlerror_run): Pass back error code from
46526         dl_catch_error.
46527
46528         [BZ #13123]
46529         * elf/dl-load.c (lose): Free l_origin if it is valid.
46530
46531         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46532         names.
46533         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46534         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46535         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46536         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46537         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46538         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46539
46540 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46541
46542         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46543         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46544         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46545         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46546         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46547         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46548         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46549         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46550         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46551         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46552
46553 2011-08-15  Alan Modra  <amodra@gmail.com>
46554
46555         [BZ #13092]
46556         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46557         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46558         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46559         ppc_mcount to static-only-routines.
46560         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46561         __mcount_internal.
46562         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46563         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46564
46565 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46566
46567         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46568         for finite and infinity parameters.
46569
46570 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46571
46572         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46573         and add nop instructions for throughput optimization.
46574         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46575
46576 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46577
46578         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46579         aligned copy for power7 with vector-scalar instructions.
46580         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46581
46582 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46583
46584         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46585         AVX check.
46586
46587 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46588
46589         [BZ #13144]
46590         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46591         last change.
46592
46593 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46594
46595         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46596         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46597         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46598         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46599         clock_gettime.
46600
46601 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46602
46603         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46604         Forgot to demangle the pointer.
46605
46606         * sysdeps/i386/sysdep.h: Define atom_text_section.
46607         * sysdeps/x86_64/sysdep.h: Likewise.
46608         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46609         section with atom_text_section.
46610         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46611         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46612         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46613         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46614         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46615
46616         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46617         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46618         already be defined.  Change to take two parameters and don't assign
46619         result to variable.  Adjust all users.
46620         Define INTERNAL_GETTIME if not already defined.
46621         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46622         call.
46623         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46624         HAVE_CLOCK_GETTIME_VSYSCALL.
46625         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46626
46627         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46628         gettimeofday vsyscall, just use time.
46629
46630 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46631
46632         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46633         <errno.h>.
46634
46635 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46636
46637         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46638         syscall on x86-64.
46639         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46640         syscall.
46641         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46642         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46643         syscall if possible.
46644
46645 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46646
46647         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46648         e_ident.  Don't pass to find_mapsXX.
46649         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46650
46651 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46652
46653         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46654         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46655         * sysdeps/x86_64/multiarch/strchr.S: Update.
46656         Check bit_slow_BSF bit.
46657         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46658         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46659         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46660
46661 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46662
46663         [BZ #13134]
46664         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46665         before glibc 2.15.
46666         (tryshell): Define.
46667         (__spawni): Change last parameter to be flag.  Test
46668         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46669         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46670         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46671         * posix/spawni.c: Likewise.
46672         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46673         * posix/spawnp.c: Likewise.  Change normal version to use
46674         SPAWN_XFLAGS_USE_PATH.
46675         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46676         SPAWN_XFLAGS_TRY_SHELL.
46677
46678         [BZ #13150]
46679         * posix/glob.h: Remove gcc 1.x support.
46680
46681         [BZ #13068]
46682         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46683
46684 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46685
46686         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46687         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46688         strrchr-sse2-bsf
46689         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46690         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46691         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46692         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46693         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46694         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46695
46696 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46697
46698         * sysdeps/x86_64/wcscmp.S: New file.
46699
46700         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46701         wcscmp-c wcscmp-sse2
46702         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46703         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46704         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46705         * wcsmbs/wcscmp.c: Allow renaming.
46706
46707 2011-09-05  David S. Miller  <davem@davemloft.net>
46708
46709         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46710         stack slot, rather than the struct return pointer slot.
46711         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46712         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46714         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46715
46716 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46717
46718         * po/ja.po: Update from translation team.
46719
46720         [BZ #13144]
46721         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46722         kernel in 64-bit binaries.
46723
46724 2011-09-01  David S. Miller  <davem@davemloft.net>
46725
46726         * elf/elf.h (HWCAP_SPARC_*): Move to..
46727         * sysdeps/sparc/sysdep.h: this new file and add new values.
46728         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46729         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46730         _DL_HWCAP_COUNT to 24.
46731         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46732         entries.
46733         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46734         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46735         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46736         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46737         instead of magic constants.
46738         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46739
46740 2011-08-31  David S. Miller  <davem@davemloft.net>
46741
46742         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46743         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46744         Reimplement to do errno handling inline.
46745         (SYSCALL_ERROR_HANDLER): New macro.
46746         (__SYSCALL_STRING): Do not do errno handling in asm.
46747         (__CLONE_SYSCALL_STRING): Delete.
46748         (__INTERNAL_SYSCALL_STRING): Delete.
46749         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46750         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46751         (PSEUDO): Reimplement to do errno handling inline.
46752         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46753         (SYSCALL_ERROR_HANDLER): New macro.
46754         (__SYSCALL_STRING): Do not do errno handling in asm.
46755         (__CLONE_SYSCALL_STRING): Delete.
46756         (__INTERNAL_SYSCALL_STRING): Delete.
46757         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46758         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46759         i386.
46760         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46761         (inline_syscall*): Add 'err' argument.
46762         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46763         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46764         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46765         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46766
46767         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46768         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46769
46770 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46771
46772         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46773
46774 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46775
46776         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46777         directive.
46778
46779 2011-08-24  David S. Miller  <davem@davemloft.net>
46780
46781         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46782
46783 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46784
46785         * elf/Makefile: Add rules to build and run unload8 test.
46786         * elf/unload8.c: New file.
46787         * elf/unload8mod1.c: New file.
46788         * elf/unload8mod1x.c: New file.
46789         * elf/unload8mod2.c: New file.
46790         * elf/unload8mod3.c: New file.
46791
46792         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46793         it wasn't used.
46794
46795 2011-08-23  David S. Miller  <davem@davemloft.net>
46796
46797         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46798         subtract stack bias.
46799         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46800         %sp not %fp in calculations.
46801         (_JMPBUF_UNWINDS_ADJ): Likewise.
46802
46803         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46804         (aio_suspend): Call it to force an exception region around the
46805         AIO_MISC_WAIT() invocation.
46806
46807 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46808
46809         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46810         backslash.
46811
46812 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46813
46814         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46815         protection macro.
46816         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46817         and <dl-machine.h>.
46818         (Elf64_FuncDesc): Remove.
46819
46820 2011-08-22  David S. Miller  <davem@davemloft.net>
46821
46822         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46823         sigaltstack check, add missing cfi directives.
46824         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46825         missing cfi directives, and sigaltstack handling.
46826
46827 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46828
46829         [BZ #11724]
46830         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46831         object is seen twice.
46832         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46833
46834         * elf/Makefile (distribute): Add tst-initorder2.c.
46835         (tests): Add tst-initorder2.
46836         (modules-names): Add tst-initorder2a tst-initorder2b
46837         tst-initorder2c tst-initorder2d.  Add rules to build them.
46838         ($(objpfx)tst-initorder2.out): New rule.
46839         * elf/tst-initorder2.c: New file.
46840         * elf/tst-initorder2.exp: New file.
46841
46842 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46843
46844         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46845
46846         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46847         dependencies back to end of function.
46848
46849         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46850         $(elfobjdir)/ld.so.
46851
46852 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46853
46854         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46855         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46856         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46857         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46858         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46859         of __vdso_gettimeofday.
46860         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46861         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46862         attribute_hidden.
46863         (_libc_vdso_platform_setup): Remove initialization of
46864         __vdso_gettimeofday and __vdso_time.
46865
46866 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46867
46868         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46869         and fgetc_unlocked.
46870         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46871         getc_unlocked.
46872
46873         * elf/dl-open.c (add_to_global): Report additions to the global scope
46874         for LD_DEBUG=scopes.
46875         (dl_open_worker): Also print scope of newly loaded dependencies.
46876         (_dl_show_scope): Indicate if there is no scope.
46877
46878         [BZ #13114]
46879         * stdio-common/Makefile (tests): Add bug24.
46880         * stdio-common/bug24.c: New file.
46881
46882 2011-08-19  Andreas Jaeger  <aj@suse.de>
46883
46884         [BZ #13114]
46885         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46886         non-existant file when using close-on-exec mode.
46887
46888 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46889
46890         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46891         the very first instruction.
46892
46893         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46894         the CFI state in the end.
46895         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46896         inclusion of dl-trampoline.h.
46897         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46898
46899 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46900
46901         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46902         expectations for long double.
46903
46904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46905         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46906
46907 2011-08-14  David S. Miller  <davem@davemloft.net>
46908
46909         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46910         artificual limit depends upon the system page size.
46911
46912 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46913
46914         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46915         * resolv/Makefile: Define CFLAGS-libresolv.
46916
46917 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46918
46919         * nss/makedb.c (compute_tables): Make variables used in nested
46920         function static.
46921
46922 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46923
46924         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46925         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46926         if buffer was too small.
46927
46928         * elf/pldd.c (main): Attach to all threads in the process.
46929         Rewrite /proc handling to use *at functions.
46930
46931 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46932
46933         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46934         specifies first scope to show.
46935         (dl_open_worker): Update callers.  Move printing scope of new
46936         object to before the relocation.
46937         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46938         * sysdeps/generic/ldsodefs.h: Update declaration.
46939
46940         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46941         string for the scope number.
46942
46943 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46944
46945         * nscd/servicescache.c (cache_addserv): Make sure written is always
46946         initialized.
46947
46948 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46949
46950         * sysdeps/i386/i486/bits/atomic.h
46951         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46952         statement expression, so as to suppress "set but not used" warning.
46953         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46954
46955         * string/strncat.c (STRNCAT): Use prototype definition.
46956
46957         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46958         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46959         -Iprograms here.
46960         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46961         (localedef-modules): Add localedef.
46962         (locale-modules): Add locale.
46963
46964         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46965         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46966         to avoid a warning.
46967
46968 2011-08-14  David S. Miller  <davem@davemloft.net>
46969
46970         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46971         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46972
46973 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46974
46975         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46976         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46977         * elf/rtld.c (dl_main): Set l_name of vDSO.
46978         Call _dl_show_scope when DL_DEBUG_SCOPES.
46979         (process_dl_debug): Recognize scopes flag and also set it for all.
46980         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46981         Declare _dl_show_scope.
46982
46983         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46984         (do_dlopen): Pass caller_dlopen to dl_open.
46985         (__libc_dlopen_mode): Initialize caller_dlopen.
46986
46987         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46988         of libc.  Make tolower call locale-independent.  Optimize a bit by
46989         using isdigit instead of isalnum.
46990         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46991
46992 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46993
46994         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46995         was a dependency or dynamically loaded.
46996
46997 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46998
46999         * intl/l10nflist.c: Allow architecture-specific pop function.
47000         * sysdeps/x86_64/l10nflist.c: New file.
47001
47002         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47003         classification.
47004
47005 2011-08-10  Andreas Schwab  <schwab@redhat.com>
47006
47007         * include/dirent.h: Add libc_hidden_proto for scandirat and
47008         scandirat64.  Don't declare __scandirat64.
47009         * dirent/scandirat.c: Add libc_hidden_def.
47010         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47011         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47012
47013 2011-08-10  David S. Miller  <davem@davemloft.net>
47014
47015         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47016         enum.
47017         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47018         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47019         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47020
47021 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
47022
47023         * Versions.def [libc]: Add GLIBC_2.15.
47024         * dirent/Makefile (routines): Add scandirat and scandirat64.
47025         * dirent/Versions [libc]: Export scandirat and scandirat64 for
47026         GLIBC_2.15.
47027         * dirent/dirent.h: Declare scandirat and scandirat64.
47028         * dirent/scandirat.c: New file.
47029         * dirent/scandirat64.c: New file.
47030         * sysdeps/wordsize-64/scandirat.c: New file.
47031         * sysdeps/wordsize-64/scandirat64.c: New file.
47032         * dirent/opendir.c: Define opendirat.
47033         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
47034         using scandirat.
47035         * dirent/scandir64.c: Adjust for scandir.c change.
47036         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
47037         __scandirat64, and __scandir_cancel_handler.
47038         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
47039         additional parameter and use openat instead of open (outside of ld.so).
47040         Add new __opendir as wrapper around __opendirat.
47041         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47042         here without requiring old scandirat implementation.
47043
47044 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
47045
47046         * dirent/scandir.c (cancel_handler): Renamed to
47047         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
47048         defined.  Adjust users.
47049         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47050         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47051
47052 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
47053
47054         * string/test-string.h (IMPL): Use __STRING to expand name and then
47055         stringify it.
47056
47057         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
47058         of cleanups.
47059
47060 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47061
47062         * string/Makefile: Update.
47063         (strop-tests): Append strncat.
47064         * string/test-wcscmp.c: New file.
47065         New comprehensive test for wcscmp.
47066         * string/test-strcmp.c: Update.
47067         (WIDE): New define.
47068
47069 2011-07-22  Andreas Schwab  <schwab@redhat.com>
47070
47071         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47072         line.
47073
47074 2011-07-26  Andreas Schwab  <schwab@redhat.com>
47075
47076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47077         encoding to ACE if AI_IDN.
47078
47079 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
47080
47081         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47082         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47083
47084 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47085
47086         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47087         Fix overflow bug in strncat.
47088         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47089
47090         * string/test-strncat.c: Update.
47091         Add new tests for checking overflow bugs.
47092
47093 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47094
47095         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47096         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47097         * sysdeps/i386/i686/multiarch/strcat.S: New file.
47098         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47099         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47100         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47101         * sysdeps/i386/i686/multiarch/strncat.S: New file.
47102         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47103         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47104
47105         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47106         (USE_AS_STRCAT): Define.
47107         Add strcat and strncat support.
47108         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47109
47110 2011-07-25  Andreas Schwab  <schwab@redhat.com>
47111
47112         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47113         __n bigger than INT_MAX+1.
47114         (__strncmp_g): Likewise.
47115
47116 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
47117
47118         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47119         * libio/stido.h: Likewise.
47120
47121         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47122         (AF_NFC): Define.
47123         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47124         (AF_NFC): Define.
47125
47126         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47127         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47128         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47129         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47130         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47131
47132         [BZ #13021]
47133         * scripts/test-installation.pl: Don't expect libnss_test1 to be
47134         installed.
47135
47136         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47137         typo.
47138         (_dl_x86_64_save_sse): Likewise.
47139
47140 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
47141
47142         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47143         OSXSAVE.
47144         (_dl_x86_64_save_sse): Likewise.
47145
47146         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47147
47148         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47149
47150 2011-07-21  Andreas Schwab  <schwab@redhat.com>
47151
47152         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47153         change.
47154         (_dl_x86_64_save_sse): Use correct AVX check.
47155
47156 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47157
47158         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47159         bug in strncpy/strncat.
47160         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47161
47162 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47163
47164         * string/tester.c (test_strcat): Add tests for different alignments
47165         of source and destination.
47166         (test_strncat): Likewise.
47167
47168 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47169
47170         [BZ #12852]
47171         * posix/glob.c (glob): Check passed in values before using them in
47172         expressions to avoid some overflows.
47173         (glob_in_dir): Likewise.
47174
47175         [BZ #13007]
47176         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47177         check for AVX enablement so that we don't crash with old kernels and
47178         new hardware.
47179         * elf/tst-audit4.c: Add same checks here.
47180         * elf/tst-audit6.c: Likewise.
47181
47182         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47183
47184 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47185
47186         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47187
47188 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47189
47190         * po/cs.po: Update from translation team.
47191         * po/bg.po: Likewise.
47192
47193 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47194
47195         * misc/sys/cdefs.h: Add support for const attribute.
47196         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47197         to gnu_dev_{major,minor,makedev} functions.
47198
47199 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47200
47201         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47202
47203 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47204
47205         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47206         strlen results.
47207
47208 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47209
47210         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47211         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47212         register in order to avoid conflicts with the soft frame pointer
47213         being held in r11 when necessary.
47214         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47215         (INTERNAL_VSYSCALL_NCS): Likewise.
47216
47217 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47218
47219         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47220         * elf/dl-fini.c (_dl_fini): Adjust caller.
47221         * elf/dl-close.c (_dl_close_worker): Likewise.
47222         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47223
47224 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47225
47226         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47227         "aux_cache->nlibs < 0".
47228
47229         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47230         in the reload-count case.
47231
47232 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47233
47234         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47235         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47236         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47237         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47238         * sysdeps/x86_64/multiarch/strcat.S: New file.
47239         * sysdeps/x86_64/multiarch/strncat.S: New file.
47240         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47241         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47242         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47243         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47244         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47245         (USE_AS_STRCAT): Define.
47246         Add strcat and strncat support.
47247         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47248         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47249         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47250         * string/strncat.c: Update.
47251         (USE_AS_STRNCAT): Define.
47252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47253         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47254         and i7.
47255         * sysdeps/x86_64/multiarch/init-arch.h
47256         (bit_Prefer_PMINUB_for_stringop): New.
47257         (index_Prefer_PMINUB_for_stringop): Likewise.
47258         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47259         bit_Prefer_PMINUB_for_stringop.
47260
47261 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47262
47263         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47264         buffer64.
47265         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47266         of casting of buffer.
47267         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47268         buffer32 and buffer64.
47269         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47270         writes instead of casting of buffer.
47271         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47272         buffer32.
47273         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47274         casting of buffer.
47275
47276 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47277
47278         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47279
47280 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47281
47282         * nscd/nscd.c (termination_handler): Don't do anything for a database
47283         if it has not yet been initialized.
47284
47285 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47286
47287         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47288
47289 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47290
47291         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47292
47293 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47294
47295         * po/nl.po: Update from translation team.
47296         * po/sv.po: Likewise.
47297
47298 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47299
47300         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47301         now disallowed by GCC.
47302
47303         * configure.in (use-default-link): Default to yes if a test -shared
47304         link meets our qualifications.
47305         * configure: Regenerated.
47306
47307         * config.make.in (output-format): New variable.
47308         * configure.in: Check for ld --print-output-format support.
47309         * configure: Regenerated.
47310         * Makerules ($(common-objpfx)format.lds)
47311         [$(output-format) != unknown]: Just use $(output-format),
47312         instead of the linker-script munging.
47313
47314 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47315
47316         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47317         of $(common-objpfx)shlib.lds.
47318         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47319
47320         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47321         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47322
47323         * configure.in (-z relro check): Adjust test code to add a large
47324         writable data section after it.
47325         * configure: Regenerated.
47326
47327 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47328
47329         * configure.in (-z relro check): Fix test code to make the variable
47330         truly const.
47331         * configure: Regenerated.
47332
47333 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47334
47335         * nscd/nscd.h (struct traced_file): Define.
47336         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47337         elements.  Add traced_files.
47338         (inotify_fd): Declare.
47339         (register_traced_file): Declare.
47340         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47341         (inotify_fd): Export.
47342         (resolv_conf_descr): Remove.
47343         (nscd_init): Move inotify descriptor creation to main.
47344         Don't register files for notification here.
47345         (register_traced_file): New function.
47346         (invalidate_cache): Don't use reset_res to determine whether to call
47347         res_init, go through the list of registered files.
47348         (main_loop_poll): The inotify descriptors are now stored in the
47349         structures for the traced files.
47350         (main_loop_epoll): Likewise
47351         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47352         to __nss_disable_nscd.
47353         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47354         for a database anymore.  Check the records for all the registered
47355         files instead.
47356         * nss/Makefile (libnss_files-routines): Add files-init.
47357         (libnss_db-routines): Add db-init.
47358         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47359         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47360         * nss/nss_db/db-init.c: New file.
47361         * nss/nss_files/files-init.c: New file.
47362         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47363         __nss_lookup_function.
47364         (__nss_lookup_function): Call nss_load_library.
47365         (nss_load_all_libraries): New function.
47366         (__nss_disable_nscd): Take parameter with callback function for files
47367         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47368         used for the cached services.
47369         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47370         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47371         options for features to all the files in nscd.
47372
47373         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47374
47375 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47376
47377         * csu/elf-init.c (__libc_csu_init): Comment typo.
47378
47379 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47380
47381         * po/pl.po: Update from translation team.
47382         * po/ja.po: Likewise.
47383         * po/ru.po: Likewise.
47384         * po/ko.po: Likewise.
47385         * po/fr.po: Likewise.
47386
47387 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47388
47389         * configure.in (.ctors/.dtors header and trailer check):
47390         Use an empirical test on a built program.
47391         * configure: Regenerated.
47392
47393         * configure.in (-z relro check): Use an empirical test on a built DSO.
47394         Detect, but do not require, on ia64.
47395         * configure: Regenerated.
47396
47397         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47398         Update tests that use readelf to use $READELF instead.
47399         * configure: Regenerated.
47400
47401 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47402
47403         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47404         if the result is not used.
47405
47406 2011-07-05  Andreas Jaeger  <aj@suse.de>
47407
47408         [BZ#9696]
47409         * stdlib/tst-strtod.c: Add testcase.
47410
47411 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47412
47413         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47414         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47415         The latter has a higher limit.  Take additional parameter to pass to
47416         the new function.
47417         (__pathconf): Pass file to __statfs_link_max.
47418         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47419         __statfs_link_max.
47420         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47421         __statfs_link_max.
47422
47423         [BZ #12868]
47424         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47425         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47426         Handle Lustre.
47427         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47428         (__statfs_filesize_max): Likewise.
47429         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47430
47431 2011-07-05  Andreas Jaeger  <aj@suse.de>
47432
47433         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47434
47435 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47436
47437         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47438         `status' variable.
47439         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47440         Likewise.
47441
47442 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47443
47444         * Makefile (strop-tests): Add strncat.
47445         * string/test-strncat.c: New file.
47446
47447 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47448
47449         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47450
47451 2011-06-21  Andreas Jaeger  <aj@suse.de>
47452
47453         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47454         Copy rule from iconvdata/Makefile.
47455
47456 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47457
47458         [BZ #12922]
47459         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47460         but no long options are defined, just return 'W'.
47461
47462 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47463
47464         [BZ #9696]
47465         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47466
47467 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47468
47469         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47470         netgroups to read.
47471         (innetgr): Likewise.
47472
47473 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47474
47475         * config.make.in (install_root): Default to $(DESTDIR).
47476
47477 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47478
47479         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47480
47481 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47482
47483         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47484
47485         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47486         containing directory rather than embedding absolute directory names.
47487
47488         * scripts/check-local-headers.sh: Rewritten using awk.
47489         Match by word, not by line.  Print error messages for matches.
47490         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47491
47492         * Makerules [shlib-lds-flags empty]:
47493         ($(common-objpfx)libc_pic.opts): New target.
47494         ($(common-objpfx)libc_pic.os.clean): New target.
47495         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47496
47497         * config.make.in (OBJCOPY): New variable.
47498         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47499         * configure: Regenerated.
47500
47501         * config.make.in (use-default-link): New variable.
47502         * configure.in (use_default_link): Grok --with-default-link to set it.
47503         * configure: Regenerated.
47504         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47505         (shlib-lds, shlib-lds-flags): Define to empty.
47506
47507         * Makerules (shlib-lds): New variable.
47508         (shlib-lds-flags): New variable.
47509         (build-shlib, build-moduile, build-module-asneeded): Use it.
47510         ($(common-objpfx)libc.so): Use $(shlib-lds).
47511         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47512         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47513
47514         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47515         DT_FLAGS/DT_FLAGS_1 with zero flags.
47516
47517         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47518         linker script munging.
47519
47520 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47521
47522         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47523         as 128-bit value.
47524         * crypt/sha512.c (sha512_process_block): Perform total addition using
47525         128-bit if possible.
47526         (__sha512_finish_ctx): Likewise.
47527         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47528         as 64-bit value.
47529         * crypt/sha256.c (SWAP64): Define.
47530         (sha256_process_block): Perform total addition using 64-bit if
47531         possible.
47532         (__sha256_finish_ctx): Likewise.
47533
47534 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47535
47536         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47537         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47538         * nscd/hstcache.c (cache_addhst): Likewise.
47539         * nscd/grpcache.c (cache_addgr): Likewise.
47540         * nscd/aicache.c (addhstaiX): Likewise
47541         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47542
47543 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47544
47545         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47546         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47547         * nscd/hstcache.c (cache_addhst): Likewise.
47548         * nscd/grpcache.c (cache_addgr): Likewise.
47549         * nscd/aicache.c (addhstaiX): Likewise
47550
47551 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47552
47553         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47554         domain only when needed.
47555
47556 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47557
47558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47559         is always restored.
47560
47561 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47562
47563         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47564         are re-adding the entry.
47565         * nscd/servicescache.c (cache_addserv): Likewise.
47566
47567 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47568
47569         * sysdeps/generic/dl-irel.h: fix protection against multiple
47570         inclusions.
47571         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47572
47573 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47574
47575         [BZ #12935]
47576         * malloc/memusage.sh: Fix quoting in message.
47577         * debug/xtrace.sh: Likewise.
47578
47579         * configure.in: Remove support for --experimental-malloc option, make
47580         it the default.
47581         * config.make.in: Likewise.
47582         * malloc/Makefile: Likewise.
47583
47584 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47585
47586         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47587         two-byte characters.
47588
47589 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47590
47591         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47592         AC_CACHE_CHECK invocation.
47593         * configure: Regenerated.
47594
47595         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47596
47597 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47598
47599         [BZ #12350]
47600         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47601         bit from old_res_options.
47602
47603         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47604
47605         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47606         value type for setfct.
47607
47608 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47609
47610         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47611         __gettimeofday instead of gettimeofday.
47612
47613 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47614
47615         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47616
47617 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47618
47619         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47620
47621         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47622         info.
47623
47624 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47625
47626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47627         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47628         strcpy-sse2-unaligned strncpy-sse2-unaligned
47629         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47630         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47631         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47632         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47633         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47634         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47635         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47636         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47637         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47638         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47639         (STRCPY): Support SSE2 and SSSE3 versions.
47640
47641 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47642
47643         [BZ #12874]
47644         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47645         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47646         kernels which artificially limit size of requests.
47647
47648 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47649
47650         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47651         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47652         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47653         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47654         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47655         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47656         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47657         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47658         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47659         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47660         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47661         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47662         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47663         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47664         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47666         Enable unaligned load optimization for Intel Core i3, i5 and i7
47667         processors.
47668         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47669         Define.
47670         (index_Fast_Unaligned_Load): Define.
47671         (HAS_FAST_UNALIGNED_LOAD): Define.
47672
47673 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47674
47675         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47676
47677 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47678
47679         [BZ #12907]
47680         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47681         until it is clear that the information is realy needed.
47682         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47683
47684 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47685
47686         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47687
47688 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47689
47690         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47691         /sys/devices/system/cpu/online if it is usable.
47692
47693         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47694         reading the information from the /proc filesystem to once a second.
47695
47696 2011-06-21  Andreas Jaeger  <aj@suse.de>
47697
47698         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47699         NULL after inclusion of kernel headers.
47700
47701 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47702
47703         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47704         calls to internal_setent.
47705
47706         [BZ #12885]
47707         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47708         addresses using gethostbyname4_r ignore IPv4 addresses.
47709
47710         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47711         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47712
47713         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47714
47715 2011-06-20  David S. Miller  <davem@davemloft.net>
47716
47717         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47718         inclusions.
47719         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47720
47721         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47722         (elf_irel): Use it.
47723         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47724         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47725         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47726         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47727         * sysdeps/x86_64/dl-irel.h: Likewise.
47728
47729         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47730         * elf/dl-sym.c: Likewise.
47731
47732 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47733
47734         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47735         need to dereference resplen2.
47736
47737 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47738
47739         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47740
47741 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47742
47743         * Makeconfig: Define vardbdir and inst_vardbdir.
47744         * nss/Makefile: Add rules to install db-Makefile.
47745
47746         * nss/nss_db/db-XXX.c: Cleanup.
47747
47748         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47749         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47750         GLIBC_PRIVATE.
47751         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47752         * nss/makedb.c: Implement -g option to specify that value strings
47753         are generated and should not be added to table iterated over for
47754         get*ent calls.
47755         * nss/nss_db/db-initgroups.c: New file.
47756
47757         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47758         interface.
47759
47760         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47761         (internal_getgrouplist): Adjust to name change.
47762         Update use_initgroups_entry if this is not the first call.
47763         * nss/databases.def: Add initgroups entry.
47764
47765         * nss/makedb.c (compute_tables): Check result of multiple hash table
47766         sizes to minimize maximum chain length.
47767
47768 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47769
47770         * Versions.def: Add entry for libnss_db.
47771         * shlib-versions: Likewise.
47772         * nss/Makefile: Add rules to build libnss_db.
47773         * nss/Versions: Add libnss_db information.  Organize libnss_files
47774         entries better.
47775         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47776         makedb progra.  Some minor improvements to generate smaller files.
47777         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47778         here from...
47779         * nss/makedb.c: ...here.
47780         Improve database format to be smaller and require less memory at
47781         runtime.
47782         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47783         db anymore.
47784         * nss/nss_db/db-netgrp.c: Likewise.
47785         * nss/nss_db/db-open.c: Likewise.
47786         * nss/nss_files/flies-XXX.x: Adjust comments.
47787         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47788         * nss/nss_files/files-grp.c: Likewise.
47789         * nss/nss_files/files-hosts.c: Likewise.
47790         * nss/nss_files/files-network.c: Likewise.
47791         * nss/nss_files/files-proto.c: Likewise.
47792         * nss/nss_files/files-pwd.c: Likewise.
47793         * nss/nss_files/files-rpc.c: Likewise.
47794         * nss/nss_files/files-service.c: Likewise.
47795         * nss/nss_files/files-sgrp.c: Likewise.
47796         * nss/nss_files/files-spwd.c: Likewise.
47797         * nss/nss_db/db-alias.c: Removed.
47798         * nss/nss_db/dummy-db.h: Removed.
47799
47800 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47801
47802         * nss/makedb.c: Rewritten to not use database library.
47803         * nss/Makefile: Update to build new makedb program.
47804
47805 2011-06-14  Andreas Jaeger  <aj@suse.de>
47806
47807         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47808         memset declaration.
47809
47810 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47811
47812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47813         tmpbuf.
47814
47815 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47816
47817         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47818         * elf/Makefile ($(objpfx)ld.so): Likewise.
47819
47820         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47821         Don't list ld.so twice in dependencies.
47822
47823         * posix/bug-regex31.c: Include <stdlib.h>.
47824
47825         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47826
47827         * nis/nss_compat/compat-spwd.c
47828         (getspent_next_nss_netgr): Remove unused variable.
47829         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47830
47831         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47832         nonmembers" output to use the right array.
47833
47834         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47835
47836         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47837
47838         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47839         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47840         * catgets/gencat.c (read_input_file): Likewise.
47841         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47842
47843         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47844         variable definition inside #if's controlling its use.
47845
47846         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47847
47848         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47849
47850         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47851
47852         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47853         unreachable code.
47854
47855         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47856
47857         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47858         * configure: Regenerated.
47859
47860         * Makerules: Revert last change.
47861         * elf/Makefile: Likewise.
47862
47863 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47864
47865         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47866         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47867         (reloc-link): Likewise.
47868
47869 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47870
47871         * elf/Makefile: Add rules to build pldd.
47872         * elf/pldd.c: New file.
47873         * elf/pldd-xx.c: New file.
47874
47875 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47876
47877         * version.h: Update for 2.15 development version.
47878
47879 2011-06-07  David S. Miller  <davem@davemloft.net>
47880
47881         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47882         ifuncs.
47883         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47884         elf_machine_lazy_rel): Likewise.
47885         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47886         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47887         elf_machine_lazy_rel): Likewise.
47888         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47889         dl_hwcap via passed in argument.
47890         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47891         Likewise.
47892
47893 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47894
47895         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47896
47897 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47898
47899         [BZ #12849]
47900         * manual/fdl-1.1.texi: New file, verbatim from:
47901         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47902         * manual/lgpl-2.1.texi: New file, verbatim from:
47903         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47904         * manual/Makefile (licenses): New variable, list those new file names.
47905         (texis): Use it.
47906         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47907
47908         * manual/fdl.texi: File removed.
47909         * manual/lesser.texi: File removed.
47910         * manual/libc.texinfo (Copying, Documentation License):
47911         Use new @include file names, put @appendix directive before @include.
47912
47913 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47914
47915         [BZ #12841]
47916         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47917         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47918         (mq_open): Add __NTH.
47919
47920 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47921
47922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47923         Assume Intel Core i3/i5/i7 processor if AVX is available.
47924
47925 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47926
47927         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47928         typo.
47929
47930 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47931
47932         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47933         memory.  Use alloca_account.  Fix memory leak when retrying.
47934
47935 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47936
47937         * version.h (RELEASE): Bump for 2.14 release.
47938         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47939
47940         * config.make.in (RANLIB): Remove entry.
47941
47942 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47943
47944         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47945         (libc.pot): Work around missing support for .ksh extension in xgettext.
47946
47947         [BZ #12684]
47948         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47949         if both request failed.
47950         (send_dg): In case of server errors clear resplen or *resplen2.
47951
47952         [BZ #12454]
47953         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47954         when there are multiple maps.
47955         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47956         (_dl_fini): Remove test here.
47957
47958         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47959
47960 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47961
47962         [BZ #12350]
47963         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47964         bit from old_res_options.
47965         (gaih_inet): Likewise.
47966
47967         [BZ #11099]
47968         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47969         as signed.
47970
47971         * resolv/res_init.c (res_setoptions): Make the code more compact.
47972
47973         [BZ #11558]
47974         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47975         set RES_USEVC.
47976
47977         [BZ #11634]
47978         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47979
47980         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47981
47982         [BZ #11781]
47983         * malloc/malloc.h: Declare malloc hook variables as volatile.
47984
47985         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47986         in last patch.
47987
47988         [BZ #11799]
47989         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47990         raise in the comment.
47991         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47992         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47993         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47994
47995 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47996
47997         [BZ #12811]
47998         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47999         grow the buffers more if it already has to be sufficient.
48000         (build_wcs_upper_buffer): Likewise.
48001         * posix/regexec.c (check_matching): Likewise.
48002         (clean_state_log_if_needed): Likewise.
48003         (extend_buffers): Don't enlarge buffers beyond size of the input
48004         buffer.
48005         Patches mostly by Emil Wojak <emil@wojak.eu>.
48006         * posix/bug-regex32.c: New file.
48007         * posix/Makefile (tests): Add bug-regex32.
48008
48009         * locale/findlocale.c (_nl_find_locale): Return right away if
48010         _nl_explode_name failed.
48011         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48012
48013         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48014
48015         * debug/xtrace.sh: Unify messages.
48016         * malloc/memusage.sh: Likewise.
48017
48018         [BZ #12813]
48019         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48020         time symbol from vDSO.  Substitute with vsyscall if not available.
48021         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48022         __vdso_time.
48023
48024         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48025         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48026         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48027         Add sendmmsg and internal_sendmmsg.
48028         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48029         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48030         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48031
48032         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48033         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48034         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48035
48036 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
48037
48038         [BZ #12813]
48039         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48040         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
48041         available.
48042         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48043         __vdso_getcpu.
48044
48045         [BZ #12814]
48046         * iconvdata/Makefile (tests): Add bug-iconv9.
48047         * iconvdata/bug-iconv9.c: New file.
48048
48049 2011-05-27  Andreas Schwab  <schwab@redhat.com>
48050
48051         [BZ #12814]
48052         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48053
48054 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
48055
48056         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48057         (struct user_regs_struct): Change intcs field back to cs.
48058
48059 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
48060
48061         * po/ja.po: Update from translation team.
48062
48063 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
48064
48065         [BZ #12795]
48066         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48067         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48068
48069 2011-05-20  Andreas Schwab  <schwab@redhat.com>
48070
48071         * stdlib/longlong.h: Update from GCC.
48072
48073 2011-05-23  Andreas Schwab  <schwab@redhat.com>
48074
48075         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48076         parameter name.
48077         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48078         Add parameter name.
48079         (__sysconf): Pass it down.
48080
48081 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
48082
48083         [BZ #12671]
48084         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48085         some situations.
48086         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48087         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48088         add in in __libc_use_alloca calls.  Adjust callers.
48089         (glob): Use malloc in some situations.
48090
48091         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48092         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48093         pltexit.
48094
48095 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
48096
48097         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48098         and CLOCK_BOOTTIME_ALARM.
48099
48100         [BZ #12782]
48101         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48102         is returned.
48103
48104         * string/_strerror.c (__strerror_r): Print negative errors as signed
48105         numbers.
48106
48107         [BZ #12777]
48108         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48109         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48110         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48111
48112         * configure.in: Fix typo in redirection and correct removal of test
48113         files in two cases.
48114
48115         [BZ #12788]
48116         * locale/setlocale.c (new_composite_name): Fix test to check for
48117         identical name of all categories.
48118
48119         [BZ #12792]
48120         * libio/filedoalloc.c (local_isatty): New function.
48121         (_IO_file_doallocate): Use local_isatty.
48122         * stdio-common/perror.c (perror): In case a new stream is used
48123         forward the stream error.
48124         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48125         error flag.
48126
48127 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
48128
48129         [BZ #11869]
48130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48131         alloca.
48132         * include/alloca.h (extend_alloca_account): Define.
48133
48134         [BZ #11857]
48135         * posix/regex.h: Fix comments with documentation of user-accessible
48136         fields after compilation and describe correct free'ing of pattern
48137         after re_compile_pattern.
48138         Patch by Reuben Thomas <rrt@sc3d.org>.
48139
48140 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
48141
48142         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48143         and -mno-altivec to prevent the compiler from using Altivec and/or
48144         VSX instructions when the corresponding registers are not available.
48145
48146 2011-05-19  Andreas Schwab  <schwab@redhat.com>
48147
48148         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48149
48150 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
48151
48152         * libio/freopen.c (freopen): Use __dup2, not dup2.
48153         * libio/freopen64.c (freopen64): Likewise.
48154
48155 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48156
48157         [BZ #12775]
48158         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48159         * math/Makefile (tests): Add test-powl.
48160         (CFLAGS-test-powl.c): Define.
48161         * math/test-powl.c: New file.
48162
48163 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48164
48165         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48166
48167 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48168
48169         [BZ #11837]
48170         * iconvdata/gb18030.c: Update to GB18020-2005.
48171
48172 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48173
48174         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48175         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48176         Patch by Aharon Robbins <arnold@skeeve.com>.
48177
48178         [BZ #11892]
48179         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48180         on the stack.
48181
48182         [BZ #11895]
48183         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48184         through underflows.
48185
48186         [BZ #12766]
48187         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48188         point to strings before performing equality test for error_one_per_line
48189         mode.
48190
48191         [BZ #11697]
48192         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48193
48194         [BZ #11820]
48195         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48196         (struct user_fpregs_struct): Avoid __uint*_t types.
48197
48198         [BZ #6420]
48199         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48200         symbol info.  Use it instead of calling _dl_addr locally.
48201         (lock_and_info): New function.
48202         (tr_freehook): Call lock_and_info and pass symbol info as additional
48203         parameter to tr_where.
48204         (tr_mallochook): Likewise.
48205         (tr_reallochook): Likewise.
48206         (tr_memalignhook): Likewise.
48207
48208         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48209         used and couldn't be at all thread-safe.
48210
48211 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48212
48213         * libio/freopen.c (freopen): Don't close old file descriptor
48214         before the new one is opened.  Instead dup the new file descriptor
48215         to the old one after the new stream is created.
48216         * libio/freopen64.c (freopen64): Likewise.
48217         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48218         * libio/fileops.c (_IO_new_file_close_it): Handle new
48219         _IO_FLAGS2_NOCLOSE flag.
48220         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48221         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48222         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48223         _IO_FLAGS2_NOCLOSE flag.
48224         * include/unistd.h: Add hidden_proto for dup3.
48225         Define __have_dup3.
48226         * io/dup3.c: Define hidden symbol.
48227         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48228
48229         [BZ #7101]
48230         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48231         when an incomplete long option is used.
48232         * posix/tst-getopt_long1.c: New file.
48233         * posix/Makefile (tests): Add tst-getopt_long1.
48234
48235         [BZ #10138]
48236         * scripts/config.guess: Update from autoconf-2.68.
48237         * scripts/config.sub: Likewise.
48238
48239         [BZ #10157]
48240         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48241         tests into ...
48242         (has_cpuclock): ...this.  New function.
48243         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48244         macro here based on has_cpuclock code.
48245
48246         [BZ #10149]
48247         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48248         First byte (not low byte) is now always NUL.
48249         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48250
48251         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48252         Use non-cancelable interfaces.
48253
48254         [BZ #9809]
48255         * locale/iso-639.def: Add entry for Sorani.
48256
48257         [BZ #11901]
48258         * include/stdlib.h: Move include protection to the right place.
48259         Define abort_msg_s.  Declare __abort_msg with it.
48260         * stdlib/abort.c (__abort_msg): Adjust type.
48261         * assert/assert.c (__assert_fail_base): New function.  Majority
48262         of code from __assert_fail.  Allocate memory for __abort_msg with
48263         mmap.
48264         (__assert_fail): Now call __assert_fail_base.
48265         * assert/assert-perr.c: Remove bulk of implementation.  Use
48266         __assert_fail_base.
48267         * include/assert.hL Declare __assert_fail_base.
48268         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48269         mmap.
48270         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48271
48272 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48273
48274         [BZ #11952]
48275         [BZ #12453]
48276         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48277         until all modules are registered in the DTV.
48278         * elf/Makefile: Add rules to build and run tst-tls19.
48279         * elf/tst-tls19.c: New file.
48280         * elf/tst-tls19mod1.c: New file.
48281         * elf/tst-tls19mod2.c: New file.
48282         * elf/tst-tls19mod3.c: New file.
48283         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48284
48285         [BZ #12083]
48286         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48287         correctly.
48288
48289         [BZ #12601]
48290         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48291         two-byte sequence errors.
48292         * iconvdata/Makefile (tests): Add bug-iconv8.
48293         * iconvdata/bug-iconv8.c: New file.
48294
48295         [BZ #12626]
48296         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48297         buf2 definition.
48298
48299         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48300
48301         [BZ #12432]
48302         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48303         (dummy_getcfa): New function.
48304         (init): Get _Unwind_GetCFA address, use dummy if not found.
48305         (backtrace_helper): In recursion check, also check whether CFA changes.
48306         (__backtrace): Completely initialize arg.
48307
48308         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48309         storing incomplete byte sequence in state object.  Avoid testing for
48310         guaranteed too small input if we know there is enough data available.
48311
48312 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48313
48314         * Makeconfig (+link-pie): Indent.
48315         * Rules (binaries-pie): Define if $(have-fpie) and
48316         $(build-shared).
48317         (binaries-shared): Also filter out $(binaries-pie).
48318         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48319         * nscd/Makefile (others-pie): Add nscd.
48320         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48321         ($(objpfx)nscd): Remove command override.
48322         * login/Makefile (others-pie): Add pt_chown.
48323         ($(objpfx)pt_chown): Remove command override.
48324         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48325         remove command overrides.
48326
48327 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48328
48329         * libio/tst_putwc.c: Fix error messages.
48330
48331         [BZ #12724]
48332         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48333         currently writing and seek to current position when not.
48334         * libio/Makefile (tests): Add bug-fclose1.
48335         * libio/bug-fclose1.c: New file.
48336
48337 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48338
48339         [BZ #12511]
48340         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48341         don't set DF_1_NODELETE here.
48342         (do_lookup_x): When entering new entry test for copy relocation
48343         and if necessary set DF_1_NODELETE flag.
48344         * elf/tst-unique4.cc: New file.
48345         * elf/tst-unique4.h: New file.
48346         * elf/tst-unique4lib.cc: New file.
48347         * elf/Makefile: Add rules to build and run tst-unique4.
48348         Patch by Piotr Bury <pbury@goahead.com>.
48349
48350 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48351
48352         [BZ #12052]
48353         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48354
48355         [BZ #12625]
48356         * misc/mntent_r.c (addmntent): Flush the stream after the output
48357
48358         [BZ #12393]
48359         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48360         (is_trusted_path_normalize): Skip initial colon.  Append slash
48361         to empty buffer.  Duplicate is_trusted_path code but allow
48362         constructed patch to be prefix.
48363         (is_dst): Allow $ORIGIN followed by /.
48364         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48365         Correct testing of result of is_trusted_path_normalize
48366         (decompose_rpath): Fix warning.
48367
48368 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48369
48370         [BZ #11257]
48371         * grp/initgroups.c (internal_getgrouplist): When we found the service
48372         list through the initgroups entry in nsswitch.conf do not always
48373         continue on a successful lookup.  Don't always use the
48374         __nss_group_database value if it is set.
48375         * nss/nsswitch.conf (initgroups): Change action for successful db
48376         lookup to continue for compatibility.
48377
48378 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48379
48380         [BZ #11532]
48381         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48382         and CP774 modules.
48383         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48384         and CP774 modules.
48385         * iconvdata/tst-tables.sh: Likewise.
48386         * iconvdata/cp770.c: New file.
48387         * iconvdata/cp771.c: New file.
48388         * iconvdata/cp772.c: New file.
48389         * iconvdata/cp773.c: New file.
48390         * iconvdata/cp774.c: New file.
48391         * iconvdata/testdata/CP770: New file.
48392         * iconvdata/testdata/CP770..UTF8: New file.
48393         * iconvdata/testdata/CP771: New file.
48394         * iconvdata/testdata/CP771..UTF8: New file.
48395         * iconvdata/testdata/CP772: New file.
48396         * iconvdata/testdata/CP772..UTF8: New file.
48397         * iconvdata/testdata/CP773: New file.
48398         * iconvdata/testdata/CP773..UTF8: New file.
48399         * iconvdata/testdata/CP774: New file.
48400         * iconvdata/testdata/CP774..UTF8: New file.
48401
48402         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48403         END CHARMAP line.
48404         * iconvdata/gen-8bit-gap.sh: Likewise.
48405         * iconvdata/gen-8bit.sh: Likewise.
48406
48407         * locale/iso-639.def: Add ary entry.
48408
48409         [BZ #11258]
48410         * locale/C-translit.h.in: Add U20A1 transliteration.
48411
48412         [BZ #12178]
48413         * locale/iso-639.def: Add wae entry.
48414         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48415
48416         [BZ #12545]
48417         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48418         for n.
48419
48420         [BZ #12711]
48421         * locale/C-translit.h.in: Add entry for U20B9.
48422         Patch by pravin.d.s@gmail.com.
48423
48424 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48425
48426         [BZ #12713]
48427         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48428         ENAMETOOLONG use generic getcwd.
48429         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48430         in rtld.  Use *stat64.
48431         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48432         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48433         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48434         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48435         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48436         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48437         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48438         __fstatat64 macros.
48439         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48440         * dirent/rewinddir.c: Add libc_hidden_def.
48441         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48442         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48443
48444         * include/dirent.h (__alloc_dir): Add flags parameter.
48445         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48446         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48447         __alloc_dir.
48448         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48449         from fdopendir if O_CLOEXEC is already set.
48450
48451 2011-03-15  Alan Modra  <amodra@gmail.com>
48452
48453         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48454         l_tls_firstbyte_offset non-zero.  Save padding offset in
48455         l_tls_firstbyte_offset for later use.
48456         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48457         freeing static tls block.
48458
48459 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48460
48461         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48462         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48463         being defined by the kernel headers.
48464
48465 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48466
48467         [BZ #12734]
48468         * resolv/resolv.h: Define RES_NOTLDQUERY.
48469         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48470         no-tld-query and set RES_NOTLDQUERY.
48471         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48472         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48473         modern BIND to search name as TLD unless forbidden.
48474
48475 2011-05-07  Petr Baudis  <pasky@suse.cz>
48476             Ulrich Drepper  <drepper@gmail.com>
48477
48478         [BZ #12393]
48479         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48480         (is_trusted_path): ...to here.
48481         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48482         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48483         using is_trusted_path_normalize() in setuid scripts.
48484
48485 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48486
48487         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48488         __BEGIN/__END_DECLS.
48489
48490 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48491
48492         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48493         NSS_STATUS_NOTFOUND if no record was found.
48494
48495 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48496
48497         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48498         (headers-not-in-tirpc): Remove rpc/netdb.h
48499         * resolv/netdb.h: Revert last change.
48500
48501 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48502
48503         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48504         circular dependency between libgcc.a and libc.a.
48505
48506 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48507
48508         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48509         * nis/Makefile: Don't install rpcsvc/*.
48510         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48511         instead of <rpc/types.h>.
48512         (MAXHOSTNAMELEN): Define.
48513
48514 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48515
48516         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48517
48518 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48519
48520         [BZ #12714]
48521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48522         gethostbyname4_r when IPv6 results are possible.
48523
48524 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48525
48526         [BZ #12723]
48527         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48528         _PC_PIPE_BUF handling.
48529
48530 2011-04-30  Bruno Haible  <bruno@clisp.org>
48531
48532         [BZ #12717]
48533         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48534         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48535         to 'int'.
48536         * inet/getnameinfo.c (getnameinfo): Likewise.
48537
48538 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48539
48540         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48541         to groups setting in database lookup.
48542         * nss/nsswitch.conf: Add initgroups entry.
48543
48544 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48545
48546         [BZ #12685]
48547         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48548         mode string.
48549         Patch by Eric Blake <eblake@redhat.com>.
48550
48551 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48552
48553         * sunrpc/Makefile (need-export-routines): Add svc_run.
48554         (routines): Remove svc_run.
48555         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48556         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48557         * sunrpc/svc_run.c (svc_run): Likewise.
48558         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48559
48560 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48561
48562         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48563         problem in reallocation in last patch.
48564
48565 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48566
48567         * sunrpc/Makefile: Move inclusion of Rules.
48568
48569 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48570
48571         * nss/nss_files/files-initgroups.c: New file.
48572         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48573         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48574         _nss_files_initgroups_dyn.
48575
48576 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48577
48578         * elf/elf.h (R_ARM_IRELATIVE): Define.
48579
48580 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48581
48582         * po/ru.po: Update from translation team.
48583
48584 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48585
48586         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48587         dependencies.
48588
48589 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48590
48591         [BZ #12653]
48592         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48593         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48594         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48595         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48596         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48597
48598 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48599
48600         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48601         differing bytes.
48602         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48603         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48604         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48605
48606 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48607
48608         [BZ #12420]
48609         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48610         storing it.
48611         * stdlib/bug-getcontext.c: New file.
48612         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48613
48614 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48615
48616         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48617         instructions into .machine "z9-109".
48618         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48619         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48620
48621 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48622
48623         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48624         between environment variables and auxiliary vector.
48625
48626 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48627
48628         * Makefile: Add rules to build linkobj/libc.so.
48629         * include/libc-symbols.h: Define libc_hidden_nolink.
48630         * include/rpc/auth.h: Mark functions which are to be hidden.
48631         * include/rpc/auth_des.h: Likewise.
48632         * include/rpc/auth_unix.h: Likewise.
48633         * include/rpc/clnt.h: Likewise.
48634         * include/rpc/des_crypt.h: Likewise.
48635         * include/rpc/key_prot.h: Likewise.
48636         * include/rpc/pmap_clnt.h: Likewise.
48637         * include/rpc/pmap_prot.h: Likewise.
48638         * include/rpc/pmap_rmt.h: Likewise.
48639         * include/rpc/rpc_msg.h: Likewise.
48640         * include/rpc/svc.h: Likewise.
48641         * include/rpc/svc_auth.h: Likewise.
48642         * include/rpc/xdr.h: Likewise.
48643         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48644         * nss/Makefile: Likewise.
48645         * sunrpc/Makefile: Don't install headers.  Build library with normal
48646         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48647         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48648         for the compat linking library.  Remove use of INTDEF/INTUSE.
48649         * sunrpc/auth_none.c: Likewise.
48650         * sunrpc/auth_unix.c: Likewise.
48651         * sunrpc/authdes_prot.c: Likewise.
48652         * sunrpc/authuxprot.c: Likewise.
48653         * sunrpc/clnt_gen.c: Likewise.
48654         * sunrpc/clnt_perr.c: Likewise.
48655         * sunrpc/clnt_raw.c: Likewise.
48656         * sunrpc/clnt_simp.c: Likewise.
48657         * sunrpc/clnt_tcp.c: Likewise.
48658         * sunrpc/clnt_udp.c: Likewise.
48659         * sunrpc/clnt_unix.c: Likewise.
48660         * sunrpc/des_crypt.c: Likewise.
48661         * sunrpc/des_soft.c: Likewise.
48662         * sunrpc/get_myaddr.c: Likewise.
48663         * sunrpc/key_call.c: Likewise.
48664         * sunrpc/key_prot.c: Likewise.
48665         * sunrpc/netname.c: Likewise.
48666         * sunrpc/pm_getmaps.c: Likewise.
48667         * sunrpc/pm_getport.c: Likewise.
48668         * sunrpc/pmap_clnt.c: Likewise.
48669         * sunrpc/pmap_prot.c: Likewise.
48670         * sunrpc/pmap_prot2.c: Likewise.
48671         * sunrpc/pmap_rmt.c: Likewise.
48672         * sunrpc/publickey.c: Likewise.
48673         * sunrpc/rpc_cmsg.c: Likewise.
48674         * sunrpc/rpc_common.c: Likewise.
48675         * sunrpc/rpc_dtable.c: Likewise.
48676         * sunrpc/rpc_prot.c: Likewise.
48677         * sunrpc/rpc_thread.c: Likewise.
48678         * sunrpc/rtime.c: Likewise.
48679         * sunrpc/svc.c: Likewise.
48680         * sunrpc/svc_auth.c: Likewise.
48681         * sunrpc/svc_authux.c: Likewise.
48682         * sunrpc/svc_raw.c: Likewise.
48683         * sunrpc/svc_run.c: Likewise.
48684         * sunrpc/svc_simple.c: Likewise.
48685         * sunrpc/svc_tcp.c: Likewise.
48686         * sunrpc/svc_udp.c: Likewise.
48687         * sunrpc/svc_unix.c: Likewise.
48688         * sunrpc/svcauth_des.c: Likewise.
48689         * sunrpc/xcrypt.c: Likewise.
48690         * sunrpc/xdr.c: Likewise.
48691         * sunrpc/xdr_array.c: Likewise.
48692         * sunrpc/xdr_float.c: Likewise.
48693         * sunrpc/xdr_intXX_t.c: Likewise.
48694         * sunrpc/xdr_mem.c: Likewise.
48695         * sunrpc/xdr_rec.c: Likewise.
48696         * sunrpc/xdr_ref.c: Likewise.
48697         * sunrpc/xdr_sizeof.c: Likewise.
48698         * sunrpc/xdr_stdio.c: Likewise.
48699
48700 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48701
48702         [BZ #12650]
48703         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48704         * sysdeps/ia64/dl-tls.h: Likewise.
48705         * sysdeps/powerpc/dl-tls.h: Likewise.
48706         * sysdeps/s390/dl-tls.h: Likewise.
48707         * sysdeps/sh/dl-tls.h: Likewise.
48708         * sysdeps/sparc/dl-tls.h: Likewise.
48709         * sysdeps/x86_64/dl-tls.h: Likewise.
48710         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48711
48712 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48713
48714         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48715         rpath element also skip the following colon.
48716         (expand_dynamic_string_token): Add is_path parameter and pass
48717         down to DL_DST_REQUIRED and _dl_dst_substitute.
48718         (decompose_rpath): Call expand_dynamic_string_token with
48719         non-zero is_path.  Ignore empty rpaths.
48720         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48721         with zero is_path.
48722
48723 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48724
48725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48726         Make cancelable.
48727
48728 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48729
48730         [BZ #12655]
48731         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48732         Patch by Filipe David Manana <fdmanana@apache.org>.
48733
48734 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48735
48736         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48737         Maintain aligned stack.
48738         (CHECK_RSP): Remove unused macro.
48739
48740 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48741
48742         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48743         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48744
48745 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48746
48747         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48748
48749         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48750
48751 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48752
48753         [BZ #12518]
48754         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48755         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48756         * sysdeps/x86_64/memmove.c: New file.
48757         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48758         (memcpy): Renamed to ...
48759         (__new_memcpy): This.
48760         (memcpy): Provide GLIBC_2_14 memcpy.
48761         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48762         (memcpy): Provide GLIBC_2_2_5 memcpy.
48763
48764 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48765
48766         [BZ #12631]
48767         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48768
48769 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48770
48771         * misc/syncfs.c: New file.
48772         * misc/Makefile (routines): Add syncfs.
48773         * posix/unistd.h: Declare syncfs.
48774         * sysdeps/unix/syscalls.list: Add syncfs.
48775
48776 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48777
48778         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48779         open_by_handle_at.
48780         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48781         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48782         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48783         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48785         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48786         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48787
48788 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48789
48790         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48791         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48792         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48793         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48794         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48795         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48796         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48797
48798         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48799         sync_file_range.c with -fexceptions.
48800         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48801         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48802         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48803         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48804         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48805         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48806         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48807         sync_file_range as cancellation point
48808         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48809         now a wrapper around __call_sync_file_range with cancellation handling.
48810         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48811         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48812         function name to __call_sync_file_range.
48813         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48814         Add call_sync_file_range.
48815
48816 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48817
48818         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48819         bits/timex.h.
48820
48821 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48822
48823         * iconv/iconv.h: Fix typo in comment.
48824         * io/fcntl.h: Likewise.
48825         * libio/stdio.h: Likewise.
48826         * posix/spawn.h: Likewise.
48827         * posix/unistd.h: Likewise.
48828         * stdlib/stdlib.h: Likewise.
48829         * time/time.h: Likewise.
48830         * wcsmbs/wchar.h: Likewise.
48831
48832         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48833         open_by_handle): Add.
48834         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48835         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48836         Augment a few comments.
48837         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48838         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48839         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48840         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48841         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48842         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48843         open_by_handle.
48844
48845         * io/fcntl.h (AT_EMPTY_PATH): Define.
48846
48847 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48848
48849         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48850         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48851         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48852         to...
48853         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48854         * Versions.def: Add GLIBC_2.14.
48855         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48856         Export.
48857
48858 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48859
48860         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48861         round counter.
48862         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48863
48864 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48865
48866         [BZ #12597]
48867         * string/test-strncmp.c (do_page_test): New function.
48868         (check2): Likewise.
48869         (test_main): Call check2.
48870         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48871
48872 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48873
48874         [BZ #12587]
48875         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48876         Handle cache information in CPU leaf 4.
48877         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48878
48879 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48880
48881         [BZ #12583]
48882         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48883         character representation.
48884         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48885
48886 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48887
48888         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48889         END(__isnan) to END(__isnanf) to match function entry point/label
48890         EALIGN(__isnanf,...).
48891
48892 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48893
48894         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48895
48896 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48897
48898         [BZ #12510]
48899         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48900         copy from the symbol referenced in the relocation to initialize the
48901         used variable.
48902         Patch by Piotr Bury <pbury@goahead.com>.
48903         * elf/Makefile: Add rules to build and tst-unique3.
48904         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48905         * elf/tst-unique3.cc: New file.
48906         * elf/tst-unique3.h: New file.
48907         * elf/tst-unique3lib.cc: New file.
48908         * elf/tst-unique3lib2.cc: New file.
48909
48910         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48911
48912 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48913
48914         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48915         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48916         to _start.
48917
48918 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48919
48920         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48921         to-be-loaded object along a path to loader is ld.so.
48922
48923 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48924             Ulrich Drepper  <drepper@gmail.com>
48925
48926         * sysdeps/x86_64/memset.S: After aligning destination, code
48927         branches to different locations depending on the value of
48928         misalignment, when multiarch is enabled. Fix this.
48929
48930 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48931
48932         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48933         Set _x86_64_preferred_memory_instruction for AMD processsors.
48934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48935         Set bit_Prefer_SSE_for_memop for AMD processors.
48936
48937 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48938
48939         * libio/fmemopen.c (fmemopen): Optimize a bit.
48940
48941 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48942
48943         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48944
48945 2011-03-03  Roland McGrath  <roland@redhat.com>
48946
48947         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48948
48949 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48950
48951         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48952         __bzero_ultra1 instead of __memset_ultra1.
48953
48954 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48955             Ulrich Drepper  <drepper@gmail.com>
48956
48957         [BZ #12509]
48958         * include/link.h (struct link_map): Add l_orig_initfini.
48959         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48960         returning unsuccessfully.
48961         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48962         close of a file loaded at startup, restore the original l_initfini
48963         list.
48964         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48965         list, store the pointer.
48966         * elf/Makefile ($(objpfx)noload-mem): New rule.
48967         (noload-ENV): Define.
48968         (tests): Add $(objpfx)noload-mem.
48969         * elf/noload.c: Include <memcheck.h>.
48970         (main): Call mtrace.  Close all opened handles.
48971
48972 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48973
48974         [BZ #12454]
48975         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48976         dependencies are missing.
48977
48978 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48979
48980         Fix __if_freereq crash: Unlike the generic version which uses free,
48981         Hurd needs munmap.
48982         * sysdeps/mach/hurd/ifreq.h: New file.
48983
48984 2011-01-27  Petr Baudis  <pasky@suse.cz>
48985             Ulrich Drepper  <drepper@gmail.com>
48986
48987         [BZ 12445]#
48988         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48989         to extend_alloca().
48990         * stdio-common/bug23.c: New file.
48991         * stdio-common/Makefile (tests): Add bug23.
48992
48993 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48994             Ulrich Drepper  <drepper@gmail.com>
48995
48996         [BZ #12489]
48997         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48998         before performing relro protection.  At old place add assertion
48999         to make sure nothing changed.
49000
49001 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
49002             Glauber de Oliveira Costa  <glommer@gmail.com>
49003
49004         * elf/elf.h: Add new ARM TLS relocs.
49005
49006 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
49007
49008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49009         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49010         cast from r3.
49011         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
49012         'tests' variable.
49013         * sysdeps/wordsize-64/tst-writev.c: New file.
49014
49015 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
49016
49017         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49018         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49019         insns in _dl_start to prevent a TOC reference before relocs are
49020         resolved.
49021
49022 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
49023
49024         [BZ #12469]
49025         * Makeconfig: Remove RANLIB definition.
49026         * Makerules: Don't use RANLIB.
49027         * aclocal.m4: Remove ranlib test.
49028         * configure.in: No need to check for ranlib.
49029         * elf/rtld-Rules: Don't use RANLIB.
49030
49031 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49032
49033         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49034         protection macro.
49035         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49036         inclusion protection macro.
49037
49038         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49039         SIGRTMIN and SIGRTMAX and print information in that case only when
49040         SIGRTMIN is defined.
49041
49042 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
49043
49044         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49045         arginfo fn returning -1.
49046
49047         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49048         and thousands string is zero terminated.
49049
49050 2011-02-03  Andreas Schwab  <schwab@redhat.com>
49051
49052         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49053         sysdeps/unix/sysv/linux/bits/socket.h.
49054
49055 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49056
49057         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49058         (__CPU_COUNT): Remove old macros.
49059         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49060         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49061         (__CPU_ALLOC, __CPU_FREE): Add macros.
49062         (__sched_cpualloc, __sched_cpufree): Add declarations.
49063
49064 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
49065
49066         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49067         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49068         * nscd/aicache.c (addhstaiX): Return timeout of added value.
49069         (readdhstai): Return value of addhstaiX call.
49070         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49071         (addgrbyX): Return value returned by cache_addgr.
49072         (readdgrbyname): Return value returned by addgrbyX.
49073         (readdgrbygid): Likewise.
49074         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49075         (addpwbyX): Return value returned by cache_addpw.
49076         (readdpwbyname): Return value returned by addhstbyX.
49077         (readdpwbyuid): Likewise.
49078         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49079         (addservbyX): Return value returned by cache_addserv.
49080         (readdservbyname): Return value returned by addservbyX:
49081         (readdservbyport): Likewise.
49082         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49083         (addhstbyX): Return value returned by cache_addhst.
49084         (readdhstbyname): Return value returned by addhstbyX.
49085         (readdhstbyaddr): Likewise.
49086         (readdhstbynamev6): Likewise.
49087         (readdhstbyaddrv6): Likewise.
49088         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49089         (readdinitgroups): Return value returned by addinitgroupsX.
49090         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49091         (prune_cache): Keep track of timeout value of re-added entries.
49092         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49093         * nscd/nscd.h: Adjust prototypes of readd* functions.
49094
49095 2011-02-04  Roland McGrath  <roland@redhat.com>
49096
49097         * nis/nis_server.c (nis_servstate): Use the right name for 0.
49098         (nis_stats): Likewise.
49099         * nis/nis_modify.c (nis_modify): Likewise.
49100         * nis/nis_remove.c (nis_remove): Likewise.
49101         * nis/nis_add.c (nis_add): Likewise.
49102
49103         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49104
49105         * posix/fnmatch_loop.c: Add some consts.
49106
49107         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49108
49109 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
49110
49111         [BZ #12460]
49112         * config.make.in (config-cflags-novzeroupper): Define.
49113         * configure.in: Substitute libc_cv_cc_novzeroupper.
49114         * elf/Makefile (AVX-CFLAGS): Define.
49115         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49116         (CFLAGS-tst-auditmod4a.c): Likewise.
49117         (CFLAGS-tst-auditmod4b.c): Likewise.
49118         (CFLAGS-tst-auditmod6b.c): Likewise.
49119         (CFLAGS-tst-auditmod6c.c): Likewise.
49120         (CFLAGS-tst-auditmod7b.c): Likewise.
49121         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49122
49123 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
49124
49125         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49126         function to the callback.
49127         Patch partly by Jiri Olsa <jolsa@redhat.com>.
49128
49129 2011-02-02  Andreas Schwab  <schwab@redhat.com>
49130
49131         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49132         of errno.
49133
49134 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
49135
49136         [BZ #11724]
49137         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49138         of constructors.
49139         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49140         of destructors.
49141         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49142
49143         [BZ #11724]
49144         * elf/Makefile: Add rules to build and run new test.
49145         * elf/tst-initorder.c: New file.
49146         * elf/tst-initorder.exp: New file.
49147         * elf/tst-initordera1.c: New file.
49148         * elf/tst-initordera2.c: New file.
49149         * elf/tst-initordera3.c: New file.
49150         * elf/tst-initordera4.c: New file.
49151         * elf/tst-initorderb1.c: New file.
49152         * elf/tst-initorderb2.c: New file.
49153         * elf/tst-order-a1.c: New file.
49154         * elf/tst-order-a2.c: New file.
49155         * elf/tst-order-a3.c: New file.
49156         * elf/tst-order-a4.c: New file.
49157         * elf/tst-order-b1.c: New file.
49158         * elf/tst-order-b2.c: New file.
49159         * elf/tst-order-main.c: New file.
49160         New test case by George Gensure <werkt0@gmail.com>.
49161
49162 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49163
49164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49165         decoding ACE if AI_CANONIDN.
49166
49167 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49168
49169         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49170
49171 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49172
49173         * version.h (RELEASE): Bump for 2.13 release.
49174         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49175
49176         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49177
49178         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49179         MADV_NOHUGEPAGE.
49180         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49181         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49182         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49183         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49184         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49185         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49186
49187         * posix/getconf.c: Update copyright year.
49188         * catgets/gencat.c: Likewise.
49189         * csu/version.c: Likewise.
49190         * debug/catchsegv.sh: Likewise.
49191         * debug/xtrace.sh: Likewise.
49192         * elf/ldconfig.c: Likewise.
49193         * elf/ldd.bash.in: Likewise.
49194         * elf/sprof.c (print_version): Likewise.
49195         * iconv/iconv_prog.c: Likewise.
49196         * iconv/iconvconfig.c: Likewise.
49197         * locale/programs/locale.c: Likewise.
49198         * locale/programs/localedef.c: Likewise.
49199         * malloc/memusage.sh: Likewise.
49200         * malloc/mtrace.pl: Likewise.
49201         * nscd/nscd.c (print_version): Likewise.
49202         * nss/getent.c: Likewise.
49203
49204         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49205         PF_CAIF, and PF_ALG.
49206         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49207
49208 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49209
49210         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49211         (modules-names): Use them.
49212         (ifunc-test-modules, ifunc-pie-tests): Define.
49213         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49214         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49215         (test-extras): Likewise.
49216         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49217         $(compile-command.c).
49218         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49219         (all-built-dso): Define.
49220         (check-textrel.out, check-execstack.out): Depend on it.
49221
49222         * configure.in: Don't override --enable-multi-arch.
49223
49224 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49225
49226         [BZ #6812]
49227         * nscd/hstcache.c (tryagain): Define.
49228         (cache_addhst): Return tryagain not notfound for temporary errors.
49229         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49230         failed.
49231
49232 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49233
49234         [BZ #10563]
49235         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49236         to make the syscall.
49237         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49238
49239         [BZ #12378]
49240         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49241         and fall back to matching as normal character if the string ends before
49242         the matching ']' is found.  This is what POSIX requires.
49243         * posix/testfnm.c: Adjust test result.
49244         * posix/globtest.sh: Adjust test result.  Add new test.
49245         * posix/tst-fnmatch.input: Likewise.
49246         * posix/tst-fnmatch2.c: Add new test.
49247
49248 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49249
49250         * elf/Makefile (check-execstack): Revert last change.  Depend on
49251         check-execstack.h.
49252         (check-execstack.h): New target.
49253         (generated): Add check-execstack.h.
49254         * elf/check-execstack.c: Include "check-execstack.h".
49255         (main): Revert last change.
49256         (handle_file): Return zero if GNU_STACK is absent and
49257         DEFAULT_STACK_PERMS doesn't include PF_X.
49258
49259 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49260
49261         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49262         in child fails because the descriptor is already closed.
49263         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49264         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49265         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49266
49267         [BZ #12397]
49268         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49269         syscall.
49270
49271         [BZ #10484]
49272         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49273         temporary buffer used to handle multi lookups locally.
49274         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49275
49276 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49277
49278         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49279         loader is ld.so.
49280
49281 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49282
49283         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49284         alignment for SSE2.
49285
49286 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49287
49288         [BZ #12394]
49289         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49290         characters.  When rounding increased number of integer digits recompute
49291         number of groups.
49292         * stdio-common/tst-grouping.c: New file.
49293         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49294
49295 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49296
49297         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49298         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49299
49300         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49301         void.
49302         * bits/select.h: Likewise.
49303
49304 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49305
49306         * po/ja.po: Update from translation team.
49307
49308 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49309
49310         [BZ #11155]
49311         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49312         implementation just like for lxstat, fxstatat, et al.
49313
49314 2010-12-27  Jim Meyering  <meyering@redhat.com>
49315
49316         [BZ #12348]
49317         * posix/regexec.c (build_trtable): Return failure indication upon
49318         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49319
49320 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49321
49322         [BZ #12201]
49323         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49324         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49325         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49326         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49327
49328         [BZ #12207]
49329         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49330
49331         [BZ #12204]
49332         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49333         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49334
49335 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49336
49337         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49338         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49339         script has SORT_BY_INIT_PRIORITY.
49340         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49341         NO_CTORS_DTORS_SECTIONS is defined.
49342         * elf/soinit.c: Likewise.
49343         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49344         NO_CTORS_DTORS_SECTIONS is defined.
49345         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49346         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49347         * sysdeps/sh/init-first.c: Likewise.
49348         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49349
49350 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49351
49352         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49353         always use the slow path.
49354
49355 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49356
49357         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49358         similar rule which adds the sysdep directories to the header search in
49359         order to pick up the correct platform stackinfo.h.
49360         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49361         perform test if it is, otherwise return successfully without testing.
49362         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49363         DEFAULT_STACK_PERMS define in stackinfo.h.
49364         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49365         defined in stackinfo.h.
49366         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49367         DEFAULT_STACK_PERMS defined in stackinfo.h.
49368         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49369         * sysdeps/ia64/stackinfo.h: Likewise.
49370         * sysdeps/s390/stackinfo.h: Likewise.
49371         * sysdeps/sh/stackinfo.h: Likewise.
49372         * sysdeps/sparc/stackinfo.h: Likewise.
49373         * sysdeps/x86_64/stackinfo.h: Likewise.
49374         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49375         PF_X for powerpc64.  Retain PF_X for powerpc32.
49376
49377 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49378
49379         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49380         accurately.
49381         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49382         GETDENTS_64BIT_ALIGNED.
49383
49384 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49385
49386         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49387
49388 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49389
49390         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49391         _GNU_SOURCE.
49392
49393         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49394         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49395         Remove __restrict.
49396         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49397         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49398
49399 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49400
49401         [BZ #11655]
49402         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49403         are initialized.
49404
49405 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49406
49407         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49408
49409 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49410
49411         * po/it.po: Update from translation team.
49412
49413 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49414
49415         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49416         unused codes.
49417
49418 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49419
49420         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49421
49422 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49423
49424         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49425         specially.
49426         (gaih_getanswer_slice): Likewise.
49427
49428 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49429
49430         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49431
49432 2010-05-31  Petr Baudis  <pasky@suse.cz>
49433
49434         [BZ #11149]
49435         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49436         silently even in the chroot mode.
49437
49438 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49439
49440         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49441         last patch a bit.  Pretty printing
49442
49443 2010-05-31  Petr Baudis <pasky@suse.cz>
49444
49445         [BZ #10085]
49446         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49447         initialization of skip_initgroups_dyn.
49448
49449 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49450
49451         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49452         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49453
49454 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49455
49456         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49457
49458 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49459
49460         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49461         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49462         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49463         ($(objpfx)tst-fnmatch-mem): New rule.
49464         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49465         * posix/tst-fnmatch.c (main): Call mtrace.
49466
49467 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49468
49469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49470         Support Intel processor model 6 and model 0x2c.
49471
49472 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49473
49474         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49475           signed comparison.
49476
49477 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49478
49479         [BZ #12205]
49480         * string/test-strncasecmp.c (check_result): New function.
49481         (do_one_test): Use it.
49482         (check1): New function.
49483         (test_main): Use it.
49484         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49485         Support strcasecmp and strncasecmp.
49486
49487 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49488
49489         [BZ #12194]
49490         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49491         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49492
49493 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49494
49495         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49496         IFUNC support.
49497         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49498         memset-x86-64.
49499         * sysdeps/x86_64/multiarch/bzero.S: New file.
49500         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49501         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49502         * sysdeps/x86_64/multiarch/memset.S: New file.
49503         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49505         Set bit_Prefer_SSE_for_memop for Intel processors.
49506         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49507         Define.
49508         (index_Prefer_SSE_for_memop): Define.
49509         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49510
49511 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49512
49513         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49514         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49515
49516 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49517
49518         [BZ #12191]
49519         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49520         (__x86_64_raw_data_cache_size_half): Likewise.
49521         (__x86_64_raw_shared_cache_size): Likewise.
49522         (__x86_64_raw_shared_cache_size_half): Likewise.
49523
49524         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49525         (__x86_64_raw_data_cache_size_half): Likewise.
49526         (__x86_64_raw_shared_cache_size): Likewise.
49527         (__x86_64_raw_shared_cache_size_half): Likewise.
49528         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49529         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49530         and __x86_64_raw_shared_cache_size_half.  Round
49531         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49532         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49533         to multiple of 256 bytes.
49534
49535 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49536
49537         [BZ #12167]
49538         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49539         of inacessible symlinks.  Verify result of symlink before returning it.
49540         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49541         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49542
49543 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49544
49545         * math/math.h (isinf): Fix typo in comment.
49546
49547 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49548
49549         * po/da.po: Update from translation team.
49550
49551 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49552
49553         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49554         is added to the list.
49555
49556 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49557             Ulrich Drepper  <drepper@gmail.com>
49558
49559         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49560         the global list here.  Move code to...
49561         (_dl_add_to_namespace_list): ...here.  New function.
49562         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49563         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49564         * elf/dl-load.c (lose): Don't remove the element from the list.
49565         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49566         (_dl_map_object): Likewise.
49567
49568 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49569
49570         [BZ #12159]
49571         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49572         into all bytes of SSE register.
49573         Patch by Richard Li <richardpku@gmail.com>.
49574
49575 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49576
49577         [BZ #12140]
49578         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49579         perturbing.
49580
49581 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49582
49583         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49584         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49585         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49586         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49588         submachine.
49589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49590
49591 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49592
49593         * include/dlfcn.h (__RTLD_SECURE): Define.
49594         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49595         mode & __RTLD_SECURE instead.
49596         (open_path): Rename preloaded parameter to secure.
49597         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49598         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49599         * elf/dl-deps.c (openaux): Likewise.
49600         * elf/rtld.c (struct map_args): Remove is_preloaded.
49601         (map_doit): Don't use it.
49602         (dl_main): Likewise.
49603         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49604         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49605
49606 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49607
49608         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49609         (sysd-rules-targets): Remove duplicates.
49610         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49611         rtld-%.$o dependency.
49612
49613 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49614
49615         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49616         _dl_map_object do it.
49617
49618 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49619
49620         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49621         fast fma builtins, define the macros in the C99 standard.
49622         (FP_FAST_FMAF): Likewise.
49623         (FP_FAST_FMAL): Likewise.
49624         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49625
49626         * bits/mathdef.h: Update copyright year.
49627         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49628
49629 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49630
49631         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49632         builtins, define the macros in the C99 standard.
49633         (FP_FAST_FMAF): Likewise.
49634         (FP_FAST_FMAL): Likewise.
49635         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49636         multiply/add.
49637         (FP_FAST_FMAF): Likewise.
49638
49639 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49640
49641         [BZ #3268]
49642         * math/libm-test.inc (fma_test): Some new testcases.
49643         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49644         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49645         y and infinite z.  Do multiplication by C already in long double.
49646         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49647         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49648         y and infinite z.  Do bitwise or of inexact bit into u.d.
49649         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49650         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49651         * sysdeps/i386/fpu/s_fma.S: Removed.
49652         * sysdeps/i386/fpu/s_fmal.S: Removed.
49653
49654 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49655
49656         [BZ #3268]
49657         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49658         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49659         computation is not scheduled after fetestexcept.  Fix value
49660         of minimum denormal long double.
49661
49662 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49663
49664         [BZ #3268]
49665         * math/libm-test.inc (fma_test): Add some more tests.
49666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49667         correctly.
49668
49669 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49670
49671         * scripts/data/localplt-s390-linux-gnu.data: New file.
49672         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49673
49674 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49675
49676         [BZ #3268]
49677         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49678         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49679         instead of dbl-64.
49680         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49681         inlines.
49682         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49684         if one of x and y is very large and the other is subnormal.
49685         * sysdeps/s390/fpu/s_fmaf.c: New file.
49686         * sysdeps/s390/fpu/s_fma.c: New file.
49687         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49688         * sysdeps/powerpc/fpu/s_fma.S: New file.
49689         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49690         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49691         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49692
49693 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49694
49695         [BZ #3268]
49696         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49697         fma tests.
49698         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49699         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49700         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49701         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49702         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49703         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49704         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49705
49706 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49707
49708         [BZ #12078]
49709         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49710         * posix/bug-regex31.input: Add test case.
49711
49712 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49713
49714         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49715         * posix/bug-regex31.input: New file.
49716
49717         [BZ #12078]
49718         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49719         (parse_sub_exp): Fix last change, use postorder.
49720
49721         * posix/bug-regex31.c: New file.
49722         * posix/Makefile: Add rules to build and run bug-regex31.
49723
49724         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49725
49726         [BZ #12078]
49727         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49728
49729         [BZ #12108]
49730         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49731         to have entries in sys_siglist.
49732
49733         [BZ #12093]
49734         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49735         be NULL.
49736
49737 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49738
49739         [BZ #3268]
49740         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49741         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49742         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49743         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49744         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49745         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49746         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49747         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49748         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49749         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49750         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49751         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49752         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49753         * math/ftestexcept.c (fetestexcept): Likewise.
49754         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49755         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49756         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49757         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49758         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49759         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49760         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49761
49762 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49763
49764         [BZ #12107]
49765         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49766         newline.
49767
49768 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49769
49770         * string/bug-strstr1.c: New file.
49771         * string/Makefile: Add rules to build and run bug-strstr1.
49772
49773 2010-10-05  Eric Blake  <eblake@redhat.com>
49774
49775         [BZ #12092]
49776         * string/str-two-way.h (two_way_long_needle): Always clear memory
49777         when skipping input due to the shift table.
49778
49779 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49780
49781         [BZ #12005]
49782         * malloc/mcheck.c: Handle large requests.
49783
49784         [BZ #12077]
49785         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49786         for strncmp and strncasecmp.
49787         * string/stratcliff.c: Add tests for strcmp and strncmp.
49788         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49789
49790 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49791
49792         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49793         __set_fpscr.
49794
49795 2010-09-30  Andreas Jaeger  <aj@suse.de>
49796
49797         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49798         (CGROUP_SUPER_MAGIC): Define.
49799         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49800         Handle btrfs and cgroup file systems.
49801         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49802         Likewise.
49803
49804 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49805
49806         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49807         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49808
49809 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49810
49811         [BZ #12067]
49812         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49813         trying to locate the ELF header.
49814
49815 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49816
49817         [BZ #11611]
49818         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49819         Mask out sign-bit copies when constructing f_fsid.
49820
49821 2010-09-24  Petr Baudis <pasky@suse.cz>
49822
49823         * debug/stack_chk_fail_local.c: Add missing licence exception.
49824         * debug/warning-nop.c: Likewise.
49825
49826 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49827
49828         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49829         implementing getdents64 using getdents syscall, set d_type if
49830         __ASSUME_GETDENTS32_D_TYPE.
49831
49832 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49833
49834         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49835         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49836
49837 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49838
49839         [BZ #12037]
49840         * posix/unistd.h: Undo change of feature selection for ftruncate from
49841         2010-01-11.
49842
49843 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49844
49845         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49846         detection.
49847
49848 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49849
49850         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49851         fanotify_mark.
49852         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49853
49854 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49855
49856         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49857         variables after CHECK_SP call.
49858         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49859
49860 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49861             Ulrich Drepper  <drepper@redhat.com>
49862
49863         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49864         re-relocationg ld.so.
49865         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49866         _dl_init_paths call.
49867         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49868         here anymore.
49869
49870 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49871
49872         * resolv/res_init.c (__res_vinit): Count the default server we added.
49873
49874 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49875             Ulrich Drepper  <drepper@redhat.com>
49876
49877         [BZ #11968]
49878         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49879         (____longjmp_chk): Use %ebx for saving value across system call.
49880         Add unwind info.
49881
49882 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49883
49884         * manual/Makefile: Don't mix pattern rules with normal rules.
49885
49886 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49887
49888         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49889         operation.
49890         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49891         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49892         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49893         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49894         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49895         Likewise.
49896
49897 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49898
49899         [BZ #11979]
49900         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49901         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49902
49903 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49904
49905         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49906         * sysdeps/x86_64/addmul_1.S: Likewise.
49907         * sysdeps/x86_64/lshift.S: Likewise.
49908         * sysdeps/x86_64/mul_1.S: Likewise.
49909         * sysdeps/x86_64/rshift.S: Likewise.
49910         * sysdeps/x86_64/sub_n.S: Likewise.
49911         * sysdeps/x86_64/submul_1.S: Likewise.
49912
49913 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49914
49915         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49916         Define __sched_param instead of SCHED_* and sched_param when
49917         <bits/sched.h> is included with __need_schedparam defined.
49918         * bits/sched.h [__need_schedparam]
49919         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49920         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49921         (__defined_schedparam): Define to 1.
49922         (__sched_param): New structure, identical to sched_param.
49923         (__need_schedparam): Undefine.
49924
49925 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49926
49927         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49928         (epoll_create1): Declare.
49929
49930         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49931
49932 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49933
49934         [BZ #7066]
49935         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49936         shifting retval into place.
49937
49938 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49939
49940         * nis/rpcsvc/nis.h: Update copyright notice.
49941         * nis/rpcsvc/nis.x: Likewise.
49942         * nis/rpcsvc/nis_callback.h: Likewise.
49943         * nis/rpcsvc/nis_callback.x: Likewise.
49944         * nis/rpcsvc/nis_object.x: Likewise.
49945         * nis/rpcsvc/nis_tags.h: Likewise.
49946         * nis/rpcsvc/yp.h: Likewise.
49947         * nis/rpcsvc/yp.x: Likewise.
49948         * nis/rpcsvc/ypupd.h: Likewise.
49949         * nis/yp_xdr.c: Likewise.
49950         * nis/ypupdate_xdr.c: Likewise.
49951
49952         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49953         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49954         (pmap_getport): Use __libc_rpc_getport.
49955         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49956         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49957         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49958
49959 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49960
49961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49962         fanotify_mark.
49963
49964 2010-08-27  Roland McGrath  <roland@redhat.com>
49965
49966         * sysdeps/i386/i686/multiarch/Makefile
49967         (CFLAGS-varshift.c): New variable.
49968
49969 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49970
49971         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49972         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49973
49974         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49975
49976         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49977
49978 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49979
49980         * sysdeps/x86_64/strlen.S: Unroll the loop.
49981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49982         strlen-sse2 strlen-sse2-bsf.
49983         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49984         __strlen_no_bsf if bit_Slow_BSF is set.
49985         (__strlen_sse42): Removed.
49986         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49987         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49988
49989 2010-08-25  Roland McGrath  <roland@redhat.com>
49990
49991         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49992         * sysdeps/x86_64/multiarch/varshift.c: New file.
49993         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49994         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49995         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49996         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49997
49998 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49999
50000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50001         strlen-sse2 strlen-sse2-bsf.
50002         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50003         __strlen_sse2_bsf if bit_Slow_BSF is unset.
50004         (__strlen_sse2): Removed.
50005         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50006         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50008         bit_Slow_BSF for Atom.
50009         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50010         (index_Slow_BSF): Define.
50011         (HAS_SLOW_BSF): Define.
50012
50013 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
50014
50015         [BZ #10851]
50016         * resolv/res_init.c (__res_vinit): When no server address at all
50017         is given default to loopback.
50018
50019 2010-08-24  Roland McGrath  <roland@redhat.com>
50020
50021         * configure.in: Remove config-name.h generation.
50022         * configure: Regenerated.
50023         * config-name.in: File removed.
50024         * scripts/config-uname.sh: New file.
50025         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50026         ($(objdir)config-name.h): New target.
50027
50028         * sunrpc/rpc_parse.h: Avoid nested comment.
50029
50030 2010-08-24  Richard Henderson  <rth@redhat.com>
50031             Ulrich Drepper  <drepper@redhat.com>
50032             H.J. Lu  <hongjiu.lu@intel.com>
50033
50034         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50036         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50037         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
50038         _mm_alignr_epi8 with _mm_loadu_si128.
50039         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50040         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50041         (__m128i_shift_right): Removed.
50042         * sysdeps/i386/i686/multiarch/varshift.h: New file.
50043         * sysdeps/i386/i686/multiarch/varshift.S: New file.
50044         * sysdeps/x86_64/multiarch/varshift.h: New file.
50045         * sysdeps/x86_64/multiarch/varshift.S: New file.
50046
50047 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
50048
50049         * configure.in: Move assembler checks to before sysdep dir checking.
50050
50051 2010-08-20  Petr Baudis  <pasky@suse.cz>
50052
50053         * LICENSES: Sync the sunrpc license.
50054
50055 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
50056
50057         * sunrpc/auth_des.c: Update copyright notice once again.
50058         * sunrpc/auth_none.c: Likewise.
50059         * sunrpc/auth_unix.c: Likewise.
50060         * sunrpc/authdes_prot.c: Likewise.
50061         * sunrpc/authuxprot.c: Likewise.
50062         * sunrpc/bindrsvprt.c: Likewise.
50063         * sunrpc/clnt_gen.c: Likewise.
50064         * sunrpc/clnt_perr.c: Likewise.
50065         * sunrpc/clnt_raw.c: Likewise.
50066         * sunrpc/clnt_simp.c: Likewise.
50067         * sunrpc/clnt_tcp.c: Likewise.
50068         * sunrpc/clnt_udp.c: Likewise.
50069         * sunrpc/clnt_unix.c: Likewise.
50070         * sunrpc/des_crypt.c: Likewise.
50071         * sunrpc/des_soft.c: Likewise.
50072         * sunrpc/get_myaddr.c: Likewise.
50073         * sunrpc/getrpcport.c: Likewise.
50074         * sunrpc/key_call.c: Likewise.
50075         * sunrpc/key_prot.c: Likewise.
50076         * sunrpc/openchild.c: Likewise.
50077         * sunrpc/pm_getmaps.c: Likewise.
50078         * sunrpc/pm_getport.c: Likewise.
50079         * sunrpc/pmap_clnt.c: Likewise.
50080         * sunrpc/pmap_prot.c: Likewise.
50081         * sunrpc/pmap_prot2.c: Likewise.
50082         * sunrpc/pmap_rmt.c: Likewise.
50083         * sunrpc/rpc/auth.h: Likewise.
50084         * sunrpc/rpc/auth_unix.h: Likewise.
50085         * sunrpc/rpc/clnt.h: Likewise.
50086         * sunrpc/rpc/des_crypt.h: Likewise.
50087         * sunrpc/rpc/key_prot.h: Likewise.
50088         * sunrpc/rpc/netdb.h: Likewise.
50089         * sunrpc/rpc/pmap_clnt.h: Likewise.
50090         * sunrpc/rpc/pmap_prot.h: Likewise.
50091         * sunrpc/rpc/pmap_rmt.h: Likewise.
50092         * sunrpc/rpc/rpc.h: Likewise.
50093         * sunrpc/rpc/rpc_des.h: Likewise.
50094         * sunrpc/rpc/rpc_msg.h: Likewise.
50095         * sunrpc/rpc/svc.h: Likewise.
50096         * sunrpc/rpc/svc_auth.h: Likewise.
50097         * sunrpc/rpc/types.h: Likewise.
50098         * sunrpc/rpc/xdr.h: Likewise.
50099         * sunrpc/rpc_clntout.c: Likewise.
50100         * sunrpc/rpc_cmsg.c: Likewise.
50101         * sunrpc/rpc_common.c: Likewise.
50102         * sunrpc/rpc_cout.c: Likewise.
50103         * sunrpc/rpc_dtable.c: Likewise.
50104         * sunrpc/rpc_hout.c: Likewise.
50105         * sunrpc/rpc_main.c: Likewise.
50106         * sunrpc/rpc_parse.c: Likewise.
50107         * sunrpc/rpc_parse.h: Likewise.
50108         * sunrpc/rpc_prot.c: Likewise.
50109         * sunrpc/rpc_sample.c: Likewise.
50110         * sunrpc/rpc_scan.c: Likewise.
50111         * sunrpc/rpc_scan.h: Likewise.
50112         * sunrpc/rpc_svcout.c: Likewise.
50113         * sunrpc/rpc_tblout.c: Likewise.
50114         * sunrpc/rpc_util.c: Likewise.
50115         * sunrpc/rpc_util.h: Likewise.
50116         * sunrpc/rpcinfo.c: Likewise.
50117         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50118         * sunrpc/rpcsvc/key_prot.x: Likewise.
50119         * sunrpc/rpcsvc/klm_prot.x: Likewise.
50120         * sunrpc/rpcsvc/mount.x: Likewise.
50121         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50122         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50123         * sunrpc/rpcsvc/rex.x: Likewise.
50124         * sunrpc/rpcsvc/rstat.x: Likewise.
50125         * sunrpc/rpcsvc/rusers.x: Likewise.
50126         * sunrpc/rpcsvc/sm_inter.x: Likewise.
50127         * sunrpc/rpcsvc/spray.x: Likewise.
50128         * sunrpc/rpcsvc/yppasswd.x: Likewise.
50129         * sunrpc/rtime.c: Likewise.
50130         * sunrpc/svc.c: Likewise.
50131         * sunrpc/svc_auth.c: Likewise.
50132         * sunrpc/svc_authux.c: Likewise.
50133         * sunrpc/svc_raw.c: Likewise.
50134         * sunrpc/svc_run.c: Likewise.
50135         * sunrpc/svc_simple.c: Likewise.
50136         * sunrpc/svc_tcp.c: Likewise.
50137         * sunrpc/svc_udp.c: Likewise.
50138         * sunrpc/svc_unix.c: Likewise.
50139         * sunrpc/svcauth_des.c: Likewise.
50140         * sunrpc/xcrypt.c: Likewise.
50141         * sunrpc/xdr.c: Likewise.
50142         * sunrpc/xdr_array.c: Likewise.
50143         * sunrpc/xdr_float.c: Likewise.
50144         * sunrpc/xdr_mem.c: Likewise.
50145         * sunrpc/xdr_rec.c: Likewise.
50146         * sunrpc/xdr_ref.c: Likewise.
50147         * sunrpc/xdr_sizeof.c: Likewise.
50148         * sunrpc/xdr_stdio.c: Likewise.
50149
50150         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50151         handling.
50152
50153 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50154
50155         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50156
50157 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50158
50159         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50160         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50161         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50162         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50163         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50164         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50165         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50166         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50167         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50168         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50169         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50170         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50171         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50172         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50173
50174 2010-07-26  Anton Blanchard  <anton@samba.org>
50175
50176         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50177         * malloc/arena.c (heap_trim): Likewise.
50178
50179 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50180
50181         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50182         here.  Not...
50183         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50184         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50185
50186 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50187
50188         * sysdeps/i386/elf/Makefile: New file.
50189
50190 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50191
50192         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50193         from fanotify_init.
50194         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50195         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50196
50197 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50198
50199         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50200         of strncasecmp_l.
50201         * sysdeps/multiarch/strcmp.S: Likewise.
50202
50203 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50204
50205         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50206         strncase_l-nonascii.
50207         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50208         Add strncase_l-ssse3.
50209         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50210         * sysdeps/x86_64/strcmp.S: Likewise.
50211         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50212         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50213         * sysdeps/x86_64/strncase.S: New file.
50214         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50215         * sysdeps/x86_64/strncase_l.S: New file.
50216         * string/Makefile (strop-tests): Add strncasecmp.
50217         * string/test-strncasecmp.c: New file.
50218
50219         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50220         warning.
50221
50222         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50223         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50224
50225 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50226
50227         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50228
50229 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50230
50231         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50232         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50233         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50234
50235 2010-05-01  Alan Modra  <amodra@gmail.com>
50236
50237         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50238         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50239         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50240         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50241         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50242         tidying.  Don't tail-call __sigjmp_save for static lib.
50243         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50244         save location.
50245         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50246         (CALL_MCOUNT): Add eh info, and nop after bl.
50247         (TAIL_CALL_SYSCALL_ERROR): New macro.
50248         (PSEUDO_RET): Use it.
50249         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50250         Correct save location of integer regs and cr.
50251         (_dl_profile_resolve): Correct cr save location.  Delete nops
50252         after bl when SHARED.  Reduce cfi size a little by better
50253         placement of cfi directives.
50254         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50255         make a stack frame.  Instead use parm save area as a temp.
50256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50257         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50259         Don't make a stack frame for parent, use parm save area.
50260         Increase child stack frame to 112 bytes.  Don't save unused reg,
50261         and adjust reg usage.  Set up cfi on error recovery and
50262         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50264         (__makecontext): Add dummy nop after jump to exit.
50265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50266         Use correct parm save area and cr save, reduce stack frame.
50267         Correct cfi for possible PSEUDO_RET frame setup.
50268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50269         Branch to local label emitted by PSEUDO_RET rather than
50270         __syscall_error.
50271
50272 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50273
50274         [BZ #11904]
50275         * locale/programs/locale.c (print_assignment): New function.
50276         (show_locale_vars): Use it.
50277
50278 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50279
50280         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50281         field.
50282         (struct statfs64): Likewise.
50283         (_STATFS_F_FLAGS): Define.
50284         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50285         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50286         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50287         (ST_VALID): Define locally.
50288         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50289         __statvfs_getflags, use the provided value.
50290         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50291         __ASSUME_STATFS_F_FLAGS.
50292
50293         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50294
50295         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50296         Add sys/fanotify.h.
50297         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50298         fanotify_mask for GLIBC_2.13.
50299         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50300         fanotify_init and fanotify_mark.
50301         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50302         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50303
50304         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50305         Add prlimit.
50306         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50307         prlimit64 for GLIBC_2.13.
50308         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50309         prlimit64.
50310         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50311         syscall.
50312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50313         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50314         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50315         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50316         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50317         add prlimit alias.
50318         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50319
50320         [BZ #11903]
50321         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50322         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50323
50324         * nss/Makefile: Add rules to build and run tst-nss-test1.
50325         * shlib-versions: Add entry for libnss_test1.
50326         * nss/nss_test1.c: New file.
50327         * nss/tst-nss-test1.c: New file.
50328
50329         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50330         (__nss_configure_lookup): Set appropriate entry in
50331         __nss_configure_lookup to true.
50332         * nss/nsswitch.h: Define enum with indeces of databases in
50333         databases and __nss_database_custom arrays.  Declare
50334         __nss_database_custom.
50335         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50336         to avoid using nscd when custom rules are installed.
50337         * nss/getXXbyYY_r.c: Likewise.
50338         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50339
50340         * nss/nss_files/files-parse.c: Whitespace fixes.
50341
50342 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50343
50344         [BZ #11883]
50345         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50346         * posix/fnmatch_loop.c: Likewise.
50347
50348 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50349
50350         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50351         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50352         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50353         * Versions.def [GLIBC_2.13]: Add.
50354
50355 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50356
50357         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50358         Also fail if tpwd after pwuid call is NULL.
50359
50360 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50361
50362         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50363         when converting to ms.
50364
50365 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50366
50367         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50368         EOPNOTSUPP errors with ENOTTY.
50369         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50370         EOPNOTSUPP errors with ENOTTY.
50371
50372 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50373
50374         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50375         Add strcasecmp_l-ssse3.
50376         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50377         strcasecmp.
50378         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50379         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50380         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50381
50382 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50383
50384         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50385
50386         * string/Makefile (strop-tests): Add strcasecmp.
50387         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50388         strcasecmp_l-nonascii.
50389         (gen-as-const-headers): Add locale-defines.sym.
50390         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50391         * sysdeps/x86_64/strcasecmp.S: New file.
50392         * sysdeps/x86_64/strcasecmp_l.S: New file.
50393         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50394         * sysdeps/x86_64/locale-defines.sym: New file.
50395         * string/test-strcasecmp.c: New file.
50396
50397         * string/test-strcasestr.c: Test both ends of the range of characters.
50398         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50399
50400 2010-07-29  Roland McGrath  <roland@redhat.com>
50401
50402         [BZ #11856]
50403         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50404
50405 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50406
50407         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50408         for ld.so.
50409
50410 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50411
50412         * manual/memory.texi (Malloc Tunable Parameters): Document
50413         M_PERTURB.
50414
50415 2010-07-26  Roland McGrath  <roland@redhat.com>
50416
50417         [BZ #11840]
50418         * configure.in (-fgnu89-inline check): Set and substitute
50419         gnu89_inline, not libc_cv_gnu89_inline.
50420         * configure: Regenerated.
50421         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50422
50423 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50424
50425         * string/test-strnlen.c: New file.
50426         * string/Makefile (strop-tests): Add strnlen.
50427         * string/tester.c (test_strnlen): Add a few more test cases.
50428         * string/tst-strlen.c: Better error reporting.
50429
50430         * sysdeps/x86_64/strnlen.S: New file.
50431
50432 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50433
50434         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50435         lower-latency instructions.
50436
50437 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50438
50439         * string/test-strcasestr.c: New file.
50440         * string/test-strstr.c: New file.
50441         * string/Makefile (strop-tests): Add strstr and strcasestr.
50442         * string/str-two-way.h: Don't undefine MAX.
50443         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50444
50445 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50446
50447         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50448         strcasestr-nonascii.
50449         (CFLAGS-strcasestr-nonascii.c): Define.
50450         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50451         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50452         Remove unused attribute.
50453
50454 2010-07-20  Roland McGrath  <roland@redhat.com>
50455
50456         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50457         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50458         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50459         like LD_HWCAP_MASK can disable hwcaps.
50460
50461 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50462
50463         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50464
50465 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50466
50467         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50468         call in strcasestr.
50469         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50470         __strcasestr_sse42_nonascii.
50471         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50472         strcasestr-nonascii.c.
50473         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50474
50475 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50476
50477         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50478         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50479         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50480         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50481
50482 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50483
50484         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50485         fcntl.
50486
50487 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50488
50489         [BZ #11577]
50490         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50491         dl_signal_cerror.
50492
50493 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50494
50495         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50496         _PC_PIPE_BUF using F_GETPIPE_SZ.
50497
50498 2010-07-05  Roland McGrath  <roland@redhat.com>
50499
50500         * manual/arith.texi (Rounding Functions): Fix rint description
50501         implicit in round description.
50502
50503 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50504
50505         * elf/Makefile: Fix linking for a few tests to make recent linker
50506         happy.
50507
50508 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50509
50510         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50511         $(common-objpfx)libc_nonshared.a.
50512
50513 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50514
50515         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50516         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50517         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50518         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50519         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50520         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50521         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50522         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50537         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50538         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50539         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50540         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50541         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50542         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50543         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50544         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50545         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50546         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50547         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50548         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50563
50564 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50565
50566         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50567         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50568         * string/memmove.c (memmove): Renamed to ...
50569         (MEMMOVE): ...this.  Default to memmove.
50570         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50571         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50572         (END_CHK): Define.
50573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50574         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50575         mempcpy-ssse3-back memmove-ssse3-back.
50576         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50577         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50578         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50579         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50580         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50581         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50582         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50583         * sysdeps/x86_64/multiarch/memmove.c: New file.
50584         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50585         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50586         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50587         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50588         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50589         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50590         Define.
50591         (index_Fast_Copy_Backward): Define.
50592         (HAS_ARCH_FEATURE): Define.
50593         (HAS_FAST_REP_STRING): Define.
50594         (HAS_FAST_COPY_BACKWARD): Define.
50595
50596 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50597
50598         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50599         Restore proper fallback handling.
50600
50601 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50602
50603         [BZ #11701]
50604         * posix/group_member.c (__group_member): Correct checking loop.
50605
50606         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50607         OOM in getpwuid_r correctly.  Return error number when the caller
50608         should return, otherwise -1.
50609         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50610         call returning > 0 value.
50611         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50612
50613 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50614
50615         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50616         libc_nonshared.a from targets in modules-names.
50617
50618 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50619
50620         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50621         requires it.
50622
50623 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50624
50625         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50626         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50627         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50628         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50629
50630 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50631
50632         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50633
50634 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50635
50636         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50637         and F_GETPIPE_SZ.
50638         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50639         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50640         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50641         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50642         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50643         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50644
50645 2010-06-14  Roland McGrath  <roland@redhat.com>
50646
50647         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50648
50649 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50650
50651         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50652         __REDIRECT followed by __THROW.
50653         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50654         * posix/getopt.h (getopt): Likewise.
50655
50656 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50657
50658         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50659         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50660         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50661         in AT_FLAGS.
50662         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50663         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50664
50665 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50666
50667         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50668
50669 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50670
50671         [BZ #11640]
50672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50673         Properly check family and model.
50674
50675 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50676
50677         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50678
50679 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50680
50681         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50682
50683 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50684
50685         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50686         symbol reference.
50687
50688 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50689
50690         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50691         symbol reference.
50692
50693 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50694
50695         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50696         and internal_recvmmsg.
50697         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50698         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50699         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50700         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50701
50702         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50703         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50704         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50705
50706 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50707
50708         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50709
50710 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50711
50712         POWER7 optimizations.
50713         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50714         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50715
50716 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50717
50718         * version.h: Update for 2.13 development version.
50719
50720 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50721
50722         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50723         exceptions.  Return 0.
50724
50725 2010-05-07  Roland McGrath  <roland@redhat.com>
50726
50727         * elf/ldconfig.c (main): Add a const.
50728
50729 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50730
50731         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50732         (args_options): Add no-idn option.
50733         (ahosts_keys_int): Add idn_flags to ai_flags.
50734         (parse_option): Handle 'i' option to clear idn_flags.
50735
50736         * malloc/malloc.c (_int_free): Possible race in the most recently
50737         added check.  Only act on the data if no current modification
50738         happened.
50739
50740 See ChangeLog.17 for earlier changes.